From 6df72839765669a65962c908344fc15b94aa8f77 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 14 Sep 2018 20:12:27 +0000 Subject: [PATCH] Generated from 4b3ae81daaddc6079ec4a6a8ebeebccc019703e6 Updated NetworkConfigurationDiagnostic API + example (#3905) --- .../analysisservices_profile_module.rb | 96 +- .../modules/apimanagement_profile_module.rb | 196 +- .../modules/authorization_profile_module.rb | 6 +- .../modules/automation_profile_module.rb | 396 ++-- .../latest/modules/batch_profile_module.rb | 192 +- .../latest/modules/billing_profile_module.rb | 48 +- .../lib/latest/modules/cdn_profile_module.rb | 88 +- .../cognitiveservices_profile_module.rb | 50 +- .../latest/modules/commerce_profile_module.rb | 48 +- .../latest/modules/compute_profile_module.rb | 1104 +++++----- .../modules/consumption_profile_module.rb | 62 +- .../containerinstance_profile_module.rb | 170 +- .../containerregistry_profile_module.rb | 142 +- .../containerservice_profile_module.rb | 124 +- .../contentmoderator_profile_module.rb | 256 +-- .../customerinsights_profile_module.rb | 322 +-- .../modules/customsearch_profile_module.rb | 24 +- .../datalakeanalytics_profile_module.rb | 170 +- .../modules/datalakestore_profile_module.rb | 164 +- .../modules/devspaces_profile_module.rb | 42 +- .../modules/devtestlabs_profile_module.rb | 278 +-- .../lib/latest/modules/dns_profile_module.rb | 64 +- .../modules/entitysearch_profile_module.rb | 110 +- .../modules/eventgrid_profile_module.rb | 110 +- .../latest/modules/eventhub_profile_module.rb | 78 +- .../lib/latest/modules/face_profile_module.rb | 64 +- .../latest/modules/features_profile_module.rb | 8 +- .../modules/graphrbac_profile_module.rb | 182 +- .../modules/imagesearch_profile_module.rb | 182 +- .../modules/iotcentral_profile_module.rb | 40 +- .../latest/modules/iothub_profile_module.rb | 124 +- .../latest/modules/keyvault_profile_module.rb | 208 +- .../latest/modules/links_profile_module.rb | 8 +- .../latest/modules/locks_profile_module.rb | 14 +- .../latest/modules/logic_profile_module.rb | 278 +-- .../modules/machinelearning_profile_module.rb | 118 +- .../managedapplications_profile_module.rb | 50 +- .../managedserviceidentity_profile_module.rb | 28 +- .../marketplaceordering_profile_module.rb | 20 +- .../modules/mediaservices_profile_module.rb | 468 ++--- .../latest/modules/monitor_profile_module.rb | 320 +-- .../latest/modules/network_profile_module.rb | 1808 ++++++++--------- .../modules/newssearch_profile_module.rb | 100 +- .../notificationhubs_profile_module.rb | 182 +- .../operationalinsights_profile_module.rb | 204 +- .../latest/modules/policy_profile_module.rb | 52 +- .../modules/policyinsights_profile_module.rb | 24 +- .../modules/powerbiembedded_profile_module.rb | 86 +- .../recoveryservices_profile_module.rb | 90 +- .../recoveryservicesbackup_profile_module.rb | 820 ++++---- ...veryservicessiterecovery_profile_module.rb | 214 +- .../latest/modules/redis_profile_module.rb | 118 +- .../latest/modules/relay_profile_module.rb | 98 +- .../modules/resources_profile_module.rb | 192 +- .../resourcesmanagement_profile_module.rb | 52 +- .../modules/scheduler_profile_module.rb | 108 +- .../latest/modules/search_profile_module.rb | 82 +- .../latest/modules/security_profile_module.rb | 14 +- .../modules/servicebus_profile_module.rb | 174 +- .../modules/servicefabric_profile_module.rb | 216 +- .../latest/modules/signalr_profile_module.rb | 72 +- .../modules/spellcheck_profile_module.rb | 60 +- .../lib/latest/modules/sql_profile_module.rb | 1170 +++++------ .../latest/modules/storage_profile_module.rb | 374 ++-- .../storsimple8000series_profile_module.rb | 516 ++--- .../modules/streamanalytics_profile_module.rb | 112 +- .../modules/subscriptions_profile_module.rb | 30 +- .../modules/textanalytics_profile_module.rb | 64 +- .../modules/trafficmanager_profile_module.rb | 74 +- .../modules/videosearch_profile_module.rb | 150 +- .../lib/latest/modules/web_profile_module.rb | 896 ++++---- .../modules/websearch_profile_module.rb | 168 +- .../modules/compute_profile_module.rb | 50 +- .../modules/features_profile_module.rb | 8 +- .../modules/links_profile_module.rb | 8 +- .../modules/network_profile_module.rb | 120 +- .../modules/policy_profile_module.rb | 16 +- .../modules/resources_profile_module.rb | 60 +- .../modules/storage_profile_module.rb | 8 +- .../modules/subscriptions_profile_module.rb | 30 +- .../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 | 29 +- .../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 | 14 - .../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 | 29 +- .../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 | 29 +- .../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 | 29 +- .../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 | 29 +- .../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 | 29 +- .../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 | 175 +- .../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 | 82 +- .../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 | 145 +- .../network_management_client.rb | 29 +- .../network_security_groups.rb | 107 +- .../azure_mgmt_network/network_watchers.rb | 246 +-- .../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 | 146 +- .../generated/azure_mgmt_network.rb | 15 +- .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 14 +- .../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 | 40 - .../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 | 25 - .../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 | 18 +- .../azure_mgmt_network/public_ipaddresses.rb | 72 +- .../generated/azure_mgmt_network/version.rb | 8 + .../application_gateways.rb | 246 ++- .../application_security_groups.rb | 107 +- .../available_endpoint_services.rb | 28 +- .../bgp_service_communities.rb | 28 +- .../default_security_rules.rb | 39 +- .../express_route_circuit_authorizations.rb | 79 +- .../express_route_circuit_peerings.rb | 79 +- .../express_route_circuits.rb | 207 +- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/inbound_nat_rules.rb | 79 +- .../load_balancer_backend_address_pools.rb | 39 +- ...load_balancer_frontend_ipconfigurations.rb | 39 +- .../load_balancer_load_balancing_rules.rb | 39 +- .../load_balancer_network_interfaces.rb | 28 +- .../load_balancer_probes.rb | 39 +- .../azure_mgmt_network/load_balancers.rb | 128 +- .../local_network_gateways.rb | 104 +- .../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 | 39 +- .../network_interface_load_balancers.rb | 28 +- .../azure_mgmt_network/network_interfaces.rb | 166 +- .../network_management_client.rb | 29 +- .../network_security_groups.rb | 128 +- .../azure_mgmt_network/network_watchers.rb | 301 +-- .../azure_mgmt_network/operations.rb | 28 +- .../azure_mgmt_network/packet_captures.rb | 100 +- .../azure_mgmt_network/public_ipaddresses.rb | 128 +- .../azure_mgmt_network/route_filter_rules.rb | 100 +- .../azure_mgmt_network/route_filters.rb | 128 +- .../azure_mgmt_network/route_tables.rb | 128 +- .../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 | 153 +- .../virtual_network_gateways.rb | 297 ++- .../virtual_network_peerings.rb | 79 +- .../azure_mgmt_network/virtual_networks.rb | 167 +- .../application_gateways.rb | 246 ++- .../application_security_groups.rb | 107 +- .../available_endpoint_services.rb | 28 +- .../bgp_service_communities.rb | 28 +- .../azure_mgmt_network/connection_monitors.rb | 119 +- .../default_security_rules.rb | 39 +- .../express_route_circuit_authorizations.rb | 79 +- .../express_route_circuit_peerings.rb | 79 +- .../express_route_circuits.rb | 207 +- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/inbound_nat_rules.rb | 79 +- .../load_balancer_backend_address_pools.rb | 39 +- ...load_balancer_frontend_ipconfigurations.rb | 39 +- .../load_balancer_load_balancing_rules.rb | 39 +- .../load_balancer_network_interfaces.rb | 28 +- .../load_balancer_probes.rb | 39 +- .../azure_mgmt_network/load_balancers.rb | 128 +- .../local_network_gateways.rb | 104 +- .../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 | 39 +- .../network_interface_load_balancers.rb | 28 +- .../azure_mgmt_network/network_interfaces.rb | 166 +- .../network_management_client.rb | 29 +- .../network_security_groups.rb | 128 +- .../azure_mgmt_network/network_watchers.rb | 301 +-- .../azure_mgmt_network/operations.rb | 28 +- .../azure_mgmt_network/packet_captures.rb | 100 +- .../azure_mgmt_network/public_ipaddresses.rb | 128 +- .../azure_mgmt_network/route_filter_rules.rb | 100 +- .../azure_mgmt_network/route_filters.rb | 128 +- .../azure_mgmt_network/route_tables.rb | 128 +- .../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 | 153 +- .../virtual_network_gateways.rb | 297 ++- .../virtual_network_peerings.rb | 79 +- .../azure_mgmt_network/virtual_networks.rb | 167 +- .../application_gateways.rb | 246 ++- .../application_security_groups.rb | 107 +- .../available_endpoint_services.rb | 28 +- .../bgp_service_communities.rb | 28 +- .../azure_mgmt_network/connection_monitors.rb | 119 +- .../default_security_rules.rb | 39 +- .../express_route_circuit_authorizations.rb | 79 +- .../express_route_circuit_peerings.rb | 79 +- .../express_route_circuits.rb | 207 +- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/inbound_nat_rules.rb | 79 +- .../load_balancer_backend_address_pools.rb | 39 +- ...load_balancer_frontend_ipconfigurations.rb | 39 +- .../load_balancer_load_balancing_rules.rb | 39 +- .../load_balancer_network_interfaces.rb | 28 +- .../load_balancer_probes.rb | 39 +- .../azure_mgmt_network/load_balancers.rb | 128 +- .../local_network_gateways.rb | 104 +- .../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 | 39 +- .../network_interface_load_balancers.rb | 28 +- .../azure_mgmt_network/network_interfaces.rb | 166 +- .../network_management_client.rb | 29 +- .../network_security_groups.rb | 128 +- .../azure_mgmt_network/network_watchers.rb | 301 +-- .../azure_mgmt_network/operations.rb | 28 +- .../azure_mgmt_network/packet_captures.rb | 100 +- .../azure_mgmt_network/public_ipaddresses.rb | 128 +- .../azure_mgmt_network/route_filter_rules.rb | 100 +- .../azure_mgmt_network/route_filters.rb | 128 +- .../azure_mgmt_network/route_tables.rb | 128 +- .../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 | 153 +- .../virtual_network_gateways.rb | 297 ++- .../virtual_network_peerings.rb | 79 +- .../azure_mgmt_network/virtual_networks.rb | 167 +- .../application_gateways.rb | 246 ++- .../application_security_groups.rb | 107 +- .../available_endpoint_services.rb | 28 +- .../bgp_service_communities.rb | 28 +- .../azure_mgmt_network/connection_monitors.rb | 119 +- .../default_security_rules.rb | 39 +- .../express_route_circuit_authorizations.rb | 79 +- .../express_route_circuit_peerings.rb | 79 +- .../express_route_circuits.rb | 207 +- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/inbound_nat_rules.rb | 79 +- .../load_balancer_backend_address_pools.rb | 39 +- ...load_balancer_frontend_ipconfigurations.rb | 39 +- .../load_balancer_load_balancing_rules.rb | 39 +- .../load_balancer_network_interfaces.rb | 28 +- .../load_balancer_probes.rb | 39 +- .../azure_mgmt_network/load_balancers.rb | 128 +- .../local_network_gateways.rb | 104 +- .../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 | 6 - .../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 | 11 - .../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 | 13 - .../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 | 5 - .../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 | 39 +- .../network_interface_load_balancers.rb | 28 +- .../azure_mgmt_network/network_interfaces.rb | 166 +- .../network_management_client.rb | 29 +- .../network_security_groups.rb | 128 +- .../azure_mgmt_network/network_watchers.rb | 301 +-- .../azure_mgmt_network/operations.rb | 28 +- .../azure_mgmt_network/packet_captures.rb | 100 +- .../azure_mgmt_network/public_ipaddresses.rb | 128 +- .../azure_mgmt_network/route_filter_rules.rb | 100 +- .../azure_mgmt_network/route_filters.rb | 128 +- .../azure_mgmt_network/route_tables.rb | 128 +- .../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 | 153 +- .../virtual_network_gateways.rb | 297 ++- .../virtual_network_peerings.rb | 79 +- .../azure_mgmt_network/virtual_networks.rb | 167 +- .../lib/azure_mgmt_network.rb | 20 +- .../latest/modules/network_profile_module.rb | 1142 +++++------ .../modules/network_profile_module.rb | 8 +- 2112 files changed, 22663 insertions(+), 36291 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/version.rb diff --git a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb index f2ff35ae4a..2f9e44002e 100644 --- a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb @@ -11,12 +11,23 @@ module Mgmt Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations module Models + SkuEnumerationForNewResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult + Operation = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation + SkuDetailsForExistingResource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource + IPv4FirewallRule = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule + SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult + AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer + ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode + Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState + Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status AnalysisServicesServerUpdateParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters OperationDisplay = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive OperationListResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult GatewayError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError - Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource GatewayListStatusError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError AnalysisServicesServers = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers CheckServerNameAvailabilityParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters @@ -27,17 +38,6 @@ module Models ResourceSku = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku OperationStatus = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus ServerAdministrators = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ServerAdministrators - SkuEnumerationForNewResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult - Operation = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation - SkuDetailsForExistingResource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource - IPv4FirewallRule = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule - SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult - AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer - SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier - State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State - ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState - ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode - Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status end class AnalysisServicesManagementClass @@ -71,6 +71,42 @@ def method_missing(method, *args) end class ModelClasses + def sku_enumeration_for_new_resource_result + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult + end + def operation + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation + end + def sku_details_for_existing_resource + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource + end + def ipv4_firewall_rule + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule + end + def sku_enumeration_for_existing_resource_result + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult + end + def analysis_services_server + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer + end + def connection_mode + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode + end + def resource + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + end + def sku_tier + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + end + def state + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + end + def provisioning_state + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState + end + def status + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status + end def analysis_services_server_update_parameters Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters end @@ -86,9 +122,6 @@ def operation_list_result def gateway_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError end - def resource - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource - end def gateway_list_status_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError end @@ -119,39 +152,6 @@ def operation_status def server_administrators Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ServerAdministrators end - def sku_enumeration_for_new_resource_result - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult - end - def operation - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation - end - def sku_details_for_existing_resource - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource - end - def ipv4_firewall_rule - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule - end - def sku_enumeration_for_existing_resource_result - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult - end - def analysis_services_server - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer - end - def sku_tier - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier - end - def state - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State - end - def provisioning_state - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState - end - def connection_mode - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode - end - def status - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status - end end end end diff --git a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb index 378e87d145..f033799e7e 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -7,36 +7,12 @@ module Azure::Profiles::Latest module ApiManagement module Mgmt - Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy - PolicySnippets = Azure::ApiManagement::Mgmt::V2018_06_01_preview::PolicySnippets - Regions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Regions - Api = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Api - ApiRevisions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiRevisions - ApiRelease = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiRelease - ApiOperation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiOperation - ApiOperationPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiOperationPolicy - ApiProduct = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiProduct - ApiPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiPolicy - ApiSchema = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiSchema - ApiDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiDiagnostic - ApiIssue = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiIssue - ApiIssueComment = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiIssueComment - ApiIssueAttachment = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiIssueAttachment - AuthorizationServer = Azure::ApiManagement::Mgmt::V2018_06_01_preview::AuthorizationServer - Backend = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Backend - Certificate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Certificate - ApiManagementOperations = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiManagementOperations - ApiManagementService = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiManagementService - Diagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Diagnostic - EmailTemplate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::EmailTemplate - Group = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Group - GroupUser = Azure::ApiManagement::Mgmt::V2018_06_01_preview::GroupUser IdentityProvider = Azure::ApiManagement::Mgmt::V2018_06_01_preview::IdentityProvider - Logger = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Logger Notification = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Notification NotificationRecipientUser = Azure::ApiManagement::Mgmt::V2018_06_01_preview::NotificationRecipientUser NotificationRecipientEmail = Azure::ApiManagement::Mgmt::V2018_06_01_preview::NotificationRecipientEmail NetworkStatus = Azure::ApiManagement::Mgmt::V2018_06_01_preview::NetworkStatus + Group = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Group OpenIdConnectProvider = Azure::ApiManagement::Mgmt::V2018_06_01_preview::OpenIdConnectProvider SignInSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignInSettings SignUpSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignUpSettings @@ -50,26 +26,55 @@ module Mgmt QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByCounterKeys QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByPeriodKeys Reports = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Reports - Subscription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Subscription TagResource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagResource - Tag = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Tag TagDescription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagDescription OperationOperations = Azure::ApiManagement::Mgmt::V2018_06_01_preview::OperationOperations TenantAccess = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantAccess TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantAccessGit - TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantConfiguration + ApiManagementService = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiManagementService User = Azure::ApiManagement::Mgmt::V2018_06_01_preview::User - UserGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserGroup + TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantConfiguration UserSubscription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserSubscription - UserIdentities = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserIdentities + UserGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserGroup ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiVersionSet + Subscription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Subscription ApiExport = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiExport + UserIdentities = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserIdentities + Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy + Tag = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Tag + Logger = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Logger + PolicySnippets = Azure::ApiManagement::Mgmt::V2018_06_01_preview::PolicySnippets + Regions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Regions + Api = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Api + ApiRevisions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiRevisions + ApiRelease = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiRelease + ApiOperation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiOperation + ApiOperationPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiOperationPolicy + ApiProduct = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiProduct + ApiPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiPolicy + ApiSchema = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiSchema + ApiDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiDiagnostic + ApiIssue = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiIssue + ApiIssueComment = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiIssueComment + ApiIssueAttachment = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiIssueAttachment + AuthorizationServer = Azure::ApiManagement::Mgmt::V2018_06_01_preview::AuthorizationServer + Backend = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Backend + ApiManagementOperations = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiManagementOperations + Certificate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Certificate + Diagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Diagnostic + EmailTemplate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::EmailTemplate + GroupUser = Azure::ApiManagement::Mgmt::V2018_06_01_preview::GroupUser module Models + SubscriptionState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState + OperationDisplay = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay + OperationListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult + ErrorResponse = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse + Operation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation + AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus ApiManagementServiceListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceListResult ErrorFieldContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorFieldContract ApiManagementServiceGetSsoTokenResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceGetSsoTokenResult - ErrorResponse = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse ApiManagementServiceCheckNameAvailabilityParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceCheckNameAvailabilityParameters PolicyCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyCollection ApiManagementServiceNameAvailabilityResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceNameAvailabilityResult @@ -111,7 +116,6 @@ module Models UserTokenParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserTokenParameters RegionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegionContract BodyDiagnosticSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BodyDiagnosticSettings - Resource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource PipelineDiagnosticSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PipelineDiagnosticSettings ApiVersionSetContractDetails = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContractDetails UserIdentityCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserIdentityCollection @@ -119,11 +123,8 @@ module Models ProductEntityBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductEntityBaseParameters ApiManagementServiceUpdateHostnameParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties - OperationDisplay = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay TagTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties - Operation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation TagResourceCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection - OperationListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult ProductCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection EmailTemplateParametersContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateParametersContractProperties AuthorizationServerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerCollection @@ -251,12 +252,13 @@ module Models ContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat SoapApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SoapApiType ApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType - State = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State SamplingType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType - AlwaysLog = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog + State = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State ProductState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState - GrantType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType + AlwaysLog = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog AuthorizationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod + GrantType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType + Resource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource ClientAuthenticationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod BearerTokenSendingMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BearerTokenSendingMethod BackendProtocol = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol @@ -270,8 +272,6 @@ module Models IdentityProviderType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType LoggerType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerType ConnectivityStatusType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType - SubscriptionState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState - AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus KeyType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::KeyType VersioningScheme = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VersioningScheme TemplateName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TemplateName @@ -281,7 +281,7 @@ module Models end class ApiManagementManagementClass - attr_reader :policy, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :certificate, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group, :group_user, :identity_provider, :logger, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :product_api, :product_group, :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :subscription, :tag_resource, :tag, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_group, :user_subscription, :user_identities, :api_version_set, :api_export, :configurable, :base_url, :options, :model_classes + attr_reader :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :group, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :product_api, :product_group, :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :api_management_service, :user, :tenant_configuration, :user_subscription, :user_group, :api_version_set, :subscription, :api_export, :user_identities, :policy, :tag, :logger, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :api_management_operations, :certificate, :diagnostic, :email_template, :group_user, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -291,36 +291,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy = @client_0.policy - @policy_snippets = @client_0.policy_snippets - @regions = @client_0.regions - @api = @client_0.api - @api_revisions = @client_0.api_revisions - @api_release = @client_0.api_release - @api_operation = @client_0.api_operation - @api_operation_policy = @client_0.api_operation_policy - @api_product = @client_0.api_product - @api_policy = @client_0.api_policy - @api_schema = @client_0.api_schema - @api_diagnostic = @client_0.api_diagnostic - @api_issue = @client_0.api_issue - @api_issue_comment = @client_0.api_issue_comment - @api_issue_attachment = @client_0.api_issue_attachment - @authorization_server = @client_0.authorization_server - @backend = @client_0.backend - @certificate = @client_0.certificate - @api_management_operations = @client_0.api_management_operations - @api_management_service = @client_0.api_management_service - @diagnostic = @client_0.diagnostic - @email_template = @client_0.email_template - @group = @client_0.group - @group_user = @client_0.group_user @identity_provider = @client_0.identity_provider - @logger = @client_0.logger @notification = @client_0.notification @notification_recipient_user = @client_0.notification_recipient_user @notification_recipient_email = @client_0.notification_recipient_email @network_status = @client_0.network_status + @group = @client_0.group @open_id_connect_provider = @client_0.open_id_connect_provider @sign_in_settings = @client_0.sign_in_settings @sign_up_settings = @client_0.sign_up_settings @@ -334,20 +310,44 @@ def initialize(configurable, base_url=nil, options=nil) @quota_by_counter_keys = @client_0.quota_by_counter_keys @quota_by_period_keys = @client_0.quota_by_period_keys @reports = @client_0.reports - @subscription = @client_0.subscription @tag_resource = @client_0.tag_resource - @tag = @client_0.tag @tag_description = @client_0.tag_description @operation_operations = @client_0.operation_operations @tenant_access = @client_0.tenant_access @tenant_access_git = @client_0.tenant_access_git - @tenant_configuration = @client_0.tenant_configuration + @api_management_service = @client_0.api_management_service @user = @client_0.user - @user_group = @client_0.user_group + @tenant_configuration = @client_0.tenant_configuration @user_subscription = @client_0.user_subscription - @user_identities = @client_0.user_identities + @user_group = @client_0.user_group @api_version_set = @client_0.api_version_set + @subscription = @client_0.subscription @api_export = @client_0.api_export + @user_identities = @client_0.user_identities + @policy = @client_0.policy + @tag = @client_0.tag + @logger = @client_0.logger + @policy_snippets = @client_0.policy_snippets + @regions = @client_0.regions + @api = @client_0.api + @api_revisions = @client_0.api_revisions + @api_release = @client_0.api_release + @api_operation = @client_0.api_operation + @api_operation_policy = @client_0.api_operation_policy + @api_product = @client_0.api_product + @api_policy = @client_0.api_policy + @api_schema = @client_0.api_schema + @api_diagnostic = @client_0.api_diagnostic + @api_issue = @client_0.api_issue + @api_issue_comment = @client_0.api_issue_comment + @api_issue_attachment = @client_0.api_issue_attachment + @authorization_server = @client_0.authorization_server + @backend = @client_0.backend + @api_management_operations = @client_0.api_management_operations + @certificate = @client_0.certificate + @diagnostic = @client_0.diagnostic + @email_template = @client_0.email_template + @group_user = @client_0.group_user @model_classes = ModelClasses.new end @@ -366,6 +366,24 @@ def method_missing(method, *args) end class ModelClasses + def subscription_state + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState + end + def operation_display + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult + end + def error_response + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse + end + def operation + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation + end + def async_operation_status + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus + end def api_management_service_list_result Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceListResult end @@ -375,9 +393,6 @@ def error_field_contract def api_management_service_get_sso_token_result Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceGetSsoTokenResult end - def error_response - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse - end def api_management_service_check_name_availability_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceCheckNameAvailabilityParameters end @@ -501,9 +516,6 @@ def region_contract def body_diagnostic_settings Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BodyDiagnosticSettings end - def resource - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource - end def pipeline_diagnostic_settings Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PipelineDiagnosticSettings end @@ -525,21 +537,12 @@ def api_management_service_update_hostname_parameters def operation_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties end - def operation_display - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay - end def tag_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties end - def operation - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation - end def tag_resource_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection end - def operation_list_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult - end def product_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection end @@ -921,23 +924,26 @@ def soap_api_type def api_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType end + def sampling_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType + end def state Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State end - def sampling_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType + def product_state + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState end def always_log Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog end - def product_state - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState + def authorization_method + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod end def grant_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType end - def authorization_method - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod + def resource + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource end def client_authentication_method Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod @@ -978,12 +984,6 @@ def logger_type def connectivity_status_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType end - def subscription_state - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState - end - def async_operation_status - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus - end def key_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::KeyType end diff --git a/azure_sdk/lib/latest/modules/authorization_profile_module.rb b/azure_sdk/lib/latest/modules/authorization_profile_module.rb index 0a2cc51141..93386bb586 100644 --- a/azure_sdk/lib/latest/modules/authorization_profile_module.rb +++ b/azure_sdk/lib/latest/modules/authorization_profile_module.rb @@ -8,10 +8,10 @@ module Azure::Profiles::Latest module Authorization module Mgmt ClassicAdministrators = Azure::Authorization::Mgmt::V2015_06_01_preview::ClassicAdministrators - ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations Permissions = Azure::Authorization::Mgmt::V2018_01_01_preview::Permissions RoleAssignments = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleAssignments RoleDefinitions = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleDefinitions + ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations module Models ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult @@ -32,7 +32,7 @@ module Models end class AuthorizationManagementClass - attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :role_assignments, :role_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :classic_administrators, :permissions, :role_assignments, :role_definitions, :provider_operations_metadata_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -49,10 +49,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations @permissions = @client_1.permissions @role_assignments = @client_1.role_assignments @role_definitions = @client_1.role_definitions + @provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index bfb000644e..cdb6418619 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -8,27 +8,26 @@ module Azure::Profiles::Latest module Automation module Mgmt AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations - Operations = Azure::Automation::Mgmt::V2015_10_31::Operations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations - Usages = Azure::Automation::Mgmt::V2015_10_31::Usages Keys = Azure::Automation::Mgmt::V2015_10_31::Keys - CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations + Usages = Azure::Automation::Mgmt::V2015_10_31::Usages ConnectionOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionOperations ConnectionTypeOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionTypeOperations CredentialOperations = Azure::Automation::Mgmt::V2015_10_31::CredentialOperations DscCompilationJobOperations = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobOperations DscCompilationJobStream = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobStream - DscConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscConfigurationOperations + CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations AgentRegistrationInformation = Azure::Automation::Mgmt::V2015_10_31::AgentRegistrationInformation DscNodeOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeOperations + DscConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscConfigurationOperations NodeReports = Azure::Automation::Mgmt::V2015_10_31::NodeReports - DscNodeConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeConfigurationOperations HybridRunbookWorkerGroupOperations = Azure::Automation::Mgmt::V2015_10_31::HybridRunbookWorkerGroupOperations JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations + DscNodeConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeConfigurationOperations JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations - JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations + JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes Fields = Azure::Automation::Mgmt::V2015_10_31::Fields @@ -39,34 +38,9 @@ module Mgmt ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations + Operations = Azure::Automation::Mgmt::V2015_10_31::Operations module Models - AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration - DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult - DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation - DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName - DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku - KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult - VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters - ScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult - AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence - ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse - DscNodeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult - WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - ScheduleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters - CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters - DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters - DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty FieldDefinition = Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition @@ -82,7 +56,6 @@ module Models VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters ScheduleAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job ContentHash = Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter @@ -95,13 +68,11 @@ module Models JobScheduleCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters LinkedWorkspace = Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace - OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay ActivityParameterValidationSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterValidationSet StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet - Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType CertificateListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult Activity = Azure::Automation::Mgmt::V2015_10_31::Models::Activity @@ -120,10 +91,9 @@ module Models AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters AutomationAccountCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters + OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay TypeField = Azure::Automation::Mgmt::V2015_10_31::Models::TypeField - Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage TypeFieldListResult = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult - CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter ConnectionUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft @@ -131,58 +101,88 @@ module Models AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource RunbookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult - DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse RunbookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters - AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty RunbookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters + Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job + Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters - RunbookDraftUndoEditResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult + AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult TestJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters - ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + RunbookDraftUndoEditResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult TestJob = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob - OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult RunbookCreateOrUpdateDraftProperties = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties + ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku + TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult RunbookCreateOrUpdateDraftParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters - TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource - AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount - ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource - Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential + AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount + OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult + DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration - DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode - DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel - Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook + UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule - Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable + Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook - SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState + Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable + DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName AutomationKeyPermissions = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState - JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus + DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType ContentSourceType = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState - DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName GroupTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::GroupTypeEnum ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState - RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay RunbookState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState RunbookProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode - ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency + Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError + DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation + AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource + DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport + UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult + KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters + ScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult + AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + DscNodeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult + WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + ScheduleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters + CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters + ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult end class AutomationManagementClass - attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :keys, :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :configurable, :base_url, :options, :model_classes + attr_reader :automation_account_operations, :statistics_operations, :keys, :usages, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :certificate_operations, :agent_registration_information, :dsc_node_operations, :dsc_configuration_operations, :node_reports, :hybrid_runbook_worker_group_operations, :job_operations, :dsc_node_configuration_operations, :job_stream_operations, :linked_workspace_operations, :activity_operations, :job_schedule_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -193,27 +193,26 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @automation_account_operations = @client_0.automation_account_operations - @operations = @client_0.operations @statistics_operations = @client_0.statistics_operations - @usages = @client_0.usages @keys = @client_0.keys - @certificate_operations = @client_0.certificate_operations + @usages = @client_0.usages @connection_operations = @client_0.connection_operations @connection_type_operations = @client_0.connection_type_operations @credential_operations = @client_0.credential_operations @dsc_compilation_job_operations = @client_0.dsc_compilation_job_operations @dsc_compilation_job_stream = @client_0.dsc_compilation_job_stream - @dsc_configuration_operations = @client_0.dsc_configuration_operations + @certificate_operations = @client_0.certificate_operations @agent_registration_information = @client_0.agent_registration_information @dsc_node_operations = @client_0.dsc_node_operations + @dsc_configuration_operations = @client_0.dsc_configuration_operations @node_reports = @client_0.node_reports - @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations @hybrid_runbook_worker_group_operations = @client_0.hybrid_runbook_worker_group_operations @job_operations = @client_0.job_operations + @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations @job_stream_operations = @client_0.job_stream_operations - @job_schedule_operations = @client_0.job_schedule_operations @linked_workspace_operations = @client_0.linked_workspace_operations @activity_operations = @client_0.activity_operations + @job_schedule_operations = @client_0.job_schedule_operations @module_model_operations = @client_0.module_model_operations @object_data_types = @client_0.object_data_types @fields = @client_0.fields @@ -224,6 +223,7 @@ def initialize(configurable, base_url=nil, options=nil) @schedule_operations = @client_0.schedule_operations @variable_operations = @client_0.variable_operations @webhook_operations = @client_0.webhook_operations + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -242,84 +242,6 @@ def method_missing(method, *args) end class ModelClasses - def agent_registration - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration - end - def dsc_node_extension_handler_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - end - def dsc_report_error - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - end - def dsc_report_resource_navigation - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - end - def automation_account_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult - end - def dsc_report_resource - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - end - def operation - Azure::Automation::Mgmt::V2015_10_31::Models::Operation - end - def dsc_meta_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - end - def statistics - Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - end - def dsc_node_report - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - end - def usage_counter_name - Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName - end - def dsc_node_report_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - end - def usage_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - end - def sku - Azure::Automation::Mgmt::V2015_10_31::Models::Sku - end - def key_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult - end - def variable_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters - end - def schedule_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult - end - def advanced_schedule_monthly_occurrence - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence - end - def error_response - Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse - end - def dsc_node_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult - end - def webhook_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - end - def schedule_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters - end - def certificate_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters - end - def dsc_node_configuration_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - end - def connection_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters - end - def dsc_node_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult - end def connection_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult end @@ -365,9 +287,6 @@ def schedule_association_property def job_stream Azure::Automation::Mgmt::V2015_10_31::Models::JobStream end - def job - Azure::Automation::Mgmt::V2015_10_31::Models::Job - end def content_hash Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash end @@ -404,9 +323,6 @@ def dsc_node_update_parameters def linked_workspace Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace end - def operation_display - Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay - end def activity_parameter_validation_set Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterValidationSet end @@ -422,9 +338,6 @@ def key def activity_parameter_set Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet end - def resource - Azure::Automation::Mgmt::V2015_10_31::Models::Resource - end def activity_output_type Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType end @@ -479,18 +392,15 @@ def module_update_parameters def automation_account_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters end + def operation_display + Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + end def type_field Azure::Automation::Mgmt::V2015_10_31::Models::TypeField end - def usage - Azure::Automation::Mgmt::V2015_10_31::Models::Usage - end def type_field_list_result Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult end - def certificate_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters - end def runbook_parameter Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter end @@ -512,23 +422,29 @@ def content_source def runbook_list_result Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult end - def dsc_node_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + def error_response + Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse end def runbook_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters end - def automation_account_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + def dsc_node_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty end def runbook_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters end + def job + Azure::Automation::Mgmt::V2015_10_31::Models::Job + end + def operation + Azure::Automation::Mgmt::V2015_10_31::Models::Operation + end def connection_type_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters end - def runbook_draft_undo_edit_result - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult + def automation_account_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters end def dsc_configuration_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult @@ -536,41 +452,41 @@ def dsc_configuration_list_result def test_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters end - def connection_type_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + def runbook_draft_undo_edit_result + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult end def test_job Azure::Automation::Mgmt::V2015_10_31::Models::TestJob end - def operation_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult - end def runbook_create_or_update_draft_properties Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties end + def connection_type_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty + end + def sku + Azure::Automation::Mgmt::V2015_10_31::Models::Sku + end + def tracked_resource + Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource + end def dsc_compilation_job_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult end def runbook_create_or_update_draft_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters end - def tracked_resource - Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource + def credential + Azure::Automation::Mgmt::V2015_10_31::Models::Credential end def automation_account Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end - def proxy_resource - Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource - end - def certificate - Azure::Automation::Mgmt::V2015_10_31::Models::Certificate - end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection + def operation_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult end - def credential - Azure::Automation::Mgmt::V2015_10_31::Models::Credential + def dsc_node + Azure::Automation::Mgmt::V2015_10_31::Models::DscNode end def dsc_compilation_job Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob @@ -578,33 +494,45 @@ def dsc_compilation_job def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration end - def dsc_node - Azure::Automation::Mgmt::V2015_10_31::Models::DscNode + def proxy_resource + Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource end - def dsc_node_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + def usage + Azure::Automation::Mgmt::V2015_10_31::Models::Usage end def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel end - def runbook - Azure::Automation::Mgmt::V2015_10_31::Models::Runbook + def usage_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult end def schedule Azure::Automation::Mgmt::V2015_10_31::Models::Schedule end - def variable - Azure::Automation::Mgmt::V2015_10_31::Models::Variable + def resource + Azure::Automation::Mgmt::V2015_10_31::Models::Resource end def webhook Azure::Automation::Mgmt::V2015_10_31::Models::Webhook end - def sku_name_enum - Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + def runbook + Azure::Automation::Mgmt::V2015_10_31::Models::Runbook end def automation_account_state Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState end + def variable + Azure::Automation::Mgmt::V2015_10_31::Models::Variable + end + def dsc_node_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + end + def sku_name_enum + Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + end + def job_status + Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus + end def automation_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName end @@ -614,8 +542,8 @@ def automation_key_permissions def job_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState end - def job_status - Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus + def dsc_configuration_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState end def job_stream_type Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType @@ -626,8 +554,8 @@ def content_source_type def dsc_configuration_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState end - def dsc_configuration_state - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + def runbook_type_enum + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum end def agent_registration_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName @@ -638,8 +566,8 @@ def group_type_enum def module_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState end - def runbook_type_enum - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + def schedule_day + Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay end def runbook_state Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState @@ -650,12 +578,84 @@ def runbook_provisioning_state def http_status_code Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode end - def schedule_day - Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay - end def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end + def certificate + Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + end + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection + end + def certificate_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + end + def agent_registration + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + end + def dsc_node_extension_handler_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + end + def dsc_report_error + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError + end + def dsc_report_resource_navigation + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation + end + def automation_account_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + end + def dsc_report_resource + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource + end + def dsc_meta_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + end + def statistics + Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + end + def dsc_node_report + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport + end + def usage_counter_name + Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + end + def dsc_node_report_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult + end + def key_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + end + def variable_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters + end + def schedule_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult + end + def advanced_schedule_monthly_occurrence + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + end + def dsc_node_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult + end + def webhook_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + end + def schedule_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters + end + def certificate_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + end + def dsc_node_configuration_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters + end + def connection_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + end + def dsc_node_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + end end end end diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index 3145f68949..c655b8b303 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module Batch module Mgmt + Location = Azure::Batch::Mgmt::V2017_09_01::Location BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations - Location = Azure::Batch::Mgmt::V2017_09_01::Location - Operations = Azure::Batch::Mgmt::V2017_09_01::Operations - CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations + CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations + Operations = Azure::Batch::Mgmt::V2017_09_01::Operations module Models + OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings AutoStorageBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties AutoScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings @@ -23,9 +24,7 @@ module Models ScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings KeyVaultReference = Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters - OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters - OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage @@ -33,8 +32,6 @@ module Models ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota - InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource PoolEndpointConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError NetworkConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration @@ -42,63 +39,66 @@ module Models TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration LinuxUserConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration - OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk UserAccount = Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount - DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk MetadataItem = Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem + InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration - ResourceFile = Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile BatchAccountKeys = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys EnvironmentSetting = Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting + ResourceFile = Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile Application = Azure::Batch::Mgmt::V2017_09_01::Models::Application - AutoUserSpecification = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification - Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource UserIdentity = Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity - CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult StartTask = Azure::Batch::Mgmt::V2017_09_01::Models::StartTask - ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference + DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk VirtualMachineConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration ApplicationPackageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference + AutoUserSpecification = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification ApplicationCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters ResizeError = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError + CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference + ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference CertificateBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus - WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration - Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation ApplicationUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters - ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult + OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay BatchAccountListResult = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult - ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult - AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties + OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult + ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult BatchAccount = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount - Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate - CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration + AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType Pool = Azure::Batch::Mgmt::V2017_09_01::Models::Pool PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode - ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState - AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType + AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState - AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState + Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation CachingType = Azure::Batch::Mgmt::V2017_09_01::Models::CachingType StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption - InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState + AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol NetworkSecurityGroupRuleAccess = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType - ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel - AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState + ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility + ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason + ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate end class BatchManagementClass - attr_reader :batch_account_operations, :application_package_operations, :application_operations, :location, :operations, :certificate_operations, :pool_operations, :configurable, :base_url, :options, :model_classes + attr_reader :location, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :certificate_operations, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -108,13 +108,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @location = @client_0.location @batch_account_operations = @client_0.batch_account_operations @application_package_operations = @client_0.application_package_operations @application_operations = @client_0.application_operations - @location = @client_0.location - @operations = @client_0.operations - @certificate_operations = @client_0.certificate_operations @pool_operations = @client_0.pool_operations + @certificate_operations = @client_0.certificate_operations + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -133,6 +133,9 @@ def method_missing(method, *args) end class ModelClasses + def osdisk + Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk + end def fixed_scale_settings Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings end @@ -154,15 +157,9 @@ def key_vault_reference def batch_account_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters end - def operation_display - Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay - end def batch_account_regenerate_key_parameters Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters end - def operation_list_result - Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult - end def activate_application_package_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters end @@ -184,12 +181,6 @@ def network_security_group_rule def batch_location_quota Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota end - def inbound_nat_pool - Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - end - def proxy_resource - Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - end def pool_endpoint_configuration Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration end @@ -211,53 +202,38 @@ def cloud_service_configuration def linux_user_configuration Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration end - def osdisk - Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk - end def user_account Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount end - def data_disk - Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk - end def metadata_item Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem end + def inbound_nat_pool + Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool + end def deployment_configuration Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration end - def resource_file - Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile - end def batch_account_keys Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys end def environment_setting Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting end + def resource_file + Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile + end def application Azure::Batch::Mgmt::V2017_09_01::Models::Application end - def auto_user_specification - Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification - end - def resource - Azure::Batch::Mgmt::V2017_09_01::Models::Resource - end def user_identity Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity end - def check_name_availability_result - Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult - end def start_task Azure::Batch::Mgmt::V2017_09_01::Models::StartTask end - def image_reference - Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - end - def certificate_reference - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference + def data_disk + Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk end def virtual_machine_configuration Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration @@ -265,47 +241,53 @@ def virtual_machine_configuration def application_package_reference Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference end + def auto_user_specification + Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification + end def application_create_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters end def resize_error Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError end + def certificate_reference + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference + end + def image_reference + Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference + end def certificate_base_properties Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties end def resize_operation_status Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus end - def windows_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration - end - def operation - Azure::Batch::Mgmt::V2017_09_01::Models::Operation - end def application_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters end - def list_pools_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult + def operation_display + Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay end def batch_account_list_result Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult end - def list_certificates_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + def operation_list_result + Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult end - def auto_storage_properties - Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties + def list_pools_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult end def batch_account Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount end - def certificate - Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + def list_certificates_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult end - def certificate_create_or_update_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + def windows_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration + end + def account_key_type + Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType end def pool Azure::Batch::Mgmt::V2017_09_01::Models::Pool @@ -313,11 +295,8 @@ def pool def pool_allocation_mode Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode end - def provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState - end - def account_key_type - Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType + def auto_storage_properties + Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties end def package_state Azure::Batch::Mgmt::V2017_09_01::Models::PackageState @@ -331,8 +310,8 @@ def certificate_provisioning_state def pool_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState end - def allocation_state - Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState + def operation + Azure::Batch::Mgmt::V2017_09_01::Models::Operation end def caching_type Azure::Batch::Mgmt::V2017_09_01::Models::CachingType @@ -343,8 +322,8 @@ def storage_account_type def compute_node_deallocation_option Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption end - def inter_node_communication_state - Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState + def allocation_state + Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState end def inbound_endpoint_protocol Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol @@ -355,11 +334,11 @@ def network_security_group_rule_access def compute_node_fill_type Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType end - def elevation_level - Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + def inter_node_communication_state + Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState end - def auto_user_scope - Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + def proxy_resource + Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource end def certificate_store_location Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation @@ -367,9 +346,30 @@ def certificate_store_location def certificate_visibility Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility end + def elevation_level + Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + end + def auto_user_scope + Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + end + def check_name_availability_result + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::Batch::Mgmt::V2017_09_01::Models::Resource + end def name_availability_reason Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason end + def provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + end + def certificate_create_or_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + end + def certificate + Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + end end end end diff --git a/azure_sdk/lib/latest/modules/billing_profile_module.rb b/azure_sdk/lib/latest/modules/billing_profile_module.rb index e2b7e7ec8c..a5211bdf5d 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -7,29 +7,29 @@ module Azure::Profiles::Latest module Billing module Mgmt - EnrollmentAccounts = Azure::Billing::Mgmt::V2018_03_01_preview::EnrollmentAccounts BillingPeriods = Azure::Billing::Mgmt::V2018_03_01_preview::BillingPeriods Invoices = Azure::Billing::Mgmt::V2018_03_01_preview::Invoices Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations + EnrollmentAccounts = Azure::Billing::Mgmt::V2018_03_01_preview::EnrollmentAccounts module Models - ErrorResponse = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse ErrorDetails = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails - OperationListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult - Resource = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource + Operation = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation + OperationDisplay = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay DownloadUrl = Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl + OperationListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult InvoicesListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::InvoicesListResult BillingPeriodsListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult - OperationDisplay = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay EnrollmentAccountListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult - Operation = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation EnrollmentAccount = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount - BillingPeriod = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod + Resource = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource Invoice = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice + BillingPeriod = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod + ErrorResponse = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse end class BillingManagementClass - attr_reader :enrollment_accounts, :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :billing_periods, :invoices, :operations, :enrollment_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -39,10 +39,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @enrollment_accounts = @client_0.enrollment_accounts @billing_periods = @client_0.billing_periods @invoices = @client_0.invoices @operations = @client_0.operations + @enrollment_accounts = @client_0.enrollment_accounts @model_classes = ModelClasses.new end @@ -61,45 +61,45 @@ def method_missing(method, *args) end class ModelClasses - def error_response - Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse - end def error_details Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails end - def operation_list_result - Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult + def operation + Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation end - def resource - Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource + def operation_display + Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay end def download_url Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl end + def operation_list_result + Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult + end def invoices_list_result Azure::Billing::Mgmt::V2018_03_01_preview::Models::InvoicesListResult end def billing_periods_list_result Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult end - def operation_display - Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay - end def enrollment_account_list_result Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult end - def operation - Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation - end def enrollment_account Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount end - def billing_period - Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod + def resource + Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource end def invoice Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice end + def billing_period + Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod + end + def error_response + Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse + end end end end diff --git a/azure_sdk/lib/latest/modules/cdn_profile_module.rb b/azure_sdk/lib/latest/modules/cdn_profile_module.rb index 5c103f5df4..b39504b6d0 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -7,17 +7,16 @@ module Azure::Profiles::Latest module CDN module Mgmt - Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints + Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Origins = Azure::CDN::Mgmt::V2017_10_12::Origins CustomDomains = Azure::CDN::Mgmt::V2017_10_12::CustomDomains ResourceUsageOperations = Azure::CDN::Mgmt::V2017_10_12::ResourceUsageOperations - Operations = Azure::CDN::Mgmt::V2017_10_12::Operations EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes + Operations = Azure::CDN::Mgmt::V2017_10_12::Operations module Models OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters - Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku OriginListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult ProfileListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters @@ -34,11 +33,9 @@ module Models CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult - ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput DeliveryRuleCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition CheckNameAvailabilityOutput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput @@ -51,34 +48,37 @@ module Models UrlFileExtensionConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlFileExtensionConditionParameters ResourceUsageListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsageListResult EndpointPropertiesUpdateParametersDeliveryPolicy = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy - OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay SupportedOptimizationTypesListResult = Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult - Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation Profile = Azure::CDN::Mgmt::V2017_10_12::Models::Profile Endpoint = Azure::CDN::Mgmt::V2017_10_12::Models::Endpoint DeliveryRuleUrlPathCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition + OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay DeliveryRuleCacheExpirationAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction Origin = Azure::CDN::Mgmt::V2017_10_12::Models::Origin - ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource - CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode - TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState QueryStringCachingBehavior = Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions OriginResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState - CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState + ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState + CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate + Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType + TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource + Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku + ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain + Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource + SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName end class CDNManagementClass - attr_reader :profiles, :endpoints, :origins, :custom_domains, :resource_usage_operations, :operations, :edge_nodes, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -88,13 +88,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @profiles = @client_0.profiles @endpoints = @client_0.endpoints + @profiles = @client_0.profiles @origins = @client_0.origins @custom_domains = @client_0.custom_domains @resource_usage_operations = @client_0.resource_usage_operations - @operations = @client_0.operations @edge_nodes = @client_0.edge_nodes + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -116,9 +116,6 @@ class ModelClasses def origin_update_parameters Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters end - def sku - Azure::CDN::Mgmt::V2017_10_12::Models::Sku - end def origin_list_result Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult end @@ -167,9 +164,6 @@ def edgenode_result def custom_domain_list_result Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult end - def error_response - Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse - end def validate_custom_domain_input Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput end @@ -179,9 +173,6 @@ def ip_address_group def validate_custom_domain_output Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput end - def resource - Azure::CDN::Mgmt::V2017_10_12::Models::Resource - end def check_name_availability_input Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput end @@ -218,15 +209,9 @@ def resource_usage_list_result def endpoint_properties_update_parameters_delivery_policy Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy end - def operation_display - Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay - end def supported_optimization_types_list_result Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult end - def operation - Azure::CDN::Mgmt::V2017_10_12::Models::Operation - end def profile Azure::CDN::Mgmt::V2017_10_12::Models::Profile end @@ -239,27 +224,18 @@ def delivery_rule_url_path_condition def delivery_rule_url_file_extension_condition Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition end + def operation_display + Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay + end def delivery_rule_cache_expiration_action Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction end def origin Azure::CDN::Mgmt::V2017_10_12::Models::Origin end - def proxy_resource - Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource - end - def custom_domain - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain - end def edge_node Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode end - def tracked_resource - Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - end - def sku_name - Azure::CDN::Mgmt::V2017_10_12::Models::SkuName - end def profile_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState end @@ -278,18 +254,42 @@ def geo_filter_actions def origin_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState end - def custom_domain_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState + def error_response + Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse end def custom_https_provisioning_state Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState end + def custom_domain_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState + end def custom_https_provisioning_substate Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate end + def operation + Azure::CDN::Mgmt::V2017_10_12::Models::Operation + end def resource_type Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType end + def tracked_resource + Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource + end + def sku + Azure::CDN::Mgmt::V2017_10_12::Models::Sku + end + def proxy_resource + Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + end + def custom_domain + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain + end + def resource + Azure::CDN::Mgmt::V2017_10_12::Models::Resource + end + def sku_name + Azure::CDN::Mgmt::V2017_10_12::Models::SkuName + end end end end diff --git a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb index 021b149c7a..828eacedd4 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -9,13 +9,12 @@ module CognitiveServices module Mgmt Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus - Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability + Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations module Models - ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku - Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody CognitiveServicesAccountUpdateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult @@ -32,24 +31,25 @@ module Models ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions - CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount - ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult + CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier + KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState - KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName + ResourceSkuRestrictionsType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus - ResourceSkuRestrictionsType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode + Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku end class CognitiveServicesManagementClass - attr_reader :accounts, :resource_skus, :operations, :check_sku_availability, :configurable, :base_url, :options, :model_classes + attr_reader :accounts, :resource_skus, :check_sku_availability, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -61,8 +61,8 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @accounts = @client_0.accounts @resource_skus = @client_0.resource_skus - @operations = @client_0.operations @check_sku_availability = @client_0.check_sku_availability + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -81,14 +81,11 @@ def method_missing(method, *args) end class ModelClasses - def error_body - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody - end def sku Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku end - def error - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + def error_body + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody end def cognitive_services_account_update_parameters Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters @@ -138,18 +135,15 @@ def metric_name def resource_sku_restrictions Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions end - def cognitive_services_account - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount - end - def resource_sku - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku - end def usages_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult end def resource_skus_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult end + def cognitive_services_account + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount + end def cognitive_services_resource_and_sku Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku end @@ -159,14 +153,17 @@ def sku_name def sku_tier Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier end + def key_name + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName + end def kind Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind end def provisioning_state Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState end - def key_name - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName + def resource_sku_restrictions_type + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType end def unit_type Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType @@ -174,12 +171,15 @@ def unit_type def quota_usage_status Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus end - def resource_sku_restrictions_type - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType - end def resource_sku_restrictions_reason_code Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode end + def error + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + end + def resource_sku + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku + end end end end diff --git a/azure_sdk/lib/latest/modules/commerce_profile_module.rb b/azure_sdk/lib/latest/modules/commerce_profile_module.rb index 55cb470975..83daba73b8 100644 --- a/azure_sdk/lib/latest/modules/commerce_profile_module.rb +++ b/azure_sdk/lib/latest/modules/commerce_profile_module.rb @@ -11,18 +11,18 @@ module Mgmt RateCard = Azure::Commerce::Mgmt::V2015_06_01_preview::RateCard module Models + MonetaryCredit = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit + MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + RecurringCharge = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge + AggregationGranularity = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity + RateCardQueryParameters = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters MeterInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MeterInfo ResourceRateCardInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ResourceRateCardInfo UsageAggregation = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregation + ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse InfoField = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::InfoField UsageAggregationListResult = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregationListResult OfferTermInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::OfferTermInfo - RateCardQueryParameters = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters - ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse - MonetaryCredit = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit - MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment - RecurringCharge = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge - AggregationGranularity = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity end class CommerceManagementClass @@ -56,6 +56,21 @@ def method_missing(method, *args) end class ModelClasses + def monetary_credit + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit + end + def monetary_commitment + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + end + def recurring_charge + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge + end + def aggregation_granularity + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity + end + def rate_card_query_parameters + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters + end def meter_info Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MeterInfo end @@ -65,6 +80,9 @@ def resource_rate_card_info def usage_aggregation Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregation end + def error_response + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse + end def info_field Azure::Commerce::Mgmt::V2015_06_01_preview::Models::InfoField end @@ -74,24 +92,6 @@ def usage_aggregation_list_result def offer_term_info Azure::Commerce::Mgmt::V2015_06_01_preview::Models::OfferTermInfo end - def rate_card_query_parameters - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters - end - def error_response - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse - end - def monetary_credit - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit - end - def monetary_commitment - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment - end - def recurring_charge - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge - end - def aggregation_granularity - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity - end end end end diff --git a/azure_sdk/lib/latest/modules/compute_profile_module.rb b/azure_sdk/lib/latest/modules/compute_profile_module.rb index d9d45764d7..8c182ae175 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -10,37 +10,37 @@ module Mgmt ResourceSkus = Azure::Compute::Mgmt::V2017_09_01::ResourceSkus Disks = Azure::Compute::Mgmt::V2018_04_01::Disks Snapshots = Azure::Compute::Mgmt::V2018_04_01::Snapshots - Operations = Azure::Compute::Mgmt::V2018_06_01::Operations + Galleries = Azure::Compute::Mgmt::V2018_06_01::Galleries AvailabilitySets = Azure::Compute::Mgmt::V2018_06_01::AvailabilitySets + UsageOperations = Azure::Compute::Mgmt::V2018_06_01::UsageOperations VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensionImages VirtualMachineExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensions VirtualMachineImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineImages - UsageOperations = Azure::Compute::Mgmt::V2018_06_01::UsageOperations VirtualMachineSizes = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineSizes - Images = Azure::Compute::Mgmt::V2018_06_01::Images VirtualMachines = Azure::Compute::Mgmt::V2018_06_01::VirtualMachines VirtualMachineScaleSets = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSets + VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetVMs + GalleryImages = Azure::Compute::Mgmt::V2018_06_01::GalleryImages + Operations = Azure::Compute::Mgmt::V2018_06_01::Operations + Images = Azure::Compute::Mgmt::V2018_06_01::Images VirtualMachineScaleSetExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetExtensions VirtualMachineScaleSetRollingUpgrades = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetRollingUpgrades - VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetVMs LogAnalytics = Azure::Compute::Mgmt::V2018_06_01::LogAnalytics VirtualMachineRunCommands = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineRunCommands - Galleries = Azure::Compute::Mgmt::V2018_06_01::Galleries - GalleryImages = Azure::Compute::Mgmt::V2018_06_01::GalleryImages GalleryImageVersions = Azure::Compute::Mgmt::V2018_06_01::GalleryImageVersions module Models - ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions - ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity - ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo - ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities - ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku ResourceSkuCosts = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult - ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo - ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType + ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType + ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode + ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo + ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions + ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity + ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData @@ -62,218 +62,218 @@ module Models DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel - VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings - VirtualMachineScaleSetIpTag = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag - ComputeOperationListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult - VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration - SubResource = Azure::Compute::Mgmt::V2018_06_01::Models::SubResource - VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration RecommendedMachineConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration - ImageListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult - VirtualMachineSize = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue GalleryImageVersionList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList - VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity - VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView - VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile GalleryDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage - VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile - PurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan - VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters - DataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage - VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk - UsageName = Azure::Compute::Mgmt::V2018_06_01::Models::UsageName - VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk - ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult - VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk GalleryArtifactSource = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource - VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile - HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile - VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile - KeyVaultSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference - ApiEntityReference = Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference - DiskEncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings - ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue ReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus - InstanceViewStatus = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus - DataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk - Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku - AdditionalUnattendContent = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent ResourceRange = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange - WinRMConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMConfiguration GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier - SshPublicKey = Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey GalleryIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier - LinuxConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration - VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings - VaultSecretGroup = Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup - RunCommandResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus - RunCommandListResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult - BootDiagnostics = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics - VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile - VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView - VirtualMachineScaleSetUpdateNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile - DiskInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView - RunCommandDocumentBase = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase VirtualMachineIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue - VirtualMachineScaleSetExtensionListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult - MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus - VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile - VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile - VirtualMachineListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult - VirtualMachineScaleSetUpdateVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile - RollingUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy - RunCommandParameterDefinition = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition - ImageOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk - RunCommandInput = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput - ImageStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile - VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs - AvailabilitySetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult - VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList - VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineStatusCodeCount - VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult - VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary GalleryArtifactPublishingProfileBase = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase - VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary - VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters - VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView ManagedArtifact = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact - VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult - VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk - VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult - StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile - VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity - WindowsConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration - VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku + ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed + GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList + Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery + GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage + GalleryImageVersionPublishingProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile + GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage + GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + GalleryImageVersion = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion + ScaleTier = Azure::Compute::Mgmt::V2018_06_01::Models::ScaleTier + AggregatedReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState + ReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState + HostCaching = Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching + ReplicationStatusTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes + DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile + InstanceViewStatus = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus + VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView VaultCertificate = Azure::Compute::Mgmt::V2018_06_01::Models::VaultCertificate - VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult + VaultSecretGroup = Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup + VirtualMachineSize = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize + OSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile + InnerError = Azure::Compute::Mgmt::V2018_06_01::Models::InnerError + VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + BootDiagnostics = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics + PurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan + DataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage ApiErrorBase = Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView - InnerError = Azure::Compute::Mgmt::V2018_06_01::Models::InnerError - VirtualMachineIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity + ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult + DiskInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView ApiError = Azure::Compute::Mgmt::V2018_06_01::Models::ApiError - ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan - RollbackStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo - UpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy - UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus - Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed - RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo - GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList - UpgradeOperationHistoricalStatusInfoProperties = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties - Usage = Azure::Compute::Mgmt::V2018_06_01::Models::Usage - UpgradeOperationHistoricalStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo - KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference - VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory - WinRMListener = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener - VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus - OSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile - VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView - RunCommandInputParameter = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter - AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy + HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile + VirtualMachineIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity + KeyVaultSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference + VirtualMachineInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView + DiskEncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult + OSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk + VirtualMachineListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult + StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile + WinRMListener = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener + UpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy + WindowsConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration + VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity + SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile + AvailabilitySetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult + VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk + VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile + VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult + ApiEntityReference = Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference + VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView + VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters + VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult + ImageReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference + VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile + VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk + VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku + AdditionalUnattendContent = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent + VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile + SshPublicKey = Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey + VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult - RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus + VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity + OSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage + VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs Plan = Azure::Compute::Mgmt::V2018_06_01::Models::Plan - LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult - SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration - Resource = Azure::Compute::Mgmt::V2018_06_01::Models::Resource - VirtualMachineInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView + VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs + DataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk + VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineStatusCodeCount + LinuxConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration + VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary + VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary + WinRMConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMConfiguration + VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView + KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference + VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult UpdateResource = Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource - OSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage - SubResourceReadOnly = Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly - DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile - RecoveryWalkResponse = Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse - OSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk - LogAnalyticsOutput = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput - ImageDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk - LogAnalyticsInputBase = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase + VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult AvailabilitySet = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet - AvailabilitySetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage VirtualMachineImageResource = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource VirtualMachineExtension = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate VirtualMachineImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult - ImageReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference - ManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters NetworkInterfaceReference = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference VirtualMachine = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine - VirtualMachineUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineUpdate - Image = Azure::Compute::Mgmt::V2018_06_01::Models::Image - ImageUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration - VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration - VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension VirtualMachineScaleSet = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet - VirtualMachineScaleSetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate VirtualMachineScaleSetVM = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM - RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo - RequestRateByIntervalInput = Azure::Compute::Mgmt::V2018_06_01::Models::RequestRateByIntervalInput - ThrottledRequestsInput = Azure::Compute::Mgmt::V2018_06_01::Models::ThrottledRequestsInput - RunCommandDocument = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument - Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery - GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage - GalleryImageVersionPublishingProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile - GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage - GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage - GalleryImageVersion = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion StatusLevelTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes OperatingSystemTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes - StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes ResourceIdentityType = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType - MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode - OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes - IPVersion = Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion - VirtualMachinePriorityTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachinePriorityTypes - VirtualMachineEvictionPolicyTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineEvictionPolicyTypes VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType - UpgradeState = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeState - UpgradeOperationInvoker = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationInvoker - RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode - RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType - IntervalInMins = Azure::Compute::Mgmt::V2018_06_01::Models::IntervalInMins - ScaleTier = Azure::Compute::Mgmt::V2018_06_01::Models::ScaleTier - AggregatedReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState - ReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState - HostCaching = Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching InstanceViewTypes = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes - ReplicationStatusTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes - end - - class ComputeManagementClass - attr_reader :resource_skus, :disks, :snapshots, :operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :virtual_machines, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :log_analytics, :virtual_machine_run_commands, :galleries, :gallery_images, :gallery_image_versions, :configurable, :base_url, :options, :model_classes - - def initialize(configurable, base_url=nil, options=nil) - @configurable, @base_url, @options = configurable, base_url, options - - @client_0 = Azure::Compute::Mgmt::V2017_09_01::ComputeManagementClient.new(configurable.credentials, base_url, options) - if(@client_0.respond_to?(:subscription_id)) - @client_0.subscription_id = configurable.subscription_id - end - add_telemetry(@client_0) - @resource_skus = @client_0.resource_skus - - @client_1 = Azure::Compute::Mgmt::V2017_12_01::ComputeManagementClient.new(configurable.credentials, base_url, options) - if(@client_1.respond_to?(:subscription_id)) - @client_1.subscription_id = configurable.subscription_id - end - add_telemetry(@client_1) + Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku + UsageName = Azure::Compute::Mgmt::V2018_06_01::Models::UsageName + Usage = Azure::Compute::Mgmt::V2018_06_01::Models::Usage + SubResource = Azure::Compute::Mgmt::V2018_06_01::Models::SubResource + ImageListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult + ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue + VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile + RecoveryWalkResponse = Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse + Resource = Azure::Compute::Mgmt::V2018_06_01::Models::Resource + AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy + RollingUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy + RunCommandParameterDefinition = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition + ImageOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk + ImageDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk + ImageStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile + RunCommandInputParameter = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + ComputeOperationListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult + RollbackStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo + VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters + VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk + VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk + VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings + VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration + MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus + RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus + VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus + VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings + RunCommandListResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult + VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + UpgradeOperationHistoricalStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo + RunCommandInput = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput + VirtualMachineScaleSetUpdateNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + LogAnalyticsOutput = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput + UpgradeOperationHistoricalStatusInfoProperties = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties + SubResourceReadOnly = Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly + VirtualMachineScaleSetExtensionListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult + VirtualMachineScaleSetUpdateVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile + RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo + UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus + RunCommandDocumentBase = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase + LogAnalyticsInputBase = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase + AvailabilitySetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate + ManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters + VirtualMachineUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineUpdate + Image = Azure::Compute::Mgmt::V2018_06_01::Models::Image + VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration + ImageUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate + VirtualMachineScaleSetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate + RequestRateByIntervalInput = Azure::Compute::Mgmt::V2018_06_01::Models::RequestRateByIntervalInput + ThrottledRequestsInput = Azure::Compute::Mgmt::V2018_06_01::Models::ThrottledRequestsInput + LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult + RunCommandDocument = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument + RunCommandResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult + StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes + MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes + OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + IPVersion = Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion + RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo + VirtualMachinePriorityTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachinePriorityTypes + VirtualMachineEvictionPolicyTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineEvictionPolicyTypes + UpgradeState = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeState + UpgradeOperationInvoker = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationInvoker + RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode + RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + IntervalInMins = Azure::Compute::Mgmt::V2018_06_01::Models::IntervalInMins + VirtualMachineScaleSetIpTag = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag + end + + class ComputeManagementClass + attr_reader :resource_skus, :disks, :snapshots, :galleries, :availability_sets, :usage_operations, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machine_images, :virtual_machine_sizes, :virtual_machines, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :gallery_images, :operations, :images, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :log_analytics, :virtual_machine_run_commands, :gallery_image_versions, :configurable, :base_url, :options, :model_classes + + def initialize(configurable, base_url=nil, options=nil) + @configurable, @base_url, @options = configurable, base_url, options + + @client_0 = Azure::Compute::Mgmt::V2017_09_01::ComputeManagementClient.new(configurable.credentials, base_url, options) + if(@client_0.respond_to?(:subscription_id)) + @client_0.subscription_id = configurable.subscription_id + end + add_telemetry(@client_0) + @resource_skus = @client_0.resource_skus + + @client_1 = Azure::Compute::Mgmt::V2017_12_01::ComputeManagementClient.new(configurable.credentials, base_url, options) + if(@client_1.respond_to?(:subscription_id)) + @client_1.subscription_id = configurable.subscription_id + end + add_telemetry(@client_1) @client_2 = Azure::Compute::Mgmt::V2018_04_01::ComputeManagementClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @@ -288,23 +288,23 @@ def initialize(configurable, base_url=nil, options=nil) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) - @operations = @client_3.operations + @galleries = @client_3.galleries @availability_sets = @client_3.availability_sets + @usage_operations = @client_3.usage_operations @virtual_machine_extension_images = @client_3.virtual_machine_extension_images @virtual_machine_extensions = @client_3.virtual_machine_extensions @virtual_machine_images = @client_3.virtual_machine_images - @usage_operations = @client_3.usage_operations @virtual_machine_sizes = @client_3.virtual_machine_sizes - @images = @client_3.images @virtual_machines = @client_3.virtual_machines @virtual_machine_scale_sets = @client_3.virtual_machine_scale_sets + @virtual_machine_scale_set_vms = @client_3.virtual_machine_scale_set_vms + @gallery_images = @client_3.gallery_images + @operations = @client_3.operations + @images = @client_3.images @virtual_machine_scale_set_extensions = @client_3.virtual_machine_scale_set_extensions @virtual_machine_scale_set_rolling_upgrades = @client_3.virtual_machine_scale_set_rolling_upgrades - @virtual_machine_scale_set_vms = @client_3.virtual_machine_scale_set_vms @log_analytics = @client_3.log_analytics @virtual_machine_run_commands = @client_3.virtual_machine_run_commands - @galleries = @client_3.galleries - @gallery_images = @client_3.gallery_images @gallery_image_versions = @client_3.gallery_image_versions @model_classes = ModelClasses.new @@ -330,38 +330,38 @@ def method_missing(method, *args) end class ModelClasses - def resource_sku_restrictions - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions - end - def resource_sku_capacity - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity + def resource_sku_costs + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts end - def resource_sku_location_info - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo + def resource_skus_result + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult end def resource_sku_capabilities Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities end - def resource_sku - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + def resource_sku_restrictions_type + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType end - def resource_sku_costs - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts + def resource_sku_capacity_scale_type + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType end - def resource_skus_result - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult + def resource_sku_restrictions_reason_code + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode end def resource_sku_restriction_info Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo end - def resource_sku_capacity_scale_type - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType + def resource_sku_restrictions + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions end - def resource_sku_restrictions_type - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType + def resource_sku + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku end - def resource_sku_restrictions_reason_code - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode + def resource_sku_capacity + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity + end + def resource_sku_location_info + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo end def compute_long_running_operation_properties Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties @@ -426,549 +426,564 @@ def snapshot_storage_account_types def access_level Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel end - def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings - end - def virtual_machine_scale_set_ip_tag - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag - end - def compute_operation_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult - end - def virtual_machine_scale_set_public_ipaddress_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration - end - def sub_resource - Azure::Compute::Mgmt::V2018_06_01::Models::SubResource - end - def virtual_machine_scale_set_update_public_ipaddress_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - end def recommended_machine_configuration Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration end - def image_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult - end - def virtual_machine_size - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize - end def virtual_machine_scale_set_identity_user_assigned_identities_value Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue end def gallery_image_version_list Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList end - def virtual_machine_scale_set_identity - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity - end - def virtual_machine_extension_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView - end - def virtual_machine_scale_set_osprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile - end def gallery_disk_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage end - def virtual_machine_scale_set_update_osprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile + def gallery_artifact_source + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource end - def purchase_plan - Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan + def replication_status + Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus end - def virtual_machine_scale_set_managed_disk_parameters - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters + def resource_range + Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange end - def data_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage + def gallery_image_identifier + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier end - def virtual_machine_scale_set_osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk + def gallery_identifier + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier end - def usage_name - Azure::Compute::Mgmt::V2018_06_01::Models::UsageName + def regional_replication_status + Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus end - def virtual_machine_scale_set_update_osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk + def virtual_machine_identity_user_assigned_identities_value + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue end - def list_usages_result - Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult + def gallery_image_version_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile end - def virtual_machine_scale_set_data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk + def gallery_image_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList end - def gallery_artifact_source - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource + def gallery_artifact_publishing_profile_base + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile + def managed_artifact + Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact end - def hardware_profile - Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile + def image_purchase_plan + Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan end - def virtual_machine_scale_set_update_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile + def disallowed + Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed end - def key_vault_secret_reference - Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference + def gallery_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList end - def api_entity_reference - Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference + def gallery + Azure::Compute::Mgmt::V2018_06_01::Models::Gallery end - def disk_encryption_settings - Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings + def gallery_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage end - def compute_operation_value - Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue + def gallery_image_version_publishing_profile + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile end - def replication_status - Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus + def gallery_osdisk_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage end - def instance_view_status - Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus + def gallery_data_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage end - def data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk + def gallery_image_version + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion end - def sku - Azure::Compute::Mgmt::V2018_06_01::Models::Sku + def scale_tier + Azure::Compute::Mgmt::V2018_06_01::Models::ScaleTier end - def additional_unattend_content - Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent + def aggregated_replication_state + Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState end - def resource_range - Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange + def replication_state + Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState end - def win_rmconfiguration - Azure::Compute::Mgmt::V2018_06_01::Models::WinRMConfiguration + def host_caching + Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching end - def gallery_image_identifier - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier + def replication_status_types + Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes end - def ssh_public_key - Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey + def diagnostics_profile + Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile end - def gallery_identifier - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier + def instance_view_status + Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus end - def linux_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration + def virtual_machine_extension_handler_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView end - def virtual_machine_scale_set_network_configuration_dns_settings - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings + def vault_certificate + Azure::Compute::Mgmt::V2018_06_01::Models::VaultCertificate end def vault_secret_group Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup end - def run_command_result - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult + def virtual_machine_size + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize end - def regional_replication_status - Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus + def osprofile + Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile end - def run_command_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult + def inner_error + Azure::Compute::Mgmt::V2018_06_01::Models::InnerError + end + def virtual_machine_extension_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView + end + def network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile end def boot_diagnostics Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics end - def virtual_machine_scale_set_network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile + def purchase_plan + Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan end - def virtual_machine_extension_handler_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView + def data_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage end - def virtual_machine_scale_set_update_network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + def api_error_base + Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase + end + def virtual_machine_agent_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView + end + def list_usages_result + Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult end def disk_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView end - def run_command_document_base - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase + def api_error + Azure::Compute::Mgmt::V2018_06_01::Models::ApiError end - def virtual_machine_identity_user_assigned_identities_value - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue + def boot_diagnostics_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView end - def virtual_machine_scale_set_extension_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult + def hardware_profile + Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile end - def maintenance_redeploy_status - Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus + def virtual_machine_identity + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity end - def virtual_machine_scale_set_extension_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile + def key_vault_secret_reference + Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference end - def gallery_image_version_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile + def virtual_machine_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView end - def virtual_machine_scale_set_vmprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile + def disk_encryption_settings + Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings + end + def virtual_machine_scale_set_vmlist_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult + end + def osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk end def virtual_machine_list_result Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult end - def virtual_machine_scale_set_update_vmprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile + def storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile end - def rolling_upgrade_policy - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy + def win_rmlistener + Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener end - def run_command_parameter_definition - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition + def upgrade_policy + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy end - def image_osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk + def windows_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration end - def run_command_input - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput + def virtual_machine_scale_set_identity + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity end - def image_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile + def ssh_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration end - def virtual_machine_scale_set_vminstance_ids - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs + def virtual_machine_scale_set_osprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile end def availability_set_list_result Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult end + def virtual_machine_scale_set_osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk + end + def virtual_machine_scale_set_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile + end + def virtual_machine_extensions_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult + end + def api_entity_reference + Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference + end + def virtual_machine_scale_set_vminstance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView + end + def virtual_machine_capture_parameters + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters + end + def virtual_machine_scale_set_list_skus_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult + end + def image_reference + Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference + end + def virtual_machine_scale_set_network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile + end + def virtual_hard_disk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk + end + def virtual_machine_scale_set_sku + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku + end + def additional_unattend_content + Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent + end + def virtual_machine_scale_set_extension_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile + end + def ssh_public_key + Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey + end + def virtual_machine_scale_set_vmprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile + end + def virtual_machine_size_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult + end + def virtual_machine_scale_set_sku_capacity + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity + end + def osdisk_image + Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage + end + def virtual_machine_scale_set_vminstance_ids + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs + end + def plan + Azure::Compute::Mgmt::V2018_06_01::Models::Plan + end def virtual_machine_scale_set_vminstance_required_ids Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs end - def gallery_image_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + def data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk end def virtual_machine_status_code_count Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineStatusCodeCount end - def virtual_machine_extensions_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult + def linux_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration end def virtual_machine_scale_set_instance_view_statuses_summary Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def gallery_artifact_publishing_profile_base - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase - end def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary end - def virtual_machine_capture_parameters - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters + def win_rmconfiguration + Azure::Compute::Mgmt::V2018_06_01::Models::WinRMConfiguration end def virtual_machine_scale_set_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView end - def managed_artifact - Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact + def key_vault_key_reference + Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference end def virtual_machine_scale_set_list_result Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult end - def virtual_hard_disk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk + def update_resource + Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource end def virtual_machine_scale_set_list_with_link_result Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult end - def storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile + def availability_set + Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet end - def virtual_machine_scale_set_sku_capacity - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity + def virtual_machine_extension_image + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage end - def windows_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration + def virtual_machine_image_resource + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource end - def virtual_machine_scale_set_sku - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku + def virtual_machine_extension + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension end - def vault_certificate - Azure::Compute::Mgmt::V2018_06_01::Models::VaultCertificate + def virtual_machine_extension_update + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate end - def virtual_machine_scale_set_list_skus_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult + def virtual_machine_image + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage end - def network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + def virtual_machine_capture_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult end - def api_error_base - Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase + def network_interface_reference + Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference end - def virtual_machine_agent_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView + def virtual_machine + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine end - def inner_error - Azure::Compute::Mgmt::V2018_06_01::Models::InnerError + def virtual_machine_scale_set_ipconfiguration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration end - def virtual_machine_identity - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity + def virtual_machine_scale_set_network_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration end - def api_error - Azure::Compute::Mgmt::V2018_06_01::Models::ApiError + def virtual_machine_scale_set_extension + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension end - def image_purchase_plan - Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + def virtual_machine_scale_set + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet end - def rollback_status_info - Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo + def virtual_machine_scale_set_vm + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM end - def upgrade_policy - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy + def status_level_types + Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes end - def upgrade_operation_history_status - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus + def operating_system_types + Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes + end + def virtual_machine_size_types + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes + end + def caching_types + Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes + end + def disk_create_option_types + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + end + def pass_names + Azure::Compute::Mgmt::V2018_06_01::Models::PassNames + end + def component_names + Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + end + def setting_names + Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames + end + def protocol_types + Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes + end + def resource_identity_type + Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType + end + def upgrade_mode + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + end + def virtual_machine_scale_set_sku_scale_type + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType + end + def instance_view_types + Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes + end + def sku + Azure::Compute::Mgmt::V2018_06_01::Models::Sku + end + def usage_name + Azure::Compute::Mgmt::V2018_06_01::Models::UsageName + end + def usage + Azure::Compute::Mgmt::V2018_06_01::Models::Usage + end + def sub_resource + Azure::Compute::Mgmt::V2018_06_01::Models::SubResource + end + def image_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult + end + def compute_operation_value + Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue + end + def virtual_machine_scale_set_update_osprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile + end + def recovery_walk_response + Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse + end + def resource + Azure::Compute::Mgmt::V2018_06_01::Models::Resource end - def disallowed - Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed + def auto_osupgrade_policy + Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy end - def rolling_upgrade_progress_info - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo + def rolling_upgrade_policy + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy end - def gallery_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList + def run_command_parameter_definition + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition end - def upgrade_operation_historical_status_info_properties - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties + def image_osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk end - def usage - Azure::Compute::Mgmt::V2018_06_01::Models::Usage + def image_data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk end - def upgrade_operation_historical_status_info - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo + def image_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile end - def key_vault_key_reference - Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference + def run_command_input_parameter + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter end - def virtual_machine_scale_set_list_osupgrade_history - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + def compute_operation_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult end - def win_rmlistener - Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener + def rollback_status_info + Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo end - def virtual_machine_health_status - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus + def virtual_machine_scale_set_managed_disk_parameters + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters end - def osprofile - Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile + def virtual_machine_scale_set_update_osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk end - def virtual_machine_scale_set_vminstance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView + def virtual_machine_scale_set_data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk end - def boot_diagnostics_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView + def virtual_machine_scale_set_update_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile end - def run_command_input_parameter - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings end - def auto_osupgrade_policy - Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy + def virtual_machine_scale_set_public_ipaddress_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration end - def virtual_machine_scale_set_vmlist_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult + def virtual_machine_scale_set_update_public_ipaddress_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end - def virtual_machine_size_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult + def maintenance_redeploy_status + Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus end def rolling_upgrade_running_status Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus end - def plan - Azure::Compute::Mgmt::V2018_06_01::Models::Plan + def virtual_machine_health_status + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus end - def log_analytics_operation_result - Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult + def virtual_machine_scale_set_network_configuration_dns_settings + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings end - def ssh_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + def run_command_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult end - def resource - Azure::Compute::Mgmt::V2018_06_01::Models::Resource + def virtual_machine_scale_set_list_osupgrade_history + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory end - def virtual_machine_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView + def upgrade_operation_historical_status_info + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo end - def update_resource - Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource + def run_command_input + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput end - def osdisk_image - Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage + def virtual_machine_scale_set_update_network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + end + def log_analytics_output + Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput + end + def upgrade_operation_historical_status_info_properties + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties end def sub_resource_read_only Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly end - def diagnostics_profile - Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile + def virtual_machine_scale_set_extension_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult end - def recovery_walk_response - Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse + def virtual_machine_scale_set_update_vmprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile end - def osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk + def rolling_upgrade_progress_info + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo end - def log_analytics_output - Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput + def upgrade_operation_history_status + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus end - def image_data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk + def run_command_document_base + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase end def log_analytics_input_base Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase end - def availability_set - Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet - end def availability_set_update Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate end - def virtual_machine_extension_image - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage - end - def virtual_machine_image_resource - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource - end - def virtual_machine_extension - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension - end - def virtual_machine_extension_update - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate - end - def virtual_machine_image - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage - end - def virtual_machine_capture_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult - end - def image_reference - Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference - end def managed_disk_parameters Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters end - def network_interface_reference - Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference - end - def virtual_machine - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine - end def virtual_machine_update Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineUpdate end def image Azure::Compute::Mgmt::V2018_06_01::Models::Image end - def image_update - Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate - end - def virtual_machine_scale_set_ipconfiguration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration - end def virtual_machine_scale_set_update_ipconfiguration Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration end - def virtual_machine_scale_set_network_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration - end def virtual_machine_scale_set_update_network_configuration Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration end - def virtual_machine_scale_set_extension - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension - end - def virtual_machine_scale_set - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet + def image_update + Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate end def virtual_machine_scale_set_update Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate end - def virtual_machine_scale_set_vm - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM - end - def rolling_upgrade_status_info - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo - end def request_rate_by_interval_input Azure::Compute::Mgmt::V2018_06_01::Models::RequestRateByIntervalInput end def throttled_requests_input Azure::Compute::Mgmt::V2018_06_01::Models::ThrottledRequestsInput end + def log_analytics_operation_result + Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult + end def run_command_document Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument end - def gallery - Azure::Compute::Mgmt::V2018_06_01::Models::Gallery - end - def gallery_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage - end - def gallery_image_version_publishing_profile - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile - end - def gallery_osdisk_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage - end - def gallery_data_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage - end - def gallery_image_version - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion - end - def status_level_types - Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes - end - def operating_system_types - Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes - end - def virtual_machine_size_types - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes - end - def caching_types - Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes - end - def disk_create_option_types - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + def run_command_result + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult end def storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes end - def pass_names - Azure::Compute::Mgmt::V2018_06_01::Models::PassNames - end - def component_names - Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames - end - def setting_names - Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames - end - def protocol_types - Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes - end - def resource_identity_type - Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType - end def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes end - def upgrade_mode - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode - end def operating_system_state_types Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes end def ipversion Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion end + def rolling_upgrade_status_info + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo + end def virtual_machine_priority_types Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachinePriorityTypes end def virtual_machine_eviction_policy_types Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineEvictionPolicyTypes end - def virtual_machine_scale_set_sku_scale_type - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType - end def upgrade_state Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeState end @@ -984,23 +999,8 @@ def rolling_upgrade_action_type def interval_in_mins Azure::Compute::Mgmt::V2018_06_01::Models::IntervalInMins end - def scale_tier - Azure::Compute::Mgmt::V2018_06_01::Models::ScaleTier - end - def aggregated_replication_state - Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState - end - def replication_state - Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState - end - def host_caching - Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching - end - def instance_view_types - Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes - end - def replication_status_types - Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes + def virtual_machine_scale_set_ip_tag + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag end end end diff --git a/azure_sdk/lib/latest/modules/consumption_profile_module.rb b/azure_sdk/lib/latest/modules/consumption_profile_module.rb index 467b6a9845..6fe7c1c6ef 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,8 +7,6 @@ module Azure::Profiles::Latest module Consumption module Mgmt - UsageDetails = Azure::Consumption::Mgmt::V2018_06_30::UsageDetails - Marketplaces = Azure::Consumption::Mgmt::V2018_06_30::Marketplaces Balances = Azure::Consumption::Mgmt::V2018_06_30::Balances ReservationsSummaries = Azure::Consumption::Mgmt::V2018_06_30::ReservationsSummaries ReservationsDetails = Azure::Consumption::Mgmt::V2018_06_30::ReservationsDetails @@ -16,12 +14,19 @@ module Mgmt Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets PriceSheet = Azure::Consumption::Mgmt::V2018_06_30::PriceSheet CostTags = Azure::Consumption::Mgmt::V2018_06_30::CostTags - Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts + Marketplaces = Azure::Consumption::Mgmt::V2018_06_30::Marketplaces Operations = Azure::Consumption::Mgmt::V2018_06_30::Operations + Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags + UsageDetails = Azure::Consumption::Mgmt::V2018_06_30::UsageDetails module Models + ErrorDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails Notification = Azure::Consumption::Mgmt::V2018_06_30::Models::Notification + OperationDisplay = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay + OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult + ErrorResponse = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse + Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation MeterDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails CurrentSpend = Azure::Consumption::Mgmt::V2018_06_30::Models::CurrentSpend UsageDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetailsListResult @@ -29,23 +34,18 @@ module Models MarketplacesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::MarketplacesListResult Filters = Azure::Consumption::Mgmt::V2018_06_30::Models::Filters BalancePropertiesAdjustmentDetailsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesAdjustmentDetailsItem - ErrorResponse = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse - OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult - ErrorDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails - Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation ReservationRecommendation = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation BudgetsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetsListResult - Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag CostTagProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTagProperties BalancePropertiesNewPurchasesDetailsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesNewPurchasesDetailsItem QueryOptions = Azure::Consumption::Mgmt::V2018_06_30::Models::QueryOptions ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult + Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag PriceSheetProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties ReservationRecommendationsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult ProxyResource = Azure::Consumption::Mgmt::V2018_06_30::Models::ProxyResource Resource = Azure::Consumption::Mgmt::V2018_06_30::Models::Resource ForecastPropertiesConfidenceLevelsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem - OperationDisplay = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay ResourceAttributes = Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult ForecastsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult @@ -70,7 +70,7 @@ module Models end class ConsumptionManagementClass - attr_reader :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :price_sheet, :cost_tags, :tags, :forecasts, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :price_sheet, :cost_tags, :forecasts, :marketplaces, :operations, :tags, :usage_details, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -80,8 +80,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @usage_details = @client_0.usage_details - @marketplaces = @client_0.marketplaces @balances = @client_0.balances @reservations_summaries = @client_0.reservations_summaries @reservations_details = @client_0.reservations_details @@ -89,9 +87,11 @@ def initialize(configurable, base_url=nil, options=nil) @budgets = @client_0.budgets @price_sheet = @client_0.price_sheet @cost_tags = @client_0.cost_tags - @tags = @client_0.tags @forecasts = @client_0.forecasts + @marketplaces = @client_0.marketplaces @operations = @client_0.operations + @tags = @client_0.tags + @usage_details = @client_0.usage_details @model_classes = ModelClasses.new end @@ -110,9 +110,24 @@ def method_missing(method, *args) end class ModelClasses + def error_details + Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails + end def notification Azure::Consumption::Mgmt::V2018_06_30::Models::Notification end + def operation_display + Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay + end + def operation_list_result + Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult + end + def error_response + Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse + end + def operation + Azure::Consumption::Mgmt::V2018_06_30::Models::Operation + end def meter_details Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails end @@ -134,27 +149,12 @@ def filters def balance_properties_adjustment_details_item Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesAdjustmentDetailsItem end - def error_response - Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse - end - def operation_list_result - Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult - end - def error_details - Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails - end - def operation - Azure::Consumption::Mgmt::V2018_06_30::Models::Operation - end def reservation_recommendation Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation end def budgets_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetsListResult end - def tag - Azure::Consumption::Mgmt::V2018_06_30::Models::Tag - end def cost_tag_properties Azure::Consumption::Mgmt::V2018_06_30::Models::CostTagProperties end @@ -167,6 +167,9 @@ def query_options def reservation_summaries_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult end + def tag + Azure::Consumption::Mgmt::V2018_06_30::Models::Tag + end def price_sheet_properties Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties end @@ -182,9 +185,6 @@ def resource def forecast_properties_confidence_levels_item Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem end - def operation_display - Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay - end def resource_attributes Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes end diff --git a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb index 16a8465cbc..cae73f5749 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -8,55 +8,55 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroups - Operations = Azure::ContainerInstance::Mgmt::V2018_06_01::Operations ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroupUsage ContainerOperations = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerOperations + Operations = Azure::ContainerInstance::Mgmt::V2018_06_01::Operations module Models + ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest + Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation + ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecResponse + ContainerPort = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort + ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup + ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol + ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy + ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol + Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes + ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin + UsageName = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName + Usage = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage + LogAnalytics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics + UsageListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + Resource = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource Port = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port IpAddress = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::IpAddress EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::EnvironmentVariable ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView - Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event - LogAnalytics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests ContainerGroupDiagnostics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupDiagnostics ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequirements VolumeMount = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::VolumeMount ContainerHttpGet = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerHttpGet - OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay Container = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Container - Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation + OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::GitRepoVolume OperationListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult - ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential - UsageName = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName ContainerState = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState - Usage = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage - ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits - UsageListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential ContainerProbe = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerProbe - ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits Volume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume - Logs = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Logs + ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPropertiesInstanceView - ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequestTerminalSize + Logs = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Logs AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::AzureFileVolume - ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest + ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequestTerminalSize ContainerExec = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExec - ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecResponse - ContainerPort = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort - Resource = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource - ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup - ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol - ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy - ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol - OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes - ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin end class ContainerInstanceManagementClass - attr_reader :container_groups, :operations, :container_group_usage, :container_operations, :configurable, :base_url, :options, :model_classes + attr_reader :container_groups, :container_group_usage, :container_operations, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,9 +67,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @container_groups = @client_0.container_groups - @operations = @client_0.operations @container_group_usage = @client_0.container_group_usage @container_operations = @client_0.container_operations + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -88,6 +88,54 @@ def method_missing(method, *args) end class ModelClasses + def container_exec_request + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest + end + def operation + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation + end + def container_exec_response + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecResponse + end + def container_port + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort + end + def container_group + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup + end + def container_network_protocol + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol + end + def container_group_restart_policy + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy + end + def container_group_network_protocol + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol + end + def event + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + end + def operating_system_types + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes + end + def container_instance_operations_origin + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin + end + def usage_name + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName + end + def usage + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage + end + def log_analytics + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics + end + def usage_list_result + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + end + def resource + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource + end def port Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port end @@ -100,12 +148,6 @@ def environment_variable def container_group_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView end - def event - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event - end - def log_analytics - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics - end def resource_requests Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests end @@ -121,14 +163,11 @@ def volume_mount def container_http_get Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerHttpGet end - def operation_display - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay - end def container Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Container end - def operation - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation + def operation_display + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay end def git_repo_volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::GitRepoVolume @@ -136,78 +175,39 @@ def git_repo_volume def operation_list_result Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult end - def image_registry_credential - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential - end - def usage_name - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName - end def container_state Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState end - def usage - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage - end - def resource_limits - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits - end - def usage_list_result - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + def image_registry_credential + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential end def container_probe Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerProbe end - def container_group_list_result - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + def resource_limits + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits end def volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume end - def logs - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Logs + def container_group_list_result + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult end def container_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPropertiesInstanceView end - def container_exec_request_terminal_size - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequestTerminalSize + def logs + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Logs end def azure_file_volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::AzureFileVolume end - def container_exec_request - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest + def container_exec_request_terminal_size + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequestTerminalSize end def container_exec Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExec end - def container_exec_response - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecResponse - end - def container_port - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort - end - def resource - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource - end - def container_group - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup - end - def container_network_protocol - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol - end - def container_group_restart_policy - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy - end - def container_group_network_protocol - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol - end - def operating_system_types - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes - end - def container_instance_operations_origin - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin - end end end end diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index 5cf1c96cf5..db9768cb91 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -7,12 +7,14 @@ module Azure::Profiles::Latest module ContainerRegistry module Mgmt - Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries - Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations Replications = Azure::ContainerRegistry::Mgmt::V2017_10_01::Replications Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks + Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries + Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations module Models + Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event TrustPolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource RegistryPolicies = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies @@ -22,53 +24,51 @@ module Models OperationMetricSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters - RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo - OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult - Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target + OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult - Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor OperationServiceSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition - Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy - EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage + ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event - ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode - SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus TrustPolicyType = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier + ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end class ContainerRegistryManagementClass - attr_reader :registries, :operations, :replications, :webhooks, :configurable, :base_url, :options, :model_classes + attr_reader :replications, :webhooks, :registries, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -78,10 +78,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @registries = @client_0.registries - @operations = @client_0.operations @replications = @client_0.replications @webhooks = @client_0.webhooks + @registries = @client_0.registries + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -100,6 +100,12 @@ def method_missing(method, *args) end class ModelClasses + def request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + end + def event + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + end def trust_policy Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy end @@ -127,18 +133,12 @@ def operation_definition def replication_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters end - def sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku - end def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end def storage_account_properties Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end - def resource - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - end def registry_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end @@ -151,41 +151,38 @@ def registry_password def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end - def regenerate_credential_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters - end - def webhook_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult - end def registry_usage_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult end def event_info Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end - def operation_display_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + def regenerate_credential_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters + end + def webhook_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + def operation_display_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition + end + def event_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target end - def event_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end def registry_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end - def request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor @@ -193,26 +190,20 @@ def actor def operation_service_specification_definition Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition end - def source - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - end def registry_list_credentials_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end def event_content Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end def quarantine_policy Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy end - def event_response_message - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage + def import_mode + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end def registry Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry @@ -220,23 +211,8 @@ def registry def replication Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end - def webhook - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - end - def event - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event - end - def import_mode - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode - end - def sku_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - end - def sku_tier - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - end - def provisioning_state - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + def event_response_message + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage end def password_name Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName @@ -256,6 +232,30 @@ def webhook_status def webhook_action Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction end + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + end + def webhook + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + end + def resource + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + end + def sku_name + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + end + def sku_tier + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier + end + def provisioning_state + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + end + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + end + def source + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + end end end end diff --git a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb index 7f52e7fb1d..9275994325 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -12,42 +12,42 @@ module Mgmt ContainerServices = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServices module Models - ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceCustomProfile ContainerServiceOrchestratorProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorProfile ContainerServiceAgentPoolProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceAgentPoolProfile ContainerServiceListResult = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceListResult ContainerService = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerService ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorTypes - ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceCustomProfile + ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile + KeyVaultSecretRef = Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef + ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceStorageProfileTypes + ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMSizeTypes + OSType = Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceNetworkProfile - OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult - ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics TagsObject = Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject - ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile - ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAddonProfile ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAgentPoolProfile ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAADProfile - ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey - ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration OperationValue = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationValue - KeyVaultSecretRef = Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef ManagedClusterListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterListResult - ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile - ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterUpgradeProfile - Resource = Azure::ContainerService::Mgmt::V2018_03_31::Models::Resource ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterPoolUpgradeProfile ManagedCluster = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedCluster + Resource = Azure::ContainerService::Mgmt::V2018_03_31::Models::Resource ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAccessProfile - ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceStorageProfileTypes - ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMSizeTypes - OSType = Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType NetworkPlugin = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin NetworkPolicy = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy - OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile + OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult + ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile + ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey + ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration + ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile + ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile + ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult OrchestratorProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile + OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile end class ContainerServiceManagementClass @@ -98,9 +98,6 @@ def method_missing(method, *args) end class ModelClasses - def container_service_custom_profile - Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceCustomProfile - end def container_service_orchestrator_profile Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorProfile end @@ -116,26 +113,29 @@ def container_service def container_service_orchestrator_types Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorTypes end - def container_service_linux_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + def container_service_custom_profile + Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceCustomProfile end - def container_service_network_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceNetworkProfile + def container_service_diagnostics_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile end - def operation_list_result - Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult + def key_vault_secret_ref + Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef end - def container_service_vmdiagnostics - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics + def container_service_storage_profile_types + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceStorageProfileTypes end - def tags_object - Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject + def container_service_vmsize_types + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMSizeTypes end - def container_service_diagnostics_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile + def ostype + Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType end - def container_service_service_principal_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile + def container_service_network_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceNetworkProfile + end + def tags_object + Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject end def managed_cluster_addon_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAddonProfile @@ -146,59 +146,56 @@ def managed_cluster_agent_pool_profile def managed_cluster_aadprofile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAADProfile end - def container_service_ssh_public_key - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey - end - def container_service_ssh_configuration - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration - end def operation_value Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationValue end - def key_vault_secret_ref - Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef - end def managed_cluster_list_result Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterListResult end - def container_service_windows_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile - end - def container_service_master_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile - end def managed_cluster_upgrade_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterUpgradeProfile end - def resource - Azure::ContainerService::Mgmt::V2018_03_31::Models::Resource - end def managed_cluster_pool_upgrade_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterPoolUpgradeProfile end def managed_cluster Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedCluster end + def resource + Azure::ContainerService::Mgmt::V2018_03_31::Models::Resource + end def managed_cluster_access_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAccessProfile end - def container_service_storage_profile_types - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceStorageProfileTypes - end - def container_service_vmsize_types - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMSizeTypes - end - def ostype - Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType - end def network_plugin Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin end def network_policy Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy end - def orchestrator_version_profile - Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile + def operation_list_result + Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult + end + def container_service_windows_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile + end + def container_service_ssh_public_key + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey + end + def container_service_ssh_configuration + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration + end + def container_service_service_principal_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile + end + def container_service_linux_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + end + def container_service_master_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile + end + def container_service_vmdiagnostics + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics end def orchestrator_version_profile_list_result Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult @@ -206,6 +203,9 @@ def orchestrator_version_profile_list_result def orchestrator_profile Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile end + def orchestrator_version_profile + Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile + end end end end diff --git a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb index 5cd21dadfd..92e2842958 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -15,37 +15,12 @@ module ContentModerator Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews module Models - RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex - ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem - Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image - Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames - ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds - ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 - TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList - Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification - TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData - Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email - TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging - IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA - Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms - Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address - Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review - DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms - JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails - Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate - JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult - Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate - JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId - MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata + Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError - TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem + TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem @@ -54,16 +29,16 @@ module Models SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII - CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata - ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body + ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem @@ -72,11 +47,36 @@ module Models ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR - CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl + TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex + ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem + Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames + ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds + ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 + TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList + Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification + TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData + Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email + TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging + IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA + Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms + Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review + DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms + JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails + Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate + Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate + JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId + MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end class ContentModeratorDataClass @@ -115,99 +115,24 @@ def method_missing(method, *args) end class ModelClasses - def refresh_index - Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex - end - def image_additional_info_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem - end - def tag - Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + def image_list_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata end def image Azure::CognitiveServices::ContentModerator::V1_0::Models::Image end - def frames - Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames - end - def image_ids - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds - end - def classification_category2 - Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 - end - def terms_in_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList - end - def classification - Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification - end - def terms_data - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData - end - def email - Azure::CognitiveServices::ContentModerator::V1_0::Models::Email - end - def terms_paging - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging - end - def ipa - Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA - end - def terms - Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms - end - def address - Azure::CognitiveServices::ContentModerator::V1_0::Models::Address - end - def review - Azure::CognitiveServices::ContentModerator::V1_0::Models::Review - end - def detected_terms - Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms - end - def job_execution_report_details - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails - end - def face - Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - end - def job - Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - end - def candidate - Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate - end - def job_list_result - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult - end - def evaluate - Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate - end - def job_id - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId - end - def match_response - Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - end - def error - Azure::CognitiveServices::ContentModerator::V1_0::Models::Error - end - def image_list_metadata - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata - end def apierror Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError end - def term_list_metadata - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata - end def transcript_moderation_body_item_terms_item Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem end def refresh_index_advanced_info_item Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem end + def term_list_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata + end def transcript_moderation_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem end @@ -232,35 +157,35 @@ def create_video_reviews_body_item_video_frames_item def pii Azure::CognitiveServices::ContentModerator::V1_0::Models::PII end - def create_video_reviews_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem - end def found_faces Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces end def create_video_reviews_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end def match Azure::CognitiveServices::ContentModerator::V1_0::Models::Match end def body_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata end - def image_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + def create_video_reviews_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem end def body Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end - def key_value_pair - Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair + def image_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + def face + Azure::CognitiveServices::ContentModerator::V1_0::Models::Face end - def status - Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + def key_value_pair + Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair end def video_frame_body_item_reviewer_result_tags_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem @@ -286,8 +211,8 @@ def create_review_body_item_metadata_item def ocr Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR end - def create_review_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl end def phone Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone @@ -295,12 +220,87 @@ def phone def content Azure::CognitiveServices::ContentModerator::V1_0::Models::Content end - def term_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + def create_review_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem end def azure_region_base_url Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl end + def term_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + end + def error + Azure::CognitiveServices::ContentModerator::V1_0::Models::Error + end + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + end + def tag + Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + end + def address + Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + end + def status + Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + end + def refresh_index + Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex + end + def image_additional_info_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem + end + def frames + Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames + end + def image_ids + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds + end + def classification_category2 + Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 + end + def terms_in_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList + end + def classification + Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification + end + def terms_data + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData + end + def email + Azure::CognitiveServices::ContentModerator::V1_0::Models::Email + end + def terms_paging + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging + end + def ipa + Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA + end + def terms + Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms + end + def review + Azure::CognitiveServices::ContentModerator::V1_0::Models::Review + end + def detected_terms + Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms + end + def job_execution_report_details + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails + end + def candidate + Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate + end + def evaluate + Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate + end + def job_id + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId + end + def match_response + Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse + end end end end diff --git a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb index 744733e667..109f219b0f 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -7,9 +7,11 @@ module Azure::Profiles::Latest module CustomerInsights module Mgmt + Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images + Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles + RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs - Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships RelationshipLinks = Azure::CustomerInsights::Mgmt::V2017_04_26::RelationshipLinks @@ -19,13 +21,49 @@ module Mgmt Kpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Kpi WidgetTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::WidgetTypes Views = Azure::CustomerInsights::Mgmt::V2017_04_26::Views - Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links Roles = Azure::CustomerInsights::Mgmt::V2017_04_26::Roles - RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments - Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions + Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links module Models + ConnectorResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat + ConnectorMappingResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat + AuthorizationPolicyResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat + LinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat + RelationshipResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat + RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat + ViewResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat + WidgetTypeResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat + RoleAssignmentResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat + RoleResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat + PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat + EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes + DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType + ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates + PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult + Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult KpiListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult HubBillingInfoFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::HubBillingInfoFormat Participant = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Participant @@ -33,7 +71,6 @@ module Models MetadataDefinitionBase = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::MetadataDefinitionBase PredictionSystemGeneratedEntities = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionSystemGeneratedEntities DataSourcePrecedence = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence - ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult SuggestRelationshipLinksResponse = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse AuthorizationPolicy = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicy PredictionGradesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionGradesItem @@ -46,15 +83,11 @@ module Models RelationshipsLookup = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipsLookup ConnectorMappingAvailability = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingAvailability ConnectorMappingCompleteOperation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation - OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult KpiThresholds = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds ConnectorListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorListResult KpiParticipantProfilesMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata - Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation KpiExtract = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract ConnectorMappingListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult - Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay TypePropertiesMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping AuthorizationPolicyListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyListResult RelationshipTypeFieldMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping @@ -73,7 +106,6 @@ module Models CanonicalProfileDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinition KpiAlias = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiAlias ViewListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult - ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource CanonicalProfileDefinitionPropertiesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem RelationshipTypeMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeMapping WidgetTypeListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeListResult @@ -84,7 +116,6 @@ module Models KpiGroupByMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiGroupByMetadata PredictionDistributionDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition ParticipantPropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference - RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult SalesforceDiscoverSetting = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting PredictionDistributionDefinitionDistributionsItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem KpiDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition @@ -99,41 +130,10 @@ module Models InteractionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat KpiResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat EnrichingKpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi - ConnectorResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat - ConnectorMappingResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat - AuthorizationPolicyResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat - LinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat - RelationshipResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat - RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat - ViewResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat - WidgetTypeResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat - RoleAssignmentResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat - RoleResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat - PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat - EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes - DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates - PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType - CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle end class CustomerInsightsManagementClass - attr_reader :operations, :hubs, :profiles, :interactions, :relationships, :relationship_links, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :views, :links, :roles, :role_assignments, :images, :predictions, :configurable, :base_url, :options, :model_classes + attr_reader :images, :profiles, :role_assignments, :operations, :hubs, :interactions, :relationships, :relationship_links, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :views, :roles, :predictions, :links, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -143,9 +143,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @images = @client_0.images + @profiles = @client_0.profiles + @role_assignments = @client_0.role_assignments @operations = @client_0.operations @hubs = @client_0.hubs - @profiles = @client_0.profiles @interactions = @client_0.interactions @relationships = @client_0.relationships @relationship_links = @client_0.relationship_links @@ -155,11 +157,9 @@ def initialize(configurable, base_url=nil, options=nil) @kpi = @client_0.kpi @widget_types = @client_0.widget_types @views = @client_0.views - @links = @client_0.links @roles = @client_0.roles - @role_assignments = @client_0.role_assignments - @images = @client_0.images @predictions = @client_0.predictions + @links = @client_0.links @model_classes = ModelClasses.new end @@ -178,6 +178,120 @@ def method_missing(method, *args) end class ModelClasses + def connector_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat + end + def connector_mapping_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat + end + def authorization_policy_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat + end + def link_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat + end + def relationship_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat + end + def relationship_link_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat + end + def view_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat + end + def widget_type_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat + end + def role_assignment_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat + end + def role_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat + end + def prediction_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat + end + def entity_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes + end + def data_source_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType + end + def provisioning_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates + end + def permission_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + end + def connector_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + end + def status + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + end + def connector_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + end + def error_management_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + end + def frequency_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + end + def completion_operation_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + end + def connector_mapping_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + end + def calculation_window_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + end + def kpi_functions + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + end + def entity_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + end + def link_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + end + def instance_operation_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + end + def cardinality_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + end + def role_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + end + def canonical_property_value_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + end + def prediction_model_life_cycle + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + end + def operation_display + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + end + def operation_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult + end + def operation + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + end + def proxy_resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + end + def resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + end + def profile_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + end + def role_assignment_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + end def kpi_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult end @@ -199,9 +313,6 @@ def prediction_system_generated_entities def data_source_precedence Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence end - def profile_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult - end def suggest_relationship_links_response Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse end @@ -238,9 +349,6 @@ def connector_mapping_availability def connector_mapping_complete_operation Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation end - def operation_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult - end def kpi_thresholds Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds end @@ -250,21 +358,12 @@ def connector_list_result def kpi_participant_profiles_metadata Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata end - def operation - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation - end def kpi_extract Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract end def connector_mapping_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult end - def resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - end - def operation_display - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay - end def type_properties_mapping Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping end @@ -319,9 +418,6 @@ def kpi_alias def view_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult end - def proxy_resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource - end def canonical_profile_definition_properties_item Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem end @@ -352,9 +448,6 @@ def prediction_distribution_definition def participant_property_reference Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference end - def role_assignment_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult - end def salesforce_discover_setting Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting end @@ -397,99 +490,6 @@ def kpi_resource_format def enriching_kpi Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi end - def connector_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat - end - def connector_mapping_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat - end - def authorization_policy_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat - end - def link_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat - end - def relationship_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat - end - def relationship_link_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat - end - def view_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat - end - def widget_type_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat - end - def role_assignment_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat - end - def role_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat - end - def prediction_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat - end - def entity_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes - end - def data_source_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - end - def status - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - end - def provisioning_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates - end - def permission_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - end - def connector_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - end - def connector_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - end - def error_management_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - end - def frequency_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - end - def completion_operation_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - end - def connector_mapping_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - end - def calculation_window_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - end - def kpi_functions - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - end - def entity_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - end - def link_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - end - def instance_operation_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType - end - def cardinality_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - end - def role_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - end - def canonical_property_value_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - end - def prediction_model_life_cycle - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle - end end end end diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index 4b79f6d097..1fe37f5a2b 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -12,15 +12,12 @@ module Models ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork @@ -28,6 +25,9 @@ module Models ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat + Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error end class CustomSearchDataClass @@ -69,9 +69,6 @@ def query_context def query Azure::CognitiveServices::CustomSearch::V1_0::Models::Query end - def error - Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - end def web_meta_tag Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag end @@ -90,12 +87,6 @@ def search_results_answer def identifiable Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - end - def error_response - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse - end def answer Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer end @@ -117,6 +108,15 @@ def safe_search def text_format Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat end + def response + Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + end + def error_response + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + end + def error + Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + end end end end diff --git a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb index 22bcea2ec7..6c690e80f1 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,33 +7,15 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules + Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations + ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies + StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts - StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts - ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies - FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations - Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations module Models - CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation - Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource - NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation - OperationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult - UpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource - UpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters - UpdateStorageAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters - DataLakeStoreAccountInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult - AddDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters - CreateOrUpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters - AddStorageAccountWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountWithAccountParameters - SasTokenInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation - CreateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters - ComputePolicyListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult - CreateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters - OperationDisplay = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay CreateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters CreateOrUpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters UpdateDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreWithAccountParameters @@ -41,7 +23,6 @@ module Models UpdateStorageAccountWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountWithAccountParameters SasTokenInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformationListResult UpdateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters - CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters UpdateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters StorageContainerListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainerListResult UpdateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeAnalyticsAccountParameters @@ -60,14 +41,33 @@ module Models FirewallState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallState FirewallAllowAzureIpsState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState TierType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType + CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus DataLakeAnalyticsAccountState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState OperationOrigin = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin SubscriptionState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState + OperationDisplay = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay + OperationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult + Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation + SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource + Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource + CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + UpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + UpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters + UpdateStorageAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters + DataLakeStoreAccountInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult + AddDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters + CreateOrUpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters + AddStorageAccountWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountWithAccountParameters + SasTokenInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation + CreateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters + ComputePolicyListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult + CreateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters end class DataLakeAnalyticsManagementClass - attr_reader :accounts, :data_lake_store_accounts, :storage_accounts, :compute_policies, :firewall_rules, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :firewall_rules, :locations, :compute_policies, :storage_accounts, :accounts, :data_lake_store_accounts, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -77,13 +77,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @firewall_rules = @client_0.firewall_rules + @locations = @client_0.locations + @compute_policies = @client_0.compute_policies + @storage_accounts = @client_0.storage_accounts @accounts = @client_0.accounts @data_lake_store_accounts = @client_0.data_lake_store_accounts - @storage_accounts = @client_0.storage_accounts - @compute_policies = @client_0.compute_policies - @firewall_rules = @client_0.firewall_rules @operations = @client_0.operations - @locations = @client_0.locations @model_classes = ModelClasses.new end @@ -102,60 +102,6 @@ def method_missing(method, *args) end class ModelClasses - def capability_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation - end - def resource - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource - end - def name_availability_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - end - def operation - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation - end - def operation_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult - end - def update_firewall_rule_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - end - def sub_resource - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource - end - def update_compute_policy_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters - end - def update_storage_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters - end - def data_lake_store_account_information_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult - end - def add_data_lake_store_with_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters - end - def create_or_update_compute_policy_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters - end - def add_storage_account_with_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountWithAccountParameters - end - def sas_token_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation - end - def create_compute_policy_with_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters - end - def compute_policy_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult - end - def create_firewall_rule_with_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters - end - def operation_display - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay - end def create_data_lake_analytics_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters end @@ -177,9 +123,6 @@ def sas_token_information_list_result def update_compute_policy_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters end - def check_name_availability_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end def update_firewall_rule_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters end @@ -234,6 +177,9 @@ def firewall_allow_azure_ips_state def tier_type Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType end + def check_name_availability_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end def data_lake_analytics_account_status Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus end @@ -246,6 +192,60 @@ def operation_origin def subscription_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState end + def operation_display + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay + end + def operation_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult + end + def operation + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation + end + def sub_resource + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource + end + def resource + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource + end + def capability_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + end + def name_availability_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + end + def update_firewall_rule_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + end + def update_compute_policy_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters + end + def update_storage_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters + end + def data_lake_store_account_information_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult + end + def add_data_lake_store_with_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters + end + def create_or_update_compute_policy_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters + end + def add_storage_account_with_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountWithAccountParameters + end + def sas_token_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation + end + def create_compute_policy_with_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters + end + def compute_policy_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult + end + def create_firewall_rule_with_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + end end end end diff --git a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb index 10c09344ed..4306c48469 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,17 +7,27 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt - Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules + Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations VirtualNetworkRules = Azure::DataLakeStore::Mgmt::V2016_11_01::VirtualNetworkRules TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders + Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations - Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations module Models - NameAvailabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource - CreateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters + UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters + FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult + FirewallRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule + FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState + FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay + OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult + Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity CreateVirtualNetworkRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateVirtualNetworkRuleWithAccountParameters EncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfig @@ -26,46 +36,36 @@ module Models UpdateVirtualNetworkRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateVirtualNetworkRuleParameters UpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters CreateOrUpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters - FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo - Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation UpdateEncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig - CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters UpdateVirtualNetworkRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateVirtualNetworkRuleWithAccountParameters VirtualNetworkRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::VirtualNetworkRuleListResult UpdateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters - OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult UpdateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult - CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource - UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay CreateOrUpdateVirtualNetworkRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateVirtualNetworkRuleParameters - FirewallRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule + Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource VirtualNetworkRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::VirtualNetworkRule - TrustedIdProvider = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount + SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource DataLakeStoreAccountBasic = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic - EncryptionConfigType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState - FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState - FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + EncryptionConfigType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType TrustedIdProviderState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState - TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType DataLakeStoreAccountStatus = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus DataLakeStoreAccountState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState - OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin - SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + TrustedIdProvider = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider + CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation + NameAvailabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + CreateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters end class DataLakeStoreManagementClass - attr_reader :accounts, :firewall_rules, :virtual_network_rules, :trusted_id_providers, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :firewall_rules, :locations, :virtual_network_rules, :trusted_id_providers, :accounts, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -75,12 +75,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @accounts = @client_0.accounts @firewall_rules = @client_0.firewall_rules + @locations = @client_0.locations @virtual_network_rules = @client_0.virtual_network_rules @trusted_id_providers = @client_0.trusted_id_providers + @accounts = @client_0.accounts @operations = @client_0.operations - @locations = @client_0.locations @model_classes = ModelClasses.new end @@ -99,14 +99,44 @@ def method_missing(method, *args) end class ModelClasses - def name_availability_information - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + def create_or_update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters end - def resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource + def update_firewall_rule_with_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters end - def create_firewall_rule_with_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + def firewall_rule_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult + end + def firewall_rule + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule + end + def firewall_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState + end + def firewall_allow_azure_ips_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + end + def tier_type + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + end + def check_name_availability_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def operation_origin + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + end + def subscription_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + end + def operation_display + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay + end + def operation_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult + end + def operation + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation end def encryption_identity Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity @@ -132,9 +162,6 @@ def update_trusted_id_provider_parameters def create_or_update_trusted_id_provider_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters end - def firewall_rule_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult - end def create_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters end @@ -144,21 +171,9 @@ def trusted_id_provider_list_result def update_key_vault_meta_info Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo end - def operation - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation - end def update_encryption_config Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig end - def capability_information - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - end - def update_firewall_rule_with_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - end - def check_name_availability_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end def update_virtual_network_rule_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateVirtualNetworkRuleWithAccountParameters end @@ -168,77 +183,62 @@ def virtual_network_rule_list_result def update_trusted_id_provider_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters end - def operation_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult - end def update_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters end def data_lake_store_account_list_result Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult end - def create_or_update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - end - def sub_resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource - end - def update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - end - def operation_display - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay - end def create_or_update_virtual_network_rule_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateVirtualNetworkRuleParameters end - def firewall_rule - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule + def resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource end def virtual_network_rule Azure::DataLakeStore::Mgmt::V2016_11_01::Models::VirtualNetworkRule end - def trusted_id_provider - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider - end def data_lake_store_account Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount end + def sub_resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource + end def data_lake_store_account_basic Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic end - def encryption_config_type - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType - end def encryption_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState end def encryption_provisioning_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState end - def firewall_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState - end - def firewall_allow_azure_ips_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + def encryption_config_type + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType end def trusted_id_provider_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState end - def tier_type - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType - end def data_lake_store_account_status Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus end def data_lake_store_account_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState end - def operation_origin - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + def trusted_id_provider + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider end - def subscription_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + def capability_information + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation + end + def name_availability_information + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + end + def update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + end + def create_firewall_rule_with_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters end end end diff --git a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb index 3143fe83e5..fcc486f757 100644 --- a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb @@ -11,23 +11,23 @@ module Mgmt Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations module Models - ControllerConnectionDetailsList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList + ErrorDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails + TrackedResource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource Sku = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku - ErrorResponse = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse + ControllerConnectionDetailsList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList ControllerUpdateParameters = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay OrchestratorSpecificConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails ResourceProviderOperationDefinition = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition ResourceProviderOperationList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList ControllerConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails - Resource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource ControllerList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList - ErrorDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails - TrackedResource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource Controller = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller KubernetesConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails - ProvisioningState = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState + Resource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource + ErrorResponse = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse SkuTier = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier + ProvisioningState = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState end class DevSpacesManagementClass @@ -61,14 +61,17 @@ def method_missing(method, *args) end class ModelClasses - def controller_connection_details_list - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList + def error_details + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails + end + def tracked_resource + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource end def sku Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku end - def error_response - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse + def controller_connection_details_list + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList end def controller_update_parameters Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters @@ -88,30 +91,27 @@ def resource_provider_operation_list def controller_connection_details Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails end - def resource - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource - end def controller_list Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList end - def error_details - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails - end - def tracked_resource - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource - end def controller Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller end def kubernetes_connection_details Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails end - def provisioning_state - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState + def resource + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource + end + def error_response + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse end def sku_tier Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier end + def provisioning_state + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState + end end end end diff --git a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb index d2fa1e310d..ca8741c827 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -9,7 +9,6 @@ module DevTestLabs module Mgmt ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs - Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules ArtifactSources = Azure::DevTestLabs::Mgmt::V2016_05_15::ArtifactSources ArmTemplates = Azure::DevTestLabs::Mgmt::V2016_05_15::ArmTemplates @@ -17,25 +16,25 @@ module Mgmt Costs = Azure::DevTestLabs::Mgmt::V2016_05_15::Costs CustomImages = Azure::DevTestLabs::Mgmt::V2016_05_15::CustomImages Formulas = Azure::DevTestLabs::Mgmt::V2016_05_15::Formulas - GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels + GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets - Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users - Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets - VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks + Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks + VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines + Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations + Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies module Models ExternalSubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExternalSubnetFragment GalleryImageReference = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReference DayDetails = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails - InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule NotificationSettings = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings SharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfiguration ExportResourceUsageParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExportResourceUsageParameters @@ -58,7 +57,6 @@ module Models FormulaPropertiesFromVm = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FormulaPropertiesFromVm ArtifactInstallPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactInstallPropertiesFragment ResponseWithContinuationLabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd - Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet UserSecretStoreFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment AttachNewDataDiskOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachNewDataDiskOptions GalleryImageReferenceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReferenceFragment @@ -87,11 +85,9 @@ module Models SubnetOverrideFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetOverrideFragment PolicySetResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicySetResult SubnetSharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment - Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event LabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd DayDetailsFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetailsFragment SubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment - UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity SharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment ResponseWithContinuationServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationServiceRunner NetworkInterfacePropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NetworkInterfacePropertiesFragment @@ -100,6 +96,7 @@ module Models ResponseWithContinuationSecret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSecret RetargetScheduleProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::RetargetScheduleProperties BulkCreationParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::BulkCreationParameters + UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity ResponseWithContinuationVirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationVirtualNetwork ComputeDataDiskFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeDataDiskFragment NotifyParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotifyParameters @@ -116,82 +113,85 @@ module Models EventFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EventFragment SubnetSharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfiguration ApplyArtifactsRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest - Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port ArtifactParameterPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment PortFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PortFragment ProviderOperationResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ProviderOperationResult CostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties - Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource DetachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties - ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate + Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource EvaluatePoliciesResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse - ResponseWithContinuationArtifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact + ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate ArmTemplateParameterProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties - ResponseWithContinuationArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifactSource + ResponseWithContinuationArtifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact ComputeVmInstanceViewStatusFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment - ResponseWithContinuationCustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage + ResponseWithContinuationArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifactSource EvaluatePoliciesProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesProperties - ResponseWithContinuationDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk + ResponseWithContinuationCustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage AttachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachDiskProperties - ResponseWithContinuationDtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDtlEnvironment + ResponseWithContinuationDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk NotificationSettingsFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment - ResponseWithContinuationFormula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula + ResponseWithContinuationDtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDtlEnvironment CustomImagePropertiesCustom = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom - ResponseWithContinuationGalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage - Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule + ResponseWithContinuationFormula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula ApplicableSchedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule - ScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment + ResponseWithContinuationGalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage ApplicableScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment - ArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate + ScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment Artifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact - ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource + ArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate ArtifactSourceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment + ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource + Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage - Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk DtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment Formula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula - GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage Lab = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab LabCost = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment - LabVirtualMachine = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine + InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment + Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + LabVirtualMachine = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine + PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel NotificationChannelFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment - Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment - Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret - ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner - User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User - VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment - VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment - EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet + ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner NotificationStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus - SourceControlType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType - StorageType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType + GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage + Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + SourceControlType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType + VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus WindowsOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState - LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState - CustomImageOsType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType + User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User + StorageType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType HostCachingOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType - TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol - VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource - FileUploadOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions + LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + CustomImageOsType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType PremiumDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk TargetCostStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus + VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource + FileUploadOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions + VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType ReportingCycleType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType CostType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType - HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode - PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus PolicyFactName = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName - PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType + HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode UsagePermissionType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType + TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy + PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus + Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port + Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk end class DevTestLabsManagementClass - attr_reader :provider_operations, :labs, :operations, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :policies, :schedules, :service_runners, :users, :disks, :environments, :secrets, :virtual_machines, :virtual_machine_schedules, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :notification_channels, :gallery_images, :policy_sets, :schedules, :service_runners, :users, :environments, :secrets, :virtual_machine_schedules, :virtual_networks, :disks, :virtual_machines, :operations, :policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -203,7 +203,6 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @provider_operations = @client_0.provider_operations @labs = @client_0.labs - @operations = @client_0.operations @global_schedules = @client_0.global_schedules @artifact_sources = @client_0.artifact_sources @arm_templates = @client_0.arm_templates @@ -211,19 +210,20 @@ def initialize(configurable, base_url=nil, options=nil) @costs = @client_0.costs @custom_images = @client_0.custom_images @formulas = @client_0.formulas - @gallery_images = @client_0.gallery_images @notification_channels = @client_0.notification_channels + @gallery_images = @client_0.gallery_images @policy_sets = @client_0.policy_sets - @policies = @client_0.policies @schedules = @client_0.schedules @service_runners = @client_0.service_runners @users = @client_0.users - @disks = @client_0.disks @environments = @client_0.environments @secrets = @client_0.secrets - @virtual_machines = @client_0.virtual_machines @virtual_machine_schedules = @client_0.virtual_machine_schedules @virtual_networks = @client_0.virtual_networks + @disks = @client_0.disks + @virtual_machines = @client_0.virtual_machines + @operations = @client_0.operations + @policies = @client_0.policies @model_classes = ModelClasses.new end @@ -251,9 +251,6 @@ def gallery_image_reference def day_details Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails end - def inbound_nat_rule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule - end def notification_settings Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings end @@ -320,9 +317,6 @@ def artifact_install_properties_fragment def response_with_continuation_lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd end - def subnet - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet - end def user_secret_store_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment end @@ -407,9 +401,6 @@ def policy_set_result def subnet_shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment end - def event - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event - end def lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd end @@ -419,9 +410,6 @@ def day_details_fragment def subnet_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment end - def user_identity - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity - end def shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment end @@ -446,6 +434,9 @@ def retarget_schedule_properties def bulk_creation_parameters Azure::DevTestLabs::Mgmt::V2016_05_15::Models::BulkCreationParameters end + def user_identity + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity + end def response_with_continuation_virtual_network Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationVirtualNetwork end @@ -494,9 +485,6 @@ def subnet_shared_public_ip_address_configuration def apply_artifacts_request Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest end - def port - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port - end def artifact_parameter_properties_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment end @@ -509,96 +497,90 @@ def provider_operation_result def cost_threshold_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties end + def detach_disk_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties + end def resource Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource end - def detach_disk_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties + def evaluate_policies_response + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse end def response_with_continuation_arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate end - def evaluate_policies_response - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse + def arm_template_parameter_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties end def response_with_continuation_artifact Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact end - def arm_template_parameter_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties + def compute_vm_instance_view_status_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment end def response_with_continuation_artifact_source Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifactSource end - def compute_vm_instance_view_status_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment + def evaluate_policies_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesProperties end def response_with_continuation_custom_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage end - def evaluate_policies_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesProperties + def attach_disk_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachDiskProperties end def response_with_continuation_disk Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk end - def attach_disk_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachDiskProperties + def notification_settings_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment end def response_with_continuation_dtl_environment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDtlEnvironment end - def notification_settings_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment + def custom_image_properties_custom + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom end def response_with_continuation_formula Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula end - def custom_image_properties_custom - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom + def applicable_schedule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule end def response_with_continuation_gallery_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage end - def schedule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule - end - def applicable_schedule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule + def applicable_schedule_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment end def schedule_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment end - def applicable_schedule_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment + def artifact + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact end def arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate end - def artifact - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact + def artifact_source_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment end def artifact_source Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource end - def artifact_source_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment + def schedule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule end def custom_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage end - def disk - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk - end def dtl_environment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment end def formula Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula end - def gallery_image - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage - end def lab Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab end @@ -608,38 +590,50 @@ def lab_cost def lab_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment end - def lab_virtual_machine - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine + def inbound_nat_rule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule end def lab_virtual_machine_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment end + def event + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + end + def lab_virtual_machine + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine + end + def policy_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment + end def notification_channel Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel end def notification_channel_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment end - def policy - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - end - def policy_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment + def user_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment end - def secret - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + def subnet + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet end def service_runner Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner end - def user - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User + def notification_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus end - def virtual_network - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + def gallery_image + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage end - def user_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment + def secret + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + end + def cost_threshold_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + end + def source_control_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType end def virtual_network_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment @@ -647,20 +641,20 @@ def virtual_network_fragment def enable_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus end - def notification_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus + def windows_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState end - def source_control_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType + def user + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User end def storage_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType end - def cost_threshold_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + def host_caching_options + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions end - def windows_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + def notification_channel_event_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType end def linux_os_state Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState @@ -668,14 +662,11 @@ def linux_os_state def custom_image_os_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType end - def host_caching_options - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions - end - def notification_channel_event_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType + def premium_data_disk + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk end - def transport_protocol - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + def target_cost_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus end def virtual_machine_creation_source Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource @@ -683,11 +674,11 @@ def virtual_machine_creation_source def file_upload_options Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions end - def premium_data_disk - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk + def virtual_network + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork end - def target_cost_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus + def policy_evaluator_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType end def reporting_cycle_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType @@ -695,20 +686,29 @@ def reporting_cycle_type def cost_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType end + def policy_fact_name + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName + end def http_status_code Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode end + def usage_permission_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType + end + def transport_protocol + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + end + def policy + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy + end def policy_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus end - def policy_fact_name - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName - end - def policy_evaluator_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType + def port + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port end - def usage_permission_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType + def disk + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk end end end diff --git a/azure_sdk/lib/latest/modules/dns_profile_module.rb b/azure_sdk/lib/latest/modules/dns_profile_module.rb index c6bcada226..351a0cbbfc 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -11,6 +11,13 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2018_03_01_preview::Zones module Models + ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult + PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord + ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord + Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource + ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone + RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord RecordSet = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet AaaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord @@ -18,19 +25,12 @@ module Models NsRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord RecordSetListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord - SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord SoaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord + SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource MxRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord - ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult - PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource - ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord - Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone - ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType - RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType end class DnsManagementClass @@ -64,6 +64,27 @@ def method_missing(method, *args) end class ModelClasses + def zone_list_result + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult + end + def ptr_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord + end + def arecord + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord + end + def resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource + end + def zone_type + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + end + def zone + Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone + end + def record_type + Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType + end def caa_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord end @@ -85,15 +106,15 @@ def record_set_list_result def srv_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord end - def sub_resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource - end def cname_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord end def soa_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord end + def sub_resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource + end def mx_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord end @@ -103,27 +124,6 @@ def zone_update def txt_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord end - def zone_list_result - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult - end - def ptr_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - end - def resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource - end - def arecord - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord - end - def zone - Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone - end - def zone_type - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType - end - def record_type - Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType - end end end end diff --git a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb index 17698e5897..8da5e2320b 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -9,26 +9,30 @@ module EntitySearch EntitiesOperations = Azure::CognitiveServices::EntitySearch::V1_0::EntitiesOperations module Models + Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType + ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext + SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse + SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response - Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing - SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse - Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer - SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities Places = Azure::CognitiveServices::EntitySearch::V1_0::Models::Places - Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse PostalAddress = Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress - Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place Organization = Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization - CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork Intangible = Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible + Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure @@ -49,12 +53,8 @@ module Models Hotel = Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario - EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType - ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch end class EntitySearchDataClass @@ -87,38 +87,59 @@ def method_missing(method, *args) end class ModelClasses + def response + Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + end + def entity_type + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType + end + def error_response + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + end + def error + Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + end def response_base Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase end def query_context Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext end - def contractual_rules_contractual_rule - Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - end - def entities_entity_presentation_info - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + def search_response + Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse end - def error - Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + def search_results_answer + Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer end - def image_object - Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + def identifiable + Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + def answer + Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing end - def search_response - Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse + def creative_work + Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork end - def answer - Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer + def error_code + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode end - def search_results_answer - Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer + def error_sub_code + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch + end + def contractual_rules_contractual_rule + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule + end + def entities_entity_presentation_info + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + end + def image_object + Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject end def entities Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities @@ -126,27 +147,18 @@ def entities def places Azure::CognitiveServices::EntitySearch::V1_0::Models::Places end - def identifiable - Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable - end - def error_response - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse - end def postal_address Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress end - def place - Azure::CognitiveServices::EntitySearch::V1_0::Models::Place - end def organization Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization end - def creative_work - Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork - end def intangible Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible end + def place + Azure::CognitiveServices::EntitySearch::V1_0::Models::Place + end def contractual_rules_attribution Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution end @@ -207,24 +219,12 @@ def entity_query_scenario def entity_scenario Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario end - def entity_type - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType - end - def error_code - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode - end def answer_type Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType end def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end - def safe_search - Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch - end end end end diff --git a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb index 95abdc050e..f74e3c5f40 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -9,11 +9,6 @@ module Azure::Profiles::Latest module EventGrid module Models - DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties - ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo @@ -45,6 +40,11 @@ module Models ContainerRegistryImagePushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData ContainerRegistryImageDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData JobState = Azure::EventGrid::V2018_01_01::Models::JobState + DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData + DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData end class EventGridDataClass @@ -76,21 +76,6 @@ def method_missing(method, *args) end class ModelClasses - def device_twin_metadata - Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - end - def device_twin_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - end - def storage_blob_deleted_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - end - def device_twin_info_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties - end - def resource_write_success_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData - end def device_twin_info_x509_thumbprint Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint end @@ -184,17 +169,40 @@ def container_registry_image_deleted_event_data def job_state Azure::EventGrid::V2018_01_01::Models::JobState end + def device_twin_metadata + Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + end + def device_twin_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + end + def storage_blob_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData + end + def device_twin_info_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + end + def resource_write_success_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + end end end module Mgmt EventSubscriptions = Azure::EventGrid::Mgmt::V2018_05_01_preview::EventSubscriptions - Operations = Azure::EventGrid::Mgmt::V2018_05_01_preview::Operations Topics = Azure::EventGrid::Mgmt::V2018_05_01_preview::Topics TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes + Operations = Azure::EventGrid::Mgmt::V2018_05_01_preview::Operations module Models + EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionProvisioningState Operation = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation + EventDeliverySchema = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventDeliverySchema + TopicProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicProvisioningState + InputSchema = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchema + ResourceRegionType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::ResourceRegionType + TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState + TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource OperationsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult + Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter InputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping DeadLetterDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::DeadLetterDestination @@ -206,7 +214,6 @@ module Models TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicSharedAccessKeys RetryPolicy = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::RetryPolicy EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl - Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest TopicsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicsListResult TopicTypesListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypesListResult @@ -220,20 +227,13 @@ module Models HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::HybridConnectionEventSubscriptionDestination EventSubscription = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscription JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping - TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource Topic = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic EventType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventType TopicTypeInfo = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeInfo - EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionProvisioningState - EventDeliverySchema = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventDeliverySchema - TopicProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicProvisioningState - InputSchema = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchema - ResourceRegionType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::ResourceRegionType - TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState end class EventGridManagementClass - attr_reader :event_subscriptions, :operations, :topics, :topic_types, :configurable, :base_url, :options, :model_classes + attr_reader :event_subscriptions, :topics, :topic_types, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -244,9 +244,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @event_subscriptions = @client_0.event_subscriptions - @operations = @client_0.operations @topics = @client_0.topics @topic_types = @client_0.topic_types + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -265,12 +265,36 @@ def method_missing(method, *args) end class ModelClasses + def event_subscription_provisioning_state + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionProvisioningState + end def operation Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation end + def event_delivery_schema + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventDeliverySchema + end + def topic_provisioning_state + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicProvisioningState + end + def input_schema + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchema + end + def resource_region_type + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::ResourceRegionType + end + def topic_type_provisioning_state + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState + end + def tracked_resource + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource + end def operations_list_result Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult end + def resource + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource + end def event_subscription_filter Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter end @@ -304,9 +328,6 @@ def retry_policy def event_subscription_full_url Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl end - def resource - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource - end def topic_regenerate_key_request Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest end @@ -346,9 +367,6 @@ def event_subscription def json_input_schema_mapping Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping end - def tracked_resource - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource - end def topic Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic end @@ -358,24 +376,6 @@ def event_type def topic_type_info Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeInfo end - def event_subscription_provisioning_state - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionProvisioningState - end - def event_delivery_schema - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventDeliverySchema - end - def topic_provisioning_state - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicProvisioningState - end - def input_schema - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchema - end - def resource_region_type - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::ResourceRegionType - end - def topic_type_provisioning_state - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState - end end end end diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index a5450d9115..73d18ef474 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -7,36 +7,36 @@ module Azure::Profiles::Latest module EventHub module Mgmt - Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces + Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations module Models - ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties - OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay - ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse - OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult - VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult - Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource Operation = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation - Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku + ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult + Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource - Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace - IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule + Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster + IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction + OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay + OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult + VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult + Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName + ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier - IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction + IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule end class EventHubManagementClass - attr_reader :operations, :clusters, :configuration, :namespaces, :configurable, :base_url, :options, :model_classes + attr_reader :clusters, :configuration, :namespaces, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -46,10 +46,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @clusters = @client_0.clusters @configuration = @client_0.configuration @namespaces = @client_0.namespaces + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -68,33 +68,18 @@ def method_missing(method, *args) end class ModelClasses - def cluster_quota_configuration_properties - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties - end - def operation_display - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay - end - def error_response - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse - end - def operation_list_result - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult - end - def virtual_network_rule_list_result - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult - end - def resource - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource - end def operation Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation end - def sku - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku + def cluster_quota_configuration_properties + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties end def cluster_list_result Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult end + def sku + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku + end def ip_filter_rule_list_result Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult end @@ -107,14 +92,26 @@ def ehnamespace_list_result def tracked_resource Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource end + def ehnamespace + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace + end def cluster Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster end - def ehnamespace - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace + def ipaction + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction end - def ip_filter_rule - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule + def operation_display + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult + end + def virtual_network_rule_list_result + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult + end + def resource + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource end def virtual_network_rule Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule @@ -122,11 +119,14 @@ def virtual_network_rule def sku_name Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName end + def error_response + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse + end def sku_tier Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier end - def ipaction - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction + def ip_filter_rule + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule end end end diff --git a/azure_sdk/lib/latest/modules/face_profile_module.rb b/azure_sdk/lib/latest/modules/face_profile_module.rb index 49fe08428f..5244df55c7 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -6,16 +6,15 @@ module Azure::Profiles::Latest module Face - Face = Azure::CognitiveServices::Face::V1_0::Face PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations + Face = Azure::CognitiveServices::Face::V1_0::Face module Models + APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest - Error = Azure::CognitiveServices::Face::V1_0::Models::Error SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace - FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult @@ -29,27 +28,27 @@ module Models VerifyFaceToPersonRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest Exposure = Azure::CognitiveServices::Face::V1_0::Models::Exposure VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest + FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult - APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise - ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract - DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace + ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest - Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur + DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus - FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList + Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList + GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType Person = Azure::CognitiveServices::Face::V1_0::Models::Person Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender - GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel @@ -58,10 +57,11 @@ module Models FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + Error = Azure::CognitiveServices::Face::V1_0::Models::Error end class FaceDataClass - attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :configurable, :base_url, :options, :model_classes + attr_reader :person_group_person, :person_group_operations, :face_list_operations, :face, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -71,10 +71,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @face = @client_0.face @person_group_person = @client_0.person_group_person @person_group_operations = @client_0.person_group_operations @face_list_operations = @client_0.face_list_operations + @face = @client_0.face @model_classes = ModelClasses.new end @@ -93,18 +93,15 @@ def method_missing(method, *args) end class ModelClasses + def apierror + Azure::CognitiveServices::Face::V1_0::Models::APIError + end def find_similar_request Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest end - def error - Azure::CognitiveServices::Face::V1_0::Models::Error - end def similar_face Azure::CognitiveServices::Face::V1_0::Models::SimilarFace end - def face_rectangle - Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle - end def group_request Azure::CognitiveServices::Face::V1_0::Models::GroupRequest end @@ -144,15 +141,15 @@ def exposure def verify_face_to_face_request Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest end + def face_rectangle + Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle + end def face_attributes Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes end def verify_result Azure::CognitiveServices::Face::V1_0::Models::VerifyResult end - def apierror - Azure::CognitiveServices::Face::V1_0::Models::APIError - end def persisted_face Azure::CognitiveServices::Face::V1_0::Models::PersistedFace end @@ -171,42 +168,42 @@ def occlusion def noise Azure::CognitiveServices::Face::V1_0::Models::Noise end - def image_url - Azure::CognitiveServices::Face::V1_0::Models::ImageUrl - end def hair Azure::CognitiveServices::Face::V1_0::Models::Hair end def name_and_user_data_contract Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract end - def detected_face - Azure::CognitiveServices::Face::V1_0::Models::DetectedFace + def image_url + Azure::CognitiveServices::Face::V1_0::Models::ImageUrl end def update_person_face_request Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest end - def blur - Azure::CognitiveServices::Face::V1_0::Models::Blur + def detected_face + Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end def training_status Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus end - def face_list - Azure::CognitiveServices::Face::V1_0::Models::FaceList + def blur + Azure::CognitiveServices::Face::V1_0::Models::Blur end def person_group Azure::CognitiveServices::Face::V1_0::Models::PersonGroup end + def face_list + Azure::CognitiveServices::Face::V1_0::Models::FaceList + end + def glasses_type + Azure::CognitiveServices::Face::V1_0::Models::GlassesType + end def person Azure::CognitiveServices::Face::V1_0::Models::Person end def gender Azure::CognitiveServices::Face::V1_0::Models::Gender end - def glasses_type - Azure::CognitiveServices::Face::V1_0::Models::GlassesType - end def hair_color_type Azure::CognitiveServices::Face::V1_0::Models::HairColorType end @@ -231,6 +228,9 @@ def training_status_type def face_attribute_type Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType end + def error + Azure::CognitiveServices::Face::V1_0::Models::Error + end end end end diff --git a/azure_sdk/lib/latest/modules/features_profile_module.rb b/azure_sdk/lib/latest/modules/features_profile_module.rb index 86a88b23db..16fe235e42 100644 --- a/azure_sdk/lib/latest/modules/features_profile_module.rb +++ b/azure_sdk/lib/latest/modules/features_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models - FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties + FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end class FeaturesManagementClass @@ -45,15 +45,15 @@ def method_missing(method, *args) end class ModelClasses - def feature_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - end def feature_operations_list_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult end def feature_properties Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties end + def feature_result + Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult + end end end end diff --git a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb index fada59715e..fba71aebc5 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -6,60 +6,60 @@ module Azure::Profiles::Latest module GraphRbac + Domains = Azure::GraphRbac::V1_6::Domains + ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals Objects = Azure::GraphRbac::V1_6::Objects + Users = Azure::GraphRbac::V1_6::Users Applications = Azure::GraphRbac::V1_6::Applications Groups = Azure::GraphRbac::V1_6::Groups - ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals - Users = Azure::GraphRbac::V1_6::Users - Domains = Azure::GraphRbac::V1_6::Domains module Models + SignInName = Azure::GraphRbac::V1_6::Models::SignInName + ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult + DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject + UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup + ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal + Application = Azure::GraphRbac::V1_6::Models::Application + UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters + UserType = Azure::GraphRbac::V1_6::Models::UserType + UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters + User = Azure::GraphRbac::V1_6::Models::User GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters - GraphError = Azure::GraphRbac::V1_6::Models::GraphError GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters + GraphError = Azure::GraphRbac::V1_6::Models::GraphError KeyCredential = Azure::GraphRbac::V1_6::Models::KeyCredential ResourceAccess = Azure::GraphRbac::V1_6::Models::ResourceAccess GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult - ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters GroupGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters UserGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult - ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult + ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters GroupGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult - KeyCredentialListResult = Azure::GraphRbac::V1_6::Models::KeyCredentialListResult + ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult CheckGroupMembershipParameters = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters - KeyCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters + KeyCredentialListResult = Azure::GraphRbac::V1_6::Models::KeyCredentialListResult CheckGroupMembershipResult = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult - PasswordCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters + KeyCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters ServicePrincipalCreateParameters = Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters - GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult + PasswordCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult - PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential + GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult - ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters - PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile + PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult - UserBase = Azure::GraphRbac::V1_6::Models::UserBase + ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters AADObject = Azure::GraphRbac::V1_6::Models::AADObject + UserBase = Azure::GraphRbac::V1_6::Models::UserBase + PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile Domain = Azure::GraphRbac::V1_6::Models::Domain RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult - SignInName = Azure::GraphRbac::V1_6::Models::SignInName - ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult - DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject - UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - Application = Azure::GraphRbac::V1_6::Models::Application - ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup - ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal - UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters - UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters - User = Azure::GraphRbac::V1_6::Models::User - UserType = Azure::GraphRbac::V1_6::Models::UserType end class GraphRbacDataClass - attr_reader :objects, :applications, :groups, :service_principals, :users, :domains, :configurable, :base_url, :options, :model_classes + attr_reader :domains, :service_principals, :objects, :users, :applications, :groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -69,12 +69,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @domains = @client_0.domains + @service_principals = @client_0.service_principals @objects = @client_0.objects + @users = @client_0.users @applications = @client_0.applications @groups = @client_0.groups - @service_principals = @client_0.service_principals - @users = @client_0.users - @domains = @client_0.domains @model_classes = ModelClasses.new end @@ -93,15 +93,51 @@ def method_missing(method, *args) end class ModelClasses + def sign_in_name + Azure::GraphRbac::V1_6::Models::SignInName + end + def application_add_owner_parameters + Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + end + def user_list_result + Azure::GraphRbac::V1_6::Models::UserListResult + end + def directory_object + Azure::GraphRbac::V1_6::Models::DirectoryObject + end + def user_get_member_groups_parameters + Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + end + def adgroup + Azure::GraphRbac::V1_6::Models::ADGroup + end + def service_principal + Azure::GraphRbac::V1_6::Models::ServicePrincipal + end + def application + Azure::GraphRbac::V1_6::Models::Application + end + def user_update_parameters + Azure::GraphRbac::V1_6::Models::UserUpdateParameters + end + def user_type + Azure::GraphRbac::V1_6::Models::UserType + end + def user_create_parameters + Azure::GraphRbac::V1_6::Models::UserCreateParameters + end + def user + Azure::GraphRbac::V1_6::Models::User + end def group_add_member_parameters Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters end - def graph_error - Azure::GraphRbac::V1_6::Models::GraphError - end def group_create_parameters Azure::GraphRbac::V1_6::Models::GroupCreateParameters end + def graph_error + Azure::GraphRbac::V1_6::Models::GraphError + end def key_credential Azure::GraphRbac::V1_6::Models::KeyCredential end @@ -111,66 +147,66 @@ def resource_access def group_list_result Azure::GraphRbac::V1_6::Models::GroupListResult end - def application_create_parameters - Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters - end def group_get_member_groups_parameters Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters end def user_get_member_groups_result Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult end - def application_list_result - Azure::GraphRbac::V1_6::Models::ApplicationListResult + def application_create_parameters + Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters end def group_get_member_groups_result Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult end - def key_credential_list_result - Azure::GraphRbac::V1_6::Models::KeyCredentialListResult + def application_list_result + Azure::GraphRbac::V1_6::Models::ApplicationListResult end def check_group_membership_parameters Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters end - def key_credentials_update_parameters - Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters + def key_credential_list_result + Azure::GraphRbac::V1_6::Models::KeyCredentialListResult end def check_group_membership_result Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult end - def password_credentials_update_parameters - Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters + def key_credentials_update_parameters + Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters end def service_principal_create_parameters Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters end - def get_objects_result - Azure::GraphRbac::V1_6::Models::GetObjectsResult + def password_credentials_update_parameters + Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters end def domain_list_result Azure::GraphRbac::V1_6::Models::DomainListResult end - def password_credential - Azure::GraphRbac::V1_6::Models::PasswordCredential + def get_objects_result + Azure::GraphRbac::V1_6::Models::GetObjectsResult end def service_principal_list_result Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult end - def application_update_parameters - Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters - end - def password_profile - Azure::GraphRbac::V1_6::Models::PasswordProfile + def password_credential + Azure::GraphRbac::V1_6::Models::PasswordCredential end def directory_object_list_result Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult end - def user_base - Azure::GraphRbac::V1_6::Models::UserBase + def application_update_parameters + Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters end def aadobject Azure::GraphRbac::V1_6::Models::AADObject end + def user_base + Azure::GraphRbac::V1_6::Models::UserBase + end + def password_profile + Azure::GraphRbac::V1_6::Models::PasswordProfile + end def domain Azure::GraphRbac::V1_6::Models::Domain end @@ -183,42 +219,6 @@ def get_objects_parameters def password_credential_list_result Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult end - def sign_in_name - Azure::GraphRbac::V1_6::Models::SignInName - end - def application_add_owner_parameters - Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - end - def user_list_result - Azure::GraphRbac::V1_6::Models::UserListResult - end - def directory_object - Azure::GraphRbac::V1_6::Models::DirectoryObject - end - def user_get_member_groups_parameters - Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - end - def application - Azure::GraphRbac::V1_6::Models::Application - end - def adgroup - Azure::GraphRbac::V1_6::Models::ADGroup - end - def service_principal - Azure::GraphRbac::V1_6::Models::ServicePrincipal - end - def user_create_parameters - Azure::GraphRbac::V1_6::Models::UserCreateParameters - end - def user_update_parameters - Azure::GraphRbac::V1_6::Models::UserUpdateParameters - end - def user - Azure::GraphRbac::V1_6::Models::User - end - def user_type - Azure::GraphRbac::V1_6::Models::UserType - end end end end diff --git a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb index 5dbb122fb9..310f1aa937 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -15,58 +15,58 @@ module Models PropertiesItem = Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem RecognizedEntityGroup = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory - Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query PivotSuggestions = Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions RelatedCollectionsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule ImageTagsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule RecipesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule ImagesImageMetadata = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata ImageInsightsImageCaption = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption - ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error TrendingImagesTile = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile ImagesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule - Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer - MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork - ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity + Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion - ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages - WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage - StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability - ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent - ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense - SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule + ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images + ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue end class ImageSearchDataClass @@ -117,9 +117,6 @@ def recognized_entity_group def trending_images_category Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory end - def query - Azure::CognitiveServices::ImageSearch::V1_0::Models::Query - end def pivot_suggestions Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions end @@ -138,24 +135,12 @@ def images_image_metadata def image_insights_image_caption Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption end - def response_base - Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error - end def trending_images_tile Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile end def images_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule end - def thing - Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - end - def organization - Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization - end def aggregate_rating Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating end @@ -165,33 +150,6 @@ def offer def aggregate_offer Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer end - def media_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - end - def image_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - end - def search_results_answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - end - def images - Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - end - def identifiable - Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - end - def response - Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - end - def answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - end - def creative_work - Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork - end - def error_response - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse - end def image_gallery Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery end @@ -204,44 +162,29 @@ def normalized_rectangle def recognized_entity Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity end + def response + Azure::CognitiveServices::ImageSearch::V1_0::Models::Response + end def recognized_entity_region Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion end - def image_insights - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights - end def trending_images Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages end - def web_page - Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - end - def person - Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - end - def intangible - Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - end def rating Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating end def collection_page Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage end - def structured_value - Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue - end def currency Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency end def item_availability Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability end - def error_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + def image_insights + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights end def image_aspect Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect @@ -255,24 +198,81 @@ def freshness def image_content Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent end - def image_type - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType - end def image_license Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense end - def safe_search - Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch - end def image_size Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize end + def image_type + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + end + def person + Azure::CognitiveServices::ImageSearch::V1_0::Models::Person + end def image_crop_type Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType end def image_insight_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule end + def error_response + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse + end + def error + Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + end + def response_base + Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + end + def query + Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + end + def web_page + Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + end + def search_results_answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + end + def thing + Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + end + def creative_work + Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + end + def error_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + end + def images + Azure::CognitiveServices::ImageSearch::V1_0::Models::Images + end + def image_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + end + def organization + Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + end + def intangible + Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + end + def media_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + end + def structured_value + Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue + end end end end diff --git a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb index 5ae1a3fa37..4c4a6e074a 100644 --- a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb @@ -11,19 +11,19 @@ module Mgmt Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations module Models + ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails + Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult - OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch - Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation - ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails - OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult - Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo AppNameAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameAvailabilityInfo App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku AppNameUnavailabilityReason = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameUnavailabilityReason + OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay + OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult + Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource end class IotCentralManagementClass @@ -57,26 +57,17 @@ def method_missing(method, *args) end class ModelClasses - def app_list_result - Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult - end - def operation_display - Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay - end - def app_patch - Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch + def error_details + Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails end def operation Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation end - def error_details - Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails - end - def operation_list_result - Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult + def app_list_result + Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult end - def resource - Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource + def app_patch + Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch end def operation_inputs Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs @@ -96,6 +87,15 @@ def app_sku def app_name_unavailability_reason Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameUnavailabilityReason end + def operation_display + Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay + end + def operation_list_result + Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult + end + def resource + Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource + end end end end diff --git a/azure_sdk/lib/latest/modules/iothub_profile_module.rb b/azure_sdk/lib/latest/modules/iothub_profile_module.rb index af6e3b6a7e..725f2d7298 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -7,13 +7,14 @@ module Azure::Profiles::Latest module IotHub module Mgmt - Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations IotHubResource = Azure::IotHub::Mgmt::V2018_04_01::IotHubResource ResourceProviderCommon = Azure::IotHub::Mgmt::V2018_04_01::ResourceProviderCommon Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates + Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations module Models ErrorDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails + OperationInputs = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfo CertificateProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateProperties IotHubQuotaMetricInfoListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfoListResult @@ -39,29 +40,26 @@ module Models EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubConsumerGroupsListResult IotHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubProperties IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult - Resource = Azure::IotHub::Mgmt::V2018_04_01::Models::Resource IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescriptionListResult - OperationDisplay = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay - OperationInputs = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs - OperationListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo CertificateDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription - Name = Azure::IotHub::Mgmt::V2018_04_01::Models::Name CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription - UserSubscriptionQuota = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota + Name = Azure::IotHub::Mgmt::V2018_04_01::Models::Name + OperationDisplay = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties - UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuotaListResult - RoutingEndpoints = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints + OperationListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult RoutingMessage = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage - StorageEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties - TestAllRoutesInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput + UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuotaListResult + UserSubscriptionQuota = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties - MatchedRoute = Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute + StorageEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties + RoutingEndpoints = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult + MatchedRoute = Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute + TestAllRoutesInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput TestAllRoutesResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult CertificateVerificationDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription TestRouteInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput - IpFilterRule = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule RouteErrorPosition = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition FallbackRouteProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties RouteErrorRange = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange @@ -73,27 +71,29 @@ module Models TestRouteResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult RoutingEventHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEventHubProperties ExportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest - Operation = Azure::IotHub::Mgmt::V2018_04_01::Models::Operation ImportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest IotHubDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescription AccessRights = Azure::IotHub::Mgmt::V2018_04_01::Models::AccessRights IpFilterActionType = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType - RoutingSource = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource + Operation = Azure::IotHub::Mgmt::V2018_04_01::Models::Operation OperationMonitoringLevel = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel Capabilities = Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities - IotHubSku = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku + RoutingSource = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource IotHubSkuTier = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier EndpointHealthStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus - JobType = Azure::IotHub::Mgmt::V2018_04_01::Models::JobType - JobStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus + IotHubSku = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku IotHubScaleType = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason + Resource = Azure::IotHub::Mgmt::V2018_04_01::Models::Resource + JobStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus TestResultStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus + JobType = Azure::IotHub::Mgmt::V2018_04_01::Models::JobType RouteErrorSeverity = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity + IpFilterRule = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule end class IotHubManagementClass - attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :configurable, :base_url, :options, :model_classes + attr_reader :iot_hub_resource, :resource_provider_common, :certificates, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -103,10 +103,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @iot_hub_resource = @client_0.iot_hub_resource @resource_provider_common = @client_0.resource_provider_common @certificates = @client_0.certificates + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -128,6 +128,9 @@ class ModelClasses def error_details Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails end + def operation_inputs + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs + end def iot_hub_quota_metric_info Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfo end @@ -203,62 +206,56 @@ def iot_hub_properties def iot_hub_sku_description_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult end - def resource - Azure::IotHub::Mgmt::V2018_04_01::Models::Resource - end def iot_hub_description_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescriptionListResult end - def operation_display - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay - end - def operation_inputs - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs - end - def operation_list_result - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult - end def iot_hub_name_availability_info Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo end def certificate_description Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription end - def name - Azure::IotHub::Mgmt::V2018_04_01::Models::Name - end def certificate_with_nonce_description Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription end - def user_subscription_quota - Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota + def name + Azure::IotHub::Mgmt::V2018_04_01::Models::Name + end + def operation_display + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay end def routing_service_bus_queue_endpoint_properties Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties end + def operation_list_result + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult + end + def routing_message + Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage + end def user_subscription_quota_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuotaListResult end - def routing_endpoints - Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints + def user_subscription_quota + Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota end - def routing_message - Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage + def operations_monitoring_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties end def storage_endpoint_properties Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties end - def test_all_routes_input - Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput + def routing_endpoints + Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints end - def operations_monitoring_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties + def shared_access_signature_authorization_rule_list_result + Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult end def matched_route Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute end - def shared_access_signature_authorization_rule_list_result - Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult + def test_all_routes_input + Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput end def test_all_routes_result Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult @@ -269,9 +266,6 @@ def certificate_verification_description def test_route_input Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput end - def ip_filter_rule - Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule - end def route_error_position Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition end @@ -305,9 +299,6 @@ def routing_event_hub_properties def export_devices_request Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest end - def operation - Azure::IotHub::Mgmt::V2018_04_01::Models::Operation - end def import_devices_request Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest end @@ -320,8 +311,8 @@ def access_rights def ip_filter_action_type Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType end - def routing_source - Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource + def operation + Azure::IotHub::Mgmt::V2018_04_01::Models::Operation end def operation_monitoring_level Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel @@ -329,8 +320,8 @@ def operation_monitoring_level def capabilities Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities end - def iot_hub_sku - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku + def routing_source + Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource end def iot_hub_sku_tier Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier @@ -338,11 +329,8 @@ def iot_hub_sku_tier def endpoint_health_status Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus end - def job_type - Azure::IotHub::Mgmt::V2018_04_01::Models::JobType - end - def job_status - Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus + def iot_hub_sku + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku end def iot_hub_scale_type Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType @@ -350,12 +338,24 @@ def iot_hub_scale_type def iot_hub_name_unavailability_reason Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason end + def resource + Azure::IotHub::Mgmt::V2018_04_01::Models::Resource + end + def job_status + Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus + end def test_result_status Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus end + def job_type + Azure::IotHub::Mgmt::V2018_04_01::Models::JobType + end def route_error_severity Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity end + def ip_filter_rule + Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule + end end end end diff --git a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb index c1b29471fb..67bf3e996f 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -9,6 +9,10 @@ module Azure::Profiles::Latest module KeyVault module Models + CertificateListResult = Azure::KeyVault::V7_0::Models::CertificateListResult + StorageAccountUpdateParameters = Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters + StorageAccountCreateParameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters + Action = Azure::KeyVault::V7_0::Models::Action KeyRestoreParameters = Azure::KeyVault::V7_0::Models::KeyRestoreParameters SecretSetParameters = Azure::KeyVault::V7_0::Models::SecretSetParameters JsonWebKey = Azure::KeyVault::V7_0::Models::JsonWebKey @@ -31,8 +35,6 @@ module Models SecretProperties = Azure::KeyVault::V7_0::Models::SecretProperties CertificateImportParameters = Azure::KeyVault::V7_0::Models::CertificateImportParameters X509CertificateProperties = Azure::KeyVault::V7_0::Models::X509CertificateProperties - CertificateUpdateParameters = Azure::KeyVault::V7_0::Models::CertificateUpdateParameters - Action = Azure::KeyVault::V7_0::Models::Action CertificateMergeParameters = Azure::KeyVault::V7_0::Models::CertificateMergeParameters IssuerParameters = Azure::KeyVault::V7_0::Models::IssuerParameters CertificateIssuerSetParameters = Azure::KeyVault::V7_0::Models::CertificateIssuerSetParameters @@ -45,7 +47,6 @@ module Models AdministratorDetails = Azure::KeyVault::V7_0::Models::AdministratorDetails KeyVerifyResult = Azure::KeyVault::V7_0::Models::KeyVerifyResult IssuerAttributes = Azure::KeyVault::V7_0::Models::IssuerAttributes - KeyListResult = Azure::KeyVault::V7_0::Models::KeyListResult Contact = Azure::KeyVault::V7_0::Models::Contact DeletedKeyListResult = Azure::KeyVault::V7_0::Models::DeletedKeyListResult KeyCreateParameters = Azure::KeyVault::V7_0::Models::KeyCreateParameters @@ -53,7 +54,6 @@ module Models KeyOperationsParameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters DeletedSecretListResult = Azure::KeyVault::V7_0::Models::DeletedSecretListResult SecretBundle = Azure::KeyVault::V7_0::Models::SecretBundle - CertificateListResult = Azure::KeyVault::V7_0::Models::CertificateListResult StorageRestoreParameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters DeletedCertificateListResult = Azure::KeyVault::V7_0::Models::DeletedCertificateListResult KeyProperties = Azure::KeyVault::V7_0::Models::KeyProperties @@ -62,7 +62,6 @@ module Models BackupKeyResult = Azure::KeyVault::V7_0::Models::BackupKeyResult CertificatePolicy = Azure::KeyVault::V7_0::Models::CertificatePolicy BackupSecretResult = Azure::KeyVault::V7_0::Models::BackupSecretResult - Error = Azure::KeyVault::V7_0::Models::Error BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult OrganizationDetails = Azure::KeyVault::V7_0::Models::OrganizationDetails PendingCertificateSigningRequestResult = Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult @@ -72,9 +71,7 @@ module Models CertificateItem = Azure::KeyVault::V7_0::Models::CertificateItem SasDefinitionItem = Azure::KeyVault::V7_0::Models::SasDefinitionItem LifetimeAction = Azure::KeyVault::V7_0::Models::LifetimeAction - StorageAccountCreateParameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters IssuerCredentials = Azure::KeyVault::V7_0::Models::IssuerCredentials - StorageAccountUpdateParameters = Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters KeyImportParameters = Azure::KeyVault::V7_0::Models::KeyImportParameters StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters SubjectAlternativeNames = Azure::KeyVault::V7_0::Models::SubjectAlternativeNames @@ -100,6 +97,7 @@ module Models DeletedSasDefinitionItem = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionItem JsonWebKeyType = Azure::KeyVault::V7_0::Models::JsonWebKeyType JsonWebKeyCurveName = Azure::KeyVault::V7_0::Models::JsonWebKeyCurveName + Error = Azure::KeyVault::V7_0::Models::Error DeletionRecoveryLevel = Azure::KeyVault::V7_0::Models::DeletionRecoveryLevel KeyUsageType = Azure::KeyVault::V7_0::Models::KeyUsageType ActionType = Azure::KeyVault::V7_0::Models::ActionType @@ -107,6 +105,8 @@ module Models JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V7_0::Models::JsonWebKeyEncryptionAlgorithm JsonWebKeySignatureAlgorithm = Azure::KeyVault::V7_0::Models::JsonWebKeySignatureAlgorithm SasTokenType = Azure::KeyVault::V7_0::Models::SasTokenType + KeyListResult = Azure::KeyVault::V7_0::Models::KeyListResult + CertificateUpdateParameters = Azure::KeyVault::V7_0::Models::CertificateUpdateParameters end class KeyVaultDataClass @@ -138,6 +138,18 @@ def method_missing(method, *args) end class ModelClasses + def certificate_list_result + Azure::KeyVault::V7_0::Models::CertificateListResult + end + def storage_account_update_parameters + Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters + end + def storage_account_create_parameters + Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters + end + def action + Azure::KeyVault::V7_0::Models::Action + end def key_restore_parameters Azure::KeyVault::V7_0::Models::KeyRestoreParameters end @@ -204,12 +216,6 @@ def certificate_import_parameters def x509_certificate_properties Azure::KeyVault::V7_0::Models::X509CertificateProperties end - def certificate_update_parameters - Azure::KeyVault::V7_0::Models::CertificateUpdateParameters - end - def action - Azure::KeyVault::V7_0::Models::Action - end def certificate_merge_parameters Azure::KeyVault::V7_0::Models::CertificateMergeParameters end @@ -246,9 +252,6 @@ def key_verify_result def issuer_attributes Azure::KeyVault::V7_0::Models::IssuerAttributes end - def key_list_result - Azure::KeyVault::V7_0::Models::KeyListResult - end def contact Azure::KeyVault::V7_0::Models::Contact end @@ -270,9 +273,6 @@ def deleted_secret_list_result def secret_bundle Azure::KeyVault::V7_0::Models::SecretBundle end - def certificate_list_result - Azure::KeyVault::V7_0::Models::CertificateListResult - end def storage_restore_parameters Azure::KeyVault::V7_0::Models::StorageRestoreParameters end @@ -297,9 +297,6 @@ def certificate_policy def backup_secret_result Azure::KeyVault::V7_0::Models::BackupSecretResult end - def error - Azure::KeyVault::V7_0::Models::Error - end def backup_storage_result Azure::KeyVault::V7_0::Models::BackupStorageResult end @@ -327,15 +324,9 @@ def sas_definition_item def lifetime_action Azure::KeyVault::V7_0::Models::LifetimeAction end - def storage_account_create_parameters - Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters - end def issuer_credentials Azure::KeyVault::V7_0::Models::IssuerCredentials end - def storage_account_update_parameters - Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters - end def key_import_parameters Azure::KeyVault::V7_0::Models::KeyImportParameters end @@ -411,6 +402,9 @@ def json_web_key_type def json_web_key_curve_name Azure::KeyVault::V7_0::Models::JsonWebKeyCurveName end + def error + Azure::KeyVault::V7_0::Models::Error + end def deletion_recovery_level Azure::KeyVault::V7_0::Models::DeletionRecoveryLevel end @@ -432,40 +426,31 @@ def json_web_key_signature_algorithm def sas_token_type Azure::KeyVault::V7_0::Models::SasTokenType end + def key_list_result + Azure::KeyVault::V7_0::Models::KeyListResult + end + def certificate_update_parameters + Azure::KeyVault::V7_0::Models::CertificateUpdateParameters + end end end module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2018_02_14::Vaults Operations = Azure::KeyVault::Mgmt::V2018_02_14::Operations + Vaults = Azure::KeyVault::Mgmt::V2018_02_14::Vaults module Models - VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters - Permissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions - DeletedVault = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVault - IPRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule - VaultListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultListResult - NetworkRuleSet = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet - DeletedVaultListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultListResult - VaultPatchProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties - Resource = Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource - DeletedVaultProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties - ResourceListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::ResourceListResult VaultPatchParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCheckNameAvailabilityParameters AccessPolicyEntry = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyEntry - CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::CheckNameAvailabilityResult VaultProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties - OperationDisplay = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCreateOrUpdateParameters LogSpecification = Azure::KeyVault::Mgmt::V2018_02_14::Models::LogSpecification - VirtualNetworkRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + ResourceListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::ResourceListResult ServiceSpecification = Azure::KeyVault::Mgmt::V2018_02_14::Models::ServiceSpecification - Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku - Operation = Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyProperties - OperationListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationListResult Vault = Azure::KeyVault::Mgmt::V2018_02_14::Models::Vault - SkuName = Azure::KeyVault::Mgmt::V2018_02_14::Models::SkuName + Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku + Operation = Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation KeyPermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::KeyPermissions SecretPermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::SecretPermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions @@ -473,12 +458,27 @@ module Models CreateMode = Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode NetworkRuleBypassOptions = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions NetworkRuleAction = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleAction - Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::CheckNameAvailabilityResult + VirtualNetworkRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + Resource = Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource + SkuName = Azure::KeyVault::Mgmt::V2018_02_14::Models::SkuName + Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + Permissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions + OperationDisplay = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay + OperationListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationListResult + VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters + DeletedVault = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVault + IPRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule + VaultListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultListResult + NetworkRuleSet = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet + DeletedVaultListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultListResult + VaultPatchProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties + DeletedVaultProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -488,8 +488,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -508,39 +508,6 @@ def method_missing(method, *args) end class ModelClasses - def vault_access_policy_parameters - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters - end - def permissions - Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions - end - def deleted_vault - Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVault - end - def iprule - Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule - end - def vault_list_result - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultListResult - end - def network_rule_set - Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet - end - def deleted_vault_list_result - Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultListResult - end - def vault_patch_properties - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties - end - def resource - Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource - end - def deleted_vault_properties - Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties - end - def resource_list_result - Azure::KeyVault::Mgmt::V2018_02_14::Models::ResourceListResult - end def vault_patch_parameters Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchParameters end @@ -550,44 +517,32 @@ def vault_check_name_availability_parameters def access_policy_entry Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyEntry end - def check_name_availability_result - Azure::KeyVault::Mgmt::V2018_02_14::Models::CheckNameAvailabilityResult - end def vault_properties Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties end - def operation_display - Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay - end def vault_create_or_update_parameters Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCreateOrUpdateParameters end def log_specification Azure::KeyVault::Mgmt::V2018_02_14::Models::LogSpecification end - def virtual_network_rule - Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + def resource_list_result + Azure::KeyVault::Mgmt::V2018_02_14::Models::ResourceListResult end def service_specification Azure::KeyVault::Mgmt::V2018_02_14::Models::ServiceSpecification end - def sku - Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku - end - def operation - Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation - end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyProperties end - def operation_list_result - Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationListResult - end def vault Azure::KeyVault::Mgmt::V2018_02_14::Models::Vault end - def sku_name - Azure::KeyVault::Mgmt::V2018_02_14::Models::SkuName + def sku + Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku + end + def operation + Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation end def key_permissions Azure::KeyVault::Mgmt::V2018_02_14::Models::KeyPermissions @@ -610,11 +565,56 @@ def network_rule_bypass_options def network_rule_action Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleAction end + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + end + def check_name_availability_result + Azure::KeyVault::Mgmt::V2018_02_14::Models::CheckNameAvailabilityResult + end + def virtual_network_rule + Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + end + def resource + Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource + end + def sku_name + Azure::KeyVault::Mgmt::V2018_02_14::Models::SkuName + end def reason Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + def permissions + Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions + end + def operation_display + Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay + end + def operation_list_result + Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationListResult + end + def vault_access_policy_parameters + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters + end + def deleted_vault + Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVault + end + def iprule + Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule + end + def vault_list_result + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultListResult + end + def network_rule_set + Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet + end + def deleted_vault_list_result + Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultListResult + end + def vault_patch_properties + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties + end + def deleted_vault_properties + Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties end end end diff --git a/azure_sdk/lib/latest/modules/links_profile_module.rb b/azure_sdk/lib/latest/modules/links_profile_module.rb index f2ec0cb6c4..a8f6206d4a 100644 --- a/azure_sdk/lib/latest/modules/links_profile_module.rb +++ b/azure_sdk/lib/latest/modules/links_profile_module.rb @@ -10,11 +10,11 @@ module Mgmt ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models - ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter + ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink end class LinksManagementClass @@ -47,9 +47,6 @@ def method_missing(method, *args) end class ModelClasses - def resource_link - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink - end def resource_link_filter Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter end @@ -62,6 +59,9 @@ def resource_link_properties def filter Azure::Links::Mgmt::V2016_09_01::Models::Filter end + def resource_link + Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink + end end end end diff --git a/azure_sdk/lib/latest/modules/locks_profile_module.rb b/azure_sdk/lib/latest/modules/locks_profile_module.rb index f18a1cb418..e77eebc858 100644 --- a/azure_sdk/lib/latest/modules/locks_profile_module.rb +++ b/azure_sdk/lib/latest/modules/locks_profile_module.rb @@ -10,10 +10,10 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models - ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult - ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner + ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel + ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner end class LocksManagementClass @@ -46,18 +46,18 @@ def method_missing(method, *args) end class ModelClasses - def management_lock_object - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - end def management_lock_list_result Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult end - def management_lock_owner - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner + def management_lock_object + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject end def lock_level Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end + def management_lock_owner + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner + end end end end diff --git a/azure_sdk/lib/latest/modules/logic_profile_module.rb b/azure_sdk/lib/latest/modules/logic_profile_module.rb index 2298e74248..32836fa068 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -27,8 +27,41 @@ module Mgmt Sessions = Azure::Logic::Mgmt::V2016_06_01::Sessions module Models - X12SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings + IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + MapType = Azure::Logic::Mgmt::V2016_06_01::Models::MapType + PartnerType = Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType + AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType + HashingAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm + EncryptionAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm + SigningAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm + TrailingSeparatorPolicy = Azure::Logic::Mgmt::V2016_06_01::Models::TrailingSeparatorPolicy + X12CharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::X12CharacterSet + SegmentTerminatorSuffix = Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix + X12DateFormat = Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat + KeyVaultReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference + UsageIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::UsageIndicator + X12TimeFormat = Azure::Logic::Mgmt::V2016_06_01::Models::X12TimeFormat + ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + MessageFilterType = Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType + EdifactCharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet + EdifactDecimalIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator + TrackEventsOperationOptions = Azure::Logic::Mgmt::V2016_06_01::Models::TrackEventsOperationOptions + EventLevel = Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel + TrackingRecordType = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingRecordType + AccessKeyType = Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyType + ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink + OperationDisplay = Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult + ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation + Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku + SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource + SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName + OperationResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult + KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + X12SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings X12ProcessingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings ResourceReference = Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference X12EnvelopeOverride = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeOverride @@ -48,12 +81,9 @@ module Models X12EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings Correlation = Azure::Logic::Mgmt::V2016_06_01::Models::Correlation X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings - ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink X12MessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter WorkflowTriggerHistoryListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult - SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource WorkflowRunTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger - Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku ArtifactProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactProperties WorkflowRunFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunFilter AccessKeyRegenerateActionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyRegenerateActionDefinition @@ -95,7 +125,6 @@ module Models EdifactDelimiterOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDelimiterOverride WorkflowTriggerListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListResult EdifactProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProtocolSettings - ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash EdifactOneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement WorkflowTriggerHistoryFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryFilter EdifactAgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent @@ -110,22 +139,18 @@ module Models IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter - KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference WorkflowRunActionRepetitionDefinitionCollection = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection Expression = Azure::Logic::Mgmt::V2016_06_01::Models::Expression AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings + KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter ExpressionTraces = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces BatchConfigurationCollection = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationCollection IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult - ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse - OperationDisplay = Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay JsonSchema = Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema - Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation OperationResultProperties = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties - OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult IntegrationAccountPartnerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter SetTriggerStateActionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition WorkflowVersionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult @@ -156,11 +181,9 @@ module Models IntegrationAccountAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate IntegrationAccountSession = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession - KeyVaultReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference ExpressionRoot = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot AzureResourceErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::AzureResourceErrorInfo WorkflowRunActionRepetitionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinition - OperationResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult RunActionCorrelation = Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation AssemblyDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyDefinition ArtifactContentPropertiesDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactContentPropertiesDefinition @@ -169,35 +192,12 @@ module Models BatchConfiguration = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState WorkflowState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState - SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType WorkflowTriggerProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus RecurrenceFrequency = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek DayOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek - KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType - IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName - SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType - MapType = Azure::Logic::Mgmt::V2016_06_01::Models::MapType - PartnerType = Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType - AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType - HashingAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm - EncryptionAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm - SigningAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm - TrailingSeparatorPolicy = Azure::Logic::Mgmt::V2016_06_01::Models::TrailingSeparatorPolicy - X12CharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::X12CharacterSet - SegmentTerminatorSuffix = Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix - X12DateFormat = Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat - X12TimeFormat = Azure::Logic::Mgmt::V2016_06_01::Models::X12TimeFormat - UsageIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::UsageIndicator - MessageFilterType = Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType - EdifactCharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet - EdifactDecimalIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator - TrackEventsOperationOptions = Azure::Logic::Mgmt::V2016_06_01::Models::TrackEventsOperationOptions - EventLevel = Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel - TrackingRecordType = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingRecordType - AccessKeyType = Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyType end class LogicManagementClass @@ -247,12 +247,111 @@ def method_missing(method, *args) end class ModelClasses - def x12_security_settings - Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings + def integration_account_sku_name + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + end + def schema_type + Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + end + def map_type + Azure::Logic::Mgmt::V2016_06_01::Models::MapType + end + def partner_type + Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType + end + def agreement_type + Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType + end + def hashing_algorithm + Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm + end + def encryption_algorithm + Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm + end + def signing_algorithm + Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm + end + def trailing_separator_policy + Azure::Logic::Mgmt::V2016_06_01::Models::TrailingSeparatorPolicy + end + def x12_character_set + Azure::Logic::Mgmt::V2016_06_01::Models::X12CharacterSet + end + def segment_terminator_suffix + Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix + end + def x12_date_format + Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat + end + def key_vault_reference + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference + end + def usage_indicator + Azure::Logic::Mgmt::V2016_06_01::Models::UsageIndicator + end + def x12_time_format + Azure::Logic::Mgmt::V2016_06_01::Models::X12TimeFormat + end + def content_hash + Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + end + def message_filter_type + Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType + end + def edifact_character_set + Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet + end + def edifact_decimal_indicator + Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator + end + def track_events_operation_options + Azure::Logic::Mgmt::V2016_06_01::Models::TrackEventsOperationOptions + end + def event_level + Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel + end + def tracking_record_type + Azure::Logic::Mgmt::V2016_06_01::Models::TrackingRecordType + end + def access_key_type + Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyType + end + def content_link + Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink + end + def operation_display + Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + end + def operation_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult + end + def error_response + Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + end + def operation + Azure::Logic::Mgmt::V2016_06_01::Models::Operation + end + def sku + Azure::Logic::Mgmt::V2016_06_01::Models::Sku + end + def sub_resource + Azure::Logic::Mgmt::V2016_06_01::Models::SubResource end def resource Azure::Logic::Mgmt::V2016_06_01::Models::Resource end + def sku_name + Azure::Logic::Mgmt::V2016_06_01::Models::SkuName + end + def operation_result + Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult + end + def key_type + Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + end + def x12_security_settings + Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings + end def x12_processing_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings end @@ -310,24 +409,15 @@ def correlation def x12_acknowledgement_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings end - def content_link - Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink - end def x12_message_filter Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter end def workflow_trigger_history_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult end - def sub_resource - Azure::Logic::Mgmt::V2016_06_01::Models::SubResource - end def workflow_run_trigger Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger end - def sku - Azure::Logic::Mgmt::V2016_06_01::Models::Sku - end def artifact_properties Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactProperties end @@ -451,9 +541,6 @@ def workflow_trigger_list_result def edifact_protocol_settings Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProtocolSettings end - def content_hash - Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash - end def edifact_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement end @@ -496,9 +583,6 @@ def key_vault_key_reference_key_vault def integration_account_map_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter end - def key_vault_key_reference - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference - end def workflow_run_action_repetition_definition_collection Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection end @@ -514,6 +598,9 @@ def integration_account_certificate_list_result def as2_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings end + def key_vault_key_reference + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference + end def integration_account_session_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter end @@ -526,24 +613,12 @@ def batch_configuration_collection def integration_account_session_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult end - def error_response - Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse - end - def operation_display - Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay - end def json_schema Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema end - def operation - Azure::Logic::Mgmt::V2016_06_01::Models::Operation - end def operation_result_properties Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties end - def operation_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult - end def integration_account_partner_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter end @@ -634,9 +709,6 @@ def integration_account_certificate def integration_account_session Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession end - def key_vault_reference - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference - end def expression_root Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot end @@ -646,9 +718,6 @@ def azure_resource_error_info def workflow_run_action_repetition_definition Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinition end - def operation_result - Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult - end def run_action_correlation Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation end @@ -673,9 +742,6 @@ def workflow_provisioning_state def workflow_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState end - def sku_name - Azure::Logic::Mgmt::V2016_06_01::Models::SkuName - end def parameter_type Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType end @@ -694,72 +760,6 @@ def days_of_week def day_of_week Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek end - def key_type - Azure::Logic::Mgmt::V2016_06_01::Models::KeyType - end - def integration_account_sku_name - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName - end - def schema_type - Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType - end - def map_type - Azure::Logic::Mgmt::V2016_06_01::Models::MapType - end - def partner_type - Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType - end - def agreement_type - Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType - end - def hashing_algorithm - Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm - end - def encryption_algorithm - Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm - end - def signing_algorithm - Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm - end - def trailing_separator_policy - Azure::Logic::Mgmt::V2016_06_01::Models::TrailingSeparatorPolicy - end - def x12_character_set - Azure::Logic::Mgmt::V2016_06_01::Models::X12CharacterSet - end - def segment_terminator_suffix - Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix - end - def x12_date_format - Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat - end - def x12_time_format - Azure::Logic::Mgmt::V2016_06_01::Models::X12TimeFormat - end - def usage_indicator - Azure::Logic::Mgmt::V2016_06_01::Models::UsageIndicator - end - def message_filter_type - Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType - end - def edifact_character_set - Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet - end - def edifact_decimal_indicator - Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator - end - def track_events_operation_options - Azure::Logic::Mgmt::V2016_06_01::Models::TrackEventsOperationOptions - end - def event_level - Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel - end - def tracking_record_type - Azure::Logic::Mgmt::V2016_06_01::Models::TrackingRecordType - end - def access_key_type - Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyType - end end end end diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index 4b198c7d23..b660d2536d 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -7,54 +7,54 @@ module Azure::Profiles::Latest module MachineLearning module Mgmt - Operations = Azure::MachineLearning::Mgmt::V2017_01_01::Operations WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices + Operations = Azure::MachineLearning::Mgmt::V2017_01_01::Operations module Models + OperationDisplayInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo AssetItem = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem - Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource WebServiceParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceParameter RealtimeConfiguration = Azure::MachineLearning::Mgmt::V2017_01_01::Models::RealtimeConfiguration + OperationEntityListResult = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult WebServiceProperties = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceProperties - StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount MachineLearningWorkspace = Azure::MachineLearning::Mgmt::V2017_01_01::Models::MachineLearningWorkspace CommitmentPlan = Azure::MachineLearning::Mgmt::V2017_01_01::Models::CommitmentPlan TableSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification GraphNode = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphNode ExampleRequest = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ExampleRequest GraphEdge = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphEdge + Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount InputPort = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPort - GraphParameterLink = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameterLink - ModeValueInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo - GraphParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter WebServiceKeys = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys - GraphPackage = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage + ModeValueInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo ColumnSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification - OperationEntityListResult = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult BlobLocation = Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation PaginatedWebServicesList = Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList + GraphParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter ModuleAssetParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter - AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo + GraphParameterLink = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameterLink ServiceInputOutputSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification - AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - DiagnosticsConfiguration = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration - OperationDisplayInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo + AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo OutputPort = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPort - OperationEntity = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity - WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService + GraphPackage = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph - ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState - DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel + WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService + DiagnosticsConfiguration = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration + OperationEntity = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel + InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType - InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType end class MachineLearningManagementClass - attr_reader :operations, :web_services, :configurable, :base_url, :options, :model_classes + attr_reader :web_services, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -64,8 +64,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @web_services = @client_0.web_services + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -84,24 +84,24 @@ def method_missing(method, *args) end class ModelClasses + def operation_display_info + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo + end def asset_item Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem end - def resource - Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource - end def web_service_parameter Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceParameter end def realtime_configuration Azure::MachineLearning::Mgmt::V2017_01_01::Models::RealtimeConfiguration end + def operation_entity_list_result + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult + end def web_service_properties Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceProperties end - def storage_account - Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount - end def machine_learning_workspace Azure::MachineLearning::Mgmt::V2017_01_01::Models::MachineLearningWorkspace end @@ -120,74 +120,74 @@ def example_request def graph_edge Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphEdge end - def input_port - Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPort - end - def graph_parameter_link - Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameterLink + def resource + Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource end - def mode_value_info - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo + def storage_account + Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount end - def graph_parameter - Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter + def input_port + Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPort end def web_service_keys Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys end - def graph_package - Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage + def mode_value_info + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo end def column_specification Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification end - def operation_entity_list_result - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult - end def blob_location Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation end def paginated_web_services_list Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList end + def graph_parameter + Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter + end def module_asset_parameter Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter end - def async_operation_error_info - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo + def graph_parameter_link + Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameterLink end def service_input_output_specification Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification end - def async_operation_status - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - end - def diagnostics_configuration - Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration - end - def operation_display_info - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo + def async_operation_error_info + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo end def output_port Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPort end - def operation_entity - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity + def graph_package + Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage + end + def web_service_properties_for_graph + Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph end def web_service Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService end - def web_service_properties_for_graph - Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph + def diagnostics_configuration + Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration end - def provisioning_state - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState + def operation_entity + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity + end + def column_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + end + def async_operation_status + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus end def diagnostics_level Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel end - def column_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + def input_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType end def column_format Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat @@ -195,8 +195,8 @@ def column_format def asset_type Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType end - def input_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + def provisioning_state + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState end def output_port_type Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType diff --git a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb index 582d5c3042..b49698e87d 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,24 +11,24 @@ module Mgmt ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2018_06_01::ApplicationDefinitions module Models - Sku = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku - Plan = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Plan Identity = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity + Application = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application + Plan = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Plan PlanPatchable = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::PlanPatchable - ErrorResponse = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse ApplicationProviderAuthorization = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization ApplicationDefinitionListResult = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinitionListResult - ApplicationListResult = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult + Sku = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact - Resource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + ApplicationListResult = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult GenericResource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource - Application = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application ApplicationPatchable = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition - ProvisioningState = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType + Resource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + ErrorResponse = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse + ProvisioningState = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState end class ManagedApplicationsManagementClass @@ -62,51 +62,42 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku + def identity + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity + end + def application + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application end def plan Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Plan end - def identity - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity - end def plan_patchable Azure::ManagedApplications::Mgmt::V2018_06_01::Models::PlanPatchable end - def error_response - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse - end def application_provider_authorization Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization end def application_definition_list_result Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinitionListResult end - def application_list_result - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult + def sku + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku end def application_artifact Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact end - def resource - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + def application_list_result + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult end def generic_resource Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource end - def application - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application - end def application_patchable Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable end def application_definition Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition end - def provisioning_state - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState - end def application_lock_level Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel end @@ -116,6 +107,15 @@ def application_artifact_type def resource_identity_type Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType end + def resource + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + end + def error_response + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse + end + def provisioning_state + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState + end end end end diff --git a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb index 14f3182b97..9591c8d495 100644 --- a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb @@ -7,20 +7,20 @@ module Azure::Profiles::Latest module ManagedServiceIdentity module Mgmt - Operations = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Operations UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::UserAssignedIdentities + Operations = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Operations module Models + UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay - Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation - UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult OperationListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult - UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult end class ManagedServiceIdentityManagementClass - attr_reader :operations, :user_assigned_identities, :configurable, :base_url, :options, :model_classes + attr_reader :user_assigned_identities, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -30,8 +30,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @user_assigned_identities = @client_0.user_assigned_identities + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -50,23 +50,23 @@ def method_missing(method, *args) end class ModelClasses + def user_assigned_identities + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + end + def operation + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation + end def identity Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity end def operation_display Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay end - def operation - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation - end - def user_assigned_identities_list_result - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult - end def operation_list_result Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult end - def user_assigned_identities - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + def user_assigned_identities_list_result + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult end end end diff --git a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb index 80f1528636..eb68fdf5da 100644 --- a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb +++ b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt Operations = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Operations module Models - OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation + OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult - ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse - Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms + Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource + ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse end class MarketplaceOrderingManagementClass @@ -51,26 +51,26 @@ def method_missing(method, *args) end class ModelClasses - def operation_display - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay - end def operation Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation end + def operation_display + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay + end def error_response_error Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError end def operation_list_result Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult end - def error_response - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + def agreement_terms + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms end def resource Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource end - def agreement_terms - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms + def error_response + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse end end end diff --git a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb index bfa9643f3b..219d272665 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -7,46 +7,27 @@ module Azure::Profiles::Latest module MediaServices module Mgmt - Operations = Azure::MediaServices::Mgmt::V2018_06_01_preview::Operations Mediaservices = Azure::MediaServices::Mgmt::V2018_06_01_preview::Mediaservices - Locations = Azure::MediaServices::Mgmt::V2018_06_01_preview::Locations Assets = Azure::MediaServices::Mgmt::V2018_06_01_preview::Assets ContentKeyPolicies = Azure::MediaServices::Mgmt::V2018_06_01_preview::ContentKeyPolicies Transforms = Azure::MediaServices::Mgmt::V2018_06_01_preview::Transforms Jobs = Azure::MediaServices::Mgmt::V2018_06_01_preview::Jobs StreamingPolicies = Azure::MediaServices::Mgmt::V2018_06_01_preview::StreamingPolicies StreamingLocators = Azure::MediaServices::Mgmt::V2018_06_01_preview::StreamingLocators + Locations = Azure::MediaServices::Mgmt::V2018_06_01_preview::Locations LiveEvents = Azure::MediaServices::Mgmt::V2018_06_01_preview::LiveEvents LiveOutputs = Azure::MediaServices::Mgmt::V2018_06_01_preview::LiveOutputs StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_06_01_preview::StreamingEndpoints + Operations = Azure::MediaServices::Mgmt::V2018_06_01_preview::Operations module Models - CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CencDrmConfiguration - Provider = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Provider - Overlay = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Overlay - Operation = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Operation - EnvelopeEncryption = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnvelopeEncryption - EntityNameAvailabilityCheckOutput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntityNameAvailabilityCheckOutput - NoEncryption = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::NoEncryption - SyncStorageKeysInput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SyncStorageKeysInput - EnabledProtocols = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnabledProtocols - ContentKeyPolicyCollection = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyCollection - ODataError = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ODataError - Preset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Preset - OperationCollection = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationCollection - Codec = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Codec - CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CheckNameAvailabilityInput LiveOutputListResult = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputListResult CbcsDrmConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CbcsDrmConfiguration LiveEventEndpoint = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEndpoint - Resource = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Resource IPRange = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::IPRange AssetStorageEncryptionKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetStorageEncryptionKey - OperationDisplay = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationDisplay AssetCollection = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetCollection - Location = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Location ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction - StorageAccount = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccount StreamingPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyWidevineConfiguration JobInput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInput ContentKeyPolicyPlayReadyPlayRight = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyPlayRight @@ -54,7 +35,6 @@ module Models ContentKeyPolicyPlayReadyLicense = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyLicense ListPathsResponse = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ListPathsResponse StreamingPolicyContentKeys = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyContentKeys - Format = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Format ContentKeyPolicyConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyConfiguration ListContentKeysResponse = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ListContentKeysResponse DefaultKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::DefaultKey @@ -68,8 +48,6 @@ module Models JobError = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobError Rectangle = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Rectangle ContentKeyPolicyProperties = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyProperties - Filters = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Filters - ApiError = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ApiError Layer = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Layer SubscriptionMediaServiceCollection = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SubscriptionMediaServiceCollection CommonEncryptionCbcs = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CommonEncryptionCbcs @@ -93,111 +71,133 @@ module Models ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyRestriction LiveEventActionInput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventActionInput JobCollection = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobCollection - CrossSiteAccessPolicies = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CrossSiteAccessPolicies + OperationDisplay = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationDisplay JobErrorDetail = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorDetail LiveEventEncoding = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEncoding - StreamingPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyPlayReadyConfiguration + CrossSiteAccessPolicies = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CrossSiteAccessPolicies LiveEventPreview = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventPreview JobOutput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobOutput LiveEventPreviewAccessControl = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventPreviewAccessControl ContentKeyPolicyRestrictionTokenKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyRestrictionTokenKey TransformOutput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransformOutput - AssetContainerSas = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetContainerSas + StreamingPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyPlayReadyConfiguration IPAccessControl = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::IPAccessControl - TrackedResource = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackedResource MediaService = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService SubscriptionMediaService = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SubscriptionMediaService - ProxyResource = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ProxyResource Asset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader + Operation = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Operation ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ContentKeyPolicyOpenRestriction = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyOpenRestriction ContentKeyPolicyUnknownRestriction = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyUnknownRestriction - ContentKeyPolicySymmetricTokenKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicySymmetricTokenKey + AssetContainerSas = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetContainerSas ContentKeyPolicyRsaTokenKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyRsaTokenKey - ContentKeyPolicyX509CertificateTokenKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyX509CertificateTokenKey - ContentKeyPolicyTokenRestriction = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyTokenRestriction + ContentKeyPolicySymmetricTokenKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicySymmetricTokenKey ContentKeyPolicyClearKeyConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyClearKeyConfiguration + ContentKeyPolicyX509CertificateTokenKey = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyX509CertificateTokenKey ContentKeyPolicyUnknownConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyUnknownConfiguration ContentKeyPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyWidevineConfiguration - ContentKeyPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyConfiguration ContentKeyPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyFairPlayConfiguration - ContentKeyPolicy = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy - Audio = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Audio + ContentKeyPolicyTokenRestriction = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyTokenRestriction + Filters = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Filters AacAudio = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AacAudio - AudioAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioAnalyzerPreset - AudioOverlay = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioOverlay + ContentKeyPolicy = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy + ContentKeyPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyConfiguration CopyVideo = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CopyVideo - Video = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Video - Image = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Image - ImageFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ImageFormat + AudioAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioAnalyzerPreset + Audio = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Audio JpgFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgFormat PngFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngFormat - CopyAudio = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CopyAudio + AudioOverlay = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioOverlay VideoLayer = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::VideoLayer H264Layer = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264Layer + ImageFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ImageFormat H264Video = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264Video JpgLayer = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgLayer - JpgImage = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgImage + CopyAudio = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CopyAudio MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MultiBitrateFormat Mp4Format = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Mp4Format PngLayer = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngLayer - PngImage = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngImage BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::BuiltInStandardEncoderPreset + Video = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Video StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StandardEncoderPreset VideoAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::VideoAnalyzerPreset - TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransportStreamFormat VideoOverlay = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::VideoOverlay + JpgImage = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgImage Transform = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform JobInputClip = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputClip - JobInputs = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputs JobInputAsset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputAsset + PngImage = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngImage JobInputHttp = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputHttp JobOutputAsset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobOutputAsset - Job = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Job - StreamingPolicy = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicy StreamingLocator = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocator + TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransportStreamFormat LiveOutput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput LiveEvent = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint - StorageAccountType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccountType - AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetStorageEncryptionFormat + JobInputs = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputs AssetContainerPermission = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetContainerPermission - ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption + AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetStorageEncryptionFormat ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyLicenseType - ContentKeyPolicyPlayReadyContentType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentType + StreamingPolicy = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicy + Job = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Job + AacAudioProfile = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AacAudioProfile ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyRestrictionTokenType ContentKeyPolicyFairPlayRentalAndLeaseKeyType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType - AacAudioProfile = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AacAudioProfile - StretchMode = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StretchMode - DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::DeinterlaceParity + ContentKeyPolicyPlayReadyContentType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentType DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::DeinterlaceMode - Rotation = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Rotation + ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption + ApiError = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ApiError + StorageAccountType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccountType H264VideoProfile = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264VideoProfile - EntropyMode = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntropyMode - H264Complexity = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264Complexity EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EncoderNamedPreset - OnErrorType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OnErrorType + Rotation = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Rotation + StretchMode = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StretchMode + DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::DeinterlaceParity Priority = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Priority - JobErrorCode = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorCode - JobErrorCategory = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorCategory JobRetry = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobRetry - JobState = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobState - TrackPropertyType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackPropertyType + OnErrorType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OnErrorType + EntropyMode = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntropyMode + H264Complexity = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264Complexity TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackPropertyCompareOperation - StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocatorContentKeyType - StreamingPolicyStreamingProtocol = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyStreamingProtocol EncryptionScheme = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EncryptionScheme - LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputResourceState + TrackPropertyType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackPropertyType + JobErrorCode = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorCode + JobErrorCategory = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorCategory LiveEventInputProtocol = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventInputProtocol LiveEventEncodingType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEncodingType + LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputResourceState + StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocatorContentKeyType + StreamingPolicyStreamingProtocol = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyStreamingProtocol LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventResourceState StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamOptionsFlag StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpointResourceState + CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CheckNameAvailabilityInput + OperationCollection = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationCollection + JobState = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobState + TrackedResource = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackedResource + ProxyResource = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ProxyResource + Resource = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Resource + StorageAccount = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccount + Format = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Format + Location = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Location + Image = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Image + Provider = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Provider + CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CencDrmConfiguration + Overlay = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Overlay + EnvelopeEncryption = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnvelopeEncryption + EntityNameAvailabilityCheckOutput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntityNameAvailabilityCheckOutput + NoEncryption = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::NoEncryption + SyncStorageKeysInput = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SyncStorageKeysInput + EnabledProtocols = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnabledProtocols + ContentKeyPolicyCollection = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyCollection + ODataError = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ODataError + Preset = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Preset + Codec = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Codec end class MediaServicesManagementClass - attr_reader :operations, :mediaservices, :locations, :assets, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :configurable, :base_url, :options, :model_classes + attr_reader :mediaservices, :assets, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :locations, :live_events, :live_outputs, :streaming_endpoints, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -207,18 +207,18 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @mediaservices = @client_0.mediaservices - @locations = @client_0.locations @assets = @client_0.assets @content_key_policies = @client_0.content_key_policies @transforms = @client_0.transforms @jobs = @client_0.jobs @streaming_policies = @client_0.streaming_policies @streaming_locators = @client_0.streaming_locators + @locations = @client_0.locations @live_events = @client_0.live_events @live_outputs = @client_0.live_outputs @streaming_endpoints = @client_0.streaming_endpoints + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -237,51 +237,6 @@ def method_missing(method, *args) end class ModelClasses - def cenc_drm_configuration - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CencDrmConfiguration - end - def provider - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Provider - end - def overlay - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Overlay - end - def operation - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Operation - end - def envelope_encryption - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnvelopeEncryption - end - def entity_name_availability_check_output - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntityNameAvailabilityCheckOutput - end - def no_encryption - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::NoEncryption - end - def sync_storage_keys_input - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SyncStorageKeysInput - end - def enabled_protocols - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnabledProtocols - end - def content_key_policy_collection - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyCollection - end - def odata_error - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ODataError - end - def preset - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Preset - end - def operation_collection - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationCollection - end - def codec - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Codec - end - def check_name_availability_input - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CheckNameAvailabilityInput - end def live_output_list_result Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputListResult end @@ -291,30 +246,18 @@ def cbcs_drm_configuration def live_event_endpoint Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEndpoint end - def resource - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Resource - end def iprange Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::IPRange end def asset_storage_encryption_key Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetStorageEncryptionKey end - def operation_display - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationDisplay - end def asset_collection Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetCollection end - def location - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Location - end def content_key_policy_play_ready_explicit_analog_television_restriction Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction end - def storage_account - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccount - end def streaming_policy_widevine_configuration Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyWidevineConfiguration end @@ -336,9 +279,6 @@ def list_paths_response def streaming_policy_content_keys Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyContentKeys end - def format - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Format - end def content_key_policy_configuration Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyConfiguration end @@ -378,12 +318,6 @@ def rectangle def content_key_policy_properties Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyProperties end - def filters - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Filters - end - def api_error - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ApiError - end def layer Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Layer end @@ -453,8 +387,8 @@ def live_event_action_input def job_collection Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobCollection end - def cross_site_access_policies - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CrossSiteAccessPolicies + def operation_display + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationDisplay end def job_error_detail Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorDetail @@ -462,8 +396,8 @@ def job_error_detail def live_event_encoding Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEncoding end - def streaming_policy_play_ready_configuration - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyPlayReadyConfiguration + def cross_site_access_policies + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CrossSiteAccessPolicies end def live_event_preview Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventPreview @@ -480,30 +414,27 @@ def content_key_policy_restriction_token_key def transform_output Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransformOutput end - def asset_container_sas - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetContainerSas + def streaming_policy_play_ready_configuration + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyPlayReadyConfiguration end def ipaccess_control Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::IPAccessControl end - def tracked_resource - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackedResource - end def media_service Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService end def subscription_media_service Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SubscriptionMediaService end - def proxy_resource - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ProxyResource - end def asset Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset end def content_key_policy_play_ready_content_encryption_key_from_header Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader end + def operation + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Operation + end def content_key_policy_play_ready_content_encryption_key_from_key_identifier Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier end @@ -513,59 +444,53 @@ def content_key_policy_open_restriction def content_key_policy_unknown_restriction Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyUnknownRestriction end - def content_key_policy_symmetric_token_key - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicySymmetricTokenKey + def asset_container_sas + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetContainerSas end def content_key_policy_rsa_token_key Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyRsaTokenKey end - def content_key_policy_x509_certificate_token_key - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyX509CertificateTokenKey - end - def content_key_policy_token_restriction - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyTokenRestriction + def content_key_policy_symmetric_token_key + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicySymmetricTokenKey end def content_key_policy_clear_key_configuration Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyClearKeyConfiguration end + def content_key_policy_x509_certificate_token_key + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyX509CertificateTokenKey + end def content_key_policy_unknown_configuration Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyUnknownConfiguration end def content_key_policy_widevine_configuration Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyWidevineConfiguration end - def content_key_policy_play_ready_configuration - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyConfiguration - end def content_key_policy_fair_play_configuration Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyFairPlayConfiguration end - def content_key_policy - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy + def content_key_policy_token_restriction + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyTokenRestriction end - def audio - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Audio + def filters + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Filters end def aac_audio Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AacAudio end - def audio_analyzer_preset - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioAnalyzerPreset + def content_key_policy + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy end - def audio_overlay - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioOverlay + def content_key_policy_play_ready_configuration + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyConfiguration end def copy_video Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CopyVideo end - def video - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Video - end - def image - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Image + def audio_analyzer_preset + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioAnalyzerPreset end - def image_format - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ImageFormat + def audio + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Audio end def jpg_format Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgFormat @@ -573,8 +498,8 @@ def jpg_format def png_format Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngFormat end - def copy_audio - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CopyAudio + def audio_overlay + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioOverlay end def video_layer Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::VideoLayer @@ -582,14 +507,17 @@ def video_layer def h264_layer Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264Layer end + def image_format + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ImageFormat + end def h264_video Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264Video end def jpg_layer Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgLayer end - def jpg_image - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgImage + def copy_audio + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CopyAudio end def multi_bitrate_format Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MultiBitrateFormat @@ -600,51 +528,48 @@ def mp4_format def png_layer Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngLayer end - def png_image - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngImage - end def built_in_standard_encoder_preset Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::BuiltInStandardEncoderPreset end + def video + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Video + end def standard_encoder_preset Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StandardEncoderPreset end def video_analyzer_preset Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::VideoAnalyzerPreset end - def transport_stream_format - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransportStreamFormat - end def video_overlay Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::VideoOverlay end + def jpg_image + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JpgImage + end def transform Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform end def job_input_clip Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputClip end - def job_inputs - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputs - end def job_input_asset Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputAsset end + def png_image + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::PngImage + end def job_input_http Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputHttp end def job_output_asset Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobOutputAsset end - def job - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Job - end - def streaming_policy - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicy - end def streaming_locator Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocator end + def transport_stream_format + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransportStreamFormat + end def live_output Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput end @@ -654,23 +579,26 @@ def live_event def streaming_endpoint Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint end - def storage_account_type - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccountType - end - def asset_storage_encryption_format - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetStorageEncryptionFormat + def job_inputs + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInputs end def asset_container_permission Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetContainerPermission end - def content_key_policy_play_ready_unknown_output_passing_option - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption + def asset_storage_encryption_format + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetStorageEncryptionFormat end def content_key_policy_play_ready_license_type Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyLicenseType end - def content_key_policy_play_ready_content_type - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentType + def streaming_policy + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicy + end + def job + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Job + end + def aac_audio_profile + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AacAudioProfile end def content_key_policy_restriction_token_type Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyRestrictionTokenType @@ -678,8 +606,29 @@ def content_key_policy_restriction_token_type def content_key_policy_fair_play_rental_and_lease_key_type Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType end - def aac_audio_profile - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AacAudioProfile + def content_key_policy_play_ready_content_type + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyContentType + end + def deinterlace_mode + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::DeinterlaceMode + end + def content_key_policy_play_ready_unknown_output_passing_option + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption + end + def api_error + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ApiError + end + def storage_account_type + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccountType + end + def h264_video_profile + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264VideoProfile + end + def encoder_named_preset + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EncoderNamedPreset + end + def rotation + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Rotation end def stretch_mode Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StretchMode @@ -687,14 +636,14 @@ def stretch_mode def deinterlace_parity Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::DeinterlaceParity end - def deinterlace_mode - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::DeinterlaceMode + def priority + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Priority end - def rotation - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Rotation + def job_retry + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobRetry end - def h264_video_profile - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264VideoProfile + def on_error_type + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OnErrorType end def entropy_mode Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntropyMode @@ -702,14 +651,14 @@ def entropy_mode def h264_complexity Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::H264Complexity end - def encoder_named_preset - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EncoderNamedPreset + def track_property_compare_operation + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackPropertyCompareOperation end - def on_error_type - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OnErrorType + def encryption_scheme + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EncryptionScheme end - def priority - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Priority + def track_property_type + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackPropertyType end def job_error_code Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorCode @@ -717,17 +666,14 @@ def job_error_code def job_error_category Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobErrorCategory end - def job_retry - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobRetry - end - def job_state - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobState + def live_event_input_protocol + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventInputProtocol end - def track_property_type - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackPropertyType + def live_event_encoding_type + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEncodingType end - def track_property_compare_operation - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackPropertyCompareOperation + def live_output_resource_state + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputResourceState end def streaming_locator_content_key_type Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocatorContentKeyType @@ -735,18 +681,6 @@ def streaming_locator_content_key_type def streaming_policy_streaming_protocol Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyStreamingProtocol end - def encryption_scheme - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EncryptionScheme - end - def live_output_resource_state - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputResourceState - end - def live_event_input_protocol - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventInputProtocol - end - def live_event_encoding_type - Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventEncodingType - end def live_event_resource_state Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventResourceState end @@ -756,6 +690,72 @@ def stream_options_flag def streaming_endpoint_resource_state Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpointResourceState end + def check_name_availability_input + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CheckNameAvailabilityInput + end + def operation_collection + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationCollection + end + def job_state + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobState + end + def tracked_resource + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TrackedResource + end + def proxy_resource + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ProxyResource + end + def resource + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Resource + end + def storage_account + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StorageAccount + end + def format + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Format + end + def location + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Location + end + def image + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Image + end + def provider + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Provider + end + def cenc_drm_configuration + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CencDrmConfiguration + end + def overlay + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Overlay + end + def envelope_encryption + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnvelopeEncryption + end + def entity_name_availability_check_output + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntityNameAvailabilityCheckOutput + end + def no_encryption + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::NoEncryption + end + def sync_storage_keys_input + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SyncStorageKeysInput + end + def enabled_protocols + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EnabledProtocols + end + def content_key_policy_collection + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyCollection + end + def odata_error + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ODataError + end + def preset + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Preset + end + def codec + Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Codec + end end end end diff --git a/azure_sdk/lib/latest/modules/monitor_profile_module.rb b/azure_sdk/lib/latest/modules/monitor_profile_module.rb index 3a91a1dd5f..d5f36ec94d 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module Monitor module Mgmt + Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories - Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents @@ -21,12 +21,13 @@ module Mgmt MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics - MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus + MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts ActionGroups = Azure::Monitor::Mgmt::V2018_03_01::ActionGroups ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules module Models + Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization @@ -44,22 +45,16 @@ module Models MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo - OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow - Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource - EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType + EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType - ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType - RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition - AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch - RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource - AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection - RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource + OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay + OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection @@ -77,6 +72,11 @@ module Models LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition + AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch + RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource + RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource + AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup @@ -84,80 +84,80 @@ module Models ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource + RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy + CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection - RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource - CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse BaselineMetadataValue = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity + MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue - LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue - MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric - MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response - MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability - Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType + Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit + LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString + MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition + MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection + MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection + MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension + AzureFunctionReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver + MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus + MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource + MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria + ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource + ReceiverStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus + EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest EmailReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver + ActionGroupPatchBody = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody + WebhookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver + AzureAppPushReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver + AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver + ItsmReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver SmsReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::SmsReceiver + ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList MetricAlertCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria - WebhookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver MetricAlertResourcePatch = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch - ItsmReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties - AzureAppPushReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection - AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria VoiceReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::VoiceReceiver LogicAppReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::LogicAppReceiver MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction - MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection - ActionGroupPatchBody = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody - MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension - AzureFunctionReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver - MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus - EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest - ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList - MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource - MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria - ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource - ReceiverStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus + ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState + AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity + Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection - Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger - Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition - Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action - Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup - LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch - ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction - Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled - ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState + LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch + Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType + Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled + ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType - AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity + Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source end class MonitorManagementClass - attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :action_groups, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :activity_logs, :autoscale_settings, :event_categories, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :metric_alerts_status, :metric_alerts, :action_groups, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -167,10 +167,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @activity_logs = @client_0.activity_logs @autoscale_settings = @client_0.autoscale_settings @event_categories = @client_0.event_categories - @operations = @client_0.operations @tenant_activity_logs = @client_0.tenant_activity_logs @client_1 = Azure::Monitor::Mgmt::V2016_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options) @@ -217,8 +217,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_6.subscription_id = configurable.subscription_id end add_telemetry(@client_6) - @metric_alerts = @client_6.metric_alerts @metric_alerts_status = @client_6.metric_alerts_status + @metric_alerts = @client_6.metric_alerts @action_groups = @client_6.action_groups @client_7 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options) @@ -259,6 +259,9 @@ def method_missing(method, *args) end class ModelClasses + def operation + Azure::Monitor::Mgmt::V2015_04_01::Models::Operation + end def recurrent_schedule Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule end @@ -310,53 +313,35 @@ def event_category_collection def http_request_info Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo end - def operation_display - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay - end def time_window Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow end - def operation - Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - end - def operation_list_result - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult - end def autoscale_setting_resource Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource end - def event_level - Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel - end def metric_statistic_type Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType end + def event_level + Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel + end def time_aggregation_type Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType end - def comparison_operation_type - Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType - end def scale_direction Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection end + def comparison_operation_type + Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType + end def scale_type Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType end - def rule_condition - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition - end - def alert_rule_resource_patch - Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch - end - def rule_management_event_claims_data_source - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource - end - def alert_rule_resource_collection - Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection + def operation_display + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay end - def rule_data_source - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource + def operation_list_result + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult end def log_profile_resource_patch Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch @@ -409,6 +394,21 @@ def condition_operator def time_aggregation_operator Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator end + def rule_condition + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition + end + def alert_rule_resource_patch + Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch + end + def rule_management_event_claims_data_source + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource + end + def rule_data_source + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource + end + def alert_rule_resource_collection + Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection + end def activity_log_alert_leaf_condition Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition end @@ -430,6 +430,12 @@ def activity_log_alert_list def activity_log_alert_resource Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource end + def retention_policy + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy + end + def category_type + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType + end def proxy_only_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource end @@ -445,18 +451,12 @@ def diagnostic_settings_category_resource_collection def diagnostic_settings_resource_collection Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection end - def retention_policy - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy - end def diagnostic_settings_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource end def diagnostic_settings_category_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource end - def category_type - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType - end def baseline Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline end @@ -475,72 +475,105 @@ def calculate_baseline_response def sensitivity Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity end + def metric_availability + Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability + end def metric_value Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue end - def localizable_string - Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString - end def metadata_value Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue end - def metric_definition - Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition - end def time_series_element Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement end def metric Azure::Monitor::Mgmt::V2018_01_01::Models::Metric end - def metric_definition_collection - Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection - end def response Azure::Monitor::Mgmt::V2018_01_01::Models::Response end - def metric_availability - Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability - end - def unit - Azure::Monitor::Mgmt::V2018_01_01::Models::Unit - end def aggregation_type Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType end def result_type Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType end + def unit + Azure::Monitor::Mgmt::V2018_01_01::Models::Unit + end + def localizable_string + Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString + end + def metric_definition + Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition + end + def metric_definition_collection + Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection + end + def metric_alert_resource_collection + Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection + end + def metric_dimension + Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension + end + def azure_function_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver + end + def metric_alert_status + Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus + end + def metric_alert_resource + Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource + end + def metric_alert_single_resource_multiple_metric_criteria + Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria + end + def action_group_resource + Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource + end + def receiver_status + Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus + end + def enable_request + Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest + end def email_receiver Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver end + def action_group_patch_body + Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody + end + def webhook_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver + end + def azure_app_push_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver + end + def automation_runbook_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver + end + def itsm_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver + end def sms_receiver Azure::Monitor::Mgmt::V2018_03_01::Models::SmsReceiver end + def action_group_list + Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList + end def metric_alert_criteria Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria end - def webhook_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver - end def metric_alert_resource_patch Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch end - def itsm_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver - end def metric_alert_status_properties Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties end - def azure_app_push_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver - end def metric_alert_status_collection Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection end - def automation_runbook_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver - end def metric_criteria Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria end @@ -553,68 +586,29 @@ def logic_app_receiver def metric_alert_action Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction end - def metric_alert_resource_collection - Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection - end - def action_group_patch_body - Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody - end - def metric_dimension - Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension - end - def azure_function_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver - end - def metric_alert_status - Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus - end - def enable_request - Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest - end - def action_group_list - Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList - end - def metric_alert_resource - Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource - end - def metric_alert_single_resource_multiple_metric_criteria - Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria + def provisioning_state + Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState end - def action_group_resource - Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource + def alert_severity + Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity end - def receiver_status - Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus + def action + Azure::Monitor::Mgmt::V2018_04_16::Models::Action end def log_search_rule_resource_collection Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection end - def resource - Azure::Monitor::Mgmt::V2018_04_16::Models::Resource - end def log_metric_trigger Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger end - def schedule - Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule - end def trigger_condition Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition end - def action - Azure::Monitor::Mgmt::V2018_04_16::Models::Action - end - def source - Azure::Monitor::Mgmt::V2018_04_16::Models::Source - end def az_ns_action_group Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup end - def log_search_rule_resource_patch - Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch - end - def error_response - Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + def schedule + Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule end def log_search_rule_resource Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource @@ -622,23 +616,29 @@ def log_search_rule_resource def alerting_action Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction end - def enabled - Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled + def log_search_rule_resource_patch + Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch end - def provisioning_state - Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState + def resource + Azure::Monitor::Mgmt::V2018_04_16::Models::Resource end def query_type Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType end + def enabled + Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled + end + def error_response + Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + end def conditional_operator Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator end def metric_trigger_type Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType end - def alert_severity - Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity + def source + Azure::Monitor::Mgmt::V2018_04_16::Models::Source end end end diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index e4740d9075..c8cdfa9631 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -8,165 +8,68 @@ module Azure::Profiles::Latest module Network module Mgmt AzureFirewalls = Azure::Network::Mgmt::V2018_06_01::AzureFirewalls - ApplicationGateways = Azure::Network::Mgmt::V2018_06_01::ApplicationGateways ApplicationSecurityGroups = Azure::Network::Mgmt::V2018_06_01::ApplicationSecurityGroups DdosProtectionPlans = Azure::Network::Mgmt::V2018_06_01::DdosProtectionPlans AvailableEndpointServices = Azure::Network::Mgmt::V2018_06_01::AvailableEndpointServices - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitPeerings ExpressRouteCircuitConnections = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitConnections - ExpressRouteCircuits = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_06_01::ExpressRouteServiceProviders ExpressRouteCrossConnections = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCrossConnections ExpressRouteCrossConnectionPeerings = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCrossConnectionPeerings - LoadBalancers = Azure::Network::Mgmt::V2018_06_01::LoadBalancers LoadBalancerBackendAddressPools = Azure::Network::Mgmt::V2018_06_01::LoadBalancerBackendAddressPools LoadBalancerFrontendIPConfigurations = Azure::Network::Mgmt::V2018_06_01::LoadBalancerFrontendIPConfigurations InboundNatRules = Azure::Network::Mgmt::V2018_06_01::InboundNatRules LoadBalancerLoadBalancingRules = Azure::Network::Mgmt::V2018_06_01::LoadBalancerLoadBalancingRules LoadBalancerNetworkInterfaces = Azure::Network::Mgmt::V2018_06_01::LoadBalancerNetworkInterfaces LoadBalancerProbes = Azure::Network::Mgmt::V2018_06_01::LoadBalancerProbes - NetworkInterfaces = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaces NetworkInterfaceIPConfigurations = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaceIPConfigurations NetworkInterfaceLoadBalancers = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaceLoadBalancers - NetworkSecurityGroups = Azure::Network::Mgmt::V2018_06_01::NetworkSecurityGroups - SecurityRules = Azure::Network::Mgmt::V2018_06_01::SecurityRules DefaultSecurityRules = Azure::Network::Mgmt::V2018_06_01::DefaultSecurityRules NetworkWatchers = Azure::Network::Mgmt::V2018_06_01::NetworkWatchers PacketCaptures = Azure::Network::Mgmt::V2018_06_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2018_06_01::ConnectionMonitors - Operations = Azure::Network::Mgmt::V2018_06_01::Operations - PublicIPAddresses = Azure::Network::Mgmt::V2018_06_01::PublicIPAddresses RouteFilters = Azure::Network::Mgmt::V2018_06_01::RouteFilters + Operations = Azure::Network::Mgmt::V2018_06_01::Operations RouteFilterRules = Azure::Network::Mgmt::V2018_06_01::RouteFilterRules + BgpServiceCommunities = Azure::Network::Mgmt::V2018_06_01::BgpServiceCommunities + VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkPeerings + VirtualWANs = Azure::Network::Mgmt::V2018_06_01::VirtualWANs + VpnSites = Azure::Network::Mgmt::V2018_06_01::VpnSites + VpnSitesConfiguration = Azure::Network::Mgmt::V2018_06_01::VpnSitesConfiguration + VirtualHubs = Azure::Network::Mgmt::V2018_06_01::VirtualHubs + ApplicationGateways = Azure::Network::Mgmt::V2018_06_01::ApplicationGateways + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_06_01::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2018_06_01::LoadBalancers + NetworkInterfaces = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaces + NetworkSecurityGroups = Azure::Network::Mgmt::V2018_06_01::NetworkSecurityGroups + SecurityRules = Azure::Network::Mgmt::V2018_06_01::SecurityRules + PublicIPAddresses = Azure::Network::Mgmt::V2018_06_01::PublicIPAddresses RouteTables = Azure::Network::Mgmt::V2018_06_01::RouteTables Routes = Azure::Network::Mgmt::V2018_06_01::Routes - BgpServiceCommunities = Azure::Network::Mgmt::V2018_06_01::BgpServiceCommunities Usages = Azure::Network::Mgmt::V2018_06_01::Usages VirtualNetworks = Azure::Network::Mgmt::V2018_06_01::VirtualNetworks Subnets = Azure::Network::Mgmt::V2018_06_01::Subnets - VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkPeerings VirtualNetworkGateways = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkGateways VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkGatewayConnections LocalNetworkGateways = Azure::Network::Mgmt::V2018_06_01::LocalNetworkGateways - VirtualWANs = Azure::Network::Mgmt::V2018_06_01::VirtualWANs - VpnSites = Azure::Network::Mgmt::V2018_06_01::VpnSites - VpnSitesConfiguration = Azure::Network::Mgmt::V2018_06_01::VpnSitesConfiguration - VirtualHubs = Azure::Network::Mgmt::V2018_06_01::VirtualHubs HubVirtualNetworkConnections = Azure::Network::Mgmt::V2018_06_01::HubVirtualNetworkConnections VpnGateways = Azure::Network::Mgmt::V2018_06_01::VpnGateways VpnConnections = Azure::Network::Mgmt::V2018_06_01::VpnConnections module Models - TopologyAssociation = Azure::Network::Mgmt::V2018_06_01::Models::TopologyAssociation - SubResource = Azure::Network::Mgmt::V2018_06_01::Models::SubResource - TopologyResource = Azure::Network::Mgmt::V2018_06_01::Models::TopologyResource - AzureFirewallRCAction = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCAction - Topology = Azure::Network::Mgmt::V2018_06_01::Models::Topology - AzureFirewallApplicationRule = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRule - VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowParameters - AzureFirewallNetworkRule = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRule - VerificationIPFlowResult = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult - UsageName = Azure::Network::Mgmt::V2018_06_01::Models::UsageName - AzureFirewallListResult = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallListResult - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunityListResult - BGPCommunity = Azure::Network::Mgmt::V2018_06_01::Models::BGPCommunity - ListHubVirtualNetworkConnectionsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListHubVirtualNetworkConnectionsResult - RouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult - NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings - RouteTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult - Policies = Azure::Network::Mgmt::V2018_06_01::Models::Policies - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRuleListResult - GetVpnSitesConfigurationRequest = Azure::Network::Mgmt::V2018_06_01::Models::GetVpnSitesConfigurationRequest - LoadBalancerListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult - PublicIPAddressSku = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSku - InboundNatRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRuleListResult - IpTag = Azure::Network::Mgmt::V2018_06_01::Models::IpTag - LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerBackendAddressPoolListResult - DeviceProperties = Azure::Network::Mgmt::V2018_06_01::Models::DeviceProperties - LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerFrontendIPConfigurationListResult - VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnDeviceScriptParameters - LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerLoadBalancingRuleListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress - LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerProbeListResult - ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayConnectionDraining - NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult - ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServer - ErrorDetails = Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails - ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthPool - Error = Azure::Network::Mgmt::V2018_06_01::Models::Error - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku - AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult - VpnClientIPsecParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientIPsecParameters - NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfigurationListResult - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult - NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceLoadBalancerListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::GatewayRouteListResult - EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupAssociation - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult - EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityRule - VpnClientParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters - EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroup - BgpPeerStatus = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatus - EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupListResult - ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallDisabledRuleGroup - EffectiveRoute = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRoute - ApplicationGatewayAutoscaleBounds = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleBounds - EffectiveRouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteListResult - VpnClientConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration - SecurityRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult - ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRule - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult - IpsecPolicy = Azure::Network::Mgmt::V2018_06_01::Models::IpsecPolicy - RouteFilterListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku - NetworkWatcherListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult - ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies - TopologyParameters = Azure::Network::Mgmt::V2018_06_01::Models::TopologyParameters - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroupListResult - TagsObject = Azure::Network::Mgmt::V2018_06_01::Models::TagsObject - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult - DdosProtectionPlanListResult = Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlanListResult - OperationListResult = Azure::Network::Mgmt::V2018_06_01::Models::OperationListResult - EndpointServicesListResult = Azure::Network::Mgmt::V2018_06_01::Models::EndpointServicesListResult - AzureFirewallApplicationRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocol - AuthorizationListResult = Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult - Operation = Azure::Network::Mgmt::V2018_06_01::Models::Operation - IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_06_01::Models::IPAddressAvailabilityResult - OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_06_01::Models::OperationPropertiesFormatServiceSpecification - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult - VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringListResult - NextHopParameters = Azure::Network::Mgmt::V2018_06_01::Models::NextHopParameters - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult - NextHopResult = Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties - SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable - NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable - SubnetAssociation = Azure::Network::Mgmt::V2018_06_01::Models::SubnetAssociation - ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTableSummary - SecurityRuleAssociations = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAssociations - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult - SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupNetworkInterface - AddressSpace = Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace - SecurityGroupViewResult = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult ExpressRouteCrossConnectionRoutesTableSummary = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionRoutesTableSummary PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureStorageLocation ExpressRouteCircuitReference = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitReference PacketCaptureFilter = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureFilter - Usage = Azure::Network::Mgmt::V2018_06_01::Models::Usage PacketCaptureParameters = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureParameters ExpressRouteCrossConnectionPeeringList = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeeringList PacketCapture = Azure::Network::Mgmt::V2018_06_01::Models::PacketCapture - Resource = Azure::Network::Mgmt::V2018_06_01::Models::Resource PacketCaptureResult = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureResult ListVpnConnectionsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVpnConnectionsResult PacketCaptureListResult = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureListResult ListVirtualHubsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualHubsResult PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureQueryStatusResult - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingParameters ListVirtualWANsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualWANsResult QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_06_01::Models::QueryTroubleshootingParameters @@ -180,7 +83,6 @@ module Models RetentionPolicyParameters = Azure::Network::Mgmt::V2018_06_01::Models::RetentionPolicyParameters ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbeHealthResponseMatch FlowLogStatusParameters = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogStatusParameters - BgpSettings = Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsConfigurationProperties ApplicationGatewayAutoscaleConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleConfiguration TrafficAnalyticsProperties = Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsProperties @@ -190,19 +92,12 @@ module Models ConnectivitySource = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivitySource VirtualNetworkUsage = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsage ConnectivityDestination = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityDestination - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig - HTTPHeader = Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader - DhcpOptions = Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions HTTPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::HTTPConfiguration - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku ProtocolConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ProtocolConfiguration - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityParameters ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityIssue - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult ConnectivityHop = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityHop - UsagesListResult = Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation LoadBalancerSku = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSku AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLocation @@ -210,21 +105,16 @@ module Models AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportParameters ListVpnSitesResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVpnSitesResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLatencyInfo - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportItem - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey AzureReachabilityReport = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport GatewayRoute = Azure::Network::Mgmt::V2018_06_01::Models::GatewayRoute AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListParameters - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult AvailableProvidersListCity = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCity + OperationListResult = Azure::Network::Mgmt::V2018_06_01::Models::OperationListResult DdosProtectionPlan = Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlan AvailableProvidersListState = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListState - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitStats AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCountry - SubnetListResult = Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectionMonitorSource = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSource ExpressRouteCrossConnectionListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionListResult ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorDestination @@ -233,175 +123,285 @@ module Models ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealth ConnectionMonitor = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitor ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration - ConnectionMonitorResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorResult + Operation = Azure::Network::Mgmt::V2018_06_01::Models::Operation VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsageName - ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorListResult - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableListResult + ConnectionMonitorResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorResult ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStateSnapshot - VpnSiteId = Azure::Network::Mgmt::V2018_06_01::Models::VpnSiteId + ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorQueryResult - BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatusListResult - OperationDisplay = Azure::Network::Mgmt::V2018_06_01::Models::OperationDisplay + VpnSiteId = Azure::Network::Mgmt::V2018_06_01::Models::VpnSiteId Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_06_01::Models::Ipv6ExpressRouteCircuitPeeringConfig - Availability = Azure::Network::Mgmt::V2018_06_01::Models::Availability + BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatusListResult VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListConnectionsResult - Dimension = Azure::Network::Mgmt::V2018_06_01::Models::Dimension + Availability = Azure::Network::Mgmt::V2018_06_01::Models::Availability ExpressRouteCrossConnectionsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionsRoutesTableSummaryListResult + Dimension = Azure::Network::Mgmt::V2018_06_01::Models::Dimension + OperationDisplay = Azure::Network::Mgmt::V2018_06_01::Models::OperationDisplay MetricSpecification = Azure::Network::Mgmt::V2018_06_01::Models::MetricSpecification ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableWafRuleSetsResult - LogSpecification = Azure::Network::Mgmt::V2018_06_01::Models::LogSpecification AzureFirewallIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallIPConfiguration AzureFirewallApplicationRuleCollection = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleCollection AzureFirewallNetworkRuleCollection = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleCollection - AzureFirewall = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewall - BackendAddressPool = Azure::Network::Mgmt::V2018_06_01::Models::BackendAddressPool - InboundNatRule = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRule + LogSpecification = Azure::Network::Mgmt::V2018_06_01::Models::LogSpecification ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroup - SecurityRule = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRule - NetworkInterface = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterface - NetworkSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroup - Route = Azure::Network::Mgmt::V2018_06_01::Models::Route - RouteTable = Azure::Network::Mgmt::V2018_06_01::Models::RouteTable - PublicIPAddress = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddress - IPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::IPConfiguration ResourceNavigationLink = Azure::Network::Mgmt::V2018_06_01::Models::ResourceNavigationLink - Subnet = Azure::Network::Mgmt::V2018_06_01::Models::Subnet - NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfiguration - ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddressPool - ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHttpSettings - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration - ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendPort - ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayHttpListener - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayPathRule - ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbe - ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRule + AzureFirewall = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewall ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectConfiguration - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayUrlPathMap - ApplicationGateway = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGateway ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions + ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPredefinedPolicy EndpointServiceResult = Azure::Network::Mgmt::V2018_06_01::Models::EndpointServiceResult - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitAuthorization - RouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions ExpressRouteCircuitConnection = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitConnection - ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeering RouteFilter = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilter - ExpressRouteCircuit = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuit - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProvider - ExpressRouteCrossConnectionPeering = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering + RouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule ExpressRouteCrossConnection = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection - FrontendIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::FrontendIPConfiguration - LoadBalancingRule = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancingRule - Probe = Azure::Network::Mgmt::V2018_06_01::Models::Probe - InboundNatPool = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatPool - OutboundNatRule = Azure::Network::Mgmt::V2018_06_01::Models::OutboundNatRule - LoadBalancer = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancer NetworkWatcher = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher - PatchRouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule + ExpressRouteCrossConnectionPeering = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering PatchRouteFilter = Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilter BgpServiceCommunity = Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunity - VirtualNetworkPeering = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering - VirtualNetwork = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetwork - VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayIPConfiguration - VpnClientRootCertificate = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRootCertificate - VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRevokedCertificate - VirtualNetworkGateway = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGateway - LocalNetworkGateway = Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGateway - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnection - ConnectionSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey + PatchRouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListEntity VirtualWAN = Azure::Network::Mgmt::V2018_06_01::Models::VirtualWAN - VpnSite = Azure::Network::Mgmt::V2018_06_01::Models::VpnSite + VirtualNetworkPeering = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering HubVirtualNetworkConnection = Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnection VirtualHub = Azure::Network::Mgmt::V2018_06_01::Models::VirtualHub - VpnConnection = Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection + VpnSite = Azure::Network::Mgmt::V2018_06_01::Models::VpnSite VpnGateway = Azure::Network::Mgmt::V2018_06_01::Models::VpnGateway - ProvisioningState = Azure::Network::Mgmt::V2018_06_01::Models::ProvisioningState AzureFirewallRCActionType = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCActionType - AzureFirewallApplicationRuleProtocolType = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType + VpnConnection = Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection AzureFirewallNetworkRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleProtocol - TransportProtocol = Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol - IPAllocationMethod = Azure::Network::Mgmt::V2018_06_01::Models::IPAllocationMethod - IPVersion = Azure::Network::Mgmt::V2018_06_01::Models::IPVersion - SecurityRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleProtocol - SecurityRuleAccess = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAccess - SecurityRuleDirection = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleDirection - RouteNextHopType = Azure::Network::Mgmt::V2018_06_01::Models::RouteNextHopType PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSkuName - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProtocol - ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayCookieBasedAffinity - ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName - ApplicationGatewayTier = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier + AzureFirewallApplicationRuleProtocolType = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslProtocol ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName + ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCipherSuite - ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRuleType ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectType - ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayOperationalState - ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode - AuthorizationUseStatus = Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationUseStatus - ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName Access = Azure::Network::Mgmt::V2018_06_01::Models::Access ExpressRoutePeeringType = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringType + ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode + HTTPHeader = Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader + LoadBalancerSkuName = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName ExpressRoutePeeringState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringState CircuitConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::CircuitConnectionStatus - ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringState - ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuTier - ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuFamily - ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_06_01::Models::ServiceProviderProvisioningState - LoadBalancerSkuName = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName - LoadDistribution = Azure::Network::Mgmt::V2018_06_01::Models::LoadDistribution - ProbeProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ProbeProtocol - NetworkOperationStatus = Azure::Network::Mgmt::V2018_06_01::Models::NetworkOperationStatus + EffectiveRouteState = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveSecurityRuleProtocol EffectiveRouteSource = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteSource - EffectiveRouteState = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState + IpFlowProtocol = Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol AssociationType = Azure::Network::Mgmt::V2018_06_01::Models::AssociationType Direction = Azure::Network::Mgmt::V2018_06_01::Models::Direction - IpFlowProtocol = Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol + PcStatus = Azure::Network::Mgmt::V2018_06_01::Models::PcStatus NextHopType = Azure::Network::Mgmt::V2018_06_01::Models::NextHopType PcProtocol = Azure::Network::Mgmt::V2018_06_01::Models::PcProtocol - PcStatus = Azure::Network::Mgmt::V2018_06_01::Models::PcStatus + IssueType = Azure::Network::Mgmt::V2018_06_01::Models::IssueType PcError = Azure::Network::Mgmt::V2018_06_01::Models::PcError - Protocol = Azure::Network::Mgmt::V2018_06_01::Models::Protocol HTTPMethod = Azure::Network::Mgmt::V2018_06_01::Models::HTTPMethod - Origin = Azure::Network::Mgmt::V2018_06_01::Models::Origin - Severity = Azure::Network::Mgmt::V2018_06_01::Models::Severity - IssueType = Azure::Network::Mgmt::V2018_06_01::Models::IssueType + ConnectionState = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState ConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStatus ConnectionMonitorSourceStatus = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSourceStatus - ConnectionState = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState + VpnClientProtocol = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol EvaluationState = Azure::Network::Mgmt::V2018_06_01::Models::EvaluationState VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringState - VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayType VpnType = Azure::Network::Mgmt::V2018_06_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuTier - VpnClientProtocol = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol - IpsecEncryption = Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption - IpsecIntegrity = Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity IkeEncryption = Azure::Network::Mgmt::V2018_06_01::Models::IkeEncryption IkeIntegrity = Azure::Network::Mgmt::V2018_06_01::Models::IkeIntegrity - DhGroup = Azure::Network::Mgmt::V2018_06_01::Models::DhGroup - PfsGroup = Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup + IpsecEncryption = Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption + IpsecIntegrity = Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity BgpPeerState = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerState - ProcessorArchitecture = Azure::Network::Mgmt::V2018_06_01::Models::ProcessorArchitecture AuthenticationMethod = Azure::Network::Mgmt::V2018_06_01::Models::AuthenticationMethod - VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionStatus - VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionType + DhGroup = Azure::Network::Mgmt::V2018_06_01::Models::DhGroup + PfsGroup = Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup + HubVirtualNetworkConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus VpnConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::VpnConnectionStatus TunnelConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionStatus - HubVirtualNetworkConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus + VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayType + ProcessorArchitecture = Azure::Network::Mgmt::V2018_06_01::Models::ProcessorArchitecture + VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionType + VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionStatus + Origin = Azure::Network::Mgmt::V2018_06_01::Models::Origin + Error = Azure::Network::Mgmt::V2018_06_01::Models::Error + Severity = Azure::Network::Mgmt::V2018_06_01::Models::Severity + Protocol = Azure::Network::Mgmt::V2018_06_01::Models::Protocol + UsageName = Azure::Network::Mgmt::V2018_06_01::Models::UsageName + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult + SubResource = Azure::Network::Mgmt::V2018_06_01::Models::SubResource + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult + Resource = Azure::Network::Mgmt::V2018_06_01::Models::Resource + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress + Usage = Azure::Network::Mgmt::V2018_06_01::Models::Usage + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult + NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult + AuthorizationListResult = Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult + BgpSettings = Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig + VpnClientConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitStats + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult + SecurityRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult + AddressSpace = Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult + UsagesListResult = Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult + NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable + Policies = Azure::Network::Mgmt::V2018_06_01::Models::Policies + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable + DhcpOptions = Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableListResult + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult + LoadBalancerListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku + AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult + RouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult + SubnetListResult = Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult + VpnClientParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters + ErrorDetails = Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendPort + BackendAddressPool = Azure::Network::Mgmt::V2018_06_01::Models::BackendAddressPool + InboundNatRule = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRule + SecurityRule = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRule + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey + NetworkInterface = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterface + NetworkSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroup + Route = Azure::Network::Mgmt::V2018_06_01::Models::Route + RouteTable = Azure::Network::Mgmt::V2018_06_01::Models::RouteTable + PublicIPAddress = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddress + IPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::IPConfiguration + TagsObject = Azure::Network::Mgmt::V2018_06_01::Models::TagsObject + NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfiguration + Subnet = Azure::Network::Mgmt::V2018_06_01::Models::Subnet + ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHttpSettings + ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddressPool + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayPathRule + ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayHttpListener + ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRule + ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbe + ApplicationGateway = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGateway + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayUrlPathMap + ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeering + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitAuthorization + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProvider + ExpressRouteCircuit = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuit + LoadBalancingRule = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancingRule + FrontendIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::FrontendIPConfiguration + InboundNatPool = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatPool + Probe = Azure::Network::Mgmt::V2018_06_01::Models::Probe + LoadBalancer = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancer + OutboundNatRule = Azure::Network::Mgmt::V2018_06_01::Models::OutboundNatRule + VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayIPConfiguration + VirtualNetwork = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetwork + VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRevokedCertificate + VpnClientRootCertificate = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRootCertificate + LocalNetworkGateway = Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGateway + VirtualNetworkGateway = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGateway + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnection + TransportProtocol = Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol + ProvisioningState = Azure::Network::Mgmt::V2018_06_01::Models::ProvisioningState + IPAllocationMethod = Azure::Network::Mgmt::V2018_06_01::Models::IPAllocationMethod + SecurityRuleAccess = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAccess + ConnectionSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey + RouteNextHopType = Azure::Network::Mgmt::V2018_06_01::Models::RouteNextHopType + SecurityRuleDirection = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleDirection + IPVersion = Azure::Network::Mgmt::V2018_06_01::Models::IPVersion + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProtocol + ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayCookieBasedAffinity + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRuleType + SecurityRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleProtocol + AuthorizationUseStatus = Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationUseStatus + ApplicationGatewayTier = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier + ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayOperationalState + ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringState + ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuFamily + ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_06_01::Models::ServiceProviderProvisioningState + ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuTier + ProbeProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ProbeProtocol + NetworkOperationStatus = Azure::Network::Mgmt::V2018_06_01::Models::NetworkOperationStatus + LoadDistribution = Azure::Network::Mgmt::V2018_06_01::Models::LoadDistribution + TopologyAssociation = Azure::Network::Mgmt::V2018_06_01::Models::TopologyAssociation + TopologyResource = Azure::Network::Mgmt::V2018_06_01::Models::TopologyResource + AzureFirewallRCAction = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCAction + Topology = Azure::Network::Mgmt::V2018_06_01::Models::Topology + AzureFirewallApplicationRule = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRule + VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowParameters + AzureFirewallNetworkRule = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRule + VerificationIPFlowResult = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult + AzureFirewallListResult = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallListResult + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunityListResult + BGPCommunity = Azure::Network::Mgmt::V2018_06_01::Models::BGPCommunity + ListHubVirtualNetworkConnectionsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListHubVirtualNetworkConnectionsResult + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRuleListResult + GetVpnSitesConfigurationRequest = Azure::Network::Mgmt::V2018_06_01::Models::GetVpnSitesConfigurationRequest + PublicIPAddressSku = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSku + InboundNatRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRuleListResult + IpTag = Azure::Network::Mgmt::V2018_06_01::Models::IpTag + LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerBackendAddressPoolListResult + DeviceProperties = Azure::Network::Mgmt::V2018_06_01::Models::DeviceProperties + LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerFrontendIPConfigurationListResult + VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnDeviceScriptParameters + LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerLoadBalancingRuleListResult + LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerProbeListResult + ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayConnectionDraining + ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServer + ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthPool + VpnClientIPsecParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientIPsecParameters + NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfigurationListResult + NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceLoadBalancerListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::GatewayRouteListResult + EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupAssociation + EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityRule + EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroup + BgpPeerStatus = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatus + EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupListResult + ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + EffectiveRoute = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRoute + ApplicationGatewayAutoscaleBounds = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleBounds + EffectiveRouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteListResult + ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRule + IpsecPolicy = Azure::Network::Mgmt::V2018_06_01::Models::IpsecPolicy + RouteFilterListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterListResult + NetworkWatcherListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult + ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + TopologyParameters = Azure::Network::Mgmt::V2018_06_01::Models::TopologyParameters + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroupListResult + DdosProtectionPlanListResult = Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlanListResult + EndpointServicesListResult = Azure::Network::Mgmt::V2018_06_01::Models::EndpointServicesListResult + AzureFirewallApplicationRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocol + IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_06_01::Models::IPAddressAvailabilityResult + OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_06_01::Models::OperationPropertiesFormatServiceSpecification + VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringListResult + NextHopParameters = Azure::Network::Mgmt::V2018_06_01::Models::NextHopParameters + NextHopResult = Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult + SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewParameters + NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceAssociation + SubnetAssociation = Azure::Network::Mgmt::V2018_06_01::Models::SubnetAssociation + ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTableSummary + SecurityRuleAssociations = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAssociations + SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupNetworkInterface + SecurityGroupViewResult = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult end class NetworkManagementClass - attr_reader :azure_firewalls, :application_gateways, :application_security_groups, :ddos_protection_plans, :available_endpoint_services, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuit_connections, :express_route_circuits, :express_route_service_providers, :express_route_cross_connections, :express_route_cross_connection_peerings, :load_balancers, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interfaces, :network_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :operations, :public_ipaddresses, :route_filters, :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :usages, :virtual_networks, :subnets, :virtual_network_peerings, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :virtual_wans, :vpn_sites, :vpn_sites_configuration, :virtual_hubs, :hub_virtual_network_connections, :vpn_gateways, :vpn_connections, :configurable, :base_url, :options, :model_classes + attr_reader :azure_firewalls, :application_security_groups, :ddos_protection_plans, :available_endpoint_services, :express_route_circuit_connections, :express_route_cross_connections, :express_route_cross_connection_peerings, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interface_ipconfigurations, :network_interface_load_balancers, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :route_filters, :operations, :route_filter_rules, :bgp_service_communities, :virtual_network_peerings, :virtual_wans, :vpn_sites, :vpn_sites_configuration, :virtual_hubs, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :hub_virtual_network_connections, :vpn_gateways, :vpn_connections, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -412,51 +412,51 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @azure_firewalls = @client_0.azure_firewalls - @application_gateways = @client_0.application_gateways @application_security_groups = @client_0.application_security_groups @ddos_protection_plans = @client_0.ddos_protection_plans @available_endpoint_services = @client_0.available_endpoint_services - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings @express_route_circuit_connections = @client_0.express_route_circuit_connections - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers @express_route_cross_connections = @client_0.express_route_cross_connections @express_route_cross_connection_peerings = @client_0.express_route_cross_connection_peerings - @load_balancers = @client_0.load_balancers @load_balancer_backend_address_pools = @client_0.load_balancer_backend_address_pools @load_balancer_frontend_ipconfigurations = @client_0.load_balancer_frontend_ipconfigurations @inbound_nat_rules = @client_0.inbound_nat_rules @load_balancer_load_balancing_rules = @client_0.load_balancer_load_balancing_rules @load_balancer_network_interfaces = @client_0.load_balancer_network_interfaces @load_balancer_probes = @client_0.load_balancer_probes - @network_interfaces = @client_0.network_interfaces @network_interface_ipconfigurations = @client_0.network_interface_ipconfigurations @network_interface_load_balancers = @client_0.network_interface_load_balancers - @network_security_groups = @client_0.network_security_groups - @security_rules = @client_0.security_rules @default_security_rules = @client_0.default_security_rules @network_watchers = @client_0.network_watchers @packet_captures = @client_0.packet_captures @connection_monitors = @client_0.connection_monitors - @operations = @client_0.operations - @public_ipaddresses = @client_0.public_ipaddresses @route_filters = @client_0.route_filters + @operations = @client_0.operations @route_filter_rules = @client_0.route_filter_rules + @bgp_service_communities = @client_0.bgp_service_communities + @virtual_network_peerings = @client_0.virtual_network_peerings + @virtual_wans = @client_0.virtual_wans + @vpn_sites = @client_0.vpn_sites + @vpn_sites_configuration = @client_0.vpn_sites_configuration + @virtual_hubs = @client_0.virtual_hubs + @application_gateways = @client_0.application_gateways + @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_0.express_route_circuit_peerings + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers + @network_interfaces = @client_0.network_interfaces + @network_security_groups = @client_0.network_security_groups + @security_rules = @client_0.security_rules + @public_ipaddresses = @client_0.public_ipaddresses @route_tables = @client_0.route_tables @routes = @client_0.routes - @bgp_service_communities = @client_0.bgp_service_communities @usages = @client_0.usages @virtual_networks = @client_0.virtual_networks @subnets = @client_0.subnets - @virtual_network_peerings = @client_0.virtual_network_peerings @virtual_network_gateways = @client_0.virtual_network_gateways @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections @local_network_gateways = @client_0.local_network_gateways - @virtual_wans = @client_0.virtual_wans - @vpn_sites = @client_0.vpn_sites - @vpn_sites_configuration = @client_0.vpn_sites_configuration - @virtual_hubs = @client_0.virtual_hubs @hub_virtual_network_connections = @client_0.hub_virtual_network_connections @vpn_gateways = @client_0.vpn_gateways @vpn_connections = @client_0.vpn_connections @@ -478,593 +478,656 @@ def method_missing(method, *args) end class ModelClasses - def topology_association - Azure::Network::Mgmt::V2018_06_01::Models::TopologyAssociation + def express_route_cross_connection_routes_table_summary + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionRoutesTableSummary end - def sub_resource - Azure::Network::Mgmt::V2018_06_01::Models::SubResource + def packet_capture_storage_location + Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureStorageLocation end - def topology_resource - Azure::Network::Mgmt::V2018_06_01::Models::TopologyResource + def express_route_circuit_reference + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitReference end - def azure_firewall_rcaction - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCAction + def packet_capture_filter + Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureFilter end - def topology - Azure::Network::Mgmt::V2018_06_01::Models::Topology + def packet_capture_parameters + Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureParameters end - def azure_firewall_application_rule - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRule + def express_route_cross_connection_peering_list + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeeringList end - def verification_ipflow_parameters - Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowParameters + def packet_capture + Azure::Network::Mgmt::V2018_06_01::Models::PacketCapture end - def azure_firewall_network_rule - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRule + def packet_capture_result + Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureResult end - def verification_ipflow_result - Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult + def list_vpn_connections_result + Azure::Network::Mgmt::V2018_06_01::Models::ListVpnConnectionsResult end - def usage_name - Azure::Network::Mgmt::V2018_06_01::Models::UsageName + def packet_capture_list_result + Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureListResult end - def azure_firewall_list_result - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallListResult + def list_virtual_hubs_result + Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualHubsResult end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunityListResult + def packet_capture_query_status_result + Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureQueryStatusResult end - def bgpcommunity - Azure::Network::Mgmt::V2018_06_01::Models::BGPCommunity + def troubleshooting_parameters + Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingParameters end - def list_hub_virtual_network_connections_result - Azure::Network::Mgmt::V2018_06_01::Models::ListHubVirtualNetworkConnectionsResult + def list_virtual_wans_result + Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualWANsResult end - def route_list_result - Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult + def query_troubleshooting_parameters + Azure::Network::Mgmt::V2018_06_01::Models::QueryTroubleshootingParameters end - def network_interface_dns_settings - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings + def virtual_network_connection_gateway_reference + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkConnectionGatewayReference end - def route_table_list_result - Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult + def troubleshooting_recommended_actions + Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingRecommendedActions end - def policies - Azure::Network::Mgmt::V2018_06_01::Models::Policies + def application_gateway_backend_health_http_settings + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthHttpSettings end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRuleListResult + def troubleshooting_details + Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingDetails end - def get_vpn_sites_configuration_request - Azure::Network::Mgmt::V2018_06_01::Models::GetVpnSitesConfigurationRequest + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicy end - def load_balancer_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult + def troubleshooting_result + Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult end - def public_ipaddress_sku - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSku + def tunnel_connection_health + Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionHealth end - def inbound_nat_rule_list_result - Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRuleListResult + def retention_policy_parameters + Azure::Network::Mgmt::V2018_06_01::Models::RetentionPolicyParameters end - def ip_tag - Azure::Network::Mgmt::V2018_06_01::Models::IpTag + def application_gateway_probe_health_response_match + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbeHealthResponseMatch end - def load_balancer_backend_address_pool_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerBackendAddressPoolListResult + def flow_log_status_parameters + Azure::Network::Mgmt::V2018_06_01::Models::FlowLogStatusParameters end - def device_properties - Azure::Network::Mgmt::V2018_06_01::Models::DeviceProperties + def traffic_analytics_configuration_properties + Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsConfigurationProperties end - def load_balancer_frontend_ipconfiguration_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerFrontendIPConfigurationListResult + def application_gateway_autoscale_configuration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleConfiguration end - def vpn_device_script_parameters - Azure::Network::Mgmt::V2018_06_01::Models::VpnDeviceScriptParameters + def traffic_analytics_properties + Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsProperties end - def load_balancer_load_balancing_rule_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerLoadBalancingRuleListResult + def application_gateway_firewall_rule_group + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleGroup end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress + def flow_log_information + Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation end - def load_balancer_probe_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerProbeListResult + def virtual_network_list_usage_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListUsageResult end - def application_gateway_connection_draining - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayConnectionDraining + def connectivity_source + Azure::Network::Mgmt::V2018_06_01::Models::ConnectivitySource end - def network_interface_list_result - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult + def virtual_network_usage + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsage end - def application_gateway_backend_health_server - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServer + def connectivity_destination + Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityDestination end - def error_details - Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails + def httpconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::HTTPConfiguration end - def application_gateway_backend_health_pool - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthPool + def protocol_configuration + Azure::Network::Mgmt::V2018_06_01::Models::ProtocolConfiguration end - def error - Azure::Network::Mgmt::V2018_06_01::Models::Error + def connectivity_parameters + Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityParameters end - def application_gateway_sku - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku + def express_route_circuits_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end - def azure_async_operation_result - Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult + def connectivity_issue + Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityIssue end - def vpn_client_ipsec_parameters - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientIPsecParameters + def connectivity_hop + Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityHop end - def network_interface_ipconfiguration_list_result - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfigurationListResult + def connectivity_information + Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult + def load_balancer_sku + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSku end - def network_interface_load_balancer_list_result - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceLoadBalancerListResult + def azure_reachability_report_location + Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLocation end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_06_01::Models::GatewayRouteListResult + def list_vpn_gateways_result + Azure::Network::Mgmt::V2018_06_01::Models::ListVpnGatewaysResult end - def effective_network_security_group_association - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupAssociation + def azure_reachability_report_parameters + Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportParameters end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult + def list_vpn_sites_result + Azure::Network::Mgmt::V2018_06_01::Models::ListVpnSitesResult end - def effective_network_security_rule - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityRule + def azure_reachability_report_latency_info + Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLatencyInfo end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters + def azure_reachability_report_item + Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportItem end - def effective_network_security_group - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroup + def azure_reachability_report + Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport end - def bgp_peer_status - Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatus + def gateway_route + Azure::Network::Mgmt::V2018_06_01::Models::GatewayRoute end - def effective_network_security_group_list_result - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupListResult + def available_providers_list_parameters + Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListParameters end - def application_gateway_firewall_disabled_rule_group - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + def available_providers_list_city + Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCity end - def effective_route - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRoute + def operation_list_result + Azure::Network::Mgmt::V2018_06_01::Models::OperationListResult end - def application_gateway_autoscale_bounds - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleBounds + def ddos_protection_plan + Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlan + end + def available_providers_list_state + Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListState + end + def available_providers_list_country + Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCountry + end + def available_providers_list + Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList + end + def connection_monitor_source + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSource + end + def express_route_cross_connection_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionListResult + end + def connection_monitor_destination + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorDestination + end + def service_endpoint_properties_format + Azure::Network::Mgmt::V2018_06_01::Models::ServiceEndpointPropertiesFormat + end + def connection_monitor_parameters + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorParameters + end + def application_gateway_backend_health + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealth + end + def connection_monitor + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitor + end + def application_gateway_web_application_firewall_configuration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration + end + def operation + Azure::Network::Mgmt::V2018_06_01::Models::Operation + end + def virtual_network_usage_name + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsageName + end + def connection_monitor_result + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorResult + end + def connection_state_snapshot + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStateSnapshot + end + def connection_monitor_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorListResult + end + def connection_monitor_query_result + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorQueryResult + end + def vpn_site_id + Azure::Network::Mgmt::V2018_06_01::Models::VpnSiteId + end + def ipv6_express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_06_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + end + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatusListResult + end + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListConnectionsResult + end + def availability + Azure::Network::Mgmt::V2018_06_01::Models::Availability end - def effective_route_list_result - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteListResult + def express_route_cross_connections_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionsRoutesTableSummaryListResult end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration + def dimension + Azure::Network::Mgmt::V2018_06_01::Models::Dimension end - def security_rule_list_result - Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult + def operation_display + Azure::Network::Mgmt::V2018_06_01::Models::OperationDisplay end - def application_gateway_firewall_rule - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRule + def metric_specification + Azure::Network::Mgmt::V2018_06_01::Models::MetricSpecification end - def network_security_group_list_result - Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableWafRuleSetsResult end - def ipsec_policy - Azure::Network::Mgmt::V2018_06_01::Models::IpsecPolicy + def azure_firewall_ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallIPConfiguration end - def route_filter_list_result - Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterListResult + def azure_firewall_application_rule_collection + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleCollection end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku + def azure_firewall_network_rule_collection + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleCollection end - def network_watcher_list_result - Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult + def log_specification + Azure::Network::Mgmt::V2018_06_01::Models::LogSpecification end - def application_gateway_available_ssl_predefined_policies - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + def application_security_group + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroup end - def topology_parameters - Azure::Network::Mgmt::V2018_06_01::Models::TopologyParameters + def resource_navigation_link + Azure::Network::Mgmt::V2018_06_01::Models::ResourceNavigationLink end - def application_security_group_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroupListResult + def azure_firewall + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewall end - def tags_object - Azure::Network::Mgmt::V2018_06_01::Models::TagsObject + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectConfiguration end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleSet end - def ddos_protection_plan_list_result - Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlanListResult + def application_gateway_authentication_certificate + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate end - def operation_list_result - Azure::Network::Mgmt::V2018_06_01::Models::OperationListResult + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPredefinedPolicy end - def endpoint_services_list_result - Azure::Network::Mgmt::V2018_06_01::Models::EndpointServicesListResult + def endpoint_service_result + Azure::Network::Mgmt::V2018_06_01::Models::EndpointServiceResult end - def azure_firewall_application_rule_protocol - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocol + def application_gateway_available_ssl_options + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions end - def authorization_list_result - Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult + def express_route_circuit_connection + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitConnection end - def operation - Azure::Network::Mgmt::V2018_06_01::Models::Operation + def route_filter + Azure::Network::Mgmt::V2018_06_01::Models::RouteFilter end - def ipaddress_availability_result - Azure::Network::Mgmt::V2018_06_01::Models::IPAddressAvailabilityResult + def route_filter_rule + Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule end - def operation_properties_format_service_specification - Azure::Network::Mgmt::V2018_06_01::Models::OperationPropertiesFormatServiceSpecification + def express_route_cross_connection + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult + def network_watcher + Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult + def express_route_cross_connection_peering + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering end - def virtual_network_peering_list_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringListResult + def patch_route_filter + Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilter end - def next_hop_parameters - Azure::Network::Mgmt::V2018_06_01::Models::NextHopParameters + def bgp_service_community + Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunity end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult + def patch_route_filter_rule + Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule end - def next_hop_result - Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult + def virtual_network_gateway_connection_list_entity + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListEntity end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties + def virtual_wan + Azure::Network::Mgmt::V2018_06_01::Models::VirtualWAN end - def security_group_view_parameters - Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewParameters + def virtual_network_peering + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable + def hub_virtual_network_connection + Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnection end - def network_interface_association - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceAssociation + def virtual_hub + Azure::Network::Mgmt::V2018_06_01::Models::VirtualHub end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable + def vpn_site + Azure::Network::Mgmt::V2018_06_01::Models::VpnSite end - def subnet_association - Azure::Network::Mgmt::V2018_06_01::Models::SubnetAssociation + def vpn_gateway + Azure::Network::Mgmt::V2018_06_01::Models::VpnGateway end - def express_route_circuit_routes_table_summary - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTableSummary + def azure_firewall_rcaction_type + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCActionType end - def security_rule_associations - Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAssociations + def vpn_connection + Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult + def azure_firewall_network_rule_protocol + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleProtocol end - def security_group_network_interface - Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupNetworkInterface + def public_ipaddress_sku_name + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSkuName end - def address_space - Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace + def azure_firewall_application_rule_protocol_type + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType end - def security_group_view_result - Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult + def application_gateway_ssl_protocol + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslProtocol end - def express_route_cross_connection_routes_table_summary - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionRoutesTableSummary + def application_gateway_ssl_policy_type + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyType end - def packet_capture_storage_location - Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureStorageLocation + def application_gateway_backend_health_server_health + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth end - def express_route_circuit_reference - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitReference + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCipherSuite end - def packet_capture_filter - Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureFilter + def application_gateway_redirect_type + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectType end - def usage - Azure::Network::Mgmt::V2018_06_01::Models::Usage + def application_gateway_ssl_policy_name + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName end - def packet_capture_parameters - Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureParameters + def access + Azure::Network::Mgmt::V2018_06_01::Models::Access end - def express_route_cross_connection_peering_list - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeeringList + def express_route_peering_type + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringType end - def packet_capture - Azure::Network::Mgmt::V2018_06_01::Models::PacketCapture + def application_gateway_firewall_mode + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode end - def resource - Azure::Network::Mgmt::V2018_06_01::Models::Resource + def httpheader + Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader end - def packet_capture_result - Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureResult + def load_balancer_sku_name + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName end - def list_vpn_connections_result - Azure::Network::Mgmt::V2018_06_01::Models::ListVpnConnectionsResult + def express_route_peering_state + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringState end - def packet_capture_list_result - Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureListResult + def circuit_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::CircuitConnectionStatus end - def list_virtual_hubs_result - Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualHubsResult + def effective_route_state + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState end - def packet_capture_query_status_result - Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureQueryStatusResult + def effective_security_rule_protocol + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveSecurityRuleProtocol end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings + def effective_route_source + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteSource end - def troubleshooting_parameters - Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingParameters + def ip_flow_protocol + Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol end - def list_virtual_wans_result - Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualWANsResult + def association_type + Azure::Network::Mgmt::V2018_06_01::Models::AssociationType end - def query_troubleshooting_parameters - Azure::Network::Mgmt::V2018_06_01::Models::QueryTroubleshootingParameters + def direction + Azure::Network::Mgmt::V2018_06_01::Models::Direction end - def virtual_network_connection_gateway_reference - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkConnectionGatewayReference + def pc_status + Azure::Network::Mgmt::V2018_06_01::Models::PcStatus end - def troubleshooting_recommended_actions - Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingRecommendedActions + def next_hop_type + Azure::Network::Mgmt::V2018_06_01::Models::NextHopType end - def application_gateway_backend_health_http_settings - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthHttpSettings + def pc_protocol + Azure::Network::Mgmt::V2018_06_01::Models::PcProtocol end - def troubleshooting_details - Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingDetails + def issue_type + Azure::Network::Mgmt::V2018_06_01::Models::IssueType end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicy + def pc_error + Azure::Network::Mgmt::V2018_06_01::Models::PcError end - def troubleshooting_result - Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingResult + def httpmethod + Azure::Network::Mgmt::V2018_06_01::Models::HTTPMethod end - def tunnel_connection_health - Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionHealth + def connection_state + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState end - def retention_policy_parameters - Azure::Network::Mgmt::V2018_06_01::Models::RetentionPolicyParameters + def connection_status + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStatus end - def application_gateway_probe_health_response_match - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbeHealthResponseMatch + def connection_monitor_source_status + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSourceStatus end - def flow_log_status_parameters - Azure::Network::Mgmt::V2018_06_01::Models::FlowLogStatusParameters + def vpn_client_protocol + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol end - def bgp_settings - Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings + def evaluation_state + Azure::Network::Mgmt::V2018_06_01::Models::EvaluationState end - def traffic_analytics_configuration_properties - Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsConfigurationProperties + def virtual_network_peering_state + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringState end - def application_gateway_autoscale_configuration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleConfiguration + def vpn_type + Azure::Network::Mgmt::V2018_06_01::Models::VpnType end - def traffic_analytics_properties - Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsProperties + def virtual_network_gateway_sku_name + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuName end - def application_gateway_firewall_rule_group - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleGroup + def virtual_network_gateway_sku_tier + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuTier end - def flow_log_information - Azure::Network::Mgmt::V2018_06_01::Models::FlowLogInformation + def ike_encryption + Azure::Network::Mgmt::V2018_06_01::Models::IkeEncryption end - def virtual_network_list_usage_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListUsageResult + def ike_integrity + Azure::Network::Mgmt::V2018_06_01::Models::IkeIntegrity end - def connectivity_source - Azure::Network::Mgmt::V2018_06_01::Models::ConnectivitySource + def ipsec_encryption + Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption end - def virtual_network_usage - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsage + def ipsec_integrity + Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity end - def connectivity_destination - Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityDestination + def bgp_peer_state + Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerState end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig + def authentication_method + Azure::Network::Mgmt::V2018_06_01::Models::AuthenticationMethod end - def httpheader - Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader + def dh_group + Azure::Network::Mgmt::V2018_06_01::Models::DhGroup end - def dhcp_options - Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions + def pfs_group + Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup end - def httpconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::HTTPConfiguration + def hub_virtual_network_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus end - def express_route_circuit_sku - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku + def vpn_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::VpnConnectionStatus end - def protocol_configuration - Azure::Network::Mgmt::V2018_06_01::Models::ProtocolConfiguration + def tunnel_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionStatus end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult + def virtual_network_gateway_type + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayType end - def connectivity_parameters - Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityParameters + def processor_architecture + Azure::Network::Mgmt::V2018_06_01::Models::ProcessorArchitecture end - def express_route_circuits_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + def virtual_network_gateway_connection_type + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionType end - def connectivity_issue - Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityIssue + def virtual_network_gateway_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionStatus end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult + def origin + Azure::Network::Mgmt::V2018_06_01::Models::Origin end - def connectivity_hop - Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityHop + def error + Azure::Network::Mgmt::V2018_06_01::Models::Error end - def usages_list_result - Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult + def severity + Azure::Network::Mgmt::V2018_06_01::Models::Severity end - def connectivity_information - Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation + def protocol + Azure::Network::Mgmt::V2018_06_01::Models::Protocol end - def load_balancer_sku - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSku + def usage_name + Azure::Network::Mgmt::V2018_06_01::Models::UsageName end - def azure_reachability_report_location - Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLocation + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult end - def list_vpn_gateways_result - Azure::Network::Mgmt::V2018_06_01::Models::ListVpnGatewaysResult + def sub_resource + Azure::Network::Mgmt::V2018_06_01::Models::SubResource end - def azure_reachability_report_parameters - Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportParameters + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered end - def list_vpn_sites_result - Azure::Network::Mgmt::V2018_06_01::Models::ListVpnSitesResult + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult end - def azure_reachability_report_latency_info - Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLatencyInfo + def resource + Azure::Network::Mgmt::V2018_06_01::Models::Resource end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress end - def azure_reachability_report_item - Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportItem + def usage + Azure::Network::Mgmt::V2018_06_01::Models::Usage end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey + def dns_name_availability_result + Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult end - def azure_reachability_report - Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport + def network_interface_dns_settings + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings end - def gateway_route - Azure::Network::Mgmt::V2018_06_01::Models::GatewayRoute + def network_security_group_list_result + Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult end - def available_providers_list_parameters - Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListParameters + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult + def authorization_list_result + Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult end - def available_providers_list_city - Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCity + def bgp_settings + Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings end - def ddos_protection_plan - Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlan + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig end - def available_providers_list_state - Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListState + def vpn_client_configuration + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration end def express_route_circuit_stats Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitStats end - def available_providers_list_country - Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCountry + def virtual_network_list_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult end - def subnet_list_result - Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult + def security_rule_list_result + Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult end - def available_providers_list - Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList + def address_space + Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult end - def connection_monitor_source - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSource + def usages_list_result + Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult end - def express_route_cross_connection_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionListResult + def express_route_circuit_sku + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku end - def connection_monitor_destination - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorDestination + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties end - def service_endpoint_properties_format - Azure::Network::Mgmt::V2018_06_01::Models::ServiceEndpointPropertiesFormat + def route_table_list_result + Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult end - def connection_monitor_parameters - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorParameters + def network_interface_list_result + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult end - def application_gateway_backend_health - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealth + def application_gateway_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult end - def connection_monitor - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitor + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable end - def application_gateway_web_application_firewall_configuration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration + def policies + Azure::Network::Mgmt::V2018_06_01::Models::Policies end - def connection_monitor_result - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorResult + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult end - def virtual_network_usage_name - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsageName + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings end - def connection_monitor_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorListResult + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable + end + def dhcp_options + Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions end def express_route_circuits_routes_table_list_result Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableListResult end - def connection_state_snapshot - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStateSnapshot - end - def vpn_site_id - Azure::Network::Mgmt::V2018_06_01::Models::VpnSiteId - end - def connection_monitor_query_result - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorQueryResult + def application_gateway_sku + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatusListResult + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult end - def operation_display - Azure::Network::Mgmt::V2018_06_01::Models::OperationDisplay + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult end - def ipv6_express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_06_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + def load_balancer_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult end - def availability - Azure::Network::Mgmt::V2018_06_01::Models::Availability + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListConnectionsResult + def azure_async_operation_result + Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult end - def dimension - Azure::Network::Mgmt::V2018_06_01::Models::Dimension + def route_list_result + Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult end - def express_route_cross_connections_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionsRoutesTableSummaryListResult + def subnet_list_result + Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult end - def metric_specification - Azure::Network::Mgmt::V2018_06_01::Models::MetricSpecification + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult end - def application_gateway_available_waf_rule_sets_result - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + def vpn_client_parameters + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters end - def log_specification - Azure::Network::Mgmt::V2018_06_01::Models::LogSpecification + def error_details + Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails end - def azure_firewall_ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallIPConfiguration + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration end - def azure_firewall_application_rule_collection - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleCollection + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate end - def azure_firewall_network_rule_collection - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleCollection + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration end - def azure_firewall - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewall + def application_gateway_frontend_port + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendPort end def backend_address_pool Azure::Network::Mgmt::V2018_06_01::Models::BackendAddressPool @@ -1072,12 +1135,12 @@ def backend_address_pool def inbound_nat_rule Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRule end - def application_security_group - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroup - end def security_rule Azure::Network::Mgmt::V2018_06_01::Models::SecurityRule end + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey + end def network_interface Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterface end @@ -1096,209 +1159,116 @@ def public_ipaddress def ipconfiguration Azure::Network::Mgmt::V2018_06_01::Models::IPConfiguration end - def resource_navigation_link - Azure::Network::Mgmt::V2018_06_01::Models::ResourceNavigationLink - end - def subnet - Azure::Network::Mgmt::V2018_06_01::Models::Subnet + def tags_object + Azure::Network::Mgmt::V2018_06_01::Models::TagsObject end def network_interface_ipconfiguration Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfiguration end - def application_gateway_backend_address_pool - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddressPool + def subnet + Azure::Network::Mgmt::V2018_06_01::Models::Subnet end def application_gateway_backend_http_settings Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHttpSettings end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_authentication_certificate - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration - end - def application_gateway_frontend_port - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendPort - end - def application_gateway_http_listener - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayHttpListener + def application_gateway_backend_address_pool + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddressPool end def application_gateway_path_rule Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayPathRule end - def application_gateway_probe - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbe + def application_gateway_http_listener + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayHttpListener end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectConfiguration - end - def application_gateway_url_path_map - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayUrlPathMap + def application_gateway_probe + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbe end def application_gateway Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGateway end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleSet - end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions - end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPredefinedPolicy - end - def endpoint_service_result - Azure::Network::Mgmt::V2018_06_01::Models::EndpointServiceResult - end - def express_route_circuit_authorization - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitAuthorization - end - def route_filter_rule - Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule - end - def express_route_circuit_connection - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitConnection + def application_gateway_url_path_map + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayUrlPathMap end def express_route_circuit_peering Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeering end - def route_filter - Azure::Network::Mgmt::V2018_06_01::Models::RouteFilter - end - def express_route_circuit - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuit + def express_route_circuit_authorization + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitAuthorization end def express_route_service_provider Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProvider end - def express_route_cross_connection_peering - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering - end - def express_route_cross_connection - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection - end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::FrontendIPConfiguration + def express_route_circuit + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuit end def load_balancing_rule Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2018_06_01::Models::Probe + def frontend_ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::FrontendIPConfiguration end def inbound_nat_pool Azure::Network::Mgmt::V2018_06_01::Models::InboundNatPool end - def outbound_nat_rule - Azure::Network::Mgmt::V2018_06_01::Models::OutboundNatRule + def probe + Azure::Network::Mgmt::V2018_06_01::Models::Probe end def load_balancer Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancer end - def network_watcher - Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher - end - def patch_route_filter_rule - Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule - end - def patch_route_filter - Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilter - end - def bgp_service_community - Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunity + def outbound_nat_rule + Azure::Network::Mgmt::V2018_06_01::Models::OutboundNatRule end - def virtual_network_peering - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayIPConfiguration end def virtual_network Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetwork end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayIPConfiguration + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRevokedCertificate end def vpn_client_root_certificate Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRootCertificate end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRevokedCertificate + def local_network_gateway + Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGateway end def virtual_network_gateway Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGateway end - def local_network_gateway - Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGateway + def application_gateway_sku_name + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName end def virtual_network_gateway_connection Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnection end - def connection_shared_key - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey - end - def virtual_network_gateway_connection_list_entity - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListEntity - end - def virtual_wan - Azure::Network::Mgmt::V2018_06_01::Models::VirtualWAN - end - def vpn_site - Azure::Network::Mgmt::V2018_06_01::Models::VpnSite - end - def hub_virtual_network_connection - Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnection - end - def virtual_hub - Azure::Network::Mgmt::V2018_06_01::Models::VirtualHub - end - def vpn_connection - Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection - end - def vpn_gateway - Azure::Network::Mgmt::V2018_06_01::Models::VpnGateway + def transport_protocol + Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol end def provisioning_state Azure::Network::Mgmt::V2018_06_01::Models::ProvisioningState end - def azure_firewall_rcaction_type - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCActionType - end - def azure_firewall_application_rule_protocol_type - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType - end - def azure_firewall_network_rule_protocol - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleProtocol - end - def transport_protocol - Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol - end def ipallocation_method Azure::Network::Mgmt::V2018_06_01::Models::IPAllocationMethod end - def ipversion - Azure::Network::Mgmt::V2018_06_01::Models::IPVersion - end - def security_rule_protocol - Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleProtocol - end def security_rule_access Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAccess end - def security_rule_direction - Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleDirection + def connection_shared_key + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey end def route_next_hop_type Azure::Network::Mgmt::V2018_06_01::Models::RouteNextHopType end - def public_ipaddress_sku_name - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSkuName + def security_rule_direction + Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleDirection + end + def ipversion + Azure::Network::Mgmt::V2018_06_01::Models::IPVersion end def application_gateway_protocol Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProtocol @@ -1306,197 +1276,227 @@ def application_gateway_protocol def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_backend_health_server_health - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth + def application_gateway_request_routing_rule_type + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRuleType + end + def security_rule_protocol + Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleProtocol + end + def authorization_use_status + Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationUseStatus + end + def application_gateway_tier + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier + end + def application_gateway_operational_state + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayOperationalState + end + def express_route_circuit_peering_state + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringState + end + def express_route_circuit_peering_advertised_public_prefix_state + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + end + def express_route_circuit_sku_family + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuFamily + end + def service_provider_provisioning_state + Azure::Network::Mgmt::V2018_06_01::Models::ServiceProviderProvisioningState + end + def express_route_circuit_sku_tier + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuTier + end + def probe_protocol + Azure::Network::Mgmt::V2018_06_01::Models::ProbeProtocol end - def application_gateway_sku_name - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName + def network_operation_status + Azure::Network::Mgmt::V2018_06_01::Models::NetworkOperationStatus end - def application_gateway_tier - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier + def load_distribution + Azure::Network::Mgmt::V2018_06_01::Models::LoadDistribution end - def application_gateway_ssl_protocol - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslProtocol + def topology_association + Azure::Network::Mgmt::V2018_06_01::Models::TopologyAssociation end - def application_gateway_ssl_policy_type - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyType + def topology_resource + Azure::Network::Mgmt::V2018_06_01::Models::TopologyResource end - def application_gateway_ssl_policy_name - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName + def azure_firewall_rcaction + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCAction end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCipherSuite + def topology + Azure::Network::Mgmt::V2018_06_01::Models::Topology end - def application_gateway_request_routing_rule_type - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRuleType + def azure_firewall_application_rule + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRule end - def application_gateway_redirect_type - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectType + def verification_ipflow_parameters + Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowParameters end - def application_gateway_operational_state - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayOperationalState + def azure_firewall_network_rule + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRule end - def application_gateway_firewall_mode - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode + def verification_ipflow_result + Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult end - def authorization_use_status - Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationUseStatus + def azure_firewall_list_result + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallListResult end - def express_route_circuit_peering_advertised_public_prefix_state - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + def bgp_service_community_list_result + Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunityListResult end - def access - Azure::Network::Mgmt::V2018_06_01::Models::Access + def bgpcommunity + Azure::Network::Mgmt::V2018_06_01::Models::BGPCommunity end - def express_route_peering_type - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringType + def list_hub_virtual_network_connections_result + Azure::Network::Mgmt::V2018_06_01::Models::ListHubVirtualNetworkConnectionsResult end - def express_route_peering_state - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringState + def route_filter_rule_list_result + Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRuleListResult end - def circuit_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::CircuitConnectionStatus + def get_vpn_sites_configuration_request + Azure::Network::Mgmt::V2018_06_01::Models::GetVpnSitesConfigurationRequest end - def express_route_circuit_peering_state - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringState + def public_ipaddress_sku + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSku end - def express_route_circuit_sku_tier - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuTier + def inbound_nat_rule_list_result + Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRuleListResult end - def express_route_circuit_sku_family - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuFamily + def ip_tag + Azure::Network::Mgmt::V2018_06_01::Models::IpTag end - def service_provider_provisioning_state - Azure::Network::Mgmt::V2018_06_01::Models::ServiceProviderProvisioningState + def load_balancer_backend_address_pool_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerBackendAddressPoolListResult end - def load_balancer_sku_name - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName + def device_properties + Azure::Network::Mgmt::V2018_06_01::Models::DeviceProperties end - def load_distribution - Azure::Network::Mgmt::V2018_06_01::Models::LoadDistribution + def load_balancer_frontend_ipconfiguration_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def probe_protocol - Azure::Network::Mgmt::V2018_06_01::Models::ProbeProtocol + def vpn_device_script_parameters + Azure::Network::Mgmt::V2018_06_01::Models::VpnDeviceScriptParameters end - def network_operation_status - Azure::Network::Mgmt::V2018_06_01::Models::NetworkOperationStatus + def load_balancer_load_balancing_rule_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerLoadBalancingRuleListResult end - def effective_security_rule_protocol - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveSecurityRuleProtocol + def load_balancer_probe_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerProbeListResult end - def effective_route_source - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteSource + def application_gateway_connection_draining + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayConnectionDraining end - def effective_route_state - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState + def application_gateway_backend_health_server + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServer end - def association_type - Azure::Network::Mgmt::V2018_06_01::Models::AssociationType + def application_gateway_backend_health_pool + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthPool end - def direction - Azure::Network::Mgmt::V2018_06_01::Models::Direction + def vpn_client_ipsec_parameters + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientIPsecParameters end - def ip_flow_protocol - Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol + def network_interface_ipconfiguration_list_result + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfigurationListResult end - def next_hop_type - Azure::Network::Mgmt::V2018_06_01::Models::NextHopType + def network_interface_load_balancer_list_result + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceLoadBalancerListResult end - def pc_protocol - Azure::Network::Mgmt::V2018_06_01::Models::PcProtocol + def gateway_route_list_result + Azure::Network::Mgmt::V2018_06_01::Models::GatewayRouteListResult end - def pc_status - Azure::Network::Mgmt::V2018_06_01::Models::PcStatus + def effective_network_security_group_association + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupAssociation end - def pc_error - Azure::Network::Mgmt::V2018_06_01::Models::PcError + def effective_network_security_rule + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityRule end - def protocol - Azure::Network::Mgmt::V2018_06_01::Models::Protocol + def effective_network_security_group + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroup end - def httpmethod - Azure::Network::Mgmt::V2018_06_01::Models::HTTPMethod + def bgp_peer_status + Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatus end - def origin - Azure::Network::Mgmt::V2018_06_01::Models::Origin + def effective_network_security_group_list_result + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupListResult end - def severity - Azure::Network::Mgmt::V2018_06_01::Models::Severity + def application_gateway_firewall_disabled_rule_group + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallDisabledRuleGroup end - def issue_type - Azure::Network::Mgmt::V2018_06_01::Models::IssueType + def effective_route + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRoute end - def connection_status - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStatus + def application_gateway_autoscale_bounds + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleBounds end - def connection_monitor_source_status - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSourceStatus + def effective_route_list_result + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteListResult end - def connection_state - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState + def application_gateway_firewall_rule + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRule end - def evaluation_state - Azure::Network::Mgmt::V2018_06_01::Models::EvaluationState + def ipsec_policy + Azure::Network::Mgmt::V2018_06_01::Models::IpsecPolicy end - def virtual_network_peering_state - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringState + def route_filter_list_result + Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterListResult end - def virtual_network_gateway_type - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayType + def network_watcher_list_result + Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult end - def vpn_type - Azure::Network::Mgmt::V2018_06_01::Models::VpnType + def application_gateway_available_ssl_predefined_policies + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies end - def virtual_network_gateway_sku_name - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuName + def topology_parameters + Azure::Network::Mgmt::V2018_06_01::Models::TopologyParameters end - def virtual_network_gateway_sku_tier - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuTier + def application_security_group_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroupListResult end - def vpn_client_protocol - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol + def ddos_protection_plan_list_result + Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlanListResult end - def ipsec_encryption - Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption + def endpoint_services_list_result + Azure::Network::Mgmt::V2018_06_01::Models::EndpointServicesListResult end - def ipsec_integrity - Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity + def azure_firewall_application_rule_protocol + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocol end - def ike_encryption - Azure::Network::Mgmt::V2018_06_01::Models::IkeEncryption + def ipaddress_availability_result + Azure::Network::Mgmt::V2018_06_01::Models::IPAddressAvailabilityResult end - def ike_integrity - Azure::Network::Mgmt::V2018_06_01::Models::IkeIntegrity + def operation_properties_format_service_specification + Azure::Network::Mgmt::V2018_06_01::Models::OperationPropertiesFormatServiceSpecification end - def dh_group - Azure::Network::Mgmt::V2018_06_01::Models::DhGroup + def virtual_network_peering_list_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringListResult end - def pfs_group - Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup + def next_hop_parameters + Azure::Network::Mgmt::V2018_06_01::Models::NextHopParameters end - def bgp_peer_state - Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerState + def next_hop_result + Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult end - def processor_architecture - Azure::Network::Mgmt::V2018_06_01::Models::ProcessorArchitecture + def security_group_view_parameters + Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewParameters end - def authentication_method - Azure::Network::Mgmt::V2018_06_01::Models::AuthenticationMethod + def network_interface_association + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceAssociation end - def virtual_network_gateway_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionStatus + def subnet_association + Azure::Network::Mgmt::V2018_06_01::Models::SubnetAssociation end - def virtual_network_gateway_connection_type - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionType + def express_route_circuit_routes_table_summary + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTableSummary end - def vpn_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::VpnConnectionStatus + def security_rule_associations + Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAssociations end - def tunnel_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionStatus + def security_group_network_interface + Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupNetworkInterface end - def hub_virtual_network_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus + def security_group_view_result + Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult end end end diff --git a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb index 655bfad2cf..361eac09a8 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -9,30 +9,30 @@ module NewsSearch NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations module Models - ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query - NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle - SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News - ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing - TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork - Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat + Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response + Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle end class NewsSearchDataClass @@ -65,78 +65,78 @@ def method_missing(method, *args) end class ModelClasses + def news + Azure::CognitiveServices::NewsSearch::V1_0::Models::News + end def response_base Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase end - def error - Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + def news_topic + Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic end def query Azure::CognitiveServices::NewsSearch::V1_0::Models::Query end - def news_article - Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle - end - def search_results_answer - Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer - end - def news - Azure::CognitiveServices::NewsSearch::V1_0::Models::News - end - def image_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject - end - def news_topic - Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic + def trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics end def article Azure::CognitiveServices::NewsSearch::V1_0::Models::Article end + def video_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + end + def search_results_answer + Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer + end def identifiable Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::NewsSearch::V1_0::Models::Response - end def answer Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing end - def trending_topics - Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - end - def media_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject - end def creative_work Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork end - def organization - Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - end - def error_response - Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse - end def error_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode end - def freshness - Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness - end def safe_search Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch end def text_format Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat end + def response + Azure::CognitiveServices::NewsSearch::V1_0::Models::Response + end + def freshness + Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + end + def organization + Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + end + def media_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + end + def error_response + Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + end + def error + Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + end + def news_article + Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle + end end end end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index d481e842fd..d176371cac 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -7,49 +7,49 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt - Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations - Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs + Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces + Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations module Models - ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys - PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation - ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse - WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters - GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource - SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties - MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential - NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential - NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult + Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult + NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult + NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult + SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource - NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters + Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource - DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse + NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource - SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights + SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName + OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys + PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource + ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential + WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential + CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult + SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse + SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential + NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters end class NotificationHubsManagementClass - attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :notification_hubs, :namespaces, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,9 +59,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @namespaces = @client_0.namespaces @notification_hubs = @client_0.notification_hubs + @namespaces = @client_0.namespaces + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -80,44 +80,20 @@ def method_missing(method, *args) end class ModelClasses - def resource_list_keys - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys - end - def policykey_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource + def adm_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential end def operation Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation end - def apns_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - end - def error_response - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse - end - def wns_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - end - def check_availability_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters - end - def gcm_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - end - def operation_display - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - end - def operation_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - end - def sku - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku + def baidu_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential end - def shared_access_authorization_rule_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + def check_availability_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult end - def sub_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + def namespace_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult end def notification_hub_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult @@ -125,30 +101,6 @@ def notification_hub_list_result def shared_access_authorization_rule_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult end - def resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource - end - def shared_access_authorization_rule_properties - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties - end - def mpns_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential - end - def namespace_patch_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters - end - def adm_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential - end - def namespace_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult - end - def baidu_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential - end - def check_availability_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult - end def namespace_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters end @@ -158,8 +110,8 @@ def namespace_resource def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end - def notification_hub_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters + def sku + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku end def notification_hub_patch_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters @@ -167,21 +119,69 @@ def notification_hub_patch_parameters def notification_hub_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource end - def debug_send_response - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse + def notification_hub_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end def pns_credentials_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource end - def sku_name - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName - end def namespace_type Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType end + def debug_send_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse + end def access_rights Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights end + def sub_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + end + def resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + end + def sku_name + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName + end + def operation_display + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + end + def resource_list_keys + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys + end + def policykey_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource + end + def apns_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential + end + def wns_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential + end + def check_availability_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + end + def gcm_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + end + def operation_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult + end + def shared_access_authorization_rule_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + end + def error_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse + end + def shared_access_authorization_rule_properties + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties + end + def mpns_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential + end + def namespace_patch_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters + end end end end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 5f7eec328a..819b67158e 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -9,64 +9,64 @@ module OperationalInsights module Mgmt StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches - LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations + LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices module Models + StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult + SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters + WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody + SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError + WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse + SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata + WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse + StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight + StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum + PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary - StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse - StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult - SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort - SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError - WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody - WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse - SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata - WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse - StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight - SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum - StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState - PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys + Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult + WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult + LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService + DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace + DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind + EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus + Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku + ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource + SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay - UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric OperationListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult + UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult ManagementGroup = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack - Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation - SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys - Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource - DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult - ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource - WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult - LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService - DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource - Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace - DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind - SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum - EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end class OperationalInsightsManagementClass - attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :storage_insights, :saved_searches, :data_sources, :workspaces, :operations, :linked_services, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -84,10 +84,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @linked_services = @client_1.linked_services @data_sources = @client_1.data_sources @workspaces = @client_1.workspaces @operations = @client_1.operations + @linked_services = @client_1.linked_services @model_classes = ModelClasses.new end @@ -108,6 +108,48 @@ def method_missing(method, *args) end class ModelClasses + def storage_insight_list_result + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult + end + def search_sort + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + end + def workspace_purge_body_filters + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters + end + def workspace_purge_body + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody + end + def search_error + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError + end + def workspace_purge_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse + end + def search_metadata + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata + end + def workspace_purge_status_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse + end + def storage_insight + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight + end + def storage_insight_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + end + def search_sort_enum + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum + end + def purge_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + end + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end + def storage_account + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount + end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end @@ -126,9 +168,6 @@ def search_parameters def core_summary Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary end - def storage_account - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount - end def search_metadata_schema Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema end @@ -144,44 +183,44 @@ def saved_searches_list_result def search_results_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse end - def storage_insight_list_result - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult + def shared_keys + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys end - def search_sort - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + def operation + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation end - def search_error - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError + def data_source_list_result + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult end - def workspace_purge_body_filters - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters + def workspace_list_result + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult end - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + def linked_service + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService end - def workspace_purge_body - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody + def data_source + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource end - def workspace_purge_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse + def workspace + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace end - def search_metadata - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata + def data_source_kind + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind end - def workspace_purge_status_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse + def entity_status + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end - def storage_insight - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight + def sku + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku end - def search_sort_enum - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum + def proxy_resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource end - def storage_insight_state - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + def sku_name_enum + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum end - def purge_state - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState + def resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource end def metric_name Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName @@ -189,12 +228,12 @@ def metric_name def operation_display Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay end - def usage_metric - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric - end def operation_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult end + def usage_metric + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric + end def workspace_list_usages_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult end @@ -213,45 +252,6 @@ def workspace_list_management_groups_result def intelligence_pack Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack end - def sku - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - end - def operation - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation - end - def shared_keys - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys - end - def resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource - end - def data_source_list_result - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult - end - def proxy_resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource - end - def workspace_list_result - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult - end - def linked_service - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService - end - def data_source - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource - end - def workspace - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace - end - def data_source_kind - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind - end - def sku_name_enum - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum - end - def entity_status - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus - end end end end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 55cc7f93f8..b8a43a4ffd 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -12,17 +12,17 @@ module Mgmt PolicySetDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicySetDefinitions module Models - PolicyDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition - PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult - PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment - PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference - ErrorResponse = Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse PolicySetDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition - PolicyAssignmentListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult PolicySku = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku - PolicyType = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType PolicyMode = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode + PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment + PolicyDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition + PolicyAssignmentListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult + PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult + PolicyType = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType + ErrorResponse = Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse + PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference end class PolicyManagementClass @@ -57,38 +57,38 @@ def method_missing(method, *args) end class ModelClasses - def policy_definition - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition + def policy_set_definition + Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition end - def policy_definition_list_result - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult + def policy_set_definition_list_result + Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult end - def policy_assignment - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment + def policy_sku + Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku end - def policy_definition_reference - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference + def policy_mode + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode end - def error_response - Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse + def policy_assignment + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment end - def policy_set_definition - Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition + def policy_definition + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition end def policy_assignment_list_result Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult end - def policy_set_definition_list_result - Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult - end - def policy_sku - Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku + def policy_definition_list_result + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult end def policy_type Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType end - def policy_mode - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode + def error_response + Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse + end + def policy_definition_reference + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference end end end diff --git a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb index 49e79b35b4..580aaa9a6a 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -12,6 +12,7 @@ module Mgmt Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations module Models + Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation PolicyDefinitionSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary PolicyAssignmentSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyAssignmentSummary PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults @@ -19,15 +20,14 @@ module Models QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults - OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent - Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError - QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions end class PolicyInsightsManagementClass @@ -62,6 +62,9 @@ def method_missing(method, *args) end class ModelClasses + def operation + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation + end def policy_definition_summary Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary end @@ -83,15 +86,9 @@ def summarize_results def policy_states_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults end - def operation_display - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay - end def policy_event Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent end - def operation - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - end def policy_state Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState end @@ -101,15 +98,18 @@ def operations_list_results def query_failure_error Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError end - def query_options - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions - end def summary_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults end + def operation_display + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + end def policy_states_resource Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end + def query_options + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + end end end end diff --git a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb index 215c4dbc2c..e44bda0c91 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -7,33 +7,33 @@ module Azure::Profiles::Latest module PowerBiEmbedded module Mgmt - WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces + WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections module Models - Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation - OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList - Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys - WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection - WorkspaceCollectionAccessKey = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey - Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace - CreateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest - Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display - UpdateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku + Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display + Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason + OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList + WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys + WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection + WorkspaceCollectionAccessKey = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey + Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error + CreateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest + UpdateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest end class PowerBiEmbeddedManagementClass - attr_reader :workspace_collections, :workspaces, :configurable, :base_url, :options, :model_classes + attr_reader :workspaces, :workspace_collections, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,8 +43,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @workspace_collections = @client_0.workspace_collections @workspaces = @client_0.workspaces + @workspace_collections = @client_0.workspace_collections @model_classes = ModelClasses.new end @@ -63,45 +63,24 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation - end - def operation_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList - end - def error - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - end - def workspace_collection_access_keys - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys - end - def workspace_collection - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection - end - def workspace_collection_access_key - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey - end - def workspace - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace - end - def create_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest - end - def display - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display - end - def update_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest - end def azure_sku Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku end + def operation + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + end def check_name_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest end def workspace_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList end + def display + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display + end + def workspace + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace + end def check_name_response Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse end @@ -120,6 +99,27 @@ def access_key_name def check_name_reason Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end + def operation_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList + end + def workspace_collection_access_keys + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys + end + def workspace_collection + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection + end + def workspace_collection_access_key + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey + end + def error + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error + end + def create_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest + end + def update_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest + end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb index e4a5a707d8..cdb542f261 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,19 +7,15 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt + Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages - Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults - Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages + Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations module Models - ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi - ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse - CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest - Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse @@ -27,33 +23,37 @@ module Models VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay - Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary + Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList - VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails - ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource - Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault - PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault + ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault + TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType + Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState - TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi + ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse + CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest end class RecoveryServicesManagementClass - attr_reader :vault_certificates, :registered_identities, :replication_usages, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :vaults, :vault_certificates, :registered_identities, :replication_usages, :vault_extended_info_operations, :usages, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -63,13 +63,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @vaults = @client_0.vaults @vault_certificates = @client_0.vault_certificates @registered_identities = @client_0.registered_identities @replication_usages = @client_0.replication_usages - @vaults = @client_0.vaults - @operations = @client_0.operations @vault_extended_info_operations = @client_0.vault_extended_info_operations @usages = @client_0.usages + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -88,18 +88,6 @@ def method_missing(method, *args) end class ModelClasses - def client_discovery_value_for_single_api - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi - end - def client_discovery_response - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse - end - def certificate_request - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest - end - def resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource - end def client_discovery_for_properties Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties end @@ -121,9 +109,6 @@ def replication_usage def client_discovery_display Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay end - def sku - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku - end def client_discovery_for_service_specification Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification end @@ -133,6 +118,9 @@ def vault_usage_list def monitoring_summary Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary end + def sku + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + end def vault_usage Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage end @@ -145,9 +133,6 @@ def upgrade_details def replication_usage_list Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList end - def vault_properties - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties - end def resource_certificate_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails end @@ -157,39 +142,54 @@ def name_info def resource_certificate_and_aad_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails end - def resource_certificate_and_acs_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - end - def tracked_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + def vault_properties + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties end def patch_tracked_resource Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource end - def vault - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault + def resource_certificate_and_acs_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails + end + def vault_extended_info_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource end def patch_vault Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault end - def vault_extended_info_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + def tracked_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource end def auth_type Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType end + def resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + end + def trigger_type + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + end def sku_name Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName end def vault_upgrade_state Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState end - def trigger_type - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + def vault + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault end def usages_unit Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit end + def client_discovery_value_for_single_api + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi + end + def client_discovery_response + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse + end + def certificate_request + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest + end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb index 3a8c4a9510..36463df5d2 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -8,6 +8,10 @@ module Azure::Profiles::Latest module RecoveryServicesBackup module Mgmt Operations = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Operations + BackupProtectableItems = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectableItems + BackupProtectionContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectionContainers + SecurityPINs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::SecurityPINs + BackupResourceStorageConfigs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupResourceStorageConfigs BackupResourceVaultConfigs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupResourceVaultConfigs BackupEngines = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupEngines ProtectionContainerRefreshOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionContainerRefreshOperationResults @@ -29,29 +33,30 @@ module Mgmt ProtectionPolicies = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicies ProtectionPolicyOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationResults ProtectionPolicyOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationStatuses - BackupProtectableItems = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectableItems - BackupProtectionContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectionContainers - SecurityPINs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::SecurityPINs - BackupResourceStorageConfigs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupResourceStorageConfigs + Operation = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Operation ProtectionIntentOperations = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ProtectionIntentOperations BackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupStatus + Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs FeatureSupport = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::FeatureSupport - BackupJobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupJobs JobDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::JobDetails ExportJobsOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ExportJobsOperationResults - Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies BackupProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupProtectedItems BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries - Operation = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Operation + BackupJobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupJobs module Models ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties - ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay - ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi - ClientDiscoveryForServiceSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification ClientDiscoveryResponse = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification + ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi + ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay + ClientDiscoveryForServiceSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification + RecoveryPointTierType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType + RecoveryPointTierStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus + BackupItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType + OperationStatusValues = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues + OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo DPMContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo InquiryInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo @@ -94,7 +99,6 @@ module Models BMSPOQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject AzureWorkloadSQLRecoveryPointExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo RecoveryPointTierInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation - OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus GetProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject AzureBackupServerContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer AzureBackupServerEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine @@ -106,60 +110,60 @@ module Models AzureIaaSComputeVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMContainer AzureIaaSComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMProtectableItem AzureSqlContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSqlContainer - AzureStorageContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer AzureStorageProtectableContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageProtectableContainer - AzureVMAppContainerProtectableContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer + AzureStorageContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer AzureVmWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadItem + AzureVMAppContainerProtectableContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer AzureVmWorkloadProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadProtectableItem AzureVmWorkloadSAPHanaDatabaseProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectableItem AzureVmWorkloadSAPHanaDatabaseWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseWorkloadItem - AzureVmWorkloadSAPHanaSystemProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemProtectableItem AzureVmWorkloadSAPHanaSystemWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemWorkloadItem - AzureVmWorkloadSQLAvailabilityGroupProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem + AzureVmWorkloadSAPHanaSystemProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemProtectableItem AzureVmWorkloadSQLDatabaseProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem + AzureVmWorkloadSQLAvailabilityGroupProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem AzureVmWorkloadSQLDatabaseWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem - AzureVmWorkloadSQLInstanceProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem AzureVmWorkloadSQLInstanceWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem - AzureWorkloadBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest + AzureVmWorkloadSQLInstanceProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem AzureWorkloadContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer - AzureSQLAGWorkloadContainerProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer + AzureWorkloadBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest AzureVMAppContainerProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer + AzureSQLAGWorkloadContainerProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer AzureWorkloadRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint - AzureWorkloadSAPHanaRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaRecoveryPoint AzureWorkloadSAPHanaPointInTimeRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaPointInTimeRecoveryPoint + AzureWorkloadSAPHanaRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaRecoveryPoint AzureWorkloadSQLRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint AzureWorkloadSQLPointInTimeRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint - BackupEngineBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource BackupEngineBaseResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList - BackupRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource + BackupEngineBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource BackupResourceConfigResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource - BackupResourceVaultConfigResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource + BackupRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource DpmBackupEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine + BackupResourceVaultConfigResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource DpmContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer GenericContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainer GenericRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint - IaasVMBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest IaaSVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer - IaasVMILRRegistrationRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest + IaasVMBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest IaaSVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem + IaasVMILRRegistrationRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest IaasVMRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMRecoveryPoint ILRRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequestResource MabContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainer OperationStatusJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo - OperationStatusJobsExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo OperationStatusProvisionILRExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo - ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + OperationStatusJobsExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo ProtectableContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList + ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource ProtectionContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList - RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource RecoveryPointResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList + RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource RestoreRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource WorkloadItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource - WorkloadItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList WorkloadProtectableItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource - WorkloadProtectableItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList + WorkloadItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList AzureFileShareType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType + WorkloadProtectableItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList InquiryStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryStatus BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType RestorePointType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType @@ -168,164 +172,160 @@ module Models EnhancedSecurityState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState ContainerType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType RestorePointQueryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType - RecoveryPointTierType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType - RecoveryPointTierStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus - BackupItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType - OperationStatusValues = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues - DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat - RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + RetentionScheduleFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat + RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy + WeekOfMonth = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeekOfMonth + MonthOfYear = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear + ScheduleRunType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType + DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType + NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit + Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy AzureFileshareProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo - DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule SchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + CreateMode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode + RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs + ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse OperationResultInfoBase = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase - TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo MabJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo + Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource ValidateOperationsResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationsResponse - AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo - AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails - RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest - MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo - Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo - AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo - TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo + AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent - YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule - AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject - WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse - SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping + BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule - Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings - NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest - BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList - AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails - BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest - AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo - BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse - ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject - BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject - AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo - Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day - ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem - ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail - PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse - EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails - RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs - FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest - AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo - RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy - ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject - SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails - ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo ValidateOperationResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse - Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo - DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo AzureBackupGoalFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest + AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + AzureRecoveryServiceVaultProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent + AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + AzureWorkloadAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent + AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails + PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping + ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo + TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo + AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo AzureFileShareRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareRestoreRequest + JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSClassicComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem + ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem AzureIaaSComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem - AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSVMProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy - AzureRecoveryServiceVaultProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent - AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject AzureSqlProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem AzureSqlProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy - AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob - AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + ValidateRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest + MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo AzureVmWorkloadProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem AzureVmWorkloadProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy + Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day AzureVmWorkloadSAPHanaDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem + JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource AzureVmWorkloadSQLDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem - AzureWorkloadAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent - AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus + ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName + Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type AzureWorkloadRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadRestoreRequest + MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + AzureWorkloadSQLAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent AzureWorkloadSAPHanaRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaRestoreRequest AzureWorkloadSAPHanaPointInTimeRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaPointInTimeRestoreRequest - AzureWorkloadSQLAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent - AzureWorkloadSQLRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest AzureWorkloadSQLPointInTimeRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest - DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + AzureWorkloadSQLRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest + JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode DPMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem - ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo GenericProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem GenericProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy + HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState IaasVMRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::IaasVMRestoreRequest - JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList LogSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy LongTermRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermRetentionPolicy LongTermSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy + JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus MabFileFolderProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem - MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob MabProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy - OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource ProtectedItemResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource - ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource ProtectionPolicyResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource - ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList SimpleRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy SimpleSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy - ValidateRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest - ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail ProtectionState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState HealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus RecoveryType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RecoveryType CopyOptions = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CopyOptions RestoreRequestType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequestType - JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction ProtectedItemState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState - SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus LastBackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus ProtectedItemHealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus + SQLDataDirectoryType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType + WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType OverwriteOptions = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OverwriteOptions + BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType WorkloadItemType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadItemType - SQLDataDirectoryType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType - UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType ProtectionStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus - FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type RetentionDurationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType - BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType - JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus - JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek - RetentionScheduleFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat - WeekOfMonth = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeekOfMonth - MonthOfYear = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear - MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType - WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType - HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode - ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus - CreateMode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode - HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState - ScheduleRunType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType end class RecoveryServicesBackupManagementClass - attr_reader :operations, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :jobs, :backup_policies, :backup_protected_items, :backup_usage_summaries, :operation, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :operation, :protection_intent_operations, :backup_status, :jobs, :feature_support, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :backup_jobs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -342,6 +342,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @backup_protectable_items = @client_1.backup_protectable_items + @backup_protection_containers = @client_1.backup_protection_containers + @security_pins = @client_1.security_pins + @backup_resource_storage_configs = @client_1.backup_resource_storage_configs @backup_resource_vault_configs = @client_1.backup_resource_vault_configs @backup_engines = @client_1.backup_engines @protection_container_refresh_operation_results = @client_1.protection_container_refresh_operation_results @@ -363,27 +367,23 @@ def initialize(configurable, base_url=nil, options=nil) @protection_policies = @client_1.protection_policies @protection_policy_operation_results = @client_1.protection_policy_operation_results @protection_policy_operation_statuses = @client_1.protection_policy_operation_statuses - @backup_protectable_items = @client_1.backup_protectable_items - @backup_protection_containers = @client_1.backup_protection_containers - @security_pins = @client_1.security_pins - @backup_resource_storage_configs = @client_1.backup_resource_storage_configs @client_2 = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @operation = @client_2.operation @protection_intent_operations = @client_2.protection_intent_operations @backup_status = @client_2.backup_status + @jobs = @client_2.jobs @feature_support = @client_2.feature_support - @backup_jobs = @client_2.backup_jobs @job_details = @client_2.job_details @export_jobs_operation_results = @client_2.export_jobs_operation_results - @jobs = @client_2.jobs @backup_policies = @client_2.backup_policies @backup_protected_items = @client_2.backup_protected_items @backup_usage_summaries = @client_2.backup_usage_summaries - @operation = @client_2.operation + @backup_jobs = @client_2.backup_jobs @model_classes = ModelClasses.new end @@ -409,20 +409,35 @@ class ModelClasses def client_discovery_for_properties Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties end - def client_discovery_display - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay + def client_discovery_response + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse + end + def client_discovery_for_log_specification + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification end def client_discovery_value_for_single_api Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi end - def client_discovery_for_service_specification + def client_discovery_display + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay + end + def client_discovery_for_service_specification Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification end - def client_discovery_response - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse + def recovery_point_tier_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType end - def client_discovery_for_log_specification - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification + def recovery_point_tier_status + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus + end + def backup_item_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType + end + def operation_status_values + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues + end + def operation_status + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus end def azure_workload_container_extended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo @@ -550,9 +565,6 @@ def azure_workload_sqlrecovery_point_extended_info def recovery_point_tier_information Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation end - def operation_status - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus - end def get_protected_item_query_object Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject end @@ -586,18 +598,18 @@ def azure_iaa_scompute_vmprotectable_item def azure_sql_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSqlContainer end - def azure_storage_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer - end def azure_storage_protectable_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageProtectableContainer end - def azure_vmapp_container_protectable_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer + def azure_storage_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer end def azure_vm_workload_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadItem end + def azure_vmapp_container_protectable_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer + end def azure_vm_workload_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadProtectableItem end @@ -607,72 +619,72 @@ def azure_vm_workload_saphana_database_protectable_item def azure_vm_workload_saphana_database_workload_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseWorkloadItem end - def azure_vm_workload_saphana_system_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemProtectableItem - end def azure_vm_workload_saphana_system_workload_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemWorkloadItem end - def azure_vm_workload_sqlavailability_group_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem + def azure_vm_workload_saphana_system_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemProtectableItem end def azure_vm_workload_sqldatabase_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem end + def azure_vm_workload_sqlavailability_group_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem + end def azure_vm_workload_sqldatabase_workload_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem end - def azure_vm_workload_sqlinstance_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem - end def azure_vm_workload_sqlinstance_workload_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem end - def azure_workload_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest + def azure_vm_workload_sqlinstance_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem end def azure_workload_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer end - def azure_sqlagworkload_container_protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer + def azure_workload_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest end def azure_vmapp_container_protection_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer end + def azure_sqlagworkload_container_protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer + end def azure_workload_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint end - def azure_workload_saphana_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaRecoveryPoint - end def azure_workload_saphana_point_in_time_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaPointInTimeRecoveryPoint end + def azure_workload_saphana_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaRecoveryPoint + end def azure_workload_sqlrecovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint end def azure_workload_sqlpoint_in_time_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint end - def backup_engine_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource - end def backup_engine_base_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList end - def backup_request_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource + def backup_engine_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource end def backup_resource_config_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource end - def backup_resource_vault_config_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource + def backup_request_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource end def dpm_backup_engine Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine end + def backup_resource_vault_config_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource + end def dpm_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer end @@ -682,18 +694,18 @@ def generic_container def generic_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint end - def iaas_vmbackup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest - end def iaa_svmcontainer Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer end - def iaas_vmilrregistration_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest + def iaas_vmbackup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest end def iaa_svmprotectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem end + def iaas_vmilrregistration_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest + end def iaas_vmrecovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMRecoveryPoint end @@ -706,48 +718,48 @@ def mab_container def operation_status_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo end - def operation_status_jobs_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo - end def operation_status_provision_ilrextended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo end - def protectable_container_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + def operation_status_jobs_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo end def protectable_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList end + def protectable_container_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + end def protection_container_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource end def protection_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList end - def recovery_point_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource - end def recovery_point_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList end + def recovery_point_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource + end def restore_request_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource end def workload_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource end - def workload_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList - end def workload_protectable_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource end - def workload_protectable_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList + def workload_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList end def azure_file_share_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType end + def workload_protectable_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList + end def inquiry_status Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryStatus end @@ -772,33 +784,51 @@ def container_type def restore_point_query_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType end - def recovery_point_tier_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType + def retention_schedule_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat end - def recovery_point_tier_status - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus + def retention_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy end - def backup_item_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType + def week_of_month + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeekOfMonth end - def operation_status_values - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues + def month_of_year + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear end - def daily_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + def schedule_run_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType end - def retention_duration - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + def data_source_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType + end + def name_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + end + def usages_unit + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit + end + def job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + end + def sub_protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy end def azure_fileshare_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo end - def daily_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule - end def schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy end + def create_mode + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode + end + def restore_file_specs + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs + end + def resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + end def dpm_error_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo end @@ -808,23 +838,20 @@ def operation_worker_response def operation_result_info_base Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase end - def target_afsrestore_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo - end def mab_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo end + def resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + end def validate_operations_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationsResponse end - def azure_workload_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo - end def azure_iaa_svmerror_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo end - def azure_workload_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + def retention_duration + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration end def azure_iaa_svmjob_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails @@ -838,149 +865,137 @@ def validate_operation_request def mab_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails end - def restore_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest - end - def mab_file_folder_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo - end - def resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource - end def mab_error_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo end - def azure_sql_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo - end - def target_restore_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo + def azure_workload_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails end def protection_intent Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent end - def yearly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + def daily_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + end + def protected_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject end def azure_storage_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails end - def monthly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + def backup_management_usage + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage end - def protected_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject + def daily_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat end - def weekly_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + def azure_workload_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + end + def protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy end def azure_vmresource_feature_support_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse end - def sqldata_directory_mapping - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping + def backup_status_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + end + def restore_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest end def azure_vm_workload_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo end - def weekly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule - end - def settings - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings - end - def name_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + def dpmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo end def pre_validate_enable_backup_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest end - def backup_management_usage - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + def job_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject end - def backup_management_usage_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + def dpm_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails end - def azure_iaa_svmhealth_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + def dpm_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo end - def backup_status_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + def validate_operation_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse end - def azure_iaa_svmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + def azure_storage_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo end - def backup_status_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + def azure_backup_goal_feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest end - def protection_policy_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject - end - def bmsbackup_summaries_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject - end - def azure_storage_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + def azure_iaa_svmjob + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob end - def day - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + def azure_recovery_service_vault_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent end - def protected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem + def azure_resource_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent end - def error_detail - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail + def azure_storage_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob end - def pre_validate_enable_backup_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + def azure_vmresource_feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest end - def encryption_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails + def azure_workload_auto_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent end - def restore_file_specs - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs + def azure_workload_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob end def feature_support_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest end - def azure_iaa_svmjob_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + def backup_status_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse end - def retention_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy + def monthly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule end - def protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + def weekly_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat end - def job_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject + def encryption_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails end - def sub_protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy + def pre_validate_enable_backup_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse end - def dpm_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails + def backup_management_usage_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList end - def resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + def weekly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule end - def dpm_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + def sqldata_directory_mapping + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping end - def validate_operation_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse + def protection_policy_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject end - def job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + def mab_file_folder_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo end - def azure_storage_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + def azure_storage_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo end - def dpmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + def target_afsrestore_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo end - def azure_backup_goal_feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest + def target_restore_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo + end + def azure_iaa_svmjob_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo end def azure_fileshare_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem @@ -988,29 +1003,38 @@ def azure_fileshare_protected_item def azure_file_share_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy end + def azure_sql_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + end def azure_file_share_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareRestoreRequest end + def job_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + end + def azure_iaa_svmhealth_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + end + def azure_iaa_svmprotected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem + end def azure_iaa_sclassic_compute_vmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem end - def azure_iaa_scompute_vmprotected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem + def export_jobs_operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo end - def azure_iaa_svmjob - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + def protected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem end - def azure_iaa_svmprotected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem + def azure_iaa_scompute_vmprotected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem end def azure_iaa_svmprotection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy end - def azure_recovery_service_vault_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent - end - def azure_resource_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + def bmsbackup_summaries_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject end def azure_sql_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem @@ -1018,11 +1042,20 @@ def azure_sql_protected_item def azure_sql_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy end - def azure_storage_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + def protection_intent_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource end - def azure_vmresource_feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + def settings + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + end + def validate_restore_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest + end + def mab_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + end + def operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo end def azure_vm_workload_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem @@ -1030,60 +1063,96 @@ def azure_vm_workload_protected_item def azure_vm_workload_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy end + def day + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + end def azure_vm_workload_saphana_database_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem end + def job_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + end + def azure_iaa_svmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + end + def job_supported_action + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + end + def support_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + end + def operation_result_info_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + end def azure_vm_workload_sqldatabase_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem end - def azure_workload_auto_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent + def yearly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule end - def azure_workload_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + def dpm_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + end + def validation_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus + end + def validate_iaas_vmrestore_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + end + def fabric_name + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName + end + def type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type end def azure_workload_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadRestoreRequest end + def mab_server_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + end + def azure_workload_sqlauto_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent + end def azure_workload_saphana_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaRestoreRequest end def azure_workload_saphana_point_in_time_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaPointInTimeRestoreRequest end - def azure_workload_sqlauto_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent + def azure_workload_sqlpoint_in_time_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest end def azure_workload_sqlrestore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest end - def azure_workload_sqlpoint_in_time_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest + def job_operation_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType end - def dpm_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + def protected_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + end + def protection_policy_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + end + def http_status_code + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode end def dpmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem end - def export_jobs_operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo - end def generic_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem end def generic_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy end + def health_state + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState + end def iaas_vmrestore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::IaasVMRestoreRequest end - def job_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - end - def job_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList - end def log_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy end @@ -1093,47 +1162,29 @@ def long_term_retention_policy def long_term_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy end + def job_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + end def mab_file_folder_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem end - def mab_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob - end def mab_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy end - def operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - end - def operation_result_info_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource - end def protected_item_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource end - def protected_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - end - def protection_intent_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource - end def protection_policy_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource end - def protection_policy_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList - end def simple_retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy end def simple_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy end - def validate_restore_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest - end - def validate_iaas_vmrestore_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + def error_detail + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail end def protection_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState @@ -1150,90 +1201,39 @@ def copy_options def restore_request_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequestType end - def job_supported_action - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction - end def protected_item_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState end - def support_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus - end def last_backup_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus end def protected_item_health_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus end + def sqldata_directory_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType + end + def workload_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType + end def overwrite_options Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OverwriteOptions end + def backup_management_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType + end def workload_item_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadItemType end - def sqldata_directory_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType - end - def usages_unit - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - end - def data_source_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType - end def protection_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus end - def fabric_name - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - end - def type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type - end def retention_duration_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType end - def backup_management_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType - end - def job_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus - end - def job_operation_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType - end def day_of_week Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek end - def retention_schedule_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat - end - def week_of_month - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeekOfMonth - end - def month_of_year - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear - end - def mab_server_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType - end - def workload_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType - end - def http_status_code - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode - end - def validation_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus - end - def create_mode - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode - end - def health_state - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState - end - def schedule_run_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType - end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb index aaaeec1a2a..5a903de1d1 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -7,29 +7,52 @@ module Azure::Profiles::Latest module RecoveryServicesSiteRecovery module Mgmt - Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Operations ReplicationAlertSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationAlertSettings ReplicationEvents = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationEvents ReplicationFabrics = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationFabrics ReplicationLogicalNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationLogicalNetworks - ReplicationNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationNetworks + Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Operations ReplicationNetworkMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationNetworkMappings ReplicationProtectionContainers = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectionContainers ReplicationProtectableItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectableItems ReplicationProtectedItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectedItems - RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::RecoveryPoints TargetComputeSizes = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::TargetComputeSizes - ReplicationProtectionContainerMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectionContainerMappings + ReplicationNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationNetworks + RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::RecoveryPoints ReplicationRecoveryServicesProviders = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationRecoveryServicesProviders - ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassifications + ReplicationProtectionContainerMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectionContainerMappings ReplicationStorageClassificationMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassificationMappings - ReplicationvCenters = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationvCenters + ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassifications ReplicationJobs = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationJobs + ReplicationvCenters = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationvCenters + ReplicationVaultHealth = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationVaultHealth ReplicationPolicies = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationPolicies ReplicationRecoveryPlans = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationRecoveryPlans - ReplicationVaultHealth = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationVaultHealth module Models + DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataSyncStatus + AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption + HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType + InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageV2RpRecoveryPointType + RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RpInMageRecoveryPointType + SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SourceSiteOperations + LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LicenseType + JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection + Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event + PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection + Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display + Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity + ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer + RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint + Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource + IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType + EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails + Subnet = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet + Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy + Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network + Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job + JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails + RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment OSDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDiskDetails FabricCreationInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInputProperties FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInput @@ -88,7 +111,6 @@ module Models CreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInput ResourceHealthSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResourceHealthSummary CreatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInputProperties - Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource ReplicationProviderSpecificContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerCreationInput ReplicationProviderSpecificUpdateContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificUpdateContainerMappingInput CreateProtectionContainerInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerInput @@ -157,13 +179,11 @@ module Models CreateNetworkMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInputProperties ProviderSpecificRecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderSpecificRecoveryPointDetails CreatePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInput - JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails ReplicationProviderSpecificContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerMappingInput JobProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobProperties RecoveryPlanActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionDetails ProtectionContainerMappingCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingCollection CreateRecoveryPlanInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInput - JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection DisableProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInputProperties JobQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobQueryParameter DiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskDetails @@ -180,14 +200,12 @@ module Models ProtectionContainerProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerProperties UpdateVCenterRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequest RetentionVolume = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RetentionVolume - RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment VersionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VersionDetails UpdateProtectionContainerMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInputProperties MasterTargetServer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MasterTargetServer ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInput MobilityServiceUpdate = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MobilityServiceUpdate UpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInput - Subnet = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet ConfigurationSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigurationSettings NetworkProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkProperties PolicyProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProviderSpecificInput @@ -196,7 +214,6 @@ module Models NetworkCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkCollection DataStore = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataStore NetworkMappingFabricSpecificSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingFabricSpecificSettings - Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display NetworkMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingProperties HealthError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthError ProtectedItemsQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectedItemsQueryParameter @@ -218,8 +235,6 @@ module Models PolicyProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProperties TestFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverInput ProtectableItemQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemQueryParameter - EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails - PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection ServiceError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ServiceError ProcessServer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProcessServer A2AVmDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmDiskInputDetails @@ -250,7 +265,6 @@ module Models AzureToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureNetworkMappingSettings AzureToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureUpdateNetworkMappingInput ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConsistencyCheckTaskDetails - Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ExportJobDetails Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Fabric FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricReplicationGroupTaskDetails @@ -297,16 +311,12 @@ module Models InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyInput InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput - Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails - Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping - Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem - ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RcmAzureMigrationPolicyDetails RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan @@ -320,7 +330,6 @@ module Models RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanManualActionDetails RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanScriptActionDetails RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails - RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint RecoveryServicesProvider = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationGroupDetails ReplicationProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItem @@ -358,26 +367,17 @@ module Models PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory - Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity PresenceStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus - IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointType MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType MultiVmSyncPointOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation - DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataSyncStatus - AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption - HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType - InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageV2RpRecoveryPointType - RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RpInMageRecoveryPointType - SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SourceSiteOperations - LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LicenseType end class RecoveryServicesSiteRecoveryManagementClass - attr_reader :operations, :replication_alert_settings, :replication_events, :replication_fabrics, :replication_logical_networks, :replication_networks, :replication_network_mappings, :replication_protection_containers, :replication_protectable_items, :replication_protected_items, :recovery_points, :target_compute_sizes, :replication_protection_container_mappings, :replication_recovery_services_providers, :replication_storage_classifications, :replication_storage_classification_mappings, :replicationv_centers, :replication_jobs, :replication_policies, :replication_recovery_plans, :replication_vault_health, :configurable, :base_url, :options, :model_classes + attr_reader :replication_alert_settings, :replication_events, :replication_fabrics, :replication_logical_networks, :operations, :replication_network_mappings, :replication_protection_containers, :replication_protectable_items, :replication_protected_items, :target_compute_sizes, :replication_networks, :recovery_points, :replication_recovery_services_providers, :replication_protection_container_mappings, :replication_storage_classification_mappings, :replication_storage_classifications, :replication_jobs, :replicationv_centers, :replication_vault_health, :replication_policies, :replication_recovery_plans, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -387,27 +387,27 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @replication_alert_settings = @client_0.replication_alert_settings @replication_events = @client_0.replication_events @replication_fabrics = @client_0.replication_fabrics @replication_logical_networks = @client_0.replication_logical_networks - @replication_networks = @client_0.replication_networks + @operations = @client_0.operations @replication_network_mappings = @client_0.replication_network_mappings @replication_protection_containers = @client_0.replication_protection_containers @replication_protectable_items = @client_0.replication_protectable_items @replication_protected_items = @client_0.replication_protected_items - @recovery_points = @client_0.recovery_points @target_compute_sizes = @client_0.target_compute_sizes - @replication_protection_container_mappings = @client_0.replication_protection_container_mappings + @replication_networks = @client_0.replication_networks + @recovery_points = @client_0.recovery_points @replication_recovery_services_providers = @client_0.replication_recovery_services_providers - @replication_storage_classifications = @client_0.replication_storage_classifications + @replication_protection_container_mappings = @client_0.replication_protection_container_mappings @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings - @replicationv_centers = @client_0.replicationv_centers + @replication_storage_classifications = @client_0.replication_storage_classifications @replication_jobs = @client_0.replication_jobs + @replicationv_centers = @client_0.replicationv_centers + @replication_vault_health = @client_0.replication_vault_health @replication_policies = @client_0.replication_policies @replication_recovery_plans = @client_0.replication_recovery_plans - @replication_vault_health = @client_0.replication_vault_health @model_classes = ModelClasses.new end @@ -426,6 +426,75 @@ def method_missing(method, *args) end class ModelClasses + def data_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataSyncStatus + end + def alternate_location_recovery_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption + end + def hyper_vreplica_azure_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType + end + def in_mage_v2_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageV2RpRecoveryPointType + end + def rp_in_mage_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RpInMageRecoveryPointType + end + def source_site_operations + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SourceSiteOperations + end + def license_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LicenseType + end + def job_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection + end + def event + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event + end + def policy_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection + end + def display + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display + end + def severity + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity + end + def protection_container + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer + end + def recovery_point + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint + end + def resource + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource + end + def identity_provider_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType + end + def encryption_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails + end + def subnet + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet + end + def policy + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy + end + def network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network + end + def job + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job + end + def job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails + end + def role_assignment + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment + end def osdisk_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDiskDetails end @@ -600,9 +669,6 @@ def resource_health_summary def create_policy_input_properties Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInputProperties end - def resource - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource - end def replication_provider_specific_container_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerCreationInput end @@ -807,9 +873,6 @@ def provider_specific_recovery_point_details def create_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInput end - def job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails - end def replication_provider_specific_container_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerMappingInput end @@ -825,9 +888,6 @@ def protection_container_mapping_collection def create_recovery_plan_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInput end - def job_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection - end def disable_protection_input_properties Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInputProperties end @@ -876,9 +936,6 @@ def update_vcenter_request def retention_volume Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RetentionVolume end - def role_assignment - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment - end def version_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VersionDetails end @@ -897,9 +954,6 @@ def mobility_service_update def update_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInput end - def subnet - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet - end def configuration_settings Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigurationSettings end @@ -924,9 +978,6 @@ def data_store def network_mapping_fabric_specific_settings Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingFabricSpecificSettings end - def display - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display - end def network_mapping_properties Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingProperties end @@ -990,12 +1041,6 @@ def test_failover_input def protectable_item_query_parameter Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemQueryParameter end - def encryption_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails - end - def policy_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection - end def service_error Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ServiceError end @@ -1086,9 +1131,6 @@ def azure_to_azure_update_network_mapping_input def consistency_check_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConsistencyCheckTaskDetails end - def event - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event - end def export_job_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ExportJobDetails end @@ -1227,9 +1269,6 @@ def in_mage_replication_details def in_mage_reprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput end - def job - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job - end def job_status_event_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails end @@ -1242,21 +1281,12 @@ def logical_network def manual_action_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails end - def network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network - end def network_mapping Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping end - def policy - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy - end def protectable_item Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem end - def protection_container - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer - end def protection_container_mapping Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping end @@ -1296,9 +1326,6 @@ def recovery_plan_script_action_details def recovery_plan_shutdown_group_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails end - def recovery_point - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint - end def recovery_services_provider Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider end @@ -1410,15 +1437,9 @@ def disable_protection_reason def health_error_category Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory end - def severity - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity - end def presence_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus end - def identity_provider_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType - end def agent_version_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus end @@ -1437,27 +1458,6 @@ def multi_vm_sync_point_option def recovery_plan_action_location Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation end - def data_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataSyncStatus - end - def alternate_location_recovery_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption - end - def hyper_vreplica_azure_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType - end - def in_mage_v2_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageV2RpRecoveryPointType - end - def rp_in_mage_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RpInMageRecoveryPointType - end - def source_site_operations - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SourceSiteOperations - end - def license_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LicenseType - end end end end diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index c311a6a00b..dd17913ec4 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -7,55 +7,55 @@ module Azure::Profiles::Latest module Redis module Mgmt + FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules Operations = Azure::Redis::Mgmt::V2018_03_01::Operations Redis = Azure::Redis::Mgmt::V2018_03_01::Redis - FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer module Models - RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters + Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation + TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource Sku = Azure::Redis::Mgmt::V2018_03_01::Models::Sku + ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource + RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters ExportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters RedisListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult RedisAccessKeys = Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters - Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource NotificationListResponse = Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse - OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult RedisUpdateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters ImportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters + Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters ScheduleEntry = Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters - Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation - RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult - UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse RedisLinkedServer = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer - OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList - RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters + RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult + UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters - ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource - TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource - RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule + RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters RedisResource = Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource - RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule + RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties + RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule + TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType + RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType SkuFamily = Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily - TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion ProvisioningState = Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState - RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType - RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType - DayOfWeek = Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole + OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay + OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult + DayOfWeek = Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek end class RedisManagementClass - attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes + attr_reader :firewall_rules, :operations, :redis, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -65,9 +65,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @firewall_rules = @client_0.firewall_rules @operations = @client_0.operations @redis = @client_0.redis - @firewall_rules = @client_0.firewall_rules @patch_schedules = @client_0.patch_schedules @linked_server = @client_0.linked_server @@ -88,12 +88,21 @@ def method_missing(method, *args) end class ModelClasses - def redis_reboot_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters + def operation + Azure::Redis::Mgmt::V2018_03_01::Models::Operation + end + def tracked_resource + Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource end def sku Azure::Redis::Mgmt::V2018_03_01::Models::Sku end + def proxy_resource + Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource + end + def redis_reboot_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters + end def export_rdbparameters Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters end @@ -106,21 +115,18 @@ def redis_access_keys def redis_regenerate_key_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters end - def resource - Azure::Redis::Mgmt::V2018_03_01::Models::Resource - end def notification_list_response Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse end - def operation_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult - end def redis_update_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters end def import_rdbparameters Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters end + def resource + Azure::Redis::Mgmt::V2018_03_01::Models::Resource + end def redis_firewall_rule_create_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters end @@ -130,78 +136,72 @@ def schedule_entry def check_name_availability_parameters Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters end - def operation - Azure::Redis::Mgmt::V2018_03_01::Models::Operation - end - def redis_patch_schedule_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult - end - def upgrade_notification - Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification - end def redis_force_reboot_response Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse end def redis_linked_server Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer end - def operation_display - Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay - end def redis_firewall_rule_list_result Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult end def redis_linked_server_with_properties_list Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList end - def redis_create_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters + def redis_patch_schedule_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult + end + def upgrade_notification + Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification end def redis_linked_server_create_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters end - def proxy_resource - Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource + def redis_create_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters end - def tracked_resource - Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource + def redis_resource + Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource end def redis_firewall_rule Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule end - def redis_resource - Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource + def redis_linked_server_with_properties + Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties end def redis_patch_schedule Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule end - def redis_linked_server_with_properties - Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties + def tls_version + Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion end def sku_name Azure::Redis::Mgmt::V2018_03_01::Models::SkuName end + def reboot_type + Azure::Redis::Mgmt::V2018_03_01::Models::RebootType + end + def redis_key_type + Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType + end def sku_family Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily end - def tls_version - Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion - end def provisioning_state Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState end - def redis_key_type - Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType + def replication_role + Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole end - def reboot_type - Azure::Redis::Mgmt::V2018_03_01::Models::RebootType + def operation_display + Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay + end + def operation_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult end def day_of_week Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek end - def replication_role - Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole - end end end end diff --git a/azure_sdk/lib/latest/modules/relay_profile_module.rb b/azure_sdk/lib/latest/modules/relay_profile_module.rb index 56d9ce6dd2..9294dfa2d5 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -7,43 +7,43 @@ module Azure::Profiles::Latest module Relay module Mgmt - Operations = Azure::Relay::Mgmt::V2017_04_01::Operations - Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays + Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces + Operations = Azure::Relay::Mgmt::V2017_04_01::Operations module Models + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation + TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource + Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku + AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult - OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay - Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult - CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult - ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys - Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection - WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay - RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace + CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier + WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay + RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum - AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights - KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType + OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse end class RelayManagementClass - attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes + attr_reader :hybrid_connections, :wcfrelays, :namespaces, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -53,10 +53,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @namespaces = @client_0.namespaces @hybrid_connections = @client_0.hybrid_connections @wcfrelays = @client_0.wcfrelays + @namespaces = @client_0.namespaces + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -75,14 +75,20 @@ def method_missing(method, *args) end class ModelClasses - def relay_namespace_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult + def operation + Azure::Relay::Mgmt::V2017_04_01::Models::Operation end - def operation_display - Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + def tracked_resource + Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource end - def resource - Azure::Relay::Mgmt::V2017_04_01::Models::Resource + def sku + Azure::Relay::Mgmt::V2017_04_01::Models::Sku + end + def access_rights + Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + end + def relay_namespace_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult end def check_name_availability Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability @@ -90,47 +96,29 @@ def check_name_availability def hybrid_connection_list_result Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult end - def check_name_availability_result - Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end def wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - def error_response - Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - end - def operation_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - end def authorization_rule_list_result Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult end - def sku - Azure::Relay::Mgmt::V2017_04_01::Models::Sku - end def access_keys Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation - end def regenerate_access_key_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end - def tracked_resource - Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource - end def resource_namespace_patch Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end def hybrid_connection Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection end - def wcf_relay - Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay + def check_name_availability_result + Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end - def relay_namespace - Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace + def resource + Azure::Relay::Mgmt::V2017_04_01::Models::Resource end def relay_update_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters @@ -144,17 +132,29 @@ def relaytype def sku_tier Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier end + def wcf_relay + Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay + end + def relay_namespace + Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace + end def provisioning_state_enum Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end - def access_rights - Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + def unavailable_reason + Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason end def key_type Azure::Relay::Mgmt::V2017_04_01::Models::KeyType end - def unavailable_reason - Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + def operation_display + Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + end + def error_response + Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse end end end diff --git a/azure_sdk/lib/latest/modules/resources_profile_module.rb b/azure_sdk/lib/latest/modules/resources_profile_module.rb index d33845cb43..0a759c666c 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,69 +7,69 @@ module Azure::Profiles::Latest module Resources module Mgmt + Resources = Azure::Resources::Mgmt::V2018_05_01::Resources Deployments = Azure::Resources::Mgmt::V2018_05_01::Deployments Providers = Azure::Resources::Mgmt::V2018_05_01::Providers - Resources = Azure::Resources::Mgmt::V2018_05_01::Resources ResourceGroups = Azure::Resources::Mgmt::V2018_05_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_05_01::Tags DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations module Models - Sku = Azure::Resources::Mgmt::V2018_05_01::Models::Sku - DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter + Plan = Azure::Resources::Mgmt::V2018_05_01::Models::Plan + Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency IdentityUserAssignedIdentitiesValue = Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue - ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter + ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable + OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + OnErrorDeployment = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment + OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType + DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter Identity = Azure::Resources::Mgmt::V2018_05_01::Models::Identity - ParametersLink = Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink + ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter + TemplateLink = Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink DebugSetting = Azure::Resources::Mgmt::V2018_05_01::Models::DebugSetting - DeploymentProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties ResourceListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult - DeploymentExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult + Deployment = Azure::Resources::Mgmt::V2018_05_01::Models::Deployment ResourceGroupProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties - AliasPathType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType + ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails + Sku = Azure::Resources::Mgmt::V2018_05_01::Models::Sku ResourceGroup = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup - ProviderResourceType = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType - ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable - BasicDependency = Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency ResourceGroupListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult - OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + Provider = Azure::Resources::Mgmt::V2018_05_01::Models::Provider ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo - DeploymentValidateResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest - DeploymentListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult + DeploymentValidateResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult TagCount = Azure::Resources::Mgmt::V2018_05_01::Models::TagCount - Plan = Azure::Resources::Mgmt::V2018_05_01::Models::Plan + DeploymentListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2018_05_01::Models::TagValue - TemplateLink = Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink TagDetails = Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails - Deployment = Azure::Resources::Mgmt::V2018_05_01::Models::Deployment + ParametersLink = Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink TagsListResult = Azure::Resources::Mgmt::V2018_05_01::Models::TagsListResult - AliasType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasType + DeploymentExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult TargetResource = Azure::Resources::Mgmt::V2018_05_01::Models::TargetResource - Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency + ProviderResourceType = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType + AliasType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasType HttpMessage = Azure::Resources::Mgmt::V2018_05_01::Models::HttpMessage - DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended DeploymentOperationProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties - GenericResourceFilter = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter + ProviderListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult DeploymentOperation = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation - ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails + DeploymentProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationsListResult - DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + BasicDependency = Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceProviderOperationDisplayProperties - OnErrorDeployment = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment - Resource = Azure::Resources::Mgmt::V2018_05_01::Models::Resource - ProviderListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult - SubResource = Azure::Resources::Mgmt::V2018_05_01::Models::SubResource - Provider = Azure::Resources::Mgmt::V2018_05_01::Models::Provider + GenericResourceFilter = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter + DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended + AliasPathType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupExportResult GenericResource = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource + Resource = Azure::Resources::Mgmt::V2018_05_01::Models::Resource DeploymentMode = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentMode - OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + SubResource = Azure::Resources::Mgmt::V2018_05_01::Models::SubResource ResourceIdentityType = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceIdentityType end class ResourcesManagementClass - attr_reader :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :resources, :deployments, :providers, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -79,9 +79,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @resources = @client_0.resources @deployments = @client_0.deployments @providers = @client_0.providers - @resources = @client_0.resources @resource_groups = @client_0.resource_groups @tags = @client_0.tags @deployment_operations = @client_0.deployment_operations @@ -103,143 +103,137 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::Resources::Mgmt::V2018_05_01::Models::Sku + def plan + Azure::Resources::Mgmt::V2018_05_01::Models::Plan end - def deployment_extended_filter - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter + def dependency + Azure::Resources::Mgmt::V2018_05_01::Models::Dependency end def identity_user_assigned_identities_value Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue end - def resource_group_filter - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter + def resource_group_patchable + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable + end + def on_error_deployment_extended + Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + end + def on_error_deployment + Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment + end + def on_error_deployment_type + Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType + end + def deployment_extended_filter + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter end def identity Azure::Resources::Mgmt::V2018_05_01::Models::Identity end - def parameters_link - Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink + def resource_group_filter + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter + end + def template_link + Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink end def debug_setting Azure::Resources::Mgmt::V2018_05_01::Models::DebugSetting end - def deployment_properties - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties - end def resource_list_result Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult end - def deployment_export_result - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult + def deployment + Azure::Resources::Mgmt::V2018_05_01::Models::Deployment end def resource_group_properties Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties end - def alias_path_type - Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType + def resource_management_error_with_details + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails + end + def sku + Azure::Resources::Mgmt::V2018_05_01::Models::Sku end def resource_group Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup end - def provider_resource_type - Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType - end - def resource_group_patchable - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable - end - def basic_dependency - Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency - end def resource_group_list_result Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult end - def on_error_deployment_extended - Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + def provider + Azure::Resources::Mgmt::V2018_05_01::Models::Provider end def resources_move_info Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo end - def deployment_validate_result - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult - end def export_template_request Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest end - def deployment_list_result - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult + def deployment_validate_result + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult end def tag_count Azure::Resources::Mgmt::V2018_05_01::Models::TagCount end - def plan - Azure::Resources::Mgmt::V2018_05_01::Models::Plan + def deployment_list_result + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult end def tag_value Azure::Resources::Mgmt::V2018_05_01::Models::TagValue end - def template_link - Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink - end def tag_details Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails end - def deployment - Azure::Resources::Mgmt::V2018_05_01::Models::Deployment + def parameters_link + Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink end def tags_list_result Azure::Resources::Mgmt::V2018_05_01::Models::TagsListResult end - def alias_type - Azure::Resources::Mgmt::V2018_05_01::Models::AliasType + def deployment_export_result + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult end def target_resource Azure::Resources::Mgmt::V2018_05_01::Models::TargetResource end - def dependency - Azure::Resources::Mgmt::V2018_05_01::Models::Dependency + def provider_resource_type + Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType + end + def alias_type + Azure::Resources::Mgmt::V2018_05_01::Models::AliasType end def http_message Azure::Resources::Mgmt::V2018_05_01::Models::HttpMessage end - def deployment_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended - end def deployment_operation_properties Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties end - def generic_resource_filter - Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter + def provider_list_result + Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult end def deployment_operation Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation end - def resource_management_error_with_details - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails + def deployment_properties + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties end def deployment_operations_list_result Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationsListResult end - def deployment_properties_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + def basic_dependency + Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency end def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2018_05_01::Models::ResourceProviderOperationDisplayProperties end - def on_error_deployment - Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment - end - def resource - Azure::Resources::Mgmt::V2018_05_01::Models::Resource - end - def provider_list_result - Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult + def generic_resource_filter + Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter end - def sub_resource - Azure::Resources::Mgmt::V2018_05_01::Models::SubResource + def deployment_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended end - def provider - Azure::Resources::Mgmt::V2018_05_01::Models::Provider + def alias_path_type + Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType end def resource_group_export_result Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupExportResult @@ -247,11 +241,17 @@ def resource_group_export_result def generic_resource Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource end + def resource + Azure::Resources::Mgmt::V2018_05_01::Models::Resource + end def deployment_mode Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentMode end - def on_error_deployment_type - Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType + def deployment_properties_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + end + def sub_resource + Azure::Resources::Mgmt::V2018_05_01::Models::SubResource end def resource_identity_type Azure::Resources::Mgmt::V2018_05_01::Models::ResourceIdentityType diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index d6d4b7482c..06557f722b 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -9,16 +9,17 @@ module ResourcesManagement module Mgmt ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupSubscriptions - Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities + Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations module Models - ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup ErrorDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails + Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation + Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type + CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo - OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult @@ -26,24 +27,23 @@ module Models EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest - ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo - CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo - Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo + OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status - Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type + ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup + ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse end class ResourcesManagementManagementClass - attr_reader :management_groups, :management_group_subscriptions, :operations, :entities, :configurable, :base_url, :options, :model_classes + attr_reader :management_groups, :management_group_subscriptions, :entities, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -55,8 +55,8 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions - @operations = @client_0.operations @entities = @client_0.entities + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -75,12 +75,18 @@ def method_missing(method, *args) end class ModelClasses - def management_group - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup - end def error_details Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails end + def operation + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation + end + def type + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type + end + def check_name_availability_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult + end def operation_results Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults end @@ -90,9 +96,6 @@ def operation_display_properties def entity_parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo end - def operation_list_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult - end def entity_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo end @@ -114,15 +117,9 @@ def management_group_details def patch_management_group_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest end - def error_response - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse - end def create_parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo end - def check_name_availability_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult - end def create_management_group_details Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails end @@ -132,15 +129,15 @@ def parent_group_info def create_management_group_child_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo end - def operation - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation - end def create_management_group_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest end def management_group_child_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo end + def operation_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult + end def check_name_availability_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest end @@ -153,8 +150,11 @@ def reason def status Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status end - def type - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type + def management_group + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup + end + def error_response + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse end end end diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index 50290bce4b..172b48266b 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -12,49 +12,49 @@ module Mgmt module Models JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence - Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota - JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication - JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage + JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties - JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition + JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties - JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence + JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage - JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage + JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication - BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication - OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState - RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency - JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType + OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay - JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType + JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties + Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku + BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy + RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek end class SchedulerManagementClass @@ -91,18 +91,9 @@ class ModelClasses def job_recurrence Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence end - def sku - Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - end - def job_status - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus - end def job_collection_quota Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota end - def job_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - end def job_collection_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition end @@ -112,39 +103,33 @@ def job_definition def http_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication end - def job_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - end def storage_queue_message Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage end + def job_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + end def job_history_definition_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties end def http_request Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest end - def retry_policy - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy - end def service_bus_brokered_message_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties end - def job_action - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction - end def job_recurrence_schedule Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule end def job_history_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition end + def job_action + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction + end def job_collection_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties end - def job_history_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult - end def job_error_action Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction end @@ -160,53 +145,44 @@ def job_state_filter def job_recurrence_schedule_monthly_occurrence Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence end + def job_history_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + end def service_bus_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage end - def job_collection_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult - end def service_bus_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication end def service_bus_queue_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage end + def job_collection_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult + end def service_bus_topic_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage end def client_cert_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication end - def basic_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication - end - def oauth_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication - end def sku_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition end def job_collection_state Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState end - def recurrence_frequency - Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency - end - def job_action_type - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType + def oauth_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication end def retry_type Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType end - def day_of_week - Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek - end def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay end - def job_state - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + def job_action_type + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType end def job_history_action_name Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName @@ -220,6 +196,30 @@ def service_bus_authentication_type def service_bus_transport_type Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType end + def job_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties + end + def sku + Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku + end + def basic_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + end + def job_status + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + end + def job_state + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + end + def retry_policy + Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy + end + def recurrence_frequency + Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + end + def day_of_week + Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + end end end end diff --git a/azure_sdk/lib/latest/modules/search_profile_module.rb b/azure_sdk/lib/latest/modules/search_profile_module.rb index 6f3597ad7d..d5210d04a1 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -7,34 +7,34 @@ module Azure::Profiles::Latest module Search module Mgmt - Operations = Azure::Search::Mgmt::V2015_08_19::Operations - AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys Services = Azure::Search::Mgmt::V2015_08_19::Services + Operations = Azure::Search::Mgmt::V2015_08_19::Operations + AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys module Models + CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput - Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey - Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku - CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay - Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation - AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService + Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason - SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode + Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku + AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus + AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay + OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource + SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState - AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind end class SearchManagementClass - attr_reader :operations, :admin_keys, :query_keys, :services, :configurable, :base_url, :options, :model_classes + attr_reader :query_keys, :services, :operations, :admin_keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -44,10 +44,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @admin_keys = @client_0.admin_keys @query_keys = @client_0.query_keys @services = @client_0.services + @operations = @client_0.operations + @admin_keys = @client_0.admin_keys @model_classes = ModelClasses.new end @@ -66,60 +66,60 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_input + Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput + end def identity Azure::Search::Mgmt::V2015_08_19::Models::Identity end def check_name_availability_output Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput end - def resource - Azure::Search::Mgmt::V2015_08_19::Models::Resource - end def query_key Azure::Search::Mgmt::V2015_08_19::Models::QueryKey end - def sku - Azure::Search::Mgmt::V2015_08_19::Models::Sku - end - def check_name_availability_input - Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - end - def operation_display - Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay - end - def operation - Azure::Search::Mgmt::V2015_08_19::Models::Operation - end - def admin_key_result - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - end - def operation_list_result - Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult - end def search_management_request_options Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions end def search_service Azure::Search::Mgmt::V2015_08_19::Models::SearchService end + def operation + Azure::Search::Mgmt::V2015_08_19::Models::Operation + end def unavailable_name_reason Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason end - def sku_name - Azure::Search::Mgmt::V2015_08_19::Models::SkuName - end def hosting_mode Azure::Search::Mgmt::V2015_08_19::Models::HostingMode end + def sku + Azure::Search::Mgmt::V2015_08_19::Models::Sku + end + def admin_key_kind + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + end def search_service_status Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus end + def admin_key_result + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + end + def operation_display + Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay + end + def operation_list_result + Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + end + def resource + Azure::Search::Mgmt::V2015_08_19::Models::Resource + end + def sku_name + Azure::Search::Mgmt::V2015_08_19::Models::SkuName + end def provisioning_state Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState end - def admin_key_kind - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind - end end end end diff --git a/azure_sdk/lib/latest/modules/security_profile_module.rb b/azure_sdk/lib/latest/modules/security_profile_module.rb index f978bcb402..69386d5c58 100644 --- a/azure_sdk/lib/latest/modules/security_profile_module.rb +++ b/azure_sdk/lib/latest/modules/security_profile_module.rb @@ -7,11 +7,11 @@ module Azure::Profiles::Latest module Security module Mgmt - Pricings = Azure::Security::Mgmt::V2017_08_01_preview::Pricings SecurityContacts = Azure::Security::Mgmt::V2017_08_01_preview::SecurityContacts WorkspaceSettings = Azure::Security::Mgmt::V2017_08_01_preview::WorkspaceSettings AutoProvisioningSettings = Azure::Security::Mgmt::V2017_08_01_preview::AutoProvisioningSettings Compliances = Azure::Security::Mgmt::V2017_08_01_preview::Compliances + Pricings = Azure::Security::Mgmt::V2017_08_01_preview::Pricings module Models AutoProvisioningSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSettingList @@ -19,7 +19,6 @@ module Models ComplianceSegment = Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceSegment SecurityContactList = Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContactList ComplianceList = Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceList - Resource = Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource WorkspaceSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList SecurityContact = Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact Pricing = Azure::Security::Mgmt::V2017_08_01_preview::Models::Pricing @@ -30,10 +29,11 @@ module Models AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier AutoProvision = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision + Resource = Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource end class SecurityManagementClass - attr_reader :pricings, :security_contacts, :workspace_settings, :auto_provisioning_settings, :compliances, :configurable, :base_url, :options, :model_classes + attr_reader :security_contacts, :workspace_settings, :auto_provisioning_settings, :compliances, :pricings, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,11 +43,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @pricings = @client_0.pricings @security_contacts = @client_0.security_contacts @workspace_settings = @client_0.workspace_settings @auto_provisioning_settings = @client_0.auto_provisioning_settings @compliances = @client_0.compliances + @pricings = @client_0.pricings @model_classes = ModelClasses.new end @@ -81,9 +81,6 @@ def security_contact_list def compliance_list Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceList end - def resource - Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource - end def workspace_setting_list Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList end @@ -114,6 +111,9 @@ def pricing_tier def auto_provision Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision end + def resource + Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource + end end end end diff --git a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb index f879eb0bf0..3e0f656d45 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -7,20 +7,23 @@ module Azure::Profiles::Latest module ServiceBus module Mgmt - Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations + Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces + Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions + Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs MigrationConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::MigrationConfigs Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues - Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics - Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions Rules = Azure::ServiceBus::Mgmt::V2017_04_01::Rules - Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs + Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions module Models - OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability + AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys + RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch SBQueueListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination SBTopicListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult @@ -29,53 +32,50 @@ module Models ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult - CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability - AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties - Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource - Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult - OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties - ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription - Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter - RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription + OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay Rule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule - SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction + OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions - Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType MigrationConfigProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties + ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR + ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse + RoleDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason + EntityStatus = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus + TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource + AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights + CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier - AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights + Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType - EntityStatus = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus - UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason - FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType - EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription - ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR - RoleDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery end class ServiceBusManagementClass - attr_reader :operations, :namespaces, :disaster_recovery_configs, :migration_configs, :queues, :topics, :subscriptions, :rules, :regions, :premium_messaging_regions_operations, :event_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :topics, :namespaces, :regions, :operations, :disaster_recovery_configs, :migration_configs, :queues, :rules, :premium_messaging_regions_operations, :event_hubs, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -85,17 +85,17 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations + @topics = @client_0.topics @namespaces = @client_0.namespaces + @regions = @client_0.regions + @operations = @client_0.operations @disaster_recovery_configs = @client_0.disaster_recovery_configs @migration_configs = @client_0.migration_configs @queues = @client_0.queues - @topics = @client_0.topics - @subscriptions = @client_0.subscriptions @rules = @client_0.rules - @regions = @client_0.regions @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations @event_hubs = @client_0.event_hubs + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -114,8 +114,17 @@ def method_missing(method, *args) end class ModelClasses - def operation_display - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + def check_name_availability + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability + end + def access_keys + Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys + end + def regenerate_access_key_parameters + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + end + def resource_namespace_patch + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end def sbqueue_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult @@ -141,45 +150,21 @@ def sbsubscription_list_result def sbauthorization_rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult end - def check_name_availability - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability - end - def access_keys - Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - end - def check_name_availability_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end def message_count_details Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails end def premium_messaging_regions_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties end - def resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource - end - def operation - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation - end def sbnamespace_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult end - def operation_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult - end def authorization_rule_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties end - def error_response - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse - end def capture_description Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription end - def action - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action - end def event_hub_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult end @@ -192,18 +177,9 @@ def sbsku def correlation_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter end - def regenerate_access_key_parameters - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - end def rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult end - def tracked_resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - end - def resource_namespace_patch - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - end def sbnamespace Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace end @@ -222,53 +198,77 @@ def sbtopic def sbsubscription Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription end + def operation_display + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + end def rule Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule end - def sql_rule_action - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction + def operation_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult end def premium_messaging_regions Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end - def eventhub - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + def sql_rule_action + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction end def arm_disaster_recovery Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery end + def eventhub + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + end + def filter_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + end def migration_config_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties end - def sku_name - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName + def provisioning_state_dr + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR end - def sku_tier - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + def error_response + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse end - def access_rights - Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights + def role_disaster_recovery + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery end - def key_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType + def encoding_capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription end - def entity_status - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus + def operation + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation end def unavailable_reason Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason end - def filter_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + def entity_status + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus end - def encoding_capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + def tracked_resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource end - def provisioning_state_dr - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR + def access_rights + Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights end - def role_disaster_recovery - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + def check_name_availability_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource + end + def sku_name + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName + end + def sku_tier + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + end + def action + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + end + def key_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType end end end diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index 923fd9c104..088654deb6 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -8,23 +8,17 @@ module Azure::Profiles::Latest module ServiceFabric module Mgmt ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType - Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application + Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service - Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters ClusterVersions = Azure::ServiceFabric::Mgmt::V2018_02_01::ClusterVersions + Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations module Models - ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase - ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem - ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription - ServiceCorrelationDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription - ServicePlacementPolicyDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription ApplicationParameter = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription - ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList @@ -46,41 +40,47 @@ module Models StatelessServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties - EndpointRangeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription - ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy - NodeTypeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription - ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy - ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy - AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay - ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy - CertificateDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription + ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase + ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem + ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription + ServiceCorrelationDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription + ServicePlacementPolicyDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription + ServerCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName + ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult + ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult + ApplicationDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy + DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig + ErrorModelError = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy + AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay + ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy + AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory + ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy + ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName ClientCertificateThumbprint = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint + ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy ClusterVersionDetails = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails - ServerCertificateCommonNames = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames - ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription - ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult - ApplicationDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy - ClusterListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult - AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory - ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters - ServerCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName - OperationResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult + ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy SettingsSectionDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription - OperationListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult - ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName + EndpointRangeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription + NodeTypeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription Resource = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource - ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy - ErrorModelError = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError - DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig - ErrorModel = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel - Cluster = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster + OperationResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult ProvisioningState = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState + ClusterListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult + Cluster = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster + CertificateDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription + OperationListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult + ErrorModel = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel + ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy + ServerCertificateCommonNames = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames + ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters end class ServiceFabricManagementClass - attr_reader :application_type, :version, :application, :service, :clusters, :cluster_versions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :application_type, :application, :version, :service, :cluster_versions, :clusters, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -91,8 +91,8 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @application_type = @client_0.application_type - @version = @client_0.version @application = @client_0.application + @version = @client_0.version @service = @client_0.service @client_1 = Azure::ServiceFabric::Mgmt::V2018_02_01::ServiceFabricManagementClient.new(configurable.credentials, base_url, options) @@ -100,8 +100,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @clusters = @client_1.clusters @cluster_versions = @client_1.cluster_versions + @clusters = @client_1.clusters @operations = @client_1.operations @model_classes = ModelClasses.new @@ -123,21 +123,6 @@ def method_missing(method, *args) end class ModelClasses - def service_properties_base - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase - end - def service_type_health_policy_map_item - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem - end - def application_metric_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription - end - def service_correlation_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription - end - def service_placement_policy_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription - end def application_parameter Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter end @@ -147,9 +132,6 @@ def service_load_metric_description def partition_scheme_description Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription end - def proxy_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource - end def rolling_upgrade_monitoring_policy Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy end @@ -213,98 +195,116 @@ def stateful_service_properties def stateful_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties end - def endpoint_range_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription + def proxy_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource end - def service_type_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy + def service_properties_base + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase end - def node_type_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription + def service_type_health_policy_map_item + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem end - def service_type_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy + def application_metric_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription end - def cluster_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy + def service_correlation_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription end - def available_operation_display - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay + def service_placement_policy_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription end - def cluster_upgrade_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy + def server_certificate_common_name + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName end - def certificate_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription + def cluster_code_versions_list_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult + end + def cluster_code_versions_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult + end + def application_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy + end + def diagnostics_storage_account_config + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig + end + def error_model_error + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError end def cluster_upgrade_policy Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy end + def available_operation_display + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay + end + def cluster_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy + end + def azure_active_directory + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory + end + def service_type_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy + end + def client_certificate_common_name + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName + end def client_certificate_thumbprint Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint end + def cluster_upgrade_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy + end def cluster_version_details Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails end - def server_certificate_common_names - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames - end - def cluster_code_versions_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult - end def settings_parameter_description Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription end - def cluster_code_versions_list_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult - end - def application_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy + def application_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy end - def cluster_list_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult + def settings_section_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription end - def azure_active_directory - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory + def endpoint_range_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription end - def cluster_update_parameters - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters + def node_type_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription end - def server_certificate_common_name - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName + def resource + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource end def operation_result Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult end - def settings_section_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription - end - def operation_list_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult - end - def client_certificate_common_name - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName + def provisioning_state + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState end - def resource - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource + def cluster_list_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult end - def application_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy + def cluster + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster end - def error_model_error - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError + def certificate_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription end - def diagnostics_storage_account_config - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig + def operation_list_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult end def error_model Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel end - def cluster - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster + def service_type_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy end - def provisioning_state - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState + def server_certificate_common_names + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames + end + def cluster_update_parameters + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters end end end diff --git a/azure_sdk/lib/latest/modules/signalr_profile_module.rb b/azure_sdk/lib/latest/modules/signalr_profile_module.rb index 1537bc1ec8..e993587778 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -7,35 +7,35 @@ module Azure::Profiles::Latest module Signalr module Mgmt - Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR + Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations module Models - ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku - OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay - ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification - SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation - OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability - Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource + ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters - RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier - ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters + OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType + OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource + ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState end class SignalrManagementClass - attr_reader :operations, :signal_r, :configurable, :base_url, :options, :model_classes + attr_reader :signal_r, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -45,8 +45,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @signal_r = @client_0.signal_r + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -65,23 +65,11 @@ def method_missing(method, *args) end class ModelClasses - def resource_sku - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku - end - def operation_display - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay - end - def service_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification - end - def signal_rresource_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList - end def operation Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation end - def operation_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + def signal_rresource_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList end def signal_rupdate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters @@ -89,8 +77,8 @@ def signal_rupdate_parameters def name_availability Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability end - def resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource + def service_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification end def operation_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties @@ -98,21 +86,18 @@ def operation_properties def signal_rcreate_or_update_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties end - def metric_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification - end def signal_rkeys Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys end def name_availability_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters end - def regenerate_key_parameters - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters - end def tracked_resource Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource end + def metric_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + end def signal_rresource Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource end @@ -122,12 +107,27 @@ def signal_rcreate_parameters def signal_rsku_tier Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier end - def provisioning_state - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + def regenerate_key_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters + end + def operation_display + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay end def key_type Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType end + def operation_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + end + def resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource + end + def resource_sku + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + end + def provisioning_state + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + end end end end diff --git a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb index 270c7da4d9..0de00a2d38 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -8,20 +8,20 @@ module Azure::Profiles::Latest module SpellCheck module Models - SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken - Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error - SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer - ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode + SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode - ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode + SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error + ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end class SpellCheckDataClass @@ -53,48 +53,48 @@ def method_missing(method, *args) end class ModelClasses - def spelling_token_suggestion - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion - end def response_base Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase end + def identifiable + Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer + end + def error_code + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode + end + def spelling_token_suggestion + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + end def spelling_flagged_token Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken end - def error - Azure::CognitiveServices::SpellCheck::V1_0::Models::Error + def error_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType + end + def error_sub_code + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode + end + def mode + Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode end def spell_check Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck end - def identifiable - Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable - end def response Azure::CognitiveServices::SpellCheck::V1_0::Models::Response end - def answer - Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer - end def error_response Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse end - def error_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType - end - def error_code - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode + def error + Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end def action_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end - def mode - Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode - end end end end diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index 8cbd7c50a7..010338fc91 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -36,67 +36,58 @@ module Mgmt DatabaseConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseConnectionPolicies ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages DatabaseUsages = Azure::SQL::Mgmt::V2014_04_01::DatabaseUsages - DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors + VirtualNetworkRules = Azure::SQL::Mgmt::V2015_05_01_preview::VirtualNetworkRules DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions - ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations - EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors + Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations FailoverGroups = Azure::SQL::Mgmt::V2015_05_01_preview::FailoverGroups FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances - Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations + ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors + DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors ServerKeys = Azure::SQL::Mgmt::V2015_05_01_preview::ServerKeys - Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents SyncGroups = Azure::SQL::Mgmt::V2015_05_01_preview::SyncGroups + Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers + EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages - VirtualNetworkRules = Azure::SQL::Mgmt::V2015_05_01_preview::VirtualNetworkRules + DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies ServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerBlobAuditingPolicies - DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments + BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions - Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs JobStepExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobStepExecutions - JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions - JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups + JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps JobVersions = Azure::SQL::Mgmt::V2017_03_01_preview::JobVersions - LongTermRetentionBackups = Azure::SQL::Mgmt::V2017_03_01_preview::LongTermRetentionBackups - BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases - RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints SensitivityLabels = Azure::SQL::Mgmt::V2017_03_01_preview::SensitivityLabels - ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations + LongTermRetentionBackups = Azure::SQL::Mgmt::V2017_03_01_preview::LongTermRetentionBackups + JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies + RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + BackupShortTermRetentionPolicies = Azure::SQL::Mgmt::V2017_10_01_preview::BackupShortTermRetentionPolicies + ElasticPools = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPools + TdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::TdeCertificates + ManagedInstanceTdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::ManagedInstanceTdeCertificates + Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities DatabaseOperations = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseOperations + Databases = Azure::SQL::Mgmt::V2017_10_01_preview::Databases ElasticPoolOperations = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPoolOperations DatabaseVulnerabilityAssessmentScans = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseVulnerabilityAssessmentScans - Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities - Databases = Azure::SQL::Mgmt::V2017_10_01_preview::Databases - ElasticPools = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPools InstanceFailoverGroups = Azure::SQL::Mgmt::V2017_10_01_preview::InstanceFailoverGroups - BackupShortTermRetentionPolicies = Azure::SQL::Mgmt::V2017_10_01_preview::BackupShortTermRetentionPolicies - TdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::TdeCertificates - ManagedInstanceTdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::ManagedInstanceTdeCertificates module Models - MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult - DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult - TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage - ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult ServerCommunicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult @@ -118,93 +109,99 @@ module Models QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName - RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult - Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability MetricListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult - MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability - ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult - MetricDefinition = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition + RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact MetricDefinitionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult + ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult - CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest - QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult QueryInterval = Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval - RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult - TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric ElasticPoolDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult - BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault + TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult RecoverableDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase - ServerConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy + BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor TransparentDataEncryption = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption + ServerConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy RecommendedIndex = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex - DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy - DataMaskingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy - DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule + DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + DataMaskingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy + RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool ImportExportResponse = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse + ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator ImportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest - RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool + ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult ReplicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink - ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator - ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective - ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity - ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity + MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy + Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric + ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink + ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity + BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy - BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState - MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits + ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType - DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition - ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName + MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits TransparentDataEncryptionStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus RecommendedIndexAction = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition + SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins - SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault - DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState DataMaskingRuleState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState DataMaskingFunction = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction DisasterRecoveryConfigurationStatus = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus + SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault + DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState + CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition DisasterRecoveryConfigurationAutoFailover = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy DisasterRecoveryConfigurationRole = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole - ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition + PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState StorageKeyType = Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType - UnitType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitType - PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType - UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType + QueryMetricUnit = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit + ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion QueryAggregationFunction = Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction QueryExecutionType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType QueryObservedMetricType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType - QueryMetricUnit = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit - ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole - ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState - ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay - Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState + UnitType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitType + ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult + QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult + DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + MetricDefinition = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition + ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo - OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord ManagedInstanceUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate FirewallRuleList = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList @@ -224,114 +221,86 @@ module Models FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult - VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult - ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult PartnerInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo - ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName SubscriptionUsageListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult + OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint - SyncAgentKeyProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties + OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties - SyncMemberListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult + SyncAgentKeyProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate SyncAgentLinkedDatabaseListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult AutomaticTuningOptions = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions SyncDatabaseIdProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties + SyncMemberListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor DatabaseAutomaticTuning = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning EncryptionProtector = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector - FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName - FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule ManagedInstance = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance - ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase - SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup - SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey + ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate SubscriptionUsage = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage - VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom + Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus - AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom + SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup + ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy - ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod - IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable - AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode AutomaticTuningDisabledReason = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason - ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType - FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType - OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState - SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType - SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode SyncConflictResolutionPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy + SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole SyncGroupState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection + SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult - JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction - ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate - ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult - ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition - AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - SensitivityLabelListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelListResult - JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult - JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult - JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult - DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput - ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions - ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy - ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult + FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin + VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult + VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult ServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy - DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy ImportExportOperationResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult DatabaseVulnerabilityAssessmentRuleBaseline = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline DataWarehouseUserActivities = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobAgent = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent JobCredential = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution - Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup - BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase - RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint SensitivityLabel = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel - ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy - BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle - ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType @@ -339,87 +308,118 @@ module Models JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode + AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason ManagedDatabaseCreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode + VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + SensitivityLabelSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelSource + LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType - AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode + BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual - AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState - LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState - VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName - SensitivityLabelSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelSource - ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability - ServiceObjectiveCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability - DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperationListResult - EditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::EditionCapability - Resource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource - ElasticPoolPerDatabaseMinPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability - BackupShortTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult - ElasticPoolPerDatabaseMaxPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability - VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties - ElasticPoolPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerformanceLevelCapability - VulnerabilityAssessmentScanError = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanError - InstanceFailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadOnlyEndpoint - VulnerabilityAssessmentScanRecordListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecordListResult - ServerVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability - MaxSizeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability - ManagedInstanceVcoresCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability - MaxSizeRangeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeRangeCapability - ManagedInstanceFamilyCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceFamilyCapability - Sku = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku - ManagedInstanceEditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceEditionCapability - ManagedInstanceVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVersionCapability - ElasticPoolOperationListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperationListResult + JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + SensitivityLabelListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelListResult + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput + ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition + JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + DatabaseOperation = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation + MaxSizeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability + DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment + EditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::EditionCapability + ElasticPoolListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult + ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability LocationCapabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LocationCapabilities + ManagementOperationState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState + DatabaseStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus + CatalogCollationType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType + ServerVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability + DatabaseListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult + ServiceObjectiveCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability + ElasticPoolPerDatabaseMinPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability + ElasticPoolPerDatabaseMaxPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability + ElasticPoolPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerformanceLevelCapability + VulnerabilityAssessmentScanError = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanError + InstanceFailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadOnlyEndpoint + VulnerabilityAssessmentScanRecordListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecordListResult + BackupShortTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult + ManagedInstanceVcoresCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability + MaxSizeRangeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeRangeCapability + ManagedInstanceFamilyCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceFamilyCapability + ManagedInstanceVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVersionCapability + ElasticPoolOperationListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperationListResult + ManagedInstanceEditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceEditionCapability ManagedInstancePairInfo = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstancePairInfo InstanceFailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadWriteEndpoint LogSizeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeCapability - DatabaseListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult - LicenseTypeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LicenseTypeCapability - DatabaseUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate InstanceFailoverGroupListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupListResult - ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition PerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelCapability - ElasticPoolPerDatabaseSettings = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings + LicenseTypeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LicenseTypeCapability PartnerRegionInfo = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PartnerRegionInfo - ElasticPoolUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate - ElasticPoolListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult - ProxyResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource - DatabaseOperation = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation - TrackedResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource ElasticPoolOperation = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperation - DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment VulnerabilityAssessmentScanRecord = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecord + DatabaseUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate DatabaseVulnerabilityAssessmentScansExport = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessmentScansExport - Database = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database - ElasticPool = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool - InstanceFailoverGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup + ElasticPoolPerDatabaseSettings = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings BackupShortTermRetentionPolicy = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicy + Database = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database + ElasticPoolUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate TdeCertificate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TdeCertificate - ManagementOperationState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState - VulnerabilityAssessmentScanTriggerType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanTriggerType + ElasticPool = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool VulnerabilityAssessmentScanState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanState MaxSizeUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeUnit + VulnerabilityAssessmentScanTriggerType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanTriggerType + InstanceFailoverGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup + DatabaseReadScale = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale LogSizeUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeUnit - CapabilityStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus - PerformanceLevelUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit - CreateMode = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode - SampleName = Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName - DatabaseStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus - CatalogCollationType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType + TrackedResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource + CapabilityGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup + Sku = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku + ProxyResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource DatabaseLicenseType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseLicenseType - DatabaseReadScale = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale - ElasticPoolState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + CreateMode = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode ElasticPoolLicenseType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolLicenseType + InstanceFailoverGroupReplicationRole = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadWriteEndpointFailoverPolicy ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadOnlyEndpointFailoverPolicy - InstanceFailoverGroupReplicationRole = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole - CapabilityGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup + CapabilityStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus + PerformanceLevelUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit + Resource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource + SampleName = Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName + ElasticPoolState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition + DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperationListResult + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :sensitivity_labels, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :database_operations, :elastic_pool_operations, :database_vulnerability_assessment_scans, :capabilities, :databases, :elastic_pools, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :virtual_network_rules, :database_recommended_actions, :database_automatic_tuning_operations, :operations, :failover_groups, :firewall_rules, :managed_instances, :server_advisors, :database_advisors, :server_keys, :sync_agents, :sync_groups, :servers, :encryption_protectors, :sync_members, :subscription_usages, :database_blob_auditing_policies, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :backup_long_term_retention_policies, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :job_step_executions, :job_target_executions, :job_steps, :job_versions, :managed_databases, :sensitivity_labels, :long_term_retention_backups, :job_target_groups, :server_dns_aliases, :server_automatic_tuning_operations, :server_security_alert_policies, :restore_points, :jobs, :backup_short_term_retention_policies, :elastic_pools, :tde_certificates, :managed_instance_tde_certificates, :capabilities, :database_operations, :databases, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -464,68 +464,68 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @database_advisors = @client_1.database_advisors + @virtual_network_rules = @client_1.virtual_network_rules @database_recommended_actions = @client_1.database_recommended_actions - @server_advisors = @client_1.server_advisors @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations - @encryption_protectors = @client_1.encryption_protectors + @operations = @client_1.operations @failover_groups = @client_1.failover_groups @firewall_rules = @client_1.firewall_rules @managed_instances = @client_1.managed_instances - @operations = @client_1.operations + @server_advisors = @client_1.server_advisors + @database_advisors = @client_1.database_advisors @server_keys = @client_1.server_keys - @servers = @client_1.servers @sync_agents = @client_1.sync_agents @sync_groups = @client_1.sync_groups + @servers = @client_1.servers + @encryption_protectors = @client_1.encryption_protectors @sync_members = @client_1.sync_members @subscription_usages = @client_1.subscription_usages - @virtual_network_rules = @client_1.virtual_network_rules @client_2 = Azure::SQL::Mgmt::V2017_03_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies @server_blob_auditing_policies = @client_2.server_blob_auditing_policies - @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @database_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines @database_vulnerability_assessments = @client_2.database_vulnerability_assessments + @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations @job_agents = @client_2.job_agents @job_credentials = @client_2.job_credentials @job_executions = @client_2.job_executions - @jobs = @client_2.jobs @job_step_executions = @client_2.job_step_executions - @job_steps = @client_2.job_steps @job_target_executions = @client_2.job_target_executions - @job_target_groups = @client_2.job_target_groups + @job_steps = @client_2.job_steps @job_versions = @client_2.job_versions - @long_term_retention_backups = @client_2.long_term_retention_backups - @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @managed_databases = @client_2.managed_databases - @restore_points = @client_2.restore_points @sensitivity_labels = @client_2.sensitivity_labels - @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations + @long_term_retention_backups = @client_2.long_term_retention_backups + @job_target_groups = @client_2.job_target_groups @server_dns_aliases = @client_2.server_dns_aliases + @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_security_alert_policies = @client_2.server_security_alert_policies + @restore_points = @client_2.restore_points + @jobs = @client_2.jobs @client_3 = Azure::SQL::Mgmt::V2017_10_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) + @backup_short_term_retention_policies = @client_3.backup_short_term_retention_policies + @elastic_pools = @client_3.elastic_pools + @tde_certificates = @client_3.tde_certificates + @managed_instance_tde_certificates = @client_3.managed_instance_tde_certificates + @capabilities = @client_3.capabilities @database_operations = @client_3.database_operations + @databases = @client_3.databases @elastic_pool_operations = @client_3.elastic_pool_operations @database_vulnerability_assessment_scans = @client_3.database_vulnerability_assessment_scans - @capabilities = @client_3.capabilities - @databases = @client_3.databases - @elastic_pools = @client_3.elastic_pools @instance_failover_groups = @client_3.instance_failover_groups - @backup_short_term_retention_policies = @client_3.backup_short_term_retention_policies - @tde_certificates = @client_3.tde_certificates - @managed_instance_tde_certificates = @client_3.managed_instance_tde_certificates @model_classes = ModelClasses.new end @@ -550,33 +550,6 @@ def method_missing(method, *args) end class ModelClasses - def metric_value - Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - end - def service_objective_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult - end - def data_masking_rule_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - end - def query_text - Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - end - def database_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult - end - def transparent_data_encryption_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - end - def database_usage - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage - end - def extension_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - end - def server_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - end def server_communication_link_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult end @@ -640,26 +613,14 @@ def backup_long_term_retention_vault_list_result def metric_name Azure::SQL::Mgmt::V2014_04_01::Models::MetricName end - def restorable_dropped_database_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult - end - def metric - Azure::SQL::Mgmt::V2014_04_01::Models::Metric - end def elastic_pool_per_database_min_dtu_capability Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability end def metric_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult end - def metric_availability - Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability - end - def server_table_auditing_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult - end - def metric_definition - Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition + def restorable_dropped_database_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult end def operation_impact Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact @@ -667,14 +628,14 @@ def operation_impact def metric_definition_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult end + def server_table_auditing_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult + end def backup_long_term_retention_policy_list_result Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult end - def check_name_availability_request - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest - end - def query_metric - Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + def metric_availability + Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability end def service_tier_advisor_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult @@ -682,17 +643,14 @@ def service_tier_advisor_list_result def query_interval Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval end - def recoverable_database_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult - end def query_statistic Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic end def database_table_auditing_policy_list_result Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult end - def top_queries - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + def query_metric + Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric end def elastic_pool_dtu_capability Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability @@ -700,14 +658,17 @@ def elastic_pool_dtu_capability def top_queries_list_result Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult end - def advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + def recoverable_database_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult end def query_statistic_list_result Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end - def backup_long_term_retention_vault - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault + def top_queries + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries + end + def advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult end def recoverable_database Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase @@ -715,8 +676,8 @@ def recoverable_database def restorable_dropped_database Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase end - def server_connection_policy - Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy + def backup_long_term_retention_vault + Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault end def service_tier_advisor Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor @@ -724,50 +685,50 @@ def service_tier_advisor def transparent_data_encryption Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption end + def server_connection_policy + Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy + end def recommended_index Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex end - def database_security_alert_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy - end - def data_masking_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy + def disaster_recovery_configuration + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration end def data_masking_rule Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule end - def disaster_recovery_configuration - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + def database_security_alert_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy end def geo_backup_policy Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy end + def data_masking_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy + end + def recommended_elastic_pool + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool + end def import_export_response Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse end + def server_azure_adadministrator + Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator + end def import_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest end - def recommended_elastic_pool - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool + def server_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult end def replication_link Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink end - def server_azure_adadministrator - Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator - end - def server_communication_link - Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink - end def service_objective Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective end - def elastic_pool_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity - end - def elastic_pool_database_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity + def metric_value + Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue end def transparent_data_encryption_activity Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity @@ -775,17 +736,29 @@ def transparent_data_encryption_activity def database_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy end - def database_table_auditing_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy + def metric + Azure::SQL::Mgmt::V2014_04_01::Models::Metric end - def server_table_auditing_policy - Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy + def server_communication_link + Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink + end + def elastic_pool_activity + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + end + def elastic_pool_database_activity + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity end def backup_long_term_retention_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState end - def max_size_units - Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits + def database_table_auditing_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy + end + def server_table_auditing_policy + Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy + end + def service_objective_name + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName end def check_name_availability_reason Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason @@ -793,11 +766,8 @@ def check_name_availability_reason def server_connection_type Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType end - def database_edition - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition - end - def service_objective_name - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName + def max_size_units + Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits end def transparent_data_encryption_status Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus @@ -808,20 +778,17 @@ def recommended_index_action def recommended_index_state Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState end - def recommended_index_type - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType - end - def read_scale - Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale + def database_edition + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition end def security_alert_policy_email_account_admins Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins end - def security_alert_policy_use_server_default - Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault + def recommended_index_type + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType end - def data_masking_state - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState + def read_scale + Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end def data_masking_rule_state Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState @@ -832,6 +799,18 @@ def data_masking_function def disaster_recovery_configuration_status Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus end + def security_alert_policy_use_server_default + Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault + end + def data_masking_state + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState + end + def check_name_availability_request + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + end + def elastic_pool_edition + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition + end def disaster_recovery_configuration_auto_failover Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover end @@ -841,8 +820,11 @@ def disaster_recovery_configuration_failover_policy def disaster_recovery_configuration_role Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole end - def elastic_pool_edition - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition + def primary_aggregation_type + Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + end + def unit_definition_type + Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType end def geo_backup_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState @@ -853,14 +835,11 @@ def storage_key_type def authentication_type Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType end - def unit_type - Azure::SQL::Mgmt::V2014_04_01::Models::UnitType - end - def primary_aggregation_type - Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + def query_metric_unit + Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit end - def unit_definition_type - Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType + def server_version + Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion end def query_aggregation_function Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction @@ -871,36 +850,48 @@ def query_execution_type def query_observed_metric_type Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType end - def query_metric_unit - Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit + def server_state + Azure::SQL::Mgmt::V2014_04_01::Models::ServerState end - def replication_role - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + def transparent_data_encryption_activity_status + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus end def replication_state Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState end - def server_version - Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion + def unit_type + Azure::SQL::Mgmt::V2014_04_01::Models::UnitType end - def server_state - Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + def replication_role + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole end - def transparent_data_encryption_activity_status - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + def service_objective_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult end - def operation_display - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + def data_masking_rule_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult end - def operation - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + def query_text + Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + end + def database_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + end + def transparent_data_encryption_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult + end + def database_usage + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + end + def metric_definition + Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition + end + def extension_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult end def recommended_action_implementation_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo end - def operation_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult - end def recommended_action_impact_record Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord end @@ -958,27 +949,15 @@ def recommended_action_metric_info def sync_full_schema_properties_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult end - def firewall_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult - end def server_key_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult end - def virtual_network_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - end def sync_group_log_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult end - def server_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult - end def partner_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo end - def server_update - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - end def resource_with_writable_name Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName end @@ -991,17 +970,20 @@ def sync_group_list_result def sync_agent_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult end + def operation_display + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + end def failover_group_read_write_endpoint Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint end - def sync_agent_key_properties - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties + def operation_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult end def sync_full_schema_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties end - def sync_member_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult + def sync_agent_key_properties + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties end def failover_group_update Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate @@ -1015,6 +997,9 @@ def automatic_tuning_options def sync_database_id_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties end + def sync_member_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult + end def recommended_action Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction end @@ -1027,23 +1012,17 @@ def database_automatic_tuning def encryption_protector Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector end - def failover_group - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + def operation + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation end def proxy_resource_with_writable_name Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName end - def firewall_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule - end def managed_instance Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance end - def server_key - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - end - def server - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + def failover_group + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup end def sync_agent Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent @@ -1051,17 +1030,26 @@ def sync_agent def sync_agent_linked_database Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase end - def sync_group - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup + def server_key + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey end - def sync_member - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + def server_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate end def subscription_usage Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage end - def virtual_network_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + def auto_execute_status_inherited_from + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom + end + def server + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + end + def sync_member + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + end + def implementation_method + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod end def advisor_status Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus @@ -1069,8 +1057,14 @@ def advisor_status def auto_execute_status Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus end - def auto_execute_status_inherited_from - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom + def sync_group + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup + end + def server_key_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + end + def is_retryable + Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable end def recommended_action_current_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState @@ -1078,32 +1072,29 @@ def recommended_action_current_state def recommended_action_initiated_by Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy end - def implementation_method - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod + def automatic_tuning_disabled_reason + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason end - def is_retryable - Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable + def identity_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end def automatic_tuning_mode Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode end - def automatic_tuning_disabled_reason - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason + def sync_conflict_resolution_policy + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy end - def server_key_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + def sync_agent_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState end def failover_group_replication_role Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole end - def identity_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType - end - def operation_origin - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin + def sync_group_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState end - def sync_agent_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + def sync_direction + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection end def sync_member_db_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType @@ -1111,110 +1102,32 @@ def sync_member_db_type def sync_group_log_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType end - def sync_conflict_resolution_policy - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy - end - def sync_group_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState - end - def sync_direction - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection - end def sync_member_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState end def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + def firewall_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult end - def job_step_action - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + def firewall_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule end - def managed_database_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + def operation_origin + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin end - def managed_database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + def virtual_network_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + def virtual_network_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + def server_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult end - def automatic_tuning_server_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - end - def job_agent_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - end - def sensitivity_label_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelListResult - end - def job_agent_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - end - def long_term_retention_backup_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - end - def job_credential_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - end - def restore_point_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult - end - def job_execution_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - end - def job_version_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult - end - def job_execution_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult - end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end - def job_target_group_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult - end - def database_vulnerability_assessment_rule_baseline_item - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - end - def job_step_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - end - def job_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - end - def job_step_output - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput - end - def import_export_database_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - end - def job_step_execution_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions - end - def extended_database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy - end - def extended_server_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy - end - def server_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy - end - def database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + def server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy end def import_export_operation_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult @@ -1225,6 +1138,9 @@ def database_vulnerability_assessment_rule_baseline def data_warehouse_user_activities Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities end + def restore_point_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + end def job_agent Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent end @@ -1234,9 +1150,6 @@ def job_credential def job_execution Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution end - def job - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job - end def job_step Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep end @@ -1249,39 +1162,33 @@ def job_version def long_term_retention_backup Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup end - def backup_long_term_retention_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy - end def managed_database Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase end - def restore_point - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint - end def sensitivity_label Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel end - def server_automatic_tuning - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult end def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end + def server_automatic_tuning + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + end + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + end def server_security_alert_policy Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy end - def blob_auditing_policy_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState - end def job_agent_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState end def job_execution_lifecycle Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle end - def provisioning_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState - end def job_target_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType end @@ -1303,14 +1210,41 @@ def job_target_group_membership_type def managed_database_status Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus end + def automatic_tuning_server_mode + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode + end + def automatic_tuning_server_reason + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + end def managed_database_create_mode Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode end + def vulnerability_assessment_policy_baseline_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + end + def sensitivity_label_source + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelSource + end + def long_term_retention_database_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + end def restore_point_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType end - def automatic_tuning_server_mode - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode + def backup_long_term_retention_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + end + def database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + end + def job + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + end + def restore_point + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + end + def blob_auditing_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState end def automatic_tuning_option_mode_desired Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired @@ -1318,48 +1252,132 @@ def automatic_tuning_option_mode_desired def automatic_tuning_option_mode_actual Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual end - def automatic_tuning_server_reason - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + def provisioning_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState end def security_alert_policy_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState end - def long_term_retention_database_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + def job_step_action + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction end - def vulnerability_assessment_policy_baseline_name - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + def managed_database_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate end - def sensitivity_label_source - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelSource + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult end - def elastic_pool_edition_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition end - def service_objective_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition end - def database_operation_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperationListResult + def automatic_tuning_server_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + end + def job_agent_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + end + def sensitivity_label_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelListResult + end + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + end + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + end + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + end + def job_execution_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + end + def job_execution_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult + end + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + end + def database_vulnerability_assessment_rule_baseline_item + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + end + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + end + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + end + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + end + def job_step_output + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput + end + def import_export_database_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition + end + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + end + def extended_database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + end + def extended_server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + end + def database_operation + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation + end + def max_size_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability + end + def database_vulnerability_assessment + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment end def edition_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::EditionCapability end - def resource - Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource + def elastic_pool_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult + end + def elastic_pool_edition_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability + end + def location_capabilities + Azure::SQL::Mgmt::V2017_10_01_preview::Models::LocationCapabilities + end + def management_operation_state + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState + end + def database_status + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus + end + def catalog_collation_type + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType + end + def server_version_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability + end + def database_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult + end + def service_objective_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability end def elastic_pool_per_database_min_performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability end - def backup_short_term_retention_policy_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult - end def elastic_pool_per_database_max_performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties - end def elastic_pool_performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerformanceLevelCapability end @@ -1372,11 +1390,8 @@ def instance_failover_group_read_only_endpoint def vulnerability_assessment_scan_record_list_result Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecordListResult end - def server_version_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability - end - def max_size_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability + def backup_short_term_retention_policy_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult end def managed_instance_vcores_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability @@ -1387,20 +1402,14 @@ def max_size_range_capability def managed_instance_family_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceFamilyCapability end - def sku - Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku - end - def managed_instance_edition_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceEditionCapability - end def managed_instance_version_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVersionCapability end def elastic_pool_operation_list_result Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperationListResult end - def location_capabilities - Azure::SQL::Mgmt::V2017_10_01_preview::Models::LocationCapabilities + def managed_instance_edition_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceEditionCapability end def managed_instance_pair_info Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstancePairInfo @@ -1411,77 +1420,47 @@ def instance_failover_group_read_write_endpoint def log_size_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeCapability end - def database_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult - end - def license_type_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::LicenseTypeCapability - end - def database_update - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate - end def instance_failover_group_list_result Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupListResult end - def resource_move_definition - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition - end def performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelCapability end - def elastic_pool_per_database_settings - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings + def license_type_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::LicenseTypeCapability end def partner_region_info Azure::SQL::Mgmt::V2017_10_01_preview::Models::PartnerRegionInfo end - def elastic_pool_update - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate - end - def elastic_pool_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult - end - def proxy_resource - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource - end - def database_operation - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation - end - def tracked_resource - Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource - end def elastic_pool_operation Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperation end - def database_vulnerability_assessment - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment - end def vulnerability_assessment_scan_record Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecord end + def database_update + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate + end def database_vulnerability_assessment_scans_export Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessmentScansExport end - def database - Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database - end - def elastic_pool - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool - end - def instance_failover_group - Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup + def elastic_pool_per_database_settings + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings end def backup_short_term_retention_policy Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicy end + def database + Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database + end + def elastic_pool_update + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate + end def tde_certificate Azure::SQL::Mgmt::V2017_10_01_preview::Models::TdeCertificate end - def management_operation_state - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState - end - def vulnerability_assessment_scan_trigger_type - Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanTriggerType + def elastic_pool + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool end def vulnerability_assessment_scan_state Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanState @@ -1489,50 +1468,71 @@ def vulnerability_assessment_scan_state def max_size_unit Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeUnit end - def log_size_unit - Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeUnit + def vulnerability_assessment_scan_trigger_type + Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanTriggerType end - def capability_status - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus + def instance_failover_group + Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup end - def performance_level_unit - Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit + def database_read_scale + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale end - def create_mode - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode + def log_size_unit + Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeUnit end - def sample_name - Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName + def tracked_resource + Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource end - def database_status - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus + def capability_group + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup end - def catalog_collation_type - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType + def sku + Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku + end + def proxy_resource + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource end def database_license_type Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseLicenseType end - def database_read_scale - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale - end - def elastic_pool_state - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + def create_mode + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode end def elastic_pool_license_type Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolLicenseType end + def instance_failover_group_replication_role + Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole + end def read_write_endpoint_failover_policy Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadWriteEndpointFailoverPolicy end def read_only_endpoint_failover_policy Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadOnlyEndpointFailoverPolicy end - def instance_failover_group_replication_role - Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole + def capability_status + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus end - def capability_group - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup + def performance_level_unit + Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit + end + def resource + Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource + end + def sample_name + Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName + end + def elastic_pool_state + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + end + def resource_move_definition + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition + end + def database_operation_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperationListResult + end + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties end end end diff --git a/azure_sdk/lib/latest/modules/storage_profile_module.rb b/azure_sdk/lib/latest/modules/storage_profile_module.rb index fbc28071f2..dcd363c104 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -7,94 +7,94 @@ module Azure::Profiles::Latest module Storage module Mgmt - Operations = Azure::Storage::Mgmt::V2018_03_01_preview::Operations - Skus = Azure::Storage::Mgmt::V2018_03_01_preview::Skus StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts - Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages + Skus = Azure::Storage::Mgmt::V2018_03_01_preview::Skus BlobContainers = Azure::Storage::Mgmt::V2018_03_01_preview::BlobContainers + Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages + Operations = Azure::Storage::Mgmt::V2018_03_01_preview::Operations module Models - StorageAccountListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult - StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult - Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension - StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters - ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification - StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters - OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult - UsageName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName + State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State + Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason + Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability - Usage = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage - Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku - UsageListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult - CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult AccountSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters - EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService ListAccountSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse KeyVaultProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties + OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay ServiceSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters - VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule ListServiceSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse - NetworkRuleSet = Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet - EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices - Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption - Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints - IPRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule - StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey - Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity - MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification - StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters - ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter + OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult StorageSkuListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult - ListContainerItems = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems - StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter LegalHold = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold - OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + ListContainerItems = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems + IPRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule LegalHoldProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties - Restriction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction - Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + NetworkRuleSet = Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet TagProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty - Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty - CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties - StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies - ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource - TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource + Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation + Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity + Restriction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction AzureEntityResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource BlobContainer = Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer - ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy + ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification ListContainerItem = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem + StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters + StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey + Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension + StorageAccountListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult + StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult + Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption + StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters + Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints + StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters + EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService + UsageName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName + StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + Usage = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage + EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices + UsageListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult + CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult + VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule + Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification + CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain + StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount ReasonCode = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode + ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource + Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier - Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind - Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason - KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource - Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action - State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State - Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass - DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier - ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState + TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource + Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus + KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource + Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind + DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction + SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit - Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services - SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes - Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions - HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol - SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource - PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess - LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus + ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy + ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType + HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol + SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource + PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess + LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus + Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services end class StorageManagementClass - attr_reader :operations, :skus, :storage_accounts, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes + attr_reader :storage_accounts, :skus, :blob_containers, :usages, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -104,11 +104,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @skus = @client_0.skus @storage_accounts = @client_0.storage_accounts - @usages = @client_0.usages + @skus = @client_0.skus @blob_containers = @client_0.blob_containers + @usages = @client_0.usages + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -127,146 +127,80 @@ def method_missing(method, *args) end class ModelClasses - def storage_account_list_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult - end - def storage_account_list_keys_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult - end - def dimension - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension - end - def storage_account_regenerate_key_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters - end - def service_specification - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification - end - def storage_account_update_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters + def state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::State end - def operation_list_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + def reason + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason end - def usage_name - Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName + def permissions + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions end def skucapability Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability end - def usage - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage - end - def sku - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku - end - def usage_list_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult - end - def check_name_availability_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult - end def account_sas_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters end - def encryption_service - Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService - end def list_account_sas_response Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse end def key_vault_properties Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties end + def operation_display + Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + end def service_sas_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters end - def virtual_network_rule - Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule - end def list_service_sas_response Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse end - def network_rule_set - Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet - end - def encryption_services - Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices - end - def encryption - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption - end - def endpoints - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints - end - def iprule - Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule - end - def storage_account_key - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey - end - def identity - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity - end - def metric_specification - Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification + def operation_list_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult end - def storage_account_check_name_availability_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters + def storage_sku_list_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult end def management_policies_rules_set_parameter Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter end - def storage_sku_list_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult + def legal_hold + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold end def list_container_items Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems end - def storage_account_create_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters - end - def legal_hold - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold - end - def operation_display - Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + def iprule + Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule end def legal_hold_properties Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties end - def restriction - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction - end - def resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + def network_rule_set + Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet end def tag_property Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty end - def operation - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation - end def update_history_property Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty end - def custom_domain - Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain - end def immutability_policy_properties Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties end - def storage_account - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount - end def storage_account_management_policies Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies end - def proxy_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource + def operation + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation end - def tracked_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource + def identity + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity + end + def restriction + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction end def azure_entity_resource Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource @@ -274,50 +208,116 @@ def azure_entity_resource def blob_container Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer end - def immutability_policy - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy + def service_specification + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification end def list_container_item Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem end + def storage_account_check_name_availability_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters + end + def storage_account_key + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey + end + def sku + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + end + def dimension + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension + end + def storage_account_list_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult + end + def storage_account_list_keys_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult + end + def encryption + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption + end + def storage_account_regenerate_key_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters + end + def endpoints + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints + end + def storage_account_update_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters + end + def encryption_service + Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService + end + def usage_name + Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName + end + def storage_account_create_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + end + def usage + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage + end + def encryption_services + Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices + end + def usage_list_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult + end + def check_name_availability_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult + end + def virtual_network_rule + Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule + end + def resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + end + def metric_specification + Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification + end + def custom_domain + Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain + end + def storage_account + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount + end def reason_code Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode end + def proxy_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource + end + def bypass + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass + end def sku_name Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName end def sku_tier Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier end - def kind - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind - end - def reason - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason + def access_tier + Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier end - def key_source - Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource + def tracked_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource end def action Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action end - def state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::State + def account_status + Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus end - def bypass - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass + def key_source + Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource + end + def kind + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind end def default_action Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction end - def access_tier - Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier - end - def provisioning_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState - end - def account_status - Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus + def signed_resource_types + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes end def key_permission Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission @@ -325,14 +325,23 @@ def key_permission def usage_unit Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit end - def services - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services + def immutability_policy + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy end - def signed_resource_types - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes + def provisioning_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState end - def permissions - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions + def lease_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState + end + def lease_duration + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration + end + def immutability_policy_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState + end + def immutability_policy_update_type + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType end def http_protocol Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol @@ -346,17 +355,8 @@ def public_access def lease_status Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus end - def lease_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState - end - def lease_duration - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration - end - def immutability_policy_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState - end - def immutability_policy_update_type - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType + def services + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services end end end diff --git a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb index 4eea5339b1..bfa7f73a62 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -7,48 +7,27 @@ module Azure::Profiles::Latest module StorSimple8000Series module Mgmt - Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations - Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers AccessControlRecords = Azure::StorSimple8000Series::Mgmt::V2017_06_01::AccessControlRecords Alerts = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Alerts BandwidthSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BandwidthSettings CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances Devices = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Devices DeviceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::DeviceSettings - BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies BackupSchedules = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupSchedules - Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups - Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs VolumeContainers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::VolumeContainers Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes StorageAccountCredentials = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorageAccountCredentials + Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs + Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations + BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies + Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups + Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers module Models - TargetEligibilityResult = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult - FailoverTarget = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget - AccessControlRecordList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList - FailoverTargetsList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList - AlertSource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource - Feature = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature - RemoteManagementSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings - FailoverRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest - AlertList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList - VolumeFailoverMetadata = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata - AsymmetricEncryptedSecret = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret - VolumeContainerFailoverMetadata = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata - AvailableProviderOperation = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation - FailoverSetEligibilityResult = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult - BackupElement = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupElement - FailoverSet = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSet - BackupFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupFilter - FailoverSetsList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetsList - VolumeContainerList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerList - TargetEligibilityErrorMessage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityErrorMessage ScheduleRecurrence = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleRecurrence SymmetricEncryptedSecret = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SymmetricEncryptedSecret NicIPv6 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 - Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time AcsConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration StorageAccountCredentialList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredentialList AlertErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertErrorDetails @@ -64,10 +43,8 @@ module Models NetworkSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettingsPatch NetworkInterfaceData0Settings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkInterfaceData0Settings HardwareComponentGroupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList - Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource JobErrorItem = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem DeviceDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails - JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails RemoteManagementSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage DevicePatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch @@ -76,9 +53,9 @@ module Models JobFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter JobList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobList AvailableProviderOperationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList - Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key BackupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList ListFailoverTargetsRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest + Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key BackupScheduleList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList ManagerIntrinsicSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings BandwidthSettingList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList @@ -96,98 +73,121 @@ module Models AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList - MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings - MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition - DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList + JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails MetricDefinitionList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList - VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList MetricNameFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter - VmImage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage - MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName AlertFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter - Metrics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics - DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + VmImage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage + VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList MetricList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList + DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter BandwidthSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule NicIPv4 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 AccessControlRecord = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord - Alert = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings - Backup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup + TargetEligibilityErrorMessage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityErrorMessage BackupPolicy = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule - BandwidthSetting = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting + Backup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup CloudApplianceConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration ConfigureDeviceRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest - ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest + BandwidthSetting = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting Device = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device - EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup - Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job - Manager = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager + ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest ManagerExtendedInfo = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo - NetworkSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings - SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings + Metrics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics + Manager = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager StorageAccountCredential = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential - TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings - Updates = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates - Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer + TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings + NetworkSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings + AlertStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus AlertScope = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope AlertSourceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType - AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity - AlertStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + Updates = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus - EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - BackupJobCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType + Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType - ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType - DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + BackupJobCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType ScheduleStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus - Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind + ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus - DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType + DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek DeviceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType - VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId AuthorizationEligibility = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility AuthorizationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus - InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus EncryptionStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus - KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType TargetEligibilityStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus TargetEligibilityResultCode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode - FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory HardwareComponentStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus - JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus MetricUnit = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit MetricAggregationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType - NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus NetInterfaceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus - ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType NetworkMode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode - AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType RemoteManagementModeConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration - SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId VolumeStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus - OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus - BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension MonitoringStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus OwnerShipStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + Alert = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert + OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time + JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings + TargetEligibilityResult = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult + FailoverTarget = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget + AccessControlRecordList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList + FailoverTargetsList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList + AlertSource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource + Feature = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature + RemoteManagementSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings + FailoverRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest + AlertList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList + VolumeFailoverMetadata = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata + AsymmetricEncryptedSecret = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret + VolumeContainerFailoverMetadata = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata + AvailableProviderOperation = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation + FailoverSetEligibilityResult = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult + BackupElement = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupElement + FailoverSet = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSet + BackupFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupFilter + FailoverSetsList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetsList + MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + VolumeContainerList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerList end class StorSimple8000SeriesManagementClass - attr_reader :operations, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_policies, :backup_schedules, :backups, :hardware_component_groups, :jobs, :volume_containers, :volumes, :storage_account_credentials, :configurable, :base_url, :options, :model_classes + attr_reader :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_schedules, :hardware_component_groups, :volume_containers, :volumes, :storage_account_credentials, :jobs, :operations, :backup_policies, :backups, :managers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -197,22 +197,22 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @managers = @client_0.managers @access_control_records = @client_0.access_control_records @alerts = @client_0.alerts @bandwidth_settings = @client_0.bandwidth_settings @cloud_appliances = @client_0.cloud_appliances @devices = @client_0.devices @device_settings = @client_0.device_settings - @backup_policies = @client_0.backup_policies @backup_schedules = @client_0.backup_schedules - @backups = @client_0.backups @hardware_component_groups = @client_0.hardware_component_groups - @jobs = @client_0.jobs @volume_containers = @client_0.volume_containers @volumes = @client_0.volumes @storage_account_credentials = @client_0.storage_account_credentials + @jobs = @client_0.jobs + @operations = @client_0.operations + @backup_policies = @client_0.backup_policies + @backups = @client_0.backups + @managers = @client_0.managers @model_classes = ModelClasses.new end @@ -231,66 +231,6 @@ def method_missing(method, *args) end class ModelClasses - def target_eligibility_result - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult - end - def failover_target - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget - end - def access_control_record_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList - end - def failover_targets_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList - end - def alert_source - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource - end - def feature - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature - end - def remote_management_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings - end - def failover_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest - end - def alert_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList - end - def volume_failover_metadata - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata - end - def asymmetric_encrypted_secret - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret - end - def volume_container_failover_metadata - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata - end - def available_provider_operation - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation - end - def failover_set_eligibility_result - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult - end - def backup_element - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupElement - end - def failover_set - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSet - end - def backup_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupFilter - end - def failover_sets_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetsList - end - def volume_container_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerList - end - def target_eligibility_error_message - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityErrorMessage - end def schedule_recurrence Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleRecurrence end @@ -300,9 +240,6 @@ def symmetric_encrypted_secret def nic_ipv6 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 end - def time - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - end def acs_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration end @@ -348,18 +285,12 @@ def network_interface_data0_settings def hardware_component_group_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList end - def resource - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource - end def job_error_item Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem end def device_details Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails end - def job_error_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails - end def remote_management_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch end @@ -384,15 +315,15 @@ def job_list def available_provider_operation_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList end - def key - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key - end def backup_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList end def list_failover_targets_request Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest end + def key + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key + end def backup_schedule_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList end @@ -444,51 +375,45 @@ def metric_data def backup_policy_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList end - def metric_name - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName - end def chap_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings end - def metric_dimension - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension - end def secondary_dnssettings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings end - def metric_definition - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition - end - def device_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList + def job_error_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails end def metric_definition_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList end - def volume_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + def device_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList end def metric_name_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter end - def vm_image - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage - end - def metric_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + def metric_name + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName end def alert_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter end - def metrics - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics + def vm_image + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage end - def data_statistics - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + def volume_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList end def metric_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList end + def data_statistics + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + end + def metric_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + end def bandwidth_schedule Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule end @@ -498,14 +423,11 @@ def nic_ipv4 def access_control_record Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord end - def alert - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert - end def alert_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings end - def backup - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup + def target_eligibility_error_message + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityErrorMessage end def backup_policy Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy @@ -513,8 +435,8 @@ def backup_policy def backup_schedule Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule end - def bandwidth_setting - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting + def backup + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup end def cloud_appliance_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration @@ -522,47 +444,47 @@ def cloud_appliance_configuration def configure_device_request Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest end - def controller_power_state_change_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest + def bandwidth_setting + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting end def device Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device end - def encryption_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings - end def hardware_component_group Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup end - def job - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + def controller_power_state_change_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest + end + def manager_extended_info + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo + end + def metrics + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics end def manager Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager end - def manager_extended_info - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo + def storage_account_credential + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential end - def network_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings + def job + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job end def security_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings end - def storage_account_credential - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential + def volume_container + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer end def time_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings end - def updates - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates - end - def volume - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + def network_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings end - def volume_container - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer + def alert_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus end def alert_scope Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope @@ -570,65 +492,62 @@ def alert_scope def alert_source_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType end - def alert_severity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity - end - def alert_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + def updates + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates end def alert_email_notification_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus end - def encryption_algorithm - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + def resource + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + end + def volume_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType end def backup_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType end + def backup_policy_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + end def backup_job_creation_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType end - def volume_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType + def schedule_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus end def scheduled_backup_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus end - def backup_policy_creation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - end - def recurrence_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType - end - def day_of_week - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + def encryption_algorithm + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm end - def schedule_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus + def volume + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume end - def kind - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind + def device_configuration_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus end def controller_power_state_action Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction end - def controller_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + def kind + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind end def controller_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus end - def device_configuration_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + def recurrence_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType end - def device_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + def day_of_week + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek end def device_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType end - def virtual_machine_api_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + def controller_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId end def authorization_eligibility Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility @@ -636,14 +555,14 @@ def authorization_eligibility def authorization_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus end - def in_eligibility_category - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + def device_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus end def encryption_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus end - def key_rollover_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + def virtual_machine_api_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType end def target_eligibility_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus @@ -651,20 +570,14 @@ def target_eligibility_status def target_eligibility_result_code Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode end - def feature_support_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + def in_eligibility_category + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory end def hardware_component_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus end - def job_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - end - def job_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - end - def manager_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + def key_rollover_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus end def metric_unit Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit @@ -672,35 +585,38 @@ def metric_unit def metric_aggregation_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType end - def net_interface_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + def feature_support_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus end def net_interface_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus end - def iscsiand_cloud_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + def manager_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType end def network_mode Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode end - def authentication_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType - end def remote_management_mode_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration end - def ssl_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + def net_interface_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId end def volume_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus end - def operation_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + def iscsiand_cloud_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus end - def backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + def job_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + end + def ssl_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + end + def metric_dimension + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension end def monitoring_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus @@ -708,6 +624,90 @@ def monitoring_status def owner_ship_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus end + def authentication_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + end + def alert + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert + end + def operation_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + end + def backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + end + def alert_severity + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + end + def time + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time + end + def job_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + end + def encryption_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings + end + def target_eligibility_result + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult + end + def failover_target + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget + end + def access_control_record_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList + end + def failover_targets_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList + end + def alert_source + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource + end + def feature + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature + end + def remote_management_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings + end + def failover_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest + end + def alert_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList + end + def volume_failover_metadata + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata + end + def asymmetric_encrypted_secret + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret + end + def volume_container_failover_metadata + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata + end + def available_provider_operation + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation + end + def failover_set_eligibility_result + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult + end + def backup_element + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupElement + end + def failover_set + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSet + end + def backup_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupFilter + end + def failover_sets_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetsList + end + def metric_definition + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + end + def volume_container_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerList + end end end end diff --git a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb index f6c5f72855..0df5e33f13 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -7,25 +7,21 @@ module Azure::Profiles::Latest module StreamAnalytics module Mgmt - Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations + Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions StreamingJobs = Azure::StreamAnalytics::Mgmt::V2016_03_01::StreamingJobs Inputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Inputs Outputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Outputs Transformations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Transformations Functions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Functions - Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions + Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations module Models AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn - OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs - OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource - Serialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization FunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput - Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku DiagnosticCondition = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition OutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputDataSource InputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputProperties @@ -36,9 +32,6 @@ module Models StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters BlobDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobDataSourceProperties FunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters - SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount AzureSqlDatabaseDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource StreamingJobListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult @@ -46,9 +39,7 @@ module Models AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn OAuthBasedDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus - ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse SubscriptionQuotasListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult - Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Input = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation @@ -75,23 +66,32 @@ module Models ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource EventHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource + OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay BlobStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource - StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters - JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters + StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota - SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName - OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters EventsOutOfOrderPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy - OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy + OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + Serialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization + ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat + OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType + Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource + Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end class StreamAnalyticsManagementClass - attr_reader :operations, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :subscriptions, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -101,13 +101,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations + @subscriptions = @client_0.subscriptions @streaming_jobs = @client_0.streaming_jobs @inputs = @client_0.inputs @outputs = @client_0.outputs @transformations = @client_0.transformations @functions = @client_0.functions - @subscriptions = @client_0.subscriptions + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -129,21 +129,12 @@ class ModelClasses def azure_machine_learning_web_service_input_column Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn end - def operation_display - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay - end def azure_machine_learning_web_service_inputs Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs end - def operation_list_result - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult - end def reference_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource end - def serialization - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization - end def function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding end @@ -153,9 +144,6 @@ def diagnostics def function_output Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput end - def sku - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku - end def diagnostic_condition Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition end @@ -186,15 +174,6 @@ def blob_data_source_properties def function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters end - def sub_resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - end - def operation - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - end - def storage_account - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount - end def azure_sql_database_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties end @@ -216,15 +195,9 @@ def oauth_based_data_source_properties def resource_test_status Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus end - def error_response - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse - end def subscription_quotas_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult end - def resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource - end def function_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult end @@ -303,32 +276,38 @@ def io_thub_stream_input_data_source def event_hub_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource end + def operation_display + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay + end def blob_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource end - def stream_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + def operation_list_result + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult end def azure_machine_learning_web_service_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters end - def java_script_function_retrieve_default_definition_parameters - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters + def stream_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties end def subscription_quota Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota end - def sku_name - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName + def java_script_function_retrieve_default_definition_parameters + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters + end + def events_out_of_order_policy + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy end def output_start_mode Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode end - def events_out_of_order_policy - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy + def serialization + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization end - def output_error_policy - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy + def error_response + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse end def compatibility_level Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel @@ -336,12 +315,33 @@ def compatibility_level def json_output_serialization_format Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat end + def output_error_policy + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy + end def encoding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding end + def operation + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation + end def udf_type Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end + def sku + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + end + def sub_resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource + end + def resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + end + def storage_account + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + end + def sku_name + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName + end end end end diff --git a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb index 19c99b6d0d..8920173fff 100644 --- a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb @@ -7,23 +7,23 @@ module Azure::Profiles::Latest module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models - Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription - SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit + Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription + SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -33,8 +33,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -53,24 +53,18 @@ def method_missing(method, *args) end class ModelClasses - def subscription - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription - end - def subscription_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult - end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end def tenant_id_description Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def tenant_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult end + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end @@ -80,6 +74,12 @@ def subscription_state def spending_limit Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end + def subscription + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription + end + def subscription_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult + end end end end diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index 649f71fe5b..c41778509a 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -8,24 +8,24 @@ module Azure::Profiles::Latest module TextAnalytics module Models - DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage - MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput - LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem - KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem - LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult - KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem - ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult BatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::BatchInput MatchRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MatchRecord ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord + KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult EntityRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntityRecord - Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input EntitiesBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem InternalError = Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError EntitiesBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput + DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage + Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input + MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput + ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem + KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem + LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult end class TextAnalyticsDataClass @@ -57,30 +57,9 @@ def method_missing(method, *args) end class ModelClasses - def detected_language - Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage - end - def multi_language_input - Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput - end - def language_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem - end - def key_phrase_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem - end - def language_batch_result - Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult - end - def key_phrase_batch_result - Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult - end def sentiment_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem end - def error_response - Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse - end def sentiment_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult end @@ -93,12 +72,12 @@ def match_record def error_record Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord end + def key_phrase_batch_result + Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult + end def entity_record Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntityRecord end - def input - Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input - end def entities_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem end @@ -111,6 +90,27 @@ def entities_batch_result def multi_language_batch_input Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput end + def detected_language + Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage + end + def input + Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input + end + def multi_language_input + Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput + end + def error_response + Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + end + def language_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem + end + def key_phrase_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem + end + def language_batch_result + Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult + end end end end diff --git a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb index af284da9bd..0b15887f60 100644 --- a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb +++ b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb @@ -8,12 +8,18 @@ module Azure::Profiles::Latest module TrafficManager module Mgmt Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints - Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles GeographicHierarchies = Azure::TrafficManager::Mgmt::V2018_04_01::GeographicHierarchies HeatMap = Azure::TrafficManager::Mgmt::V2018_04_01::HeatMap TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerUserMetricsKeys + Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles module Models + TrafficViewEnrollmentStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus + TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod + TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource + ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource + ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult + Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource MonitorConfigCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem MonitorConfigExpectedStatusCodeRangesItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem EndpointPropertiesSubnetsItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem @@ -26,27 +32,21 @@ module Models Region = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region DnsConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters - ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult - Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource TrafficManagerNameAvailability = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability HeatMapModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel UserMetricsModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel - Endpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint - TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource - Profile = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile - ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy + Endpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint EndpointStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus - MonitorProtocol = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol + Profile = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile ProfileStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus - TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod - TrafficViewEnrollmentStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus + MonitorProtocol = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol end class TrafficManagerManagementClass - attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :profiles, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -57,10 +57,10 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @endpoints = @client_0.endpoints - @profiles = @client_0.profiles @geographic_hierarchies = @client_0.geographic_hierarchies @heat_map = @client_0.heat_map @traffic_manager_user_metrics_keys = @client_0.traffic_manager_user_metrics_keys + @profiles = @client_0.profiles @model_classes = ModelClasses.new end @@ -79,6 +79,24 @@ def method_missing(method, *args) end class ModelClasses + def traffic_view_enrollment_status + Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus + end + def traffic_routing_method + Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod + end + def tracked_resource + Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource + end + def proxy_resource + Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource + end + def profile_list_result + Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult + end + def resource + Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource + end def monitor_config_custom_headers_item Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem end @@ -115,12 +133,6 @@ def dns_config def check_traffic_manager_relative_dns_name_availability_parameters Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters end - def profile_list_result - Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult - end - def resource - Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource - end def traffic_manager_name_availability Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability end @@ -130,21 +142,12 @@ def heat_map_model def user_metrics_model Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel end - def endpoint - Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint - end - def tracked_resource - Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource - end - def profile - Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile - end - def proxy_resource - Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource - end def traffic_manager_geographic_hierarchy Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy end + def endpoint + Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint + end def endpoint_status Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus end @@ -154,17 +157,14 @@ def endpoint_monitor_status def profile_monitor_status Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus end - def monitor_protocol - Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol + def profile + Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile end def profile_status Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus end - def traffic_routing_method - Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod - end - def traffic_view_enrollment_status - Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus + def monitor_protocol + Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol end end end diff --git a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb index 20f1613c62..bf8f808e50 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -9,38 +9,38 @@ module VideoSearch VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations module Models - TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory - TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory - Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions + VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query - VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule - TrendingVideosTile = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile - ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase - ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject - Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos - Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer + PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch + TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat + VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory + TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory + VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule + TrendingVideosTile = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile + Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos TrendingVideos = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario - ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength + ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing - VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution - SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch - TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat - VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength end class VideoSearchDataClass @@ -73,17 +73,11 @@ def method_missing(method, *args) end class ModelClasses - def trending_videos_category - Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory - end - def trending_videos_subcategory - Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory - end - def error - Azure::CognitiveServices::VideoSearch::V1_0::Models::Error + def video_insight_module + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule end - def pivot_suggestions - Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions + def response_base + Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase end def query_context Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext @@ -91,47 +85,68 @@ def query_context def query Azure::CognitiveServices::VideoSearch::V1_0::Models::Query end - def videos_module - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule - end - def trending_videos_tile - Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile - end - def response_base - Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase - end - def image_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject - end def video_object Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject end - def videos - Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + def pivot_suggestions + Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions end - def response - Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + def search_results_answer + Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable end def answer Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer end - def search_results_answer - Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer - end def thing Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing end def creative_work Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork end + def error_code + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch + end + def text_format + Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat + end + def video_resolution + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + end + def response + Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + end + def freshness + Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + end def media_object Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject end - def identifiable - Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable + def trending_videos_category + Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory end - def error_response - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + def trending_videos_subcategory + Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory + end + def videos_module + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule + end + def trending_videos_tile + Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile + end + def videos + Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos end def trending_videos Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos @@ -142,32 +157,17 @@ def video_details def video_query_scenario Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario end - def error_code - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode - end - def freshness - Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + def error_response + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse end - def video_length - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength + def error + Azure::CognitiveServices::VideoSearch::V1_0::Models::Error end def video_pricing Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing end - def video_resolution - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution - end - def safe_search - Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch - end - def text_format - Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat - end - def video_insight_module - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + def video_length + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength end end end diff --git a/azure_sdk/lib/latest/modules/web_profile_module.rb b/azure_sdk/lib/latest/modules/web_profile_module.rb index da8406ad6d..cb2c48f2ab 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -7,15 +7,15 @@ module Azure::Profiles::Latest module Web module Mgmt + Domains = Azure::Web::Mgmt::V2018_02_01::Domains + Diagnostics = Azure::Web::Mgmt::V2018_02_01::Diagnostics + Provider = Azure::Web::Mgmt::V2018_02_01::Provider AppServiceCertificateOrders = Azure::Web::Mgmt::V2018_02_01::AppServiceCertificateOrders CertificateRegistrationProvider = Azure::Web::Mgmt::V2018_02_01::CertificateRegistrationProvider - Domains = Azure::Web::Mgmt::V2018_02_01::Domains TopLevelDomains = Azure::Web::Mgmt::V2018_02_01::TopLevelDomains DomainRegistrationProvider = Azure::Web::Mgmt::V2018_02_01::DomainRegistrationProvider - Certificates = Azure::Web::Mgmt::V2018_02_01::Certificates DeletedWebApps = Azure::Web::Mgmt::V2018_02_01::DeletedWebApps - Diagnostics = Azure::Web::Mgmt::V2018_02_01::Diagnostics - Provider = Azure::Web::Mgmt::V2018_02_01::Provider + Certificates = Azure::Web::Mgmt::V2018_02_01::Certificates Recommendations = Azure::Web::Mgmt::V2018_02_01::Recommendations WebApps = Azure::Web::Mgmt::V2018_02_01::WebApps AppServiceEnvironments = Azure::Web::Mgmt::V2018_02_01::AppServiceEnvironments @@ -24,7 +24,6 @@ module Mgmt module Models DiagnosticDetectorCollection = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorCollection AppServiceCertificate = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate - Operation = Azure::Web::Mgmt::V2018_02_01::Models::Operation AppServiceCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection ResourceMetricName = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName DeploymentCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentCollection @@ -42,14 +41,12 @@ module Models ProcessThreadInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfoCollection AppServicePlanCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanCollection SiteCloneabilityCriterion = Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneabilityCriterion - LocalizableString = Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString SiteCloneability = Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneability CsmUsageQuota = Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuota MSDeployLogEntry = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntry CsmUsageQuotaCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection HttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::HttpLogsConfig DeletedSite = Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite - ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity ErrorEntity = Azure::Web::Mgmt::V2018_02_01::Models::ErrorEntity CloningInfo = Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo IdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::IdentifierCollection @@ -64,253 +61,245 @@ module Models AutoHealTriggers = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers ResourceMetric = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric SiteLimits = Azure::Web::Mgmt::V2018_02_01::Models::SiteLimits + Operation = Azure::Web::Mgmt::V2018_02_01::Models::Operation ResourceMetricCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection Experiments = Azure::Web::Mgmt::V2018_02_01::Models::Experiments - ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection VirtualApplication = Azure::Web::Mgmt::V2018_02_01::Models::VirtualApplication WebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection + ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection SiteMachineKey = Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey - DeletedWebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection NameValuePair = Azure::Web::Mgmt::V2018_02_01::Models::NameValuePair Solution = Azure::Web::Mgmt::V2018_02_01::Models::Solution + DeletedWebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection HostNameSslState = Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState - DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod Capability = Azure::Web::Mgmt::V2018_02_01::Models::Capability AbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod + DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod SkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription - TriggeredJobHistoryCollection = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection - Resource = Azure::Web::Mgmt::V2018_02_01::Models::Resource DiagnosticMetricSample = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample DefaultErrorResponseError = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseError + TriggeredJobHistoryCollection = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet - NameIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier - DataSource = Azure::Web::Mgmt::V2018_02_01::Models::DataSource - MetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability ResponseMetaData = Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData - MetricSpecification = Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification AnalysisData = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisData + NameIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties TriggeredWebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobCollection - CsmOperationDescription = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription DataTableResponseColumn = Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseColumn Address = Azure::Web::Mgmt::V2018_02_01::Models::Address - DataTableResponseObject = Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseObject + MetricSpecification = Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification HostName = Azure::Web::Mgmt::V2018_02_01::Models::HostName DetectorInfo = Azure::Web::Mgmt::V2018_02_01::Models::DetectorInfo + CsmOperationDescription = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription SlotDifferenceCollection = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifferenceCollection + DataSource = Azure::Web::Mgmt::V2018_02_01::Models::DataSource + DataTableResponseObject = Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseObject Rendering = Azure::Web::Mgmt::V2018_02_01::Models::Rendering - DomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection - DiagnosticData = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticData FunctionEnvelopeCollection = Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelopeCollection - CsmSlotEntity = Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity + DiagnosticData = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticData SnapshotCollection = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotCollection - DetectorResponseCollection = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponseCollection - NameIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection + DomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection CsmPublishingProfileOptions = Azure::Web::Mgmt::V2018_02_01::Models::CsmPublishingProfileOptions - TldLegalAgreementCollection = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection - DiagnosticAnalysisCollection = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysisCollection + DetectorResponseCollection = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponseCollection + CsmSlotEntity = Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption - ContinuousWebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection - EnabledConfig = Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig + TldLegalAgreementCollection = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection + NameIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection DiagnosticCategoryCollection = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategoryCollection - AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection - PrivateAccessVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork + ContinuousWebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection + DiagnosticAnalysisCollection = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysisCollection WebAppInstanceCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppInstanceCollection - PerfMonSet = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet - ProcessModuleInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfoCollection + AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection + EnabledConfig = Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig StackMinorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion - ResourceMetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability - StackMajorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion + PerfMonSet = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet + PrivateAccessVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork SiteConfigurationSnapshotInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfoCollection - ApplicationStack = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack - SlotSwapStatus = Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus + ResourceMetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability + ProcessModuleInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfoCollection ApplicationStackCollection = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStackCollection - ApiDefinitionInfo = Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo - ResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection + ApplicationStack = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack + StackMajorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::SlowRequestsBasedTrigger - RecommendationCollection = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection - AutoHealRules = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules + ApiDefinitionInfo = Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo + SlotSwapStatus = Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus HybridConnectionCollection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionCollection - VirtualDirectory = Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory - WorkerPoolCollection = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection + RecommendationCollection = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection + ResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection ConnStringInfo = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo - BillingMeterCollection = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection - HostNameBindingCollection = Azure::Web::Mgmt::V2018_02_01::Models::HostNameBindingCollection + VirtualDirectory = Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory + AutoHealRules = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules CsmMoveResourceEnvelope = Azure::Web::Mgmt::V2018_02_01::Models::CsmMoveResourceEnvelope - SiteExtensionInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection - UsageCollection = Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection + BillingMeterCollection = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection + WorkerPoolCollection = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection DefaultErrorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponse - HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo - Dimension = Azure::Web::Mgmt::V2018_02_01::Models::Dimension - DeploymentLocations = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations + SiteExtensionInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection + HostNameBindingCollection = Azure::Web::Mgmt::V2018_02_01::Models::HostNameBindingCollection CsmOperationDisplay = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDisplay - GeoRegionCollection = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection + HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo + UsageCollection = Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection Contact = Azure::Web::Mgmt::V2018_02_01::Models::Contact - GlobalCsmSkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription + GeoRegionCollection = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection + DeploymentLocations = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult StampCapacityCollection = Azure::Web::Mgmt::V2018_02_01::Models::StampCapacityCollection - DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection + GlobalCsmSkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription PremierAddOnOfferCollection = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection TldLegalAgreement = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement - ResourceNameAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability + DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection TopLevelDomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainCollection + Dimension = Azure::Web::Mgmt::V2018_02_01::Models::Dimension + ResourceNameAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability + SkuInfos = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest PerfMonCounterCollection = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonCounterCollection - SkuInfos = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos + SourceControlCollection = Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection PublicCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateCollection SkuInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfoCollection - ProxyOnlyResource = Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource - SourceControlCollection = Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection + RampUpRule = Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule AutoHealCustomAction = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealCustomAction ValidateRequest = Azure::Web::Mgmt::V2018_02_01::Models::ValidateRequest - RampUpRule = Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule + ValidateResponse = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse ValidateResponseError = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError SiteConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfig - ValidateResponse = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse - DefaultErrorResponseErrorDetailsItem = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem - SkuInfo = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo - ServiceSpecification = Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification MetricAvailabilily = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailabilily - DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent + DefaultErrorResponseErrorDetailsItem = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics - DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters - FileSystemApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::FileSystemApplicationLogsConfig - CertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection AzureTableStorageApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureTableStorageApplicationLogsConfig - SiteConfigResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection - AzureBlobStorageApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig + DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent RequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger - ApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationLogsConfig + SkuInfo = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo + FileSystemApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::FileSystemApplicationLogsConfig SkuCapacity = Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity + ServiceSpecification = Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification + DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageHttpLogsConfig + ApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationLogsConfig + SiteConfigResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection + AzureBlobStorageApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig CsmOperationCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection - DatabaseBackupSetting = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting + HostingEnvironmentProfile = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile FileSystemHttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::FileSystemHttpLogsConfig AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection - HostingEnvironmentProfile = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile - BackupItemCollection = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection - LogSpecification = Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification - BackupSchedule = Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule - SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest AddressResponse = Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse - DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest - ConnStringValueTypePair = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair + DatabaseBackupSetting = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting + SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest HandlerMapping = Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping - WebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebJobCollection - AppServiceCertificateResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource + LogSpecification = Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification + BackupItemCollection = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection AppServiceCertificateOrder = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder + WebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebJobCollection + DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest + ConnStringValueTypePair = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource AppServiceCertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource - CertificateEmail = Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail + AppServiceCertificateResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource CertificateOrderAction = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest - RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest - VnetRoute = Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + BackupSchedule = Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule + CertificateEmail = Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail VnetInfo = Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo VnetGateway = Azure::Web::Mgmt::V2018_02_01::Models::VnetGateway + RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + VnetRoute = Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + HybridConnectionKey = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey User = Azure::Web::Mgmt::V2018_02_01::Models::User - Snapshot = Azure::Web::Mgmt::V2018_02_01::Models::Snapshot ResourceMetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition PushSettings = Azure::Web::Mgmt::V2018_02_01::Models::PushSettings - Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier - HybridConnectionKey = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey - HybridConnection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection + DomainPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource Site = Azure::Web::Mgmt::V2018_02_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan - Domain = Azure::Web::Mgmt::V2018_02_01::Models::Domain DomainOwnershipIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier - DomainPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource + AnalysisDefinition = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain - Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate CertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource DetectorDefinition = Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition - AnalysisDefinition = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition + DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse DetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse - DiagnosticAnalysis = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis + LocalizableString = Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString DiagnosticCategory = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory - DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + GeoRegion = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion Recommendation = Azure::Web::Mgmt::V2018_02_01::Models::Recommendation RecommendationRule = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule - BillingMeter = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter - GeoRegion = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion + DiagnosticAnalysis = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis + Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate PremierAddOnOffer = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer SourceControl = Azure::Web::Mgmt::V2018_02_01::Models::SourceControl VnetParameters = Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters - VnetValidationTestFailure = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure + BillingMeter = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter VnetValidationFailureDetails = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationFailureDetails BackupItem = Azure::Web::Mgmt::V2018_02_01::Models::BackupItem - BackupRequest = Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest ConnectionStringDictionary = Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringDictionary ContinuousWebJob = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJob - CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult + VnetValidationTestFailure = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure DeletedAppRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest - Deployment = Azure::Web::Mgmt::V2018_02_01::Models::Deployment FunctionEnvelope = Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelope FunctionSecrets = Azure::Web::Mgmt::V2018_02_01::Models::FunctionSecrets HostNameBinding = Azure::Web::Mgmt::V2018_02_01::Models::HostNameBinding - MSDeploy = Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy + CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult MSDeployLog = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLog MSDeployStatus = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployStatus MigrateMySqlRequest = Azure::Web::Mgmt::V2018_02_01::Models::MigrateMySqlRequest MigrateMySqlStatus = Azure::Web::Mgmt::V2018_02_01::Models::MigrateMySqlStatus - RelayServiceConnectionEntity = Azure::Web::Mgmt::V2018_02_01::Models::RelayServiceConnectionEntity + MSDeploy = Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy NetworkFeatures = Azure::Web::Mgmt::V2018_02_01::Models::NetworkFeatures PremierAddOn = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOn PremierAddOnPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource PrivateAccess = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess - ProcessThreadInfo = Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfo + RelayServiceConnectionEntity = Azure::Web::Mgmt::V2018_02_01::Models::RelayServiceConnectionEntity ProcessModuleInfo = Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfo ProcessInfo = Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfo PublicCertificate = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate - RestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest SiteAuthSettings = Azure::Web::Mgmt::V2018_02_01::Models::SiteAuthSettings - SiteConfigResource = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource - SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + ProcessThreadInfo = Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfo + MetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability SiteExtensionInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo SiteInstance = Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance SiteLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig - SitePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::SitePatchResource - SitePhpErrorLogFlag = Azure::Web::Mgmt::V2018_02_01::Models::SitePhpErrorLogFlag + SiteConfigResource = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource + SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo SiteSourceControl = Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + CertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection + SitePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::SitePatchResource + SitePhpErrorLogFlag = Azure::Web::Mgmt::V2018_02_01::Models::SitePhpErrorLogFlag + StorageMigrationResponse = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse + StringDictionary = Azure::Web::Mgmt::V2018_02_01::Models::StringDictionary SlotDifference = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference SnapshotRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest StorageMigrationOptions = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions - StorageMigrationResponse = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse - StringDictionary = Azure::Web::Mgmt::V2018_02_01::Models::StringDictionary + TriggeredWebJob = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob + WebJob = Azure::Web::Mgmt::V2018_02_01::Models::WebJob SwiftVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork TriggeredJobRun = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobRun TriggeredJobHistory = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory - TriggeredWebJob = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob - WebJob = Azure::Web::Mgmt::V2018_02_01::Models::WebJob - AppServiceEnvironmentResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource - AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentPatchResource - MetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition - Usage = Azure::Web::Mgmt::V2018_02_01::Models::Usage - WorkerPoolResource = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource AppServicePlanPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource HybridConnectionLimits = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits + HybridConnection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection + AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentPatchResource + WorkerPoolResource = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource + MetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition + RouteType = Azure::Web::Mgmt::V2018_02_01::Models::RouteType KeyVaultSecretStatus = Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus - CertificateProductType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType - ProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState + AppServiceEnvironmentResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource CertificateOrderStatus = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus CertificateOrderActionType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType - RouteType = Azure::Web::Mgmt::V2018_02_01::Models::RouteType + ScmType = Azure::Web::Mgmt::V2018_02_01::Models::ScmType ManagedServiceIdentityType = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentityType IpFilterTag = Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag - AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + CertificateProductType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType ConnectionStringType = Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType - ScmType = Azure::Web::Mgmt::V2018_02_01::Models::ScmType + SslState = Azure::Web::Mgmt::V2018_02_01::Models::SslState ManagedPipelineMode = Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode SiteLoadBalancing = Azure::Web::Mgmt::V2018_02_01::Models::SiteLoadBalancing SupportedTlsVersions = Azure::Web::Mgmt::V2018_02_01::Models::SupportedTlsVersions - FtpsState = Azure::Web::Mgmt::V2018_02_01::Models::FtpsState - SslState = Azure::Web::Mgmt::V2018_02_01::Models::SslState + AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus HostType = Azure::Web::Mgmt::V2018_02_01::Models::HostType UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState StatusOptions = Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions - DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + FtpsState = Azure::Web::Mgmt::V2018_02_01::Models::FtpsState AzureResourceType = Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostNameDnsRecordType HostNameType = Azure::Web::Mgmt::V2018_02_01::Models::HostNameType @@ -320,41 +309,52 @@ module Models InternalLoadBalancingMode = Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode ComputeModeOptions = Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions WorkerSizeOptions = Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions - AccessControlEntryAction = Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction - OperationStatus = Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus - IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType + Domain = Azure::Web::Mgmt::V2018_02_01::Models::Domain SolutionType = Azure::Web::Mgmt::V2018_02_01::Models::SolutionType - RenderingType = Azure::Web::Mgmt::V2018_02_01::Models::RenderingType + OperationStatus = Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel Channels = Azure::Web::Mgmt::V2018_02_01::Models::Channels - AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + AccessControlEntryAction = Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction InAvailabilityReasonType = Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType - CheckNameResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes + RenderingType = Azure::Web::Mgmt::V2018_02_01::Models::RenderingType ValidateResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes LogLevel = Azure::Web::Mgmt::V2018_02_01::Models::LogLevel - BackupItemStatus = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus - DatabaseType = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType + IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType + AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions FrequencyUnit = Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit - ContinuousWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus + CheckNameResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes WebJobType = Azure::Web::Mgmt::V2018_02_01::Models::WebJobType PublishingProfileFormat = Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat - DnsVerificationTestResult = Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult - MSDeployLogEntryType = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType + BackupItemStatus = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus + DatabaseType = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType MSDeployProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState - MySqlMigrationType = Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType + ProxyOnlyResource = Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource PublicCertificateLocation = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation BackupRestoreOperationType = Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType - UnauthenticatedClientAction = Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction - BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider - CloneAbilityResult = Azure::Web::Mgmt::V2018_02_01::Models::CloneAbilityResult - SiteExtensionType = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType + DnsVerificationTestResult = Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult + MSDeployLogEntryType = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType + CloneAbilityResult = Azure::Web::Mgmt::V2018_02_01::Models::CloneAbilityResult + MySqlMigrationType = Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType + ContinuousWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus + Usage = Azure::Web::Mgmt::V2018_02_01::Models::Usage + UnauthenticatedClientAction = Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction + BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider + Resource = Azure::Web::Mgmt::V2018_02_01::Models::Resource TriggeredWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus SkuName = Azure::Web::Mgmt::V2018_02_01::Models::SkuName + BackupRequest = Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest + ProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState + SiteExtensionType = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType + RestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest + ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + Deployment = Azure::Web::Mgmt::V2018_02_01::Models::Deployment + Snapshot = Azure::Web::Mgmt::V2018_02_01::Models::Snapshot + Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier end class WebManagementClass - attr_reader :app_service_certificate_orders, :certificate_registration_provider, :domains, :top_level_domains, :domain_registration_provider, :certificates, :deleted_web_apps, :diagnostics, :provider, :recommendations, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes + attr_reader :domains, :diagnostics, :provider, :app_service_certificate_orders, :certificate_registration_provider, :top_level_domains, :domain_registration_provider, :deleted_web_apps, :certificates, :recommendations, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -364,15 +364,15 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @domains = @client_0.domains + @diagnostics = @client_0.diagnostics + @provider = @client_0.provider @app_service_certificate_orders = @client_0.app_service_certificate_orders @certificate_registration_provider = @client_0.certificate_registration_provider - @domains = @client_0.domains @top_level_domains = @client_0.top_level_domains @domain_registration_provider = @client_0.domain_registration_provider - @certificates = @client_0.certificates @deleted_web_apps = @client_0.deleted_web_apps - @diagnostics = @client_0.diagnostics - @provider = @client_0.provider + @certificates = @client_0.certificates @recommendations = @client_0.recommendations @web_apps = @client_0.web_apps @app_service_environments = @client_0.app_service_environments @@ -401,9 +401,6 @@ def diagnostic_detector_collection def app_service_certificate Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate end - def operation - Azure::Web::Mgmt::V2018_02_01::Models::Operation - end def app_service_certificate_collection Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection end @@ -455,9 +452,6 @@ def app_service_plan_collection def site_cloneability_criterion Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneabilityCriterion end - def localizable_string - Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString - end def site_cloneability Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneability end @@ -476,9 +470,6 @@ def http_logs_config def deleted_site Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite end - def managed_service_identity - Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity - end def error_entity Azure::Web::Mgmt::V2018_02_01::Models::ErrorEntity end @@ -521,98 +512,86 @@ def resource_metric def site_limits Azure::Web::Mgmt::V2018_02_01::Models::SiteLimits end + def operation + Azure::Web::Mgmt::V2018_02_01::Models::Operation + end def resource_metric_collection Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection end def experiments Azure::Web::Mgmt::V2018_02_01::Models::Experiments end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection - end def virtual_application Azure::Web::Mgmt::V2018_02_01::Models::VirtualApplication end def web_app_collection Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection end + def resource_metric_definition_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection + end def site_machine_key Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey end - def deleted_web_app_collection - Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection - end def name_value_pair Azure::Web::Mgmt::V2018_02_01::Models::NameValuePair end def solution Azure::Web::Mgmt::V2018_02_01::Models::Solution end + def deleted_web_app_collection + Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection + end def host_name_ssl_state Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState end - def detector_abnormal_time_period - Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod - end def capability Azure::Web::Mgmt::V2018_02_01::Models::Capability end def abnormal_time_period Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod end + def detector_abnormal_time_period + Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod + end def sku_description Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription end - def triggered_job_history_collection - Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection - end - def resource - Azure::Web::Mgmt::V2018_02_01::Models::Resource - end def diagnostic_metric_sample Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample end def default_error_response_error Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseError end + def triggered_job_history_collection + Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection + end def diagnostic_metric_set Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet end - def name_identifier - Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier - end - def data_source - Azure::Web::Mgmt::V2018_02_01::Models::DataSource - end - def metric_availability - Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability - end def response_meta_data Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData end - def metric_specification - Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification - end def analysis_data Azure::Web::Mgmt::V2018_02_01::Models::AnalysisData end + def name_identifier + Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier + end def csm_operation_description_properties Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties end def triggered_web_job_collection Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobCollection end - def csm_operation_description - Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription - end def data_table_response_column Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseColumn end def address Azure::Web::Mgmt::V2018_02_01::Models::Address end - def data_table_response_object - Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseObject + def metric_specification + Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification end def host_name Azure::Web::Mgmt::V2018_02_01::Models::HostName @@ -620,155 +599,158 @@ def host_name def detector_info Azure::Web::Mgmt::V2018_02_01::Models::DetectorInfo end + def csm_operation_description + Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription + end def slot_difference_collection Azure::Web::Mgmt::V2018_02_01::Models::SlotDifferenceCollection end - def rendering - Azure::Web::Mgmt::V2018_02_01::Models::Rendering + def data_source + Azure::Web::Mgmt::V2018_02_01::Models::DataSource end - def domain_collection - Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection + def data_table_response_object + Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseObject end - def diagnostic_data - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticData + def rendering + Azure::Web::Mgmt::V2018_02_01::Models::Rendering end def function_envelope_collection Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelopeCollection end - def csm_slot_entity - Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity + def diagnostic_data + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticData end def snapshot_collection Azure::Web::Mgmt::V2018_02_01::Models::SnapshotCollection end - def detector_response_collection - Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponseCollection - end - def name_identifier_collection - Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection + def domain_collection + Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection end def csm_publishing_profile_options Azure::Web::Mgmt::V2018_02_01::Models::CsmPublishingProfileOptions end - def tld_legal_agreement_collection - Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection + def detector_response_collection + Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponseCollection end - def diagnostic_analysis_collection - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysisCollection + def csm_slot_entity + Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity end def top_level_domain_agreement_option Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption end - def continuous_web_job_collection - Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection + def tld_legal_agreement_collection + Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection end - def enabled_config - Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig + def name_identifier_collection + Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection end def diagnostic_category_collection Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategoryCollection end - def app_service_certificate_order_collection - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection + def continuous_web_job_collection + Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection end - def private_access_virtual_network - Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork + def diagnostic_analysis_collection + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysisCollection end def web_app_instance_collection Azure::Web::Mgmt::V2018_02_01::Models::WebAppInstanceCollection end - def perf_mon_set - Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet + def app_service_certificate_order_collection + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection end - def process_module_info_collection - Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfoCollection + def enabled_config + Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig end def stack_minor_version Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion end - def resource_metric_availability - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability + def perf_mon_set + Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet end - def stack_major_version - Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion + def private_access_virtual_network + Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork end def site_configuration_snapshot_info_collection Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfoCollection end - def application_stack - Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack + def resource_metric_availability + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability end - def slot_swap_status - Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus + def process_module_info_collection + Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfoCollection end def application_stack_collection Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStackCollection end - def api_definition_info - Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo + def application_stack + Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack end - def resource_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection + def stack_major_version + Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion end def slow_requests_based_trigger Azure::Web::Mgmt::V2018_02_01::Models::SlowRequestsBasedTrigger end - def recommendation_collection - Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection + def api_definition_info + Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo end - def auto_heal_rules - Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules + def slot_swap_status + Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus end def hybrid_connection_collection Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionCollection end - def virtual_directory - Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory + def recommendation_collection + Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection end - def worker_pool_collection - Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection + def resource_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection end def conn_string_info Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo end - def billing_meter_collection - Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection + def virtual_directory + Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory end - def host_name_binding_collection - Azure::Web::Mgmt::V2018_02_01::Models::HostNameBindingCollection + def auto_heal_rules + Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules end def csm_move_resource_envelope Azure::Web::Mgmt::V2018_02_01::Models::CsmMoveResourceEnvelope end - def site_extension_info_collection - Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection + def billing_meter_collection + Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection end - def usage_collection - Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection + def worker_pool_collection + Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection end def default_error_response Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponse end - def hosting_environment_deployment_info - Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo - end - def dimension - Azure::Web::Mgmt::V2018_02_01::Models::Dimension + def site_extension_info_collection + Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection end - def deployment_locations - Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations + def host_name_binding_collection + Azure::Web::Mgmt::V2018_02_01::Models::HostNameBindingCollection end def csm_operation_display Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDisplay end - def geo_region_collection - Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection + def hosting_environment_deployment_info + Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo + end + def usage_collection + Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection end def contact Azure::Web::Mgmt::V2018_02_01::Models::Contact end - def global_csm_sku_description - Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription + def geo_region_collection + Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection + end + def deployment_locations + Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations end def domain_availablility_check_result Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult @@ -776,8 +758,8 @@ def domain_availablility_check_result def stamp_capacity_collection Azure::Web::Mgmt::V2018_02_01::Models::StampCapacityCollection end - def domain_ownership_identifier_collection - Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection + def global_csm_sku_description + Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription end def premier_add_on_offer_collection Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection @@ -785,20 +767,29 @@ def premier_add_on_offer_collection def tld_legal_agreement Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement end - def resource_name_availability - Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability + def domain_ownership_identifier_collection + Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection end def top_level_domain_collection Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainCollection end + def dimension + Azure::Web::Mgmt::V2018_02_01::Models::Dimension + end + def resource_name_availability + Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability + end + def sku_infos + Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos + end def resource_name_availability_request Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest end def perf_mon_counter_collection Azure::Web::Mgmt::V2018_02_01::Models::PerfMonCounterCollection end - def sku_infos - Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos + def source_control_collection + Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection end def public_certificate_collection Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateCollection @@ -806,11 +797,8 @@ def public_certificate_collection def sku_info_collection Azure::Web::Mgmt::V2018_02_01::Models::SkuInfoCollection end - def proxy_only_resource - Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource - end - def source_control_collection - Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection + def ramp_up_rule + Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule end def auto_heal_custom_action Azure::Web::Mgmt::V2018_02_01::Models::AutoHealCustomAction @@ -818,8 +806,8 @@ def auto_heal_custom_action def validate_request Azure::Web::Mgmt::V2018_02_01::Models::ValidateRequest end - def ramp_up_rule - Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule + def validate_response + Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse end def validate_response_error Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError @@ -827,62 +815,56 @@ def validate_response_error def site_config Azure::Web::Mgmt::V2018_02_01::Models::SiteConfig end - def validate_response - Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse + def metric_availabilily + Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailabilily end def default_error_response_error_details_item Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem end - def sku_info - Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo - end - def service_specification - Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification + def hosting_environment_diagnostics + Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics end - def metric_availabilily - Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailabilily + def azure_table_storage_application_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::AzureTableStorageApplicationLogsConfig end def domain_purchase_consent Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent end - def hosting_environment_diagnostics - Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics + def requests_based_trigger + Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger end - def domain_recommendation_search_parameters - Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters + def sku_info + Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo end def file_system_application_logs_config Azure::Web::Mgmt::V2018_02_01::Models::FileSystemApplicationLogsConfig end - def certificate_collection - Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection - end - def azure_table_storage_application_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::AzureTableStorageApplicationLogsConfig + def sku_capacity + Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity end - def site_config_resource_collection - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection + def service_specification + Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification end - def azure_blob_storage_application_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig + def domain_recommendation_search_parameters + Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters end - def requests_based_trigger - Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger + def azure_blob_storage_http_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageHttpLogsConfig end def application_logs_config Azure::Web::Mgmt::V2018_02_01::Models::ApplicationLogsConfig end - def sku_capacity - Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity + def site_config_resource_collection + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection end - def azure_blob_storage_http_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageHttpLogsConfig + def azure_blob_storage_application_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig end def csm_operation_collection Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection end - def database_backup_setting - Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting + def hosting_environment_profile + Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile end def file_system_http_logs_config Azure::Web::Mgmt::V2018_02_01::Models::FileSystemHttpLogsConfig @@ -890,41 +872,35 @@ def file_system_http_logs_config def app_service_environment_collection Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection end - def hosting_environment_profile - Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile - end - def backup_item_collection - Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection - end - def log_specification - Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification + def address_response + Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse end - def backup_schedule - Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule + def database_backup_setting + Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting end def site_seal_request Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest end - def address_response - Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse + def handler_mapping + Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping end - def domain_control_center_sso_request - Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest + def log_specification + Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification end - def conn_string_value_type_pair - Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair + def backup_item_collection + Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection end - def handler_mapping - Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping + def app_service_certificate_order + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder end def web_job_collection Azure::Web::Mgmt::V2018_02_01::Models::WebJobCollection end - def app_service_certificate_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource + def domain_control_center_sso_request + Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest end - def app_service_certificate_order - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder + def conn_string_value_type_pair + Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair end def app_service_certificate_order_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource @@ -932,8 +908,8 @@ def app_service_certificate_order_patch_resource def app_service_certificate_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource end - def certificate_email - Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail + def app_service_certificate_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource end def certificate_order_action Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction @@ -941,11 +917,11 @@ def certificate_order_action def reissue_certificate_order_request Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest end - def renew_certificate_order_request - Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + def backup_schedule + Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule end - def vnet_route - Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + def certificate_email + Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail end def vnet_info Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo @@ -953,26 +929,26 @@ def vnet_info def vnet_gateway Azure::Web::Mgmt::V2018_02_01::Models::VnetGateway end + def renew_certificate_order_request + Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + end + def vnet_route + Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + end + def hybrid_connection_key + Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey + end def user Azure::Web::Mgmt::V2018_02_01::Models::User end - def snapshot - Azure::Web::Mgmt::V2018_02_01::Models::Snapshot - end def resource_metric_definition Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition end - def push_settings - Azure::Web::Mgmt::V2018_02_01::Models::PushSettings - end - def identifier - Azure::Web::Mgmt::V2018_02_01::Models::Identifier - end - def hybrid_connection_key - Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey + def push_settings + Azure::Web::Mgmt::V2018_02_01::Models::PushSettings end - def hybrid_connection - Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection + def domain_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource end def site Azure::Web::Mgmt::V2018_02_01::Models::Site @@ -980,41 +956,35 @@ def site def app_service_plan Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan end - def domain - Azure::Web::Mgmt::V2018_02_01::Models::Domain - end def domain_ownership_identifier Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier end - def domain_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource + def analysis_definition + Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition end def top_level_domain Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain end - def certificate - Azure::Web::Mgmt::V2018_02_01::Models::Certificate - end def certificate_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource end def detector_definition Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition end - def analysis_definition - Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition + def diagnostic_detector_response + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse end def detector_response Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse end - def diagnostic_analysis - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis + def localizable_string + Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString end def diagnostic_category Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory end - def diagnostic_detector_response - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + def geo_region + Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion end def recommendation Azure::Web::Mgmt::V2018_02_01::Models::Recommendation @@ -1022,11 +992,11 @@ def recommendation def recommendation_rule Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule end - def billing_meter - Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter + def diagnostic_analysis + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis end - def geo_region - Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion + def certificate + Azure::Web::Mgmt::V2018_02_01::Models::Certificate end def premier_add_on_offer Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer @@ -1037,8 +1007,8 @@ def source_control def vnet_parameters Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters end - def vnet_validation_test_failure - Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure + def billing_meter + Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter end def vnet_validation_failure_details Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationFailureDetails @@ -1046,24 +1016,18 @@ def vnet_validation_failure_details def backup_item Azure::Web::Mgmt::V2018_02_01::Models::BackupItem end - def backup_request - Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest - end def connection_string_dictionary Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringDictionary end def continuous_web_job Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJob end - def custom_hostname_analysis_result - Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult + def vnet_validation_test_failure + Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure end def deleted_app_restore_request Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest end - def deployment - Azure::Web::Mgmt::V2018_02_01::Models::Deployment - end def function_envelope Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelope end @@ -1073,8 +1037,8 @@ def function_secrets def host_name_binding Azure::Web::Mgmt::V2018_02_01::Models::HostNameBinding end - def msdeploy - Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy + def custom_hostname_analysis_result + Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult end def msdeploy_log Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLog @@ -1088,8 +1052,8 @@ def migrate_my_sql_request def migrate_my_sql_status Azure::Web::Mgmt::V2018_02_01::Models::MigrateMySqlStatus end - def relay_service_connection_entity - Azure::Web::Mgmt::V2018_02_01::Models::RelayServiceConnectionEntity + def msdeploy + Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy end def network_features Azure::Web::Mgmt::V2018_02_01::Models::NetworkFeatures @@ -1103,8 +1067,8 @@ def premier_add_on_patch_resource def private_access Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess end - def process_thread_info - Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfo + def relay_service_connection_entity + Azure::Web::Mgmt::V2018_02_01::Models::RelayServiceConnectionEntity end def process_module_info Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfo @@ -1115,17 +1079,14 @@ def process_info def public_certificate Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate end - def restore_request - Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest - end def site_auth_settings Azure::Web::Mgmt::V2018_02_01::Models::SiteAuthSettings end - def site_config_resource - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource + def process_thread_info + Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfo end - def site_configuration_snapshot_info - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + def metric_availability + Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability end def site_extension_info Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo @@ -1136,11 +1097,11 @@ def site_instance def site_logs_config Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig end - def site_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::SitePatchResource + def site_config_resource + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource end - def site_php_error_log_flag - Azure::Web::Mgmt::V2018_02_01::Models::SitePhpErrorLogFlag + def site_configuration_snapshot_info + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo end def site_source_control Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl @@ -1148,6 +1109,21 @@ def site_source_control def slot_config_names_resource Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource end + def certificate_collection + Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection + end + def site_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::SitePatchResource + end + def site_php_error_log_flag + Azure::Web::Mgmt::V2018_02_01::Models::SitePhpErrorLogFlag + end + def storage_migration_response + Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse + end + def string_dictionary + Azure::Web::Mgmt::V2018_02_01::Models::StringDictionary + end def slot_difference Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference end @@ -1157,11 +1133,11 @@ def snapshot_restore_request def storage_migration_options Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions end - def storage_migration_response - Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse + def triggered_web_job + Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob end - def string_dictionary - Azure::Web::Mgmt::V2018_02_01::Models::StringDictionary + def web_job + Azure::Web::Mgmt::V2018_02_01::Models::WebJob end def swift_virtual_network Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork @@ -1172,41 +1148,32 @@ def triggered_job_run def triggered_job_history Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory end - def triggered_web_job - Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob + def app_service_plan_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource end - def web_job - Azure::Web::Mgmt::V2018_02_01::Models::WebJob + def hybrid_connection_limits + Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits end - def app_service_environment_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource + def hybrid_connection + Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection end def app_service_environment_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentPatchResource end - def metric_definition - Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition - end - def usage - Azure::Web::Mgmt::V2018_02_01::Models::Usage - end def worker_pool_resource Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource end - def app_service_plan_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource + def metric_definition + Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition end - def hybrid_connection_limits - Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits + def route_type + Azure::Web::Mgmt::V2018_02_01::Models::RouteType end def key_vault_secret_status Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus end - def certificate_product_type - Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType - end - def provisioning_state - Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState + def app_service_environment_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource end def certificate_order_status Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus @@ -1214,8 +1181,8 @@ def certificate_order_status def certificate_order_action_type Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType end - def route_type - Azure::Web::Mgmt::V2018_02_01::Models::RouteType + def scm_type + Azure::Web::Mgmt::V2018_02_01::Models::ScmType end def managed_service_identity_type Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentityType @@ -1223,14 +1190,14 @@ def managed_service_identity_type def ip_filter_tag Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag end - def auto_heal_action_type - Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + def certificate_product_type + Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType end def connection_string_type Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType end - def scm_type - Azure::Web::Mgmt::V2018_02_01::Models::ScmType + def ssl_state + Azure::Web::Mgmt::V2018_02_01::Models::SslState end def managed_pipeline_mode Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode @@ -1241,11 +1208,11 @@ def site_load_balancing def supported_tls_versions Azure::Web::Mgmt::V2018_02_01::Models::SupportedTlsVersions end - def ftps_state - Azure::Web::Mgmt::V2018_02_01::Models::FtpsState + def auto_heal_action_type + Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType end - def ssl_state - Azure::Web::Mgmt::V2018_02_01::Models::SslState + def domain_status + Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus end def host_type Azure::Web::Mgmt::V2018_02_01::Models::HostType @@ -1259,8 +1226,8 @@ def site_availability_state def status_options Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions end - def domain_status - Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + def ftps_state + Azure::Web::Mgmt::V2018_02_01::Models::FtpsState end def azure_resource_type Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType @@ -1289,20 +1256,14 @@ def compute_mode_options def worker_size_options Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions end - def access_control_entry_action - Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction - end - def operation_status - Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus - end - def issue_type - Azure::Web::Mgmt::V2018_02_01::Models::IssueType + def domain + Azure::Web::Mgmt::V2018_02_01::Models::Domain end def solution_type Azure::Web::Mgmt::V2018_02_01::Models::SolutionType end - def rendering_type - Azure::Web::Mgmt::V2018_02_01::Models::RenderingType + def operation_status + Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus end def resource_scope_type Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType @@ -1313,14 +1274,14 @@ def notification_level def channels Azure::Web::Mgmt::V2018_02_01::Models::Channels end - def app_service_plan_restrictions - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + def access_control_entry_action + Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction end def in_availability_reason_type Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType end - def check_name_resource_types - Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes + def rendering_type + Azure::Web::Mgmt::V2018_02_01::Models::RenderingType end def validate_resource_types Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes @@ -1328,17 +1289,17 @@ def validate_resource_types def log_level Azure::Web::Mgmt::V2018_02_01::Models::LogLevel end - def backup_item_status - Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus + def issue_type + Azure::Web::Mgmt::V2018_02_01::Models::IssueType end - def database_type - Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType + def app_service_plan_restrictions + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions end def frequency_unit Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit end - def continuous_web_job_status - Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus + def check_name_resource_types + Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes end def web_job_type Azure::Web::Mgmt::V2018_02_01::Models::WebJobType @@ -1346,17 +1307,17 @@ def web_job_type def publishing_profile_format Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat end - def dns_verification_test_result - Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult + def backup_item_status + Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus end - def msdeploy_log_entry_type - Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType + def database_type + Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType end def msdeploy_provisioning_state Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState end - def my_sql_migration_type - Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType + def proxy_only_resource + Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource end def public_certificate_location Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation @@ -1364,17 +1325,32 @@ def public_certificate_location def backup_restore_operation_type Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType end + def dns_verification_test_result + Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult + end + def msdeploy_log_entry_type + Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType + end + def clone_ability_result + Azure::Web::Mgmt::V2018_02_01::Models::CloneAbilityResult + end + def my_sql_migration_type + Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType + end + def continuous_web_job_status + Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus + end + def usage + Azure::Web::Mgmt::V2018_02_01::Models::Usage + end def unauthenticated_client_action Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction end def built_in_authentication_provider Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider end - def clone_ability_result - Azure::Web::Mgmt::V2018_02_01::Models::CloneAbilityResult - end - def site_extension_type - Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType + def resource + Azure::Web::Mgmt::V2018_02_01::Models::Resource end def triggered_web_job_status Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus @@ -1382,6 +1358,30 @@ def triggered_web_job_status def sku_name Azure::Web::Mgmt::V2018_02_01::Models::SkuName end + def backup_request + Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest + end + def provisioning_state + Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState + end + def site_extension_type + Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType + end + def restore_request + Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest + end + def managed_service_identity + Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + end + def deployment + Azure::Web::Mgmt::V2018_02_01::Models::Deployment + end + def snapshot + Azure::Web::Mgmt::V2018_02_01::Models::Snapshot + end + def identifier + Azure::Web::Mgmt::V2018_02_01::Models::Identifier + end end end end diff --git a/azure_sdk/lib/latest/modules/websearch_profile_module.rb b/azure_sdk/lib/latest/modules/websearch_profile_module.rb index 55a3a0b7ee..bffe9ef05d 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -9,47 +9,47 @@ module WebSearch Web = Azure::CognitiveServices::WebSearch::V1_0::Web module Models + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News + ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup - WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping - Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation - ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork - WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle - VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response - SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage + CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer + VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation - SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse + SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images - News = Azure::CognitiveServices::WebSearch::V1_0::Models::News RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer - SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions - TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos - Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places - ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse - Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article - StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions + TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness - SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error + NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle end class WebSearchDataClass @@ -82,98 +82,107 @@ def method_missing(method, *args) end class ModelClasses + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News + end + def response_base + Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + end + def query_context + Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + end + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query + end def ranking_ranking_item Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem end def ranking_ranking_group Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end - def web_meta_tag - Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag - end def ranking_ranking_response Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end def web_web_grouping Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping end - def error - Azure::CognitiveServices::WebSearch::V1_0::Models::Error - end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query - end def time_zone_time_zone_information Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation end - def response_base - Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + def identifiable + Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable end - def query_context - Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + def web_meta_tag + Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag end - def image_object - Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + def web_page + Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end def creative_work Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork end - def web_page - Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - end - def news_article - Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle + def answer + Azure::CognitiveServices::WebSearch::V1_0::Models::Answer end def video_object Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def identifiable - Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable + def computation + Azure::CognitiveServices::WebSearch::V1_0::Models::Computation end - def response - Azure::CognitiveServices::WebSearch::V1_0::Models::Response + def web_web_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer end def search_response Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end - def thing - Azure::CognitiveServices::WebSearch::V1_0::Models::Thing - end - def answer - Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - end - def computation - Azure::CognitiveServices::WebSearch::V1_0::Models::Computation - end def search_results_answer Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end - def web_web_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer - end def images Azure::CognitiveServices::WebSearch::V1_0::Models::Images end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News - end def related_searches_related_search_answer Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end + def thing + Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + end + def response + Azure::CognitiveServices::WebSearch::V1_0::Models::Response + end + def article + Azure::CognitiveServices::WebSearch::V1_0::Models::Article + end + def answer_type + Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + end + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + end def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions end def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def videos - Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + def error_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + end + def freshness + Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject end def places Azure::CognitiveServices::WebSearch::V1_0::Models::Places end - def error_response - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse + def text_format + Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat end def intangible Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible @@ -181,29 +190,20 @@ def intangible def media_object Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject end - def article - Azure::CognitiveServices::WebSearch::V1_0::Models::Article - end def structured_value Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue end - def answer_type - Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType - end - def error_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + def videos + Azure::CognitiveServices::WebSearch::V1_0::Models::Videos end - def freshness - Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + def error_response + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + def error + Azure::CognitiveServices::WebSearch::V1_0::Models::Error end - def text_format - Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + def news_article + Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb index 3d49eb5831..0bf12f66b7 100644 --- a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb @@ -8,16 +8,21 @@ module Azure::Profiles::V2017_03_09 module Compute module Mgmt AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets + UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages VirtualMachineExtensions = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensions - VirtualMachines = Azure::Compute::Mgmt::V2016_03_30::VirtualMachines VirtualMachineImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineImages - UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations VirtualMachineSizes = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineSizes + VirtualMachines = Azure::Compute::Mgmt::V2016_03_30::VirtualMachines VirtualMachineScaleSets = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSets VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs module Models + Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku + UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage + SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile InstanceViewStatus = Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewStatus VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView @@ -28,13 +33,10 @@ module Models InnerError = Azure::Compute::Mgmt::V2016_03_30::Models::InnerError VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile - Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource BootDiagnostics = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics PurchasePlan = Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan - SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource DataDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage ApiErrorBase = Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase - UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView ListUsagesResult = Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult DiskInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView @@ -49,7 +51,6 @@ module Models OSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk VirtualMachineListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult StorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile - Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku WinRMListener = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener UpgradePolicy = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy WindowsConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration @@ -84,7 +85,6 @@ module Models VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineStatusCodeCount LinuxConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::LinuxConfiguration VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary WinRMConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceView @@ -122,7 +122,7 @@ module Models end class ComputeManagementClass - attr_reader :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :configurable, :base_url, :options, :model_classes + attr_reader :availability_sets, :usage_operations, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machine_images, :virtual_machine_sizes, :virtual_machines, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -133,12 +133,12 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @availability_sets = @client_0.availability_sets + @usage_operations = @client_0.usage_operations @virtual_machine_extension_images = @client_0.virtual_machine_extension_images @virtual_machine_extensions = @client_0.virtual_machine_extensions - @virtual_machines = @client_0.virtual_machines @virtual_machine_images = @client_0.virtual_machine_images - @usage_operations = @client_0.usage_operations @virtual_machine_sizes = @client_0.virtual_machine_sizes + @virtual_machines = @client_0.virtual_machines @virtual_machine_scale_sets = @client_0.virtual_machine_scale_sets @virtual_machine_scale_set_vms = @client_0.virtual_machine_scale_set_vms @@ -159,6 +159,21 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::Compute::Mgmt::V2016_03_30::Models::Sku + end + def usage_name + Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + end + def usage + Azure::Compute::Mgmt::V2016_03_30::Models::Usage + end + def sub_resource + Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + end + def resource + Azure::Compute::Mgmt::V2016_03_30::Models::Resource + end def diagnostics_profile Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile end @@ -189,27 +204,18 @@ def virtual_machine_extension_instance_view def network_profile Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile end - def resource - Azure::Compute::Mgmt::V2016_03_30::Models::Resource - end def boot_diagnostics Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics end def purchase_plan Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan end - def sub_resource - Azure::Compute::Mgmt::V2016_03_30::Models::SubResource - end def data_disk_image Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage end def api_error_base Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase end - def usage_name - Azure::Compute::Mgmt::V2016_03_30::Models::UsageName - end def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView end @@ -252,9 +258,6 @@ def virtual_machine_list_result def storage_profile Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile end - def sku - Azure::Compute::Mgmt::V2016_03_30::Models::Sku - end def win_rmlistener Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener end @@ -357,9 +360,6 @@ def linux_configuration def virtual_machine_scale_set_instance_view_statuses_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def usage - Azure::Compute::Mgmt::V2016_03_30::Models::Usage - end def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary end diff --git a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb index fadd41a8e0..79afea94ca 100644 --- a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models - FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties + FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end class FeaturesManagementClass @@ -45,15 +45,15 @@ def method_missing(method, *args) end class ModelClasses - def feature_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - end def feature_operations_list_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult end def feature_properties Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties end + def feature_result + Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb index da9b9dbfa1..9512d2f5dd 100644 --- a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb @@ -10,11 +10,11 @@ module Mgmt ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models - ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter + ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink end class LinksManagementClass @@ -47,9 +47,6 @@ def method_missing(method, *args) end class ModelClasses - def resource_link - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink - end def resource_link_filter Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter end @@ -62,6 +59,9 @@ def resource_link_properties def filter Azure::Links::Mgmt::V2016_09_01::Models::Filter end + def resource_link + Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb index 5575c7982b..82755552f4 100644 --- a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb @@ -27,6 +27,7 @@ module Mgmt LocalNetworkGateways = Azure::Network::Mgmt::V2015_06_15::LocalNetworkGateways module Models + UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName ExpressRouteCircuitsStatsListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitListResult SubResource = Azure::Network::Mgmt::V2015_06_15::Models::SubResource @@ -34,11 +35,10 @@ module Models PublicIPAddressListResult = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult ApplicationGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayListResult ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress - Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource ConnectionResetSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey + Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource DnsNameAvailabilityResult = Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult AuthorizationListResult = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult BgpSettings = Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings @@ -51,9 +51,9 @@ module Models ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult UsagesListResult = Azure::Network::Mgmt::V2015_06_15::Models::UsagesListResult ExpressRouteCircuitSku = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties RouteTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult NetworkInterfaceListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable @@ -63,16 +63,13 @@ module Models ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult - Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage ApplicationGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult + Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage LoadBalancerListResult = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult AzureAsyncOperationResult = Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult - RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult - Error = Azure::Network::Mgmt::V2015_06_15::Models::Error - SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters ErrorDetails = Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails @@ -116,24 +113,27 @@ module Models VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName + RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult + SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier - IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol - SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol + IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess - SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection + SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol RouteNextHopType = Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayCookieBasedAffinity - ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayOperationalState - AuthorizationUseStatus = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringType + AuthorizationUseStatus = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringState - ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSkuTier + ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringType ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSkuFamily + ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSkuTier + Error = Azure::Network::Mgmt::V2015_06_15::Models::Error ServiceProviderProvisioningState = Azure::Network::Mgmt::V2015_06_15::Models::ServiceProviderProvisioningState LoadDistribution = Azure::Network::Mgmt::V2015_06_15::Models::LoadDistribution ProbeProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ProbeProtocol @@ -194,6 +194,9 @@ def method_missing(method, *args) end class ModelClasses + def usage_name + Azure::Network::Mgmt::V2015_06_15::Models::UsageName + end def express_route_circuits_stats_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult end @@ -215,21 +218,18 @@ def application_gateway_list_result def application_gateway_backend_address Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress end - def resource - Azure::Network::Mgmt::V2015_06_15::Models::Resource - end def connection_reset_shared_key Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey end + def resource + Azure::Network::Mgmt::V2015_06_15::Models::Resource + end def dns_name_availability_result Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult end def network_interface_dns_settings Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings end - def network_security_group_list_result - Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult - end def virtual_network_gateway_list_result Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult end @@ -266,15 +266,15 @@ def usages_list_result def express_route_circuit_sku Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku end - def usage_name - Azure::Network::Mgmt::V2015_06_15::Models::UsageName - end def express_route_circuit_service_provider_properties Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties end def route_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult end + def network_security_group_list_result + Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult + end def network_interface_list_result Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult end @@ -302,35 +302,26 @@ def dhcp_options def express_route_circuits_routes_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult end - def usage - Azure::Network::Mgmt::V2015_06_15::Models::Usage - end def application_gateway_sku Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku end def local_network_gateway_list_result Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult + def usage + Azure::Network::Mgmt::V2015_06_15::Models::Usage end def load_balancer_list_result Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult end def azure_async_operation_result Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult end - def route_list_result - Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult - end - def error - Azure::Network::Mgmt::V2015_06_15::Models::Error - end - def subnet_list_result - Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku end def express_route_service_provider_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult @@ -461,60 +452,69 @@ def local_network_gateway def virtual_network_gateway_connection Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection end - def application_gateway_sku_name - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName + def route_list_result + Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult + end + def subnet_list_result + Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult end def application_gateway_tier Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier end - def ipallocation_method - Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + def application_gateway_sku_name + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName end def transport_protocol Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol end - def security_rule_protocol - Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol + def ipallocation_method + Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod end def security_rule_access Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess end - def security_rule_direction - Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection + def security_rule_protocol + Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol end def route_next_hop_type Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType end - def application_gateway_protocol - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + def security_rule_direction + Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_request_routing_rule_type - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType + def application_gateway_protocol + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol end def application_gateway_operational_state Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayOperationalState end - def authorization_use_status - Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus + def application_gateway_request_routing_rule_type + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType end def express_route_circuit_peering_advertised_public_prefix_state Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end - def express_route_circuit_peering_type - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringType + def authorization_use_status + Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus end def express_route_circuit_peering_state Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringState end - def express_route_circuit_sku_tier - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSkuTier + def express_route_circuit_peering_type + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringType end def express_route_circuit_sku_family Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSkuFamily end + def express_route_circuit_sku_tier + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSkuTier + end + def error + Azure::Network::Mgmt::V2015_06_15::Models::Error + end def service_provider_provisioning_state Azure::Network::Mgmt::V2015_06_15::Models::ServiceProviderProvisioningState end diff --git a/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb index bbc74d6759..cd8249d367 100644 --- a/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb @@ -11,11 +11,11 @@ module Mgmt PolicyDefinitions = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyDefinitions module Models - PolicyAssignment = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment - PolicyDefinition = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition PolicyAssignmentListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult PolicyDefinitionListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType + PolicyAssignment = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment + PolicyDefinition = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition end class PolicyManagementClass @@ -49,12 +49,6 @@ def method_missing(method, *args) end class ModelClasses - def policy_assignment - Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment - end - def policy_definition - Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition - end def policy_assignment_list_result Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult end @@ -64,6 +58,12 @@ def policy_definition_list_result def policy_type Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType end + def policy_assignment + Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment + end + def policy_definition + Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb index 855dd74068..12025f90f8 100644 --- a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::V2017_03_09 module Resources module Mgmt + Resources = Azure::Resources::Mgmt::V2016_02_01::Resources Deployments = Azure::Resources::Mgmt::V2016_02_01::Deployments Providers = Azure::Resources::Mgmt::V2016_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups - Resources = Azure::Resources::Mgmt::V2016_02_01::Resources Tags = Azure::Resources::Mgmt::V2016_02_01::Tags DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations module Models - Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku + Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan + Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency DeploymentExtendedFilter = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter Identity = Azure::Resources::Mgmt::V2016_02_01::Models::Identity ResourceGroupFilter = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter @@ -25,18 +26,17 @@ module Models Deployment = Azure::Resources::Mgmt::V2016_02_01::Models::Deployment ResourceGroupProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupProperties ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails + Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku ResourceGroup = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup AliasType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasType ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult Provider = Azure::Resources::Mgmt::V2016_02_01::Models::Provider ResourcesMoveInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency - ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest DeploymentValidateResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult TagCount = Azure::Resources::Mgmt::V2016_02_01::Models::TagCount + ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2016_02_01::Models::TagValue - Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails ParametersLink = Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult @@ -53,18 +53,18 @@ module Models BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter - Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended - SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource - AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult GenericResource = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource + Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource DeploymentMode = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode + SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource ResourceIdentityType = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType + AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :resources, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :resources, :deployments, :providers, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -74,10 +74,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @resources = @client_0.resources @deployments = @client_0.deployments @providers = @client_0.providers @resource_groups = @client_0.resource_groups - @resources = @client_0.resources @tags = @client_0.tags @deployment_operations = @client_0.deployment_operations @@ -98,8 +98,11 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::Resources::Mgmt::V2016_02_01::Models::Sku + def plan + Azure::Resources::Mgmt::V2016_02_01::Models::Plan + end + def dependency + Azure::Resources::Mgmt::V2016_02_01::Models::Dependency end def deployment_extended_filter Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter @@ -128,6 +131,9 @@ def resource_group_properties def resource_management_error_with_details Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails end + def sku + Azure::Resources::Mgmt::V2016_02_01::Models::Sku + end def resource_group Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup end @@ -143,27 +149,21 @@ def provider def resources_move_info Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2016_02_01::Models::Dependency - end - def export_template_request - Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest - end def deployment_validate_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult end def tag_count Azure::Resources::Mgmt::V2016_02_01::Models::TagCount end + def export_template_request + Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest + end def deployment_list_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult end def tag_value Azure::Resources::Mgmt::V2016_02_01::Models::TagValue end - def plan - Azure::Resources::Mgmt::V2016_02_01::Models::Plan - end def tag_details Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails end @@ -212,30 +212,30 @@ def resource_provider_operation_display_properties def generic_resource_filter Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter end - def resource - Azure::Resources::Mgmt::V2016_02_01::Models::Resource - end def deployment_extended Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended end - def sub_resource - Azure::Resources::Mgmt::V2016_02_01::Models::SubResource - end - def alias_path_type - Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType - end def resource_group_export_result Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult end def generic_resource Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource end + def resource + Azure::Resources::Mgmt::V2016_02_01::Models::Resource + end def deployment_mode Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode end + def sub_resource + Azure::Resources::Mgmt::V2016_02_01::Models::SubResource + end def resource_identity_type Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType end + def alias_path_type + Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb index 7b84bfc0bc..066d48483a 100644 --- a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb @@ -30,7 +30,6 @@ module Models CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier @@ -39,6 +38,7 @@ module Models AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason end class StorageManagementClass @@ -129,9 +129,6 @@ def resource def storage_account Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason - end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end @@ -156,6 +153,9 @@ def key_permission def usage_unit Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb index d995649c42..950af21a22 100644 --- a/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb @@ -7,23 +7,23 @@ module Azure::Profiles::V2017_03_09 module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models - Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription - SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit + Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription + SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -33,8 +33,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -53,24 +53,18 @@ def method_missing(method, *args) end class ModelClasses - def subscription - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription - end - def subscription_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult - end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end def tenant_id_description Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def tenant_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult end + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end @@ -80,6 +74,12 @@ def subscription_state def spending_limit Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end + def subscription + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription + end + def subscription_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult + end end end end 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 cb10cb5e0d..0c80705bbf 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 2614cc7ee9..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client Api Version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -177,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? @@ -200,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 @@ -216,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 # @@ -231,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 @@ -290,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.17.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 c241bf2c5e..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 @@ -56,7 +56,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,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: { @@ -89,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: { @@ -106,7 +100,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -114,7 +107,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -122,7 +114,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -148,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -164,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 bba9a2f929..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -177,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? @@ -200,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 @@ -216,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 # @@ -231,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 @@ -290,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.17.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 c1ed2c9603..5ab047a0a9 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 83ccba92dd..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client Api Version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -177,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? @@ -200,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 @@ -216,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 # @@ -231,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 @@ -290,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.17.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 0381426d90..0328eae497 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 b6a4802efe..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client Api Version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -181,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? @@ -204,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 @@ -220,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 # @@ -235,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 @@ -294,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.17.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 ceecd6ed74..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [NetworkInterfaces] network_interfaces @@ -189,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? @@ -212,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 @@ -228,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 # @@ -243,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 @@ -302,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.17.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 f3b645f3e2..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [NetworkInterfaces] network_interfaces @@ -201,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? @@ -224,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 @@ -240,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 # @@ -255,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 @@ -314,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.17.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 e4876baa39..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 @@ -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. @@ -500,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 @@ -513,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 # @@ -525,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 @@ -585,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 @@ -600,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 # @@ -614,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? @@ -622,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 @@ -669,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 @@ -686,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 # @@ -702,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? @@ -711,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) @@ -782,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 @@ -797,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 # @@ -811,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? @@ -819,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 @@ -863,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 @@ -878,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 # @@ -892,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? @@ -900,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 @@ -948,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 @@ -966,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 # @@ -983,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? @@ -991,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 @@ -1046,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 @@ -1061,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 # @@ -1075,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 @@ -1134,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 @@ -1149,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 # @@ -1163,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 @@ -1222,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 @@ -1242,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 f89fe88851..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 @@ -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/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 18934f3cfe..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 @@ -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::V2017_03_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/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 e8a92e7478..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 @@ -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::V2017_03_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/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 d1127a7e22..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 @@ -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::V2017_03_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/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 ea0c8fd669..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 @@ -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/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 6aa3446f2d..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 @@ -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::V2017_03_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/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 e0e2dcefdd..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 @@ -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,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 @@ -174,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 @@ -189,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. @@ -214,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 @@ -228,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 # @@ -241,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 +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 @@ -324,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 # @@ -341,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) @@ -423,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 @@ -439,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 # @@ -454,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 @@ -508,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 @@ -523,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 # @@ -537,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 @@ -596,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 76edb238b1..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 @@ -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 @@ -382,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 @@ -396,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. @@ -424,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 @@ -438,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. @@ -465,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 @@ -480,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 # @@ -494,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? @@ -502,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 @@ -549,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 @@ -566,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 # @@ -582,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? @@ -591,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) @@ -663,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 @@ -678,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 # @@ -692,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? @@ -700,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 @@ -755,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 @@ -770,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 # @@ -784,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? @@ -792,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 @@ -847,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 @@ -862,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 # @@ -876,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 @@ -935,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 @@ -950,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 # @@ -964,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 @@ -1022,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 @@ -1043,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 9a72584b4a..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -201,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? @@ -224,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 @@ -240,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 # @@ -255,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 @@ -314,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.17.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 f3a76c8489..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 @@ -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::V2017_03_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/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 2c436ba173..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 @@ -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::V2017_03_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::V2017_03_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. @@ -896,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 @@ -914,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. @@ -941,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 @@ -956,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 # @@ -970,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? @@ -978,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 @@ -1026,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 @@ -1044,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 # @@ -1061,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? @@ -1070,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) @@ -1144,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 @@ -1161,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 # @@ -1177,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? @@ -1186,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) @@ -1260,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 @@ -1277,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 # @@ -1293,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? @@ -1302,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) @@ -1377,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 @@ -1395,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 # @@ -1412,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? @@ -1421,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) @@ -1496,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 @@ -1514,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 # @@ -1531,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? @@ -1540,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) @@ -1616,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 @@ -1635,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 # @@ -1653,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? @@ -1662,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) @@ -1738,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 @@ -1757,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 # @@ -1775,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? @@ -1784,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) @@ -1862,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 @@ -1883,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 # @@ -1903,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? @@ -1912,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 165a2bcfe0..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 @@ -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::V2017_03_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/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 02034edec2..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 @@ -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::V2017_03_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/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 7ca910ecfc..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 @@ -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::V2017_03_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::V2017_03_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/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 07e63a2268..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 @@ -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::V2017_03_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::V2017_03_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/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 20c1e60f88..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 @@ -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::V2017_03_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/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 5f8fb7b9e1..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 @@ -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::V2017_03_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/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 7248a21e4b..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 @@ -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::V2017_03_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/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 956e8f8ad0..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 @@ -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::V2017_03_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/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 3a58e62ae4..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 @@ -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/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 71dac28678..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 @@ -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::V2017_03_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::V2017_03_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::V2017_03_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/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 07bcf04e4d..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 @@ -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::V2017_03_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::V2017_03_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/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 dc5c09d3da..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 @@ -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::V2017_03_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/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 6bb8b91309..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 @@ -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 @@ -477,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 @@ -492,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 # @@ -506,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? @@ -514,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 @@ -568,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 @@ -583,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 # @@ -597,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? @@ -605,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 @@ -652,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 @@ -669,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 # @@ -685,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? @@ -694,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) @@ -766,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 @@ -781,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 # @@ -795,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 @@ -854,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 @@ -869,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 # @@ -883,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 @@ -942,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 @@ -957,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 # @@ -971,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 @@ -1029,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 @@ -1050,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 @@ -1072,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.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network.rb index f7ced4196a..1f5f69cb2e 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network.rb @@ -25,17 +25,16 @@ module Azure::Network::Mgmt::V2017_03_30 autoload :NetworkManagementClient, '2017-03-30/generated/azure_mgmt_network/network_management_client.rb' module Models - autoload :ServiceEndpointPropertiesFormat, '2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb' - autoload :PublicIPAddressListResult, '2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb' - autoload :Resource, '2017-03-30/generated/azure_mgmt_network/models/resource.rb' - autoload :NetworkInterfaceDnsSettings, '2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb' - autoload :IpTag, '2017-03-30/generated/azure_mgmt_network/models/ip_tag.rb' - autoload :ApplicationGatewayBackendAddress, '2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb' autoload :PublicIPAddressSku, '2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb' autoload :SubResource, '2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb' - autoload :NetworkInterfaceIPConfigurationListResult, '2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb' - autoload :PublicIPAddressDnsSettings, '2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb' + autoload :ApplicationGatewayBackendAddress, '2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb' + autoload :Resource, '2017-03-30/generated/azure_mgmt_network/models/resource.rb' + autoload :PublicIPAddressListResult, '2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb' autoload :NetworkInterfaceListResult, '2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb' + autoload :PublicIPAddressDnsSettings, '2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb' + autoload :NetworkInterfaceIPConfigurationListResult, '2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb' + autoload :ServiceEndpointPropertiesFormat, '2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb' + autoload :NetworkInterfaceDnsSettings, '2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb' autoload :ApplicationSecurityGroup, '2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb' autoload :ResourceNavigationLink, '2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb' autoload :Route, '2017-03-30/generated/azure_mgmt_network/models/route.rb' 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 0d6d61ec63..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 @@ -23,8 +23,8 @@ class ApplicationGatewayBackendAddressPool < SubResource # resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. attr_accessor :provisioning_state - # @return [String] Name of the backend address pool that is unique within - # an Application Gateway. + # @return [String] Resource that is unique within a resource group. This + # name can be used to access the resource. attr_accessor :name # @return [String] A unique read-only string that changes whenever the @@ -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 089ce6a392..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 @@ -32,10 +32,6 @@ class PublicIPAddress < Resource # associated with the public IP address. attr_accessor :dns_settings - # @return [Array] The list of tags associated with the public IP - # address. - attr_accessor :ip_tags - # @return [String] The IP address associated with the public IP address # resource. attr_accessor :ip_address @@ -65,7 +61,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -73,7 +68,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -107,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: { @@ -123,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -132,7 +120,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -140,7 +127,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -148,7 +134,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -158,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -166,25 +150,7 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings' } }, - 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: { - name: 'Composite', - class_name: 'IpTag' - } - } - } - }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -192,7 +158,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -200,7 +165,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -208,7 +172,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -216,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -224,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 c80ec4970c..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 @@ -19,10 +19,6 @@ class RouteTable < Resource # @return [Array] A collection of references to subnets. attr_accessor :subnets - # @return [Boolean] Gets or sets whether to disable the routes learned by - # BGP on that route table. True means disable. - attr_accessor :disable_bgp_route_propagation - # @return [String] The provisioning state of the resource. Possible # values are: 'Updating', 'Deleting', and 'Failed'. attr_accessor :provisioning_state @@ -38,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -46,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,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: { @@ -96,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: { @@ -113,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: { @@ -130,16 +115,7 @@ def self.mapper() } } }, - disable_bgp_route_propagation: { - client_side_validation: true, - required: false, - serialized_name: 'properties.disableBgpRoutePropagation', - type: { - name: 'Boolean' - } - }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,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 eecc5a7e55..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 @@ -22,16 +22,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # for every service call. attr_accessor :subscription_id - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [NetworkInterfaces] network_interfaces @@ -107,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? @@ -126,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.17.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/application_gateways.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb index 3aebfd8b0e..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 @@ -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. @@ -209,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 @@ -225,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. @@ -252,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 @@ -266,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 # @@ -279,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 @@ -339,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 @@ -352,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 # @@ -364,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 @@ -423,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 @@ -437,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. @@ -461,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 @@ -475,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. @@ -504,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 @@ -520,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. @@ -546,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 @@ -559,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 # @@ -571,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 @@ -630,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 @@ -643,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 # @@ -655,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 @@ -714,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 @@ -727,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 # @@ -739,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 @@ -799,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 @@ -813,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 # @@ -826,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 @@ -887,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 @@ -902,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 # @@ -916,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? @@ -924,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 @@ -971,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 @@ -988,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 # @@ -1004,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? @@ -1013,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) @@ -1087,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 @@ -1104,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 # @@ -1120,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? @@ -1129,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) @@ -1190,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 @@ -1205,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 # @@ -1219,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? @@ -1227,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 @@ -1271,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 @@ -1286,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 # @@ -1300,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? @@ -1308,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 @@ -1356,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 @@ -1374,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 # @@ -1391,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? @@ -1399,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1557,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 # @@ -1571,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 @@ -1630,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 @@ -1645,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 # @@ -1659,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 @@ -1718,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 @@ -1738,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 @@ -1758,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 cac24486e6..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 @@ -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_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 @@ -45,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. @@ -72,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 @@ -88,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 # @@ -103,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? @@ -111,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 @@ -169,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 @@ -186,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. @@ -212,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 @@ -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 @@ -386,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 @@ -402,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 # @@ -417,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? @@ -425,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 @@ -473,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 @@ -491,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 # @@ -508,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? @@ -517,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) @@ -589,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 @@ -604,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 # @@ -618,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 @@ -677,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 @@ -692,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 # @@ -706,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 @@ -764,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 @@ -785,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 74f6d685d2..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 @@ -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,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 @@ -119,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 @@ -134,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 # @@ -148,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 @@ -207,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 733ddac698..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 @@ -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/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 e1f124e24c..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 @@ -32,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 @@ -48,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 # @@ -63,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? @@ -71,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 @@ -129,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 @@ -147,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 # @@ -164,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? @@ -173,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 @@ -228,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 @@ -243,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 # @@ -257,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 @@ -318,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 eb4087976f..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 @@ -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::V2017_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/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 e434f18fc6..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 @@ -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::V2017_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/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 4c7cf5500d..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 @@ -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 [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 @@ -225,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. @@ -256,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 @@ -272,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. @@ -303,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 @@ -319,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. @@ -350,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 @@ -366,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. @@ -394,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 @@ -409,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 # @@ -423,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? @@ -431,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 @@ -487,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 @@ -503,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 # @@ -518,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? @@ -527,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 @@ -581,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 @@ -595,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 # @@ -608,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 @@ -668,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 @@ -681,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 # @@ -693,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 @@ -753,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 @@ -768,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 # @@ -782,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? @@ -790,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 @@ -837,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 @@ -854,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 # @@ -870,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? @@ -879,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) @@ -953,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 @@ -970,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 # @@ -986,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? @@ -995,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) @@ -1060,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 @@ -1078,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 # @@ -1095,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? @@ -1105,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 @@ -1163,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 @@ -1181,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 # @@ -1198,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? @@ -1208,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 @@ -1266,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 @@ -1284,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 # @@ -1301,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? @@ -1311,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 @@ -1366,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 @@ -1381,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 # @@ -1395,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1562,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 e216a28951..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 @@ -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/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 498d7d3bec..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -122,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 @@ -137,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. @@ -165,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 @@ -182,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 # @@ -198,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? @@ -207,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 @@ -265,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 @@ -282,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. @@ -310,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 @@ -326,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 # @@ -341,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? @@ -350,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 @@ -398,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 @@ -416,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 # @@ -433,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? @@ -443,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) @@ -515,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 @@ -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 [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 5adedbe3e8..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 276f51fac1..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 d4a0d9ed8e..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 7e1dd1eb1d..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 8b9bbcb388..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 5cef3542a6..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 b6ef720623..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 @@ -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,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 @@ -174,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 @@ -189,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. @@ -218,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 @@ -235,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. @@ -262,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 @@ -276,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 # @@ -289,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 +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 @@ -372,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 # @@ -389,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) @@ -471,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 @@ -487,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 # @@ -502,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 @@ -559,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 @@ -577,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 # @@ -594,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) @@ -666,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 @@ -681,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 # @@ -695,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 @@ -754,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 b039dc29b5..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 fc94d4e037..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 8ba37e0c70..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -428,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 @@ -442,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. @@ -470,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 @@ -484,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. @@ -511,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 @@ -526,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 # @@ -540,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? @@ -548,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 @@ -595,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 @@ -612,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 # @@ -628,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? @@ -637,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) @@ -711,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 @@ -728,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 # @@ -744,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? @@ -753,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) @@ -815,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 @@ -830,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 # @@ -844,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? @@ -852,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 @@ -907,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 @@ -922,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 # @@ -936,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? @@ -944,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 @@ -999,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 @@ -1014,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 # @@ -1028,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 @@ -1087,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 @@ -1102,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 # @@ -1116,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 @@ -1174,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 @@ -1195,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 eb7e381b6b..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -253,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? @@ -277,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 @@ -294,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 # @@ -310,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? @@ -318,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 @@ -370,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.17.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 038036dbb5..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 @@ -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. @@ -220,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 @@ -237,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. @@ -263,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 @@ -276,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 # @@ -288,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 @@ -348,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 @@ -362,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 # @@ -375,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 @@ -437,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 @@ -453,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 # @@ -468,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? @@ -476,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 @@ -524,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 @@ -542,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 # @@ -559,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? @@ -568,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) @@ -643,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 @@ -661,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 # @@ -678,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? @@ -687,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) @@ -749,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 @@ -764,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 # @@ -778,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 @@ -837,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 @@ -852,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 # @@ -866,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 @@ -924,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 @@ -945,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 4c141f4b4f..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 @@ -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::V2017_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. @@ -279,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 @@ -296,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 # @@ -312,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? @@ -321,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) @@ -382,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 @@ -396,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 # @@ -409,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 @@ -469,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 @@ -482,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 # @@ -494,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 @@ -557,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 @@ -574,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 # @@ -590,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? @@ -599,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) @@ -664,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 @@ -680,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. @@ -710,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 @@ -726,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. @@ -756,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 @@ -772,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. @@ -803,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 @@ -820,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. @@ -851,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 @@ -868,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. @@ -900,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 @@ -918,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. @@ -950,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 @@ -968,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. @@ -1002,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 @@ -1020,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. @@ -1053,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 @@ -1071,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. @@ -1103,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 @@ -1121,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. @@ -1148,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 @@ -1163,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 # @@ -1177,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? @@ -1185,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 @@ -1233,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 @@ -1251,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 # @@ -1268,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? @@ -1277,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) @@ -1351,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 @@ -1368,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 # @@ -1384,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? @@ -1393,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) @@ -1467,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 @@ -1484,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 # @@ -1500,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? @@ -1509,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) @@ -1584,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 @@ -1602,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 # @@ -1619,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? @@ -1628,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) @@ -1703,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 @@ -1721,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 # @@ -1738,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? @@ -1747,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) @@ -1823,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 @@ -1842,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 # @@ -1860,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? @@ -1869,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) @@ -1945,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 @@ -1964,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 # @@ -1982,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? @@ -1991,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) @@ -2069,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 @@ -2090,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 # @@ -2110,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? @@ -2119,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) @@ -2196,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 @@ -2216,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 # @@ -2235,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? @@ -2244,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) @@ -2320,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 @@ -2339,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 # @@ -2357,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? @@ -2366,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 d63664f6dc..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 @@ -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,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 @@ -113,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 @@ -128,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 # @@ -142,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 @@ -200,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 3450c396ff..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 @@ -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::V2017_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/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 98734f68c1..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 7be5d046a6..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 @@ -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::V2017_09_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::V2017_09_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/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 6e52a3a056..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 @@ -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::V2017_09_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::V2017_09_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/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 b4b7312655..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 @@ -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. @@ -212,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 @@ -228,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. @@ -255,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 @@ -269,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 # @@ -282,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 @@ -342,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 @@ -355,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 # @@ -367,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 @@ -907,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 @@ -927,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 29e50d98ba..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 @@ -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::V2017_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/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 342664626d..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 @@ -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::V2017_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/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 48ab93e5c4..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 @@ -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::V2017_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/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 2b3e88b364..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 @@ -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/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 ac8076a77c..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 @@ -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 [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 @@ -235,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. @@ -269,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 @@ -287,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. @@ -318,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 @@ -336,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 # @@ -353,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? @@ -361,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 @@ -416,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 @@ -431,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 # @@ -445,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 @@ -514,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 @@ -532,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. @@ -564,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 @@ -583,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 # @@ -601,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? @@ -610,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) @@ -682,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 @@ -698,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 # @@ -713,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? @@ -721,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 @@ -769,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 @@ -787,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 # @@ -804,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? @@ -813,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) @@ -881,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 @@ -902,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 # @@ -922,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? @@ -931,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) @@ -1010,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 @@ -1032,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 # @@ -1053,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? @@ -1062,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) @@ -1125,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 @@ -1141,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 # @@ -1156,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 @@ -1216,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 c824f63902..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 @@ -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. @@ -217,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 @@ -234,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. @@ -261,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 @@ -275,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 # @@ -288,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 @@ -351,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 @@ -367,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 # @@ -382,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? @@ -390,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 @@ -449,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 @@ -466,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. @@ -498,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 @@ -515,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: { @@ -554,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 @@ -571,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: { @@ -609,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 @@ -624,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: { @@ -661,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 @@ -677,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. @@ -706,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 @@ -722,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 # @@ -737,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? @@ -745,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 @@ -778,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: { @@ -809,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 @@ -824,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. @@ -855,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 @@ -871,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. @@ -903,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 @@ -922,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 # @@ -940,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? @@ -949,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) @@ -989,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: { @@ -1021,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 @@ -1039,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 # @@ -1056,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? @@ -1065,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) @@ -1137,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 @@ -1153,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 # @@ -1168,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? @@ -1176,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 @@ -1224,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 @@ -1242,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 # @@ -1259,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? @@ -1268,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) @@ -1334,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 @@ -1353,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 # @@ -1371,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? @@ -1379,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 @@ -1438,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 @@ -1457,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 # @@ -1475,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? @@ -1484,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) @@ -1524,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: { @@ -1557,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 @@ -1576,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 # @@ -1594,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? @@ -1603,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) @@ -1643,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: { @@ -1675,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 @@ -1693,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 # @@ -1710,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? @@ -1718,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 @@ -1751,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: { @@ -1782,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 @@ -1799,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 # @@ -1815,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? @@ -1823,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 @@ -1880,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 @@ -1897,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 # @@ -1913,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? @@ -1921,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 @@ -1979,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 @@ -1997,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 # @@ -2014,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? @@ -2023,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 @@ -2078,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 @@ -2093,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 # @@ -2107,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 @@ -2166,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 @@ -2181,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 # @@ -2195,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 @@ -2254,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 @@ -2277,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 68dce69360..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 @@ -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::V2017_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/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 e1408dbc37..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -429,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 @@ -445,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 # @@ -460,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? @@ -468,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 @@ -523,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 @@ -538,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 # @@ -552,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? @@ -560,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 @@ -614,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 @@ -629,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 # @@ -643,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? @@ -651,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 @@ -698,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 @@ -715,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 # @@ -731,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? @@ -740,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) @@ -814,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 @@ -831,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 # @@ -847,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? @@ -856,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) @@ -918,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 @@ -933,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 # @@ -947,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 @@ -1006,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 @@ -1021,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 # @@ -1035,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 @@ -1094,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 @@ -1109,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 # @@ -1123,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 @@ -1181,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 @@ -1202,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 @@ -1224,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 c890c70fc8..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 @@ -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. @@ -209,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 @@ -225,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. @@ -252,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 @@ -266,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 # @@ -279,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 @@ -339,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 @@ -352,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 # @@ -364,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 @@ -423,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 @@ -437,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. @@ -461,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 @@ -475,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. @@ -504,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 @@ -520,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. @@ -546,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 @@ -559,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 # @@ -571,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 @@ -630,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 @@ -643,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 # @@ -655,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 @@ -714,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 @@ -727,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 # @@ -739,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 @@ -799,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 @@ -813,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 # @@ -826,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 @@ -887,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 @@ -902,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 # @@ -916,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? @@ -924,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 @@ -971,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 @@ -988,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 # @@ -1004,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? @@ -1013,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) @@ -1087,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 @@ -1104,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 # @@ -1120,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? @@ -1129,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) @@ -1190,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 @@ -1205,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 # @@ -1219,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? @@ -1227,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 @@ -1271,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 @@ -1286,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 # @@ -1300,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? @@ -1308,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 @@ -1356,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 @@ -1374,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 # @@ -1391,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? @@ -1399,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1557,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 # @@ -1571,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 @@ -1630,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 @@ -1645,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 # @@ -1659,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 @@ -1718,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 @@ -1738,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 @@ -1758,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 da5f40d3cd..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 @@ -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_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 @@ -45,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. @@ -72,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 @@ -88,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 # @@ -103,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? @@ -111,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 @@ -169,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 @@ -186,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. @@ -212,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 @@ -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 @@ -386,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 @@ -402,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 # @@ -417,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? @@ -425,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 @@ -473,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 @@ -491,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 # @@ -508,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? @@ -517,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) @@ -589,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 @@ -604,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 # @@ -618,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 @@ -677,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 @@ -692,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 # @@ -706,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 @@ -764,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 @@ -785,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 2cd41f5d95..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 @@ -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,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 @@ -119,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 @@ -134,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 # @@ -148,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 @@ -207,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 71c035e012..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 @@ -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/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 cacbfe9aa7..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 @@ -36,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 @@ -55,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. @@ -86,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 @@ -104,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 # @@ -121,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? @@ -130,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 @@ -186,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 @@ -203,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. @@ -230,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 @@ -247,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. @@ -274,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 @@ -291,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. @@ -321,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 @@ -339,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. @@ -369,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 @@ -386,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 # @@ -402,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? @@ -410,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 @@ -470,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 @@ -490,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 # @@ -509,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? @@ -519,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) @@ -593,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 @@ -611,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 # @@ -628,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? @@ -637,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 @@ -684,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 @@ -702,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 # @@ -719,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? @@ -728,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 @@ -775,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 @@ -793,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 # @@ -810,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? @@ -819,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 @@ -868,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 @@ -887,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 # @@ -905,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? @@ -914,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 cb8718495f..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 @@ -32,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 @@ -48,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 # @@ -63,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? @@ -71,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 @@ -129,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 @@ -147,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 # @@ -164,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? @@ -173,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 @@ -228,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 @@ -243,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 # @@ -257,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 @@ -318,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 7d4efc7bf3..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 @@ -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::V2017_10_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/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 286952e175..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 @@ -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::V2017_10_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/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 7977b71b80..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 @@ -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 [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 @@ -225,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. @@ -256,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 @@ -272,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. @@ -303,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 @@ -319,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. @@ -350,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 @@ -366,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. @@ -394,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 @@ -409,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 # @@ -423,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? @@ -431,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 @@ -487,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 @@ -503,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 # @@ -518,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? @@ -527,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 @@ -581,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 @@ -595,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 # @@ -608,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 @@ -668,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 @@ -681,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 # @@ -693,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 @@ -753,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 @@ -768,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 # @@ -782,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? @@ -790,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 @@ -837,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 @@ -854,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 # @@ -870,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? @@ -879,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) @@ -953,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 @@ -970,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 # @@ -986,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? @@ -995,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) @@ -1060,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 @@ -1078,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 # @@ -1095,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? @@ -1105,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 @@ -1163,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 @@ -1181,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 # @@ -1198,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? @@ -1208,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 @@ -1266,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 @@ -1284,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 # @@ -1301,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? @@ -1311,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 @@ -1366,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 @@ -1381,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 # @@ -1395,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1562,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 029615e68d..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 @@ -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/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 a27fec6f78..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -122,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 @@ -137,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. @@ -165,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 @@ -182,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 # @@ -198,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? @@ -207,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 @@ -265,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 @@ -282,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. @@ -310,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 @@ -326,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 # @@ -341,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? @@ -350,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 @@ -398,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 @@ -416,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 # @@ -433,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? @@ -443,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) @@ -515,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 @@ -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 [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 1744ed29e5..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 3f5780eae4..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 636b77d751..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 d56769200b..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 0e90e64662..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 5969a9d1a5..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 2ccb2a1c66..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 @@ -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,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 @@ -174,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 @@ -189,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. @@ -218,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 @@ -235,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. @@ -262,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 @@ -276,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 # @@ -289,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 +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 @@ -372,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 # @@ -389,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) @@ -471,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 @@ -487,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 # @@ -502,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 @@ -559,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 @@ -577,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 # @@ -594,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) @@ -666,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 @@ -681,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 # @@ -695,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 @@ -754,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 31bd974762..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 6e0897c10c..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 ceeacd3268..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -428,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 @@ -442,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. @@ -470,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 @@ -484,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. @@ -511,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 @@ -526,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 # @@ -540,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? @@ -548,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 @@ -595,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 @@ -612,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 # @@ -628,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? @@ -637,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) @@ -711,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 @@ -728,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 # @@ -744,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? @@ -753,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) @@ -815,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 @@ -830,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 # @@ -844,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? @@ -852,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 @@ -907,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 @@ -922,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 # @@ -936,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? @@ -944,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 @@ -999,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 @@ -1014,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 # @@ -1028,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 @@ -1087,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 @@ -1102,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 # @@ -1116,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 @@ -1174,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 @@ -1195,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 166fd8c41a..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -257,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? @@ -281,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 @@ -298,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 # @@ -314,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? @@ -322,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 @@ -374,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.17.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 5aee94edf7..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 @@ -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. @@ -220,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 @@ -237,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. @@ -263,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 @@ -276,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 # @@ -288,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 @@ -348,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 @@ -362,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 # @@ -375,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 @@ -437,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 @@ -453,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 # @@ -468,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? @@ -476,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 @@ -524,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 @@ -542,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 # @@ -559,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? @@ -568,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) @@ -643,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 @@ -661,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 # @@ -678,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? @@ -687,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) @@ -749,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 @@ -764,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 # @@ -778,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 @@ -837,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 @@ -852,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 # @@ -866,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 @@ -924,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 @@ -945,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 05d363a1cb..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 @@ -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::V2017_10_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. @@ -279,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 @@ -296,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 # @@ -312,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? @@ -321,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) @@ -382,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 @@ -396,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 # @@ -409,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 @@ -469,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 @@ -482,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 # @@ -494,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 @@ -557,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 @@ -574,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 # @@ -590,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? @@ -599,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) @@ -664,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 @@ -680,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. @@ -710,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 @@ -726,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. @@ -756,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 @@ -772,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. @@ -803,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 @@ -820,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. @@ -851,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 @@ -868,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. @@ -900,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 @@ -918,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. @@ -950,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 @@ -968,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. @@ -1002,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 @@ -1020,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. @@ -1053,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 @@ -1071,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. @@ -1103,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 @@ -1121,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. @@ -1148,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 @@ -1163,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 # @@ -1177,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? @@ -1185,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 @@ -1233,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 @@ -1251,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 # @@ -1268,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? @@ -1277,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) @@ -1351,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 @@ -1368,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 # @@ -1384,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? @@ -1393,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) @@ -1467,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 @@ -1484,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 # @@ -1500,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? @@ -1509,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) @@ -1584,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 @@ -1602,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 # @@ -1619,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? @@ -1628,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) @@ -1703,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 @@ -1721,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 # @@ -1738,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? @@ -1747,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) @@ -1823,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 @@ -1842,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 # @@ -1860,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? @@ -1869,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) @@ -1945,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 @@ -1964,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 # @@ -1982,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? @@ -1991,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) @@ -2069,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 @@ -2090,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 # @@ -2110,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? @@ -2119,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) @@ -2196,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 @@ -2216,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 # @@ -2235,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? @@ -2244,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) @@ -2320,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 @@ -2339,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 # @@ -2357,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? @@ -2366,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 a5eacd4f3e..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 @@ -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,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 @@ -113,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 @@ -128,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 # @@ -142,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 @@ -200,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 2a2795ab1f..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 @@ -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::V2017_10_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/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 b48dcfb2d8..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 61337a00be..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 @@ -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::V2017_10_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::V2017_10_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/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 aec227b8bb..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 @@ -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::V2017_10_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::V2017_10_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/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 7b77c29ce8..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 @@ -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. @@ -212,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 @@ -228,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. @@ -255,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 @@ -269,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 # @@ -282,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 @@ -342,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 @@ -355,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 # @@ -367,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 @@ -907,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 @@ -927,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 d3f7c5121f..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 @@ -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::V2017_10_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/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 fca6bcb4e9..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 @@ -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::V2017_10_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/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 dd50673092..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 @@ -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::V2017_10_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/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 fd2192ba87..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 @@ -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/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 d348024ce0..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 @@ -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 [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 @@ -235,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. @@ -269,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 @@ -287,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. @@ -318,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 @@ -336,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 # @@ -353,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? @@ -361,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 @@ -416,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 @@ -431,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 # @@ -445,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 @@ -514,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 @@ -532,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. @@ -564,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 @@ -583,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 # @@ -601,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? @@ -610,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) @@ -682,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 @@ -698,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 # @@ -713,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? @@ -721,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 @@ -769,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 @@ -787,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 # @@ -804,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? @@ -813,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) @@ -881,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 @@ -902,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 # @@ -922,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? @@ -931,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) @@ -1010,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 @@ -1032,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 # @@ -1053,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? @@ -1062,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) @@ -1125,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 @@ -1141,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 # @@ -1156,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 @@ -1216,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 e87ab5b7e3..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 @@ -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. @@ -217,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 @@ -234,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. @@ -261,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 @@ -275,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 # @@ -288,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 @@ -351,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 @@ -367,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 # @@ -382,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? @@ -390,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 @@ -449,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 @@ -466,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. @@ -498,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 @@ -515,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: { @@ -554,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 @@ -571,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: { @@ -609,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 @@ -624,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: { @@ -661,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 @@ -677,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. @@ -706,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 @@ -722,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 # @@ -737,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? @@ -745,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 @@ -778,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: { @@ -809,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 @@ -824,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. @@ -855,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 @@ -871,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. @@ -903,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 @@ -922,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 # @@ -940,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? @@ -949,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) @@ -989,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: { @@ -1021,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 @@ -1039,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 # @@ -1056,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? @@ -1065,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) @@ -1137,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 @@ -1153,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 # @@ -1168,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? @@ -1176,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 @@ -1224,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 @@ -1242,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 # @@ -1259,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? @@ -1268,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) @@ -1334,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 @@ -1353,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 # @@ -1371,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? @@ -1379,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 @@ -1438,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 @@ -1457,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 # @@ -1475,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? @@ -1484,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) @@ -1524,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: { @@ -1557,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 @@ -1576,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 # @@ -1594,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? @@ -1603,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) @@ -1643,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: { @@ -1675,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 @@ -1693,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 # @@ -1710,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? @@ -1718,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 @@ -1751,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: { @@ -1782,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 @@ -1799,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 # @@ -1815,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? @@ -1823,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 @@ -1880,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 @@ -1897,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 # @@ -1913,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? @@ -1921,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 @@ -1979,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 @@ -1997,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 # @@ -2014,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? @@ -2023,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 @@ -2078,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 @@ -2093,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 # @@ -2107,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 @@ -2166,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 @@ -2181,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 # @@ -2195,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 @@ -2254,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 @@ -2277,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 c1781f696a..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 @@ -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::V2017_10_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/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 ea3da612e3..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -429,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 @@ -445,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 # @@ -460,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? @@ -468,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 @@ -523,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 @@ -538,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 # @@ -552,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? @@ -560,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 @@ -614,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 @@ -629,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 # @@ -643,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? @@ -651,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 @@ -698,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 @@ -715,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 # @@ -731,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? @@ -740,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) @@ -814,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 @@ -831,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 # @@ -847,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? @@ -856,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) @@ -918,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 @@ -933,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 # @@ -947,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 @@ -1006,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 @@ -1021,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 # @@ -1035,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 @@ -1094,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 @@ -1109,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 # @@ -1123,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 @@ -1181,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 @@ -1202,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 @@ -1224,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 d056e0543a..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 @@ -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. @@ -209,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 @@ -225,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. @@ -252,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 @@ -266,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 # @@ -279,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 @@ -339,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 @@ -352,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 # @@ -364,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 @@ -423,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 @@ -437,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. @@ -461,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 @@ -475,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. @@ -504,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 @@ -520,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. @@ -546,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 @@ -559,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 # @@ -571,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 @@ -630,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 @@ -643,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 # @@ -655,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 @@ -714,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 @@ -727,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 # @@ -739,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 @@ -799,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 @@ -813,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 # @@ -826,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 @@ -887,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 @@ -902,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 # @@ -916,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? @@ -924,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 @@ -971,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 @@ -988,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 # @@ -1004,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? @@ -1013,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) @@ -1087,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 @@ -1104,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 # @@ -1120,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? @@ -1129,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) @@ -1190,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 @@ -1205,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 # @@ -1219,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? @@ -1227,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 @@ -1271,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 @@ -1286,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 # @@ -1300,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? @@ -1308,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 @@ -1356,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 @@ -1374,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 # @@ -1391,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? @@ -1399,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1557,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 # @@ -1571,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 @@ -1630,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 @@ -1645,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 # @@ -1659,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 @@ -1718,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 @@ -1738,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 @@ -1758,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 17a05d2f5f..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 @@ -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_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 @@ -45,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. @@ -72,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 @@ -88,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 # @@ -103,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? @@ -111,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 @@ -169,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 @@ -186,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. @@ -212,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 @@ -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 @@ -386,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 @@ -402,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 # @@ -417,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? @@ -425,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 @@ -473,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 @@ -491,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 # @@ -508,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? @@ -517,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) @@ -589,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 @@ -604,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 # @@ -618,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 @@ -677,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 @@ -692,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 # @@ -706,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 @@ -764,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 @@ -785,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 25fdb884b4..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 @@ -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,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 @@ -119,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 @@ -134,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 # @@ -148,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 @@ -207,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 fc7db322ac..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 @@ -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/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 5a30c13757..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 @@ -36,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 @@ -55,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. @@ -86,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 @@ -104,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 # @@ -121,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? @@ -130,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 @@ -186,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 @@ -203,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. @@ -230,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 @@ -247,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. @@ -274,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 @@ -291,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. @@ -321,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 @@ -339,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. @@ -369,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 @@ -386,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 # @@ -402,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? @@ -410,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 @@ -470,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 @@ -490,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 # @@ -509,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? @@ -519,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) @@ -593,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 @@ -611,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 # @@ -628,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? @@ -637,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 @@ -684,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 @@ -702,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 # @@ -719,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? @@ -728,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 @@ -775,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 @@ -793,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 # @@ -810,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? @@ -819,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 @@ -868,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 @@ -887,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 # @@ -905,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? @@ -914,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 d15862230c..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 @@ -32,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 @@ -48,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 # @@ -63,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? @@ -71,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 @@ -129,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 @@ -147,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 # @@ -164,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? @@ -173,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 @@ -228,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 @@ -243,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 # @@ -257,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 @@ -318,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 5f27252964..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 @@ -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::V2017_11_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/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 6e5d6d4bb4..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 @@ -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::V2017_11_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/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 d78963a376..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 @@ -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 [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 @@ -225,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. @@ -256,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 @@ -272,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. @@ -303,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 @@ -319,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. @@ -350,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 @@ -366,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. @@ -394,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 @@ -409,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 # @@ -423,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? @@ -431,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 @@ -487,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 @@ -503,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 # @@ -518,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? @@ -527,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 @@ -581,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 @@ -595,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 # @@ -608,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 @@ -668,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 @@ -681,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 # @@ -693,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 @@ -753,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 @@ -768,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 # @@ -782,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? @@ -790,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 @@ -837,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 @@ -854,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 # @@ -870,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? @@ -879,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) @@ -953,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 @@ -970,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 # @@ -986,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? @@ -995,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) @@ -1060,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 @@ -1078,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 # @@ -1095,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? @@ -1105,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 @@ -1163,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 @@ -1181,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 # @@ -1198,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? @@ -1208,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 @@ -1266,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 @@ -1284,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 # @@ -1301,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? @@ -1311,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 @@ -1366,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 @@ -1381,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 # @@ -1395,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1562,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 ccd4dd58c7..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 @@ -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/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 825bf92a1e..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -122,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 @@ -137,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. @@ -165,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 @@ -182,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 # @@ -198,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? @@ -207,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 @@ -265,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 @@ -282,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. @@ -310,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 @@ -326,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 # @@ -341,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? @@ -350,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 @@ -398,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 @@ -416,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 # @@ -433,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? @@ -443,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) @@ -515,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 @@ -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 [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 008c3fd40f..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 82c10c3ca6..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 dad104dc12..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 e12c8b5fe1..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 d659c03015..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 1f546817ba..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 2fc719676b..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 @@ -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,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 @@ -174,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 @@ -189,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. @@ -218,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 @@ -235,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. @@ -262,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 @@ -276,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 # @@ -289,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 +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 @@ -372,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 # @@ -389,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) @@ -471,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 @@ -487,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 # @@ -502,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 @@ -559,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 @@ -577,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 # @@ -594,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) @@ -666,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 @@ -681,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 # @@ -695,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 @@ -754,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 7b511c99ab..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 23a10bd95c..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 b8bdc747c7..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -428,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 @@ -442,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. @@ -470,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 @@ -484,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. @@ -511,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 @@ -526,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 # @@ -540,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? @@ -548,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 @@ -595,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 @@ -612,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 # @@ -628,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? @@ -637,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) @@ -711,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 @@ -728,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 # @@ -744,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? @@ -753,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) @@ -815,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 @@ -830,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 # @@ -844,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? @@ -852,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 @@ -907,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 @@ -922,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 # @@ -936,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? @@ -944,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 @@ -999,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 @@ -1014,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 # @@ -1028,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 @@ -1087,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 @@ -1102,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 # @@ -1116,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 @@ -1174,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 @@ -1195,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 b22e23ca3d..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -257,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? @@ -281,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 @@ -298,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 # @@ -314,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? @@ -322,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 @@ -374,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.17.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 3e81803611..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 @@ -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. @@ -220,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 @@ -237,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. @@ -263,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 @@ -276,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 # @@ -288,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 @@ -348,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 @@ -362,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 # @@ -375,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 @@ -437,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 @@ -453,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 # @@ -468,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? @@ -476,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 @@ -524,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 @@ -542,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 # @@ -559,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? @@ -568,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) @@ -643,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 @@ -661,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 # @@ -678,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? @@ -687,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) @@ -749,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 @@ -764,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 # @@ -778,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 @@ -837,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 @@ -852,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 # @@ -866,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 @@ -924,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 @@ -945,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 32218b139b..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 @@ -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::V2017_11_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. @@ -279,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 @@ -296,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 # @@ -312,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? @@ -321,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) @@ -382,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 @@ -396,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 # @@ -409,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 @@ -469,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 @@ -482,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 # @@ -494,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 @@ -557,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 @@ -574,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 # @@ -590,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? @@ -599,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) @@ -664,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 @@ -680,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. @@ -710,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 @@ -726,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. @@ -756,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 @@ -772,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. @@ -803,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 @@ -820,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. @@ -851,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 @@ -868,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. @@ -900,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 @@ -918,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. @@ -950,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 @@ -968,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. @@ -1002,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 @@ -1020,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. @@ -1053,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 @@ -1071,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. @@ -1103,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 @@ -1121,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. @@ -1148,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 @@ -1163,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 # @@ -1177,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? @@ -1185,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 @@ -1233,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 @@ -1251,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 # @@ -1268,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? @@ -1277,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) @@ -1351,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 @@ -1368,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 # @@ -1384,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? @@ -1393,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) @@ -1467,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 @@ -1484,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 # @@ -1500,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? @@ -1509,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) @@ -1584,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 @@ -1602,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 # @@ -1619,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? @@ -1628,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) @@ -1703,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 @@ -1721,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 # @@ -1738,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? @@ -1747,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) @@ -1823,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 @@ -1842,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 # @@ -1860,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? @@ -1869,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) @@ -1945,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 @@ -1964,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 # @@ -1982,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? @@ -1991,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) @@ -2069,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 @@ -2090,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 # @@ -2110,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? @@ -2119,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) @@ -2196,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 @@ -2216,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 # @@ -2235,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? @@ -2244,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) @@ -2320,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 @@ -2339,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 # @@ -2357,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? @@ -2366,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 479b772540..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 @@ -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,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 @@ -113,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 @@ -128,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 # @@ -142,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 @@ -200,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 d1d2216c51..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 @@ -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::V2017_11_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/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 8d8111f53c..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 e90bf33364..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 @@ -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::V2017_11_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::V2017_11_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/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 f8fbe031e7..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 @@ -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::V2017_11_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::V2017_11_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/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 2f0592bcc0..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 @@ -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. @@ -212,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 @@ -228,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. @@ -255,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 @@ -269,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 # @@ -282,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 @@ -342,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 @@ -355,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 # @@ -367,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 @@ -907,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 @@ -927,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 486bd9b5f6..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 @@ -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::V2017_11_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/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 8dd7a490cb..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 @@ -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::V2017_11_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/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 9df0991eac..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 @@ -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::V2017_11_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/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 7cdcfad9c1..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 @@ -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/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 3a7b91e865..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 @@ -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 [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 @@ -235,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. @@ -269,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 @@ -287,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. @@ -318,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 @@ -336,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 # @@ -353,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? @@ -361,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 @@ -416,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 @@ -431,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 # @@ -445,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 @@ -514,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 @@ -532,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. @@ -564,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 @@ -583,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 # @@ -601,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? @@ -610,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) @@ -682,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 @@ -698,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 # @@ -713,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? @@ -721,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 @@ -769,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 @@ -787,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 # @@ -804,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? @@ -813,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) @@ -881,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 @@ -902,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 # @@ -922,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? @@ -931,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) @@ -1010,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 @@ -1032,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 # @@ -1053,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? @@ -1062,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) @@ -1125,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 @@ -1141,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 # @@ -1156,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 @@ -1216,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 d092130d96..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 @@ -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. @@ -217,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 @@ -234,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. @@ -261,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 @@ -275,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 # @@ -288,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 @@ -351,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 @@ -367,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 # @@ -382,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? @@ -390,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 @@ -449,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 @@ -466,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. @@ -498,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 @@ -515,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: { @@ -554,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 @@ -571,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: { @@ -609,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 @@ -624,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: { @@ -661,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 @@ -677,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. @@ -706,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 @@ -722,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 # @@ -737,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? @@ -745,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 @@ -778,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: { @@ -809,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 @@ -824,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. @@ -855,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 @@ -871,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. @@ -903,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 @@ -922,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 # @@ -940,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? @@ -949,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) @@ -989,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: { @@ -1021,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 @@ -1039,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 # @@ -1056,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? @@ -1065,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) @@ -1137,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 @@ -1153,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 # @@ -1168,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? @@ -1176,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 @@ -1224,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 @@ -1242,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 # @@ -1259,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? @@ -1268,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) @@ -1334,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 @@ -1353,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 # @@ -1371,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? @@ -1379,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 @@ -1438,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 @@ -1457,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 # @@ -1475,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? @@ -1484,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) @@ -1524,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: { @@ -1557,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 @@ -1576,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 # @@ -1594,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? @@ -1603,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) @@ -1643,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: { @@ -1675,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 @@ -1693,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 # @@ -1710,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? @@ -1718,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 @@ -1751,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: { @@ -1782,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 @@ -1799,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 # @@ -1815,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? @@ -1823,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 @@ -1880,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 @@ -1897,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 # @@ -1913,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? @@ -1921,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 @@ -1979,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 @@ -1997,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 # @@ -2014,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? @@ -2023,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 @@ -2078,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 @@ -2093,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 # @@ -2107,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 @@ -2166,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 @@ -2181,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 # @@ -2195,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 @@ -2254,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 @@ -2277,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 428c54d432..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 @@ -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::V2017_11_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/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 5b53e1bf89..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -429,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 @@ -445,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 # @@ -460,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? @@ -468,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 @@ -523,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 @@ -538,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 # @@ -552,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? @@ -560,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 @@ -614,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 @@ -629,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 # @@ -643,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? @@ -651,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 @@ -698,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 @@ -715,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 # @@ -731,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? @@ -740,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) @@ -814,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 @@ -831,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 # @@ -847,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? @@ -856,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) @@ -918,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 @@ -933,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 # @@ -947,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 @@ -1006,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 @@ -1021,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 # @@ -1035,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 @@ -1094,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 @@ -1109,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 # @@ -1123,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 @@ -1181,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 @@ -1202,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 @@ -1224,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/application_gateways.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb index fe3ffefba4..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 @@ -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. @@ -209,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 @@ -225,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. @@ -252,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 @@ -266,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 # @@ -279,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 @@ -339,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 @@ -352,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 # @@ -364,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 @@ -423,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 @@ -437,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. @@ -461,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 @@ -475,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. @@ -504,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 @@ -520,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. @@ -546,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 @@ -559,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 # @@ -571,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 @@ -630,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 @@ -643,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 # @@ -655,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 @@ -714,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 @@ -727,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 # @@ -739,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 @@ -799,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 @@ -813,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 # @@ -826,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 @@ -887,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 @@ -902,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 # @@ -916,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? @@ -924,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 @@ -971,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 @@ -988,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 # @@ -1004,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? @@ -1013,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) @@ -1087,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 @@ -1104,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 # @@ -1120,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? @@ -1129,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) @@ -1190,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 @@ -1205,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 # @@ -1219,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? @@ -1227,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 @@ -1271,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 @@ -1286,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 # @@ -1300,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? @@ -1308,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 @@ -1356,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 @@ -1374,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 # @@ -1391,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? @@ -1399,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1557,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 # @@ -1571,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 @@ -1630,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 @@ -1645,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 # @@ -1659,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 @@ -1718,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 @@ -1738,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 @@ -1758,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 28049d19e5..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 @@ -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_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 @@ -45,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. @@ -72,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 @@ -88,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 # @@ -103,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? @@ -111,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 @@ -169,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 @@ -186,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. @@ -212,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 @@ -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 @@ -386,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 @@ -402,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 # @@ -417,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? @@ -425,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 @@ -473,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 @@ -491,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 # @@ -508,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? @@ -517,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) @@ -589,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 @@ -604,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 # @@ -618,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 @@ -677,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 @@ -692,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 # @@ -706,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 @@ -764,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 @@ -785,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 2577403353..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 @@ -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,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 @@ -119,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 @@ -134,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 # @@ -148,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 @@ -207,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 9412ca86e3..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 @@ -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/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 8cdf2d3bb2..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 @@ -36,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 @@ -55,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. @@ -86,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 @@ -104,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 # @@ -121,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? @@ -130,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 @@ -186,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 @@ -203,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. @@ -230,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 @@ -247,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. @@ -274,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 @@ -291,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. @@ -321,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 @@ -339,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. @@ -369,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 @@ -386,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 # @@ -402,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? @@ -410,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 @@ -470,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 @@ -490,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 # @@ -509,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? @@ -519,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) @@ -593,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 @@ -611,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 # @@ -628,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? @@ -637,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 @@ -684,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 @@ -702,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 # @@ -719,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? @@ -728,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 @@ -775,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 @@ -793,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 # @@ -810,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? @@ -819,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 @@ -868,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 @@ -887,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 # @@ -905,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? @@ -914,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 4c2194dc02..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 @@ -32,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 @@ -48,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 # @@ -63,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? @@ -71,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 @@ -129,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 @@ -147,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 # @@ -164,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? @@ -173,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 @@ -228,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 @@ -243,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 # @@ -257,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 @@ -318,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 947c0aeeae..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 @@ -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::V2018_01_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/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 e441f9b760..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 @@ -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::V2018_01_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/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 ffd7f4ebf3..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 @@ -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 [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 @@ -225,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. @@ -256,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 @@ -272,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. @@ -303,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 @@ -319,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. @@ -350,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 @@ -366,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. @@ -394,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 @@ -409,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 # @@ -423,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? @@ -431,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 @@ -487,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 @@ -503,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 # @@ -518,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? @@ -527,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 @@ -581,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 @@ -595,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 # @@ -608,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 @@ -668,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 @@ -681,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 # @@ -693,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 @@ -753,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 @@ -768,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 # @@ -782,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? @@ -790,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 @@ -837,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 @@ -854,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 # @@ -870,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? @@ -879,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) @@ -953,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 @@ -970,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 # @@ -986,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? @@ -995,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) @@ -1060,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 @@ -1078,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 # @@ -1095,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? @@ -1105,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 @@ -1163,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 @@ -1181,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 # @@ -1198,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? @@ -1208,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 @@ -1266,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 @@ -1284,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 # @@ -1301,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? @@ -1311,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 @@ -1366,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 @@ -1381,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 # @@ -1395,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 @@ -1454,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 @@ -1469,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 # @@ -1483,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 @@ -1542,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 @@ -1562,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 22a1ef7fd6..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 @@ -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/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 6dc327f30e..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -122,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 @@ -137,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. @@ -165,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 @@ -182,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 # @@ -198,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? @@ -207,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 @@ -265,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 @@ -282,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. @@ -310,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 @@ -326,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 # @@ -341,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? @@ -350,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 @@ -398,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 @@ -416,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 # @@ -433,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? @@ -443,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) @@ -515,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 @@ -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 [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 9d48d73083..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 2b1f344dc6..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 +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 @@ -142,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 # @@ -158,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? @@ -167,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 @@ -222,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 @@ -237,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 # @@ -251,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 @@ -311,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 69acd07d63..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 45de7cc14b..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 0fae0af819..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 e2a8b19547..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 19dd6125fc..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 @@ -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,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 @@ -174,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 @@ -189,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. @@ -218,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 @@ -235,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. @@ -262,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 @@ -276,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 # @@ -289,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 +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 @@ -372,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 # @@ -389,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) @@ -471,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 @@ -487,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 # @@ -502,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 @@ -559,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 @@ -577,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 # @@ -594,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) @@ -666,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 @@ -681,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 # @@ -695,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 @@ -754,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 c88e0c934b..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 @@ -36,7 +36,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, network_watcher_flow_analytics_configuration: { - client_side_validation: true, required: true, serialized_name: 'flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration', type: { 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 9845a8b297..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 @@ -24,7 +24,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -32,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 f9dab494de..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 @@ -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', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -94,7 +86,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/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 ce234eed96..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 @@ -50,7 +50,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -67,7 +65,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -76,7 +73,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -85,7 +81,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -102,7 +96,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -111,7 +104,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -120,7 +112,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -129,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 6320d4e74f..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 @@ -59,7 +59,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -76,7 +74,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -85,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -94,7 +90,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.', @@ -103,7 +98,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -111,7 +105,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -120,7 +113,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -129,7 +121,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -138,7 +129,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -147,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: { @@ -164,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 index 9ae5cc208b..a867828b24 100644 --- 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 @@ -31,7 +31,6 @@ class TrafficAnalyticsConfigurationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrafficAnalyticsConfigurationProperties', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TrafficAnalyticsConfigurationProperties', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, workspace_id: { - client_side_validation: true, required: true, serialized_name: 'workspaceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, workspace_region: { - client_side_validation: true, required: true, serialized_name: 'workspaceRegion', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, workspace_resource_id: { - client_side_validation: true, required: true, serialized_name: 'workspaceResourceId', type: { 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 8bc8fdaa20..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -124,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 @@ -140,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 # @@ -155,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? @@ -164,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 @@ -219,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 @@ -234,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 # @@ -248,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 @@ -308,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 5f1cabaeb2..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 @@ -31,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 @@ -46,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 # @@ -60,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? @@ -68,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 @@ -123,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 @@ -138,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 # @@ -152,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 @@ -212,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 adbad41038..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -428,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 @@ -442,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. @@ -470,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 @@ -484,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. @@ -511,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 @@ -526,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 # @@ -540,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? @@ -548,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 @@ -595,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 @@ -612,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 # @@ -628,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? @@ -637,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) @@ -711,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 @@ -728,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 # @@ -744,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? @@ -753,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) @@ -815,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 @@ -830,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 # @@ -844,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? @@ -852,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 @@ -907,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 @@ -922,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 # @@ -936,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? @@ -944,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 @@ -999,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 @@ -1014,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 # @@ -1028,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 @@ -1087,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 @@ -1102,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 # @@ -1116,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 @@ -1174,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 @@ -1195,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 e2ab71bc98..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 @@ -25,16 +25,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version. attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ApplicationGateways] application_gateways @@ -257,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? @@ -281,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 @@ -298,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 # @@ -314,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? @@ -322,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 @@ -374,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.17.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 650d7c7f3c..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 @@ -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. @@ -220,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 @@ -237,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. @@ -263,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 @@ -276,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 # @@ -288,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 @@ -348,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 @@ -362,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 # @@ -375,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 @@ -437,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 @@ -453,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 # @@ -468,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? @@ -476,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 @@ -524,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 @@ -542,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 # @@ -559,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? @@ -568,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) @@ -643,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 @@ -661,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 # @@ -678,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? @@ -687,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) @@ -749,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 @@ -764,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 # @@ -778,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 @@ -837,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 @@ -852,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 # @@ -866,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 @@ -924,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 @@ -945,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 348b01fe53..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 @@ -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::V2018_01_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. @@ -279,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 @@ -296,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 # @@ -312,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? @@ -321,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) @@ -382,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 @@ -396,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 # @@ -409,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 @@ -469,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 @@ -482,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 # @@ -494,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 @@ -557,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 @@ -574,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 # @@ -590,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? @@ -599,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) @@ -664,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 @@ -680,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. @@ -710,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 @@ -726,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. @@ -756,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 @@ -772,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. @@ -803,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 @@ -820,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. @@ -851,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 @@ -868,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. @@ -900,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 @@ -918,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. @@ -951,8 +951,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 @@ -969,9 +969,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. @@ -1003,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 @@ -1021,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. @@ -1054,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 @@ -1072,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. @@ -1104,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 @@ -1122,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. @@ -1149,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 @@ -1164,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 # @@ -1178,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? @@ -1186,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 @@ -1234,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 @@ -1252,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 # @@ -1269,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? @@ -1278,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) @@ -1352,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 @@ -1369,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 # @@ -1385,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? @@ -1394,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) @@ -1468,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 @@ -1485,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 # @@ -1501,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? @@ -1510,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) @@ -1585,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 @@ -1603,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 # @@ -1620,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? @@ -1629,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) @@ -1704,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 @@ -1722,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 # @@ -1739,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? @@ -1748,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) @@ -1824,8 +1828,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 @@ -1843,8 +1847,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 # @@ -1861,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? @@ -1870,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) @@ -1947,8 +1952,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 +1972,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 # @@ -1986,7 +1991,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? @@ -1995,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) @@ -2073,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 @@ -2094,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 # @@ -2114,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? @@ -2123,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) @@ -2200,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 @@ -2220,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 # @@ -2239,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? @@ -2248,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) @@ -2324,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 @@ -2343,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 # @@ -2361,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? @@ -2370,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 bc26734635..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 @@ -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,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 @@ -113,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 @@ -128,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 # @@ -142,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 @@ -200,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 5c0b528536..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 @@ -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::V2018_01_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/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 7db5c46425..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 +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 @@ -927,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 078209b551..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 @@ -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::V2018_01_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::V2018_01_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/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 8c1f2ce301..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 @@ -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::V2018_01_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::V2018_01_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/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 2433902dfb..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 @@ -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. @@ -212,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 @@ -228,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. @@ -255,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 @@ -269,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 # @@ -282,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 @@ -342,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 @@ -355,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 # @@ -367,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 @@ -427,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 @@ -442,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 # @@ -456,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? @@ -464,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 @@ -511,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 @@ -528,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 # @@ -544,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? @@ -553,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) @@ -627,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 @@ -644,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 # @@ -660,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? @@ -669,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) @@ -731,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 @@ -746,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 # @@ -760,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 @@ -819,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 @@ -834,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 # @@ -848,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 @@ -907,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 @@ -927,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 83df103b38..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 @@ -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::V2018_01_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/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 48a7cfabb6..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 @@ -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::V2018_01_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/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 07f0c31d2d..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 @@ -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::V2018_01_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/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 3b9b692b74..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 @@ -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/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 e513f4f973..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 @@ -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 [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 @@ -235,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. @@ -269,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 @@ -287,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. @@ -318,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 @@ -336,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 # @@ -353,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? @@ -361,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 @@ -416,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 @@ -431,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 # @@ -445,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 @@ -514,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 @@ -532,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. @@ -564,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 @@ -583,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 # @@ -601,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? @@ -610,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) @@ -682,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 @@ -698,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 # @@ -713,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? @@ -721,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 @@ -769,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 @@ -787,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 # @@ -804,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? @@ -813,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) @@ -881,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 @@ -902,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 # @@ -922,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? @@ -931,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) @@ -1010,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 @@ -1032,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 # @@ -1053,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? @@ -1062,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) @@ -1125,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 @@ -1141,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 # @@ -1156,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 @@ -1216,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 d72f5c2feb..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 @@ -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. @@ -217,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 @@ -234,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. @@ -261,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 @@ -275,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 # @@ -288,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 @@ -351,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 @@ -367,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 # @@ -382,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? @@ -390,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 @@ -449,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 @@ -466,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. @@ -498,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 @@ -515,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: { @@ -554,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 @@ -571,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: { @@ -609,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 @@ -624,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: { @@ -661,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 @@ -677,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. @@ -706,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 @@ -722,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 # @@ -737,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? @@ -745,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 @@ -778,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: { @@ -809,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 @@ -824,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. @@ -855,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 @@ -871,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. @@ -903,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 @@ -922,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 # @@ -940,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? @@ -949,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) @@ -989,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: { @@ -1021,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 @@ -1039,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 # @@ -1056,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? @@ -1065,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) @@ -1137,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 @@ -1153,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 # @@ -1168,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? @@ -1176,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 @@ -1224,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 @@ -1242,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 # @@ -1259,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? @@ -1268,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) @@ -1334,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 @@ -1353,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 # @@ -1371,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? @@ -1379,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 @@ -1438,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 @@ -1457,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 # @@ -1475,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? @@ -1484,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) @@ -1524,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: { @@ -1557,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 @@ -1576,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 # @@ -1594,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? @@ -1603,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) @@ -1643,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: { @@ -1675,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 @@ -1693,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 # @@ -1710,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? @@ -1718,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 @@ -1751,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: { @@ -1782,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 @@ -1799,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 # @@ -1815,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? @@ -1823,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 @@ -1880,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 @@ -1897,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 # @@ -1913,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? @@ -1921,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 @@ -1979,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 @@ -1997,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 # @@ -2014,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? @@ -2023,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 @@ -2078,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 @@ -2093,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 # @@ -2107,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 @@ -2166,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 @@ -2181,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 # @@ -2195,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 @@ -2254,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 @@ -2277,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 837ff0699d..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 @@ -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::V2018_01_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/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 3ea0d7aed5..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 @@ -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. @@ -212,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 @@ -228,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. @@ -254,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 @@ -267,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 # @@ -279,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 @@ -339,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 @@ -353,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 # @@ -366,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 @@ -429,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 @@ -445,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 # @@ -460,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? @@ -468,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 @@ -523,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 @@ -538,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 # @@ -552,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? @@ -560,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 @@ -614,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 @@ -629,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 # @@ -643,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? @@ -651,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 @@ -698,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 @@ -715,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 # @@ -731,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? @@ -740,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) @@ -814,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 @@ -831,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 # @@ -847,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? @@ -856,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) @@ -918,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 @@ -933,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 # @@ -947,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 @@ -1006,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 @@ -1021,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 # @@ -1035,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 @@ -1094,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 @@ -1109,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 # @@ -1123,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 @@ -1181,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 @@ -1202,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 @@ -1224,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/azure_mgmt_network.rb b/management/azure_mgmt_network/lib/azure_mgmt_network.rb index 53cf91bc9b..fa1e542ee1 100644 --- a/management/azure_mgmt_network/lib/azure_mgmt_network.rb +++ b/management/azure_mgmt_network/lib/azure_mgmt_network.rb @@ -2,20 +2,20 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2017-11-01/generated/azure_mgmt_network' require '2017-10-01/generated/azure_mgmt_network' -require '2018-02-01/generated/azure_mgmt_network' +require '2017-11-01/generated/azure_mgmt_network' +require '2016-03-30/generated/azure_mgmt_network' +require '2017-03-01/generated/azure_mgmt_network' require '2018-06-01/generated/azure_mgmt_network' -require '2015-06-15/generated/azure_mgmt_network' -require '2015-05-01-preview/generated/azure_mgmt_network' -require '2018-04-01/generated/azure_mgmt_network' +require '2016-06-01/generated/azure_mgmt_network' require '2017-09-01/generated/azure_mgmt_network' -require '2016-03-30/generated/azure_mgmt_network' -require '2016-12-01/generated/azure_mgmt_network' +require '2018-02-01/generated/azure_mgmt_network' require '2018-01-01/generated/azure_mgmt_network' -require '2016-06-01/generated/azure_mgmt_network' -require '2017-03-01/generated/azure_mgmt_network' -require '2017-03-30/generated/azure_mgmt_network' +require '2018-04-01/generated/azure_mgmt_network' require '2016-09-01/generated/azure_mgmt_network' +require '2017-03-30/generated/azure_mgmt_network' +require '2015-06-15/generated/azure_mgmt_network' +require '2016-12-01/generated/azure_mgmt_network' +require '2015-05-01-preview/generated/azure_mgmt_network' require 'profiles/v2017_03_09/network_v2017_03_09_profile_client' require 'profiles/latest/network_latest_profile_client' 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 8175f37fee..11ae7737e3 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 @@ -7,58 +7,57 @@ module Azure::Network::Profiles::Latest module Mgmt AzureFirewalls = Azure::Network::Mgmt::V2018_06_01::AzureFirewalls - ApplicationGateways = Azure::Network::Mgmt::V2018_06_01::ApplicationGateways ApplicationSecurityGroups = Azure::Network::Mgmt::V2018_06_01::ApplicationSecurityGroups DdosProtectionPlans = Azure::Network::Mgmt::V2018_06_01::DdosProtectionPlans AvailableEndpointServices = Azure::Network::Mgmt::V2018_06_01::AvailableEndpointServices - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitPeerings ExpressRouteCircuitConnections = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitConnections - ExpressRouteCircuits = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_06_01::ExpressRouteServiceProviders ExpressRouteCrossConnections = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCrossConnections ExpressRouteCrossConnectionPeerings = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCrossConnectionPeerings - LoadBalancers = Azure::Network::Mgmt::V2018_06_01::LoadBalancers LoadBalancerBackendAddressPools = Azure::Network::Mgmt::V2018_06_01::LoadBalancerBackendAddressPools LoadBalancerFrontendIPConfigurations = Azure::Network::Mgmt::V2018_06_01::LoadBalancerFrontendIPConfigurations InboundNatRules = Azure::Network::Mgmt::V2018_06_01::InboundNatRules LoadBalancerLoadBalancingRules = Azure::Network::Mgmt::V2018_06_01::LoadBalancerLoadBalancingRules LoadBalancerNetworkInterfaces = Azure::Network::Mgmt::V2018_06_01::LoadBalancerNetworkInterfaces LoadBalancerProbes = Azure::Network::Mgmt::V2018_06_01::LoadBalancerProbes - NetworkInterfaces = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaces NetworkInterfaceIPConfigurations = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaceIPConfigurations NetworkInterfaceLoadBalancers = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaceLoadBalancers - NetworkSecurityGroups = Azure::Network::Mgmt::V2018_06_01::NetworkSecurityGroups - SecurityRules = Azure::Network::Mgmt::V2018_06_01::SecurityRules DefaultSecurityRules = Azure::Network::Mgmt::V2018_06_01::DefaultSecurityRules NetworkWatchers = Azure::Network::Mgmt::V2018_06_01::NetworkWatchers PacketCaptures = Azure::Network::Mgmt::V2018_06_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2018_06_01::ConnectionMonitors Operations = Azure::Network::Mgmt::V2018_06_01::Operations - PublicIPAddresses = Azure::Network::Mgmt::V2018_06_01::PublicIPAddresses RouteFilters = Azure::Network::Mgmt::V2018_06_01::RouteFilters RouteFilterRules = Azure::Network::Mgmt::V2018_06_01::RouteFilterRules + BgpServiceCommunities = Azure::Network::Mgmt::V2018_06_01::BgpServiceCommunities + VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkPeerings + VirtualWANs = Azure::Network::Mgmt::V2018_06_01::VirtualWANs + ApplicationGateways = Azure::Network::Mgmt::V2018_06_01::ApplicationGateways + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2018_06_01::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_06_01::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2018_06_01::LoadBalancers + NetworkInterfaces = Azure::Network::Mgmt::V2018_06_01::NetworkInterfaces + NetworkSecurityGroups = Azure::Network::Mgmt::V2018_06_01::NetworkSecurityGroups + SecurityRules = Azure::Network::Mgmt::V2018_06_01::SecurityRules + PublicIPAddresses = Azure::Network::Mgmt::V2018_06_01::PublicIPAddresses RouteTables = Azure::Network::Mgmt::V2018_06_01::RouteTables Routes = Azure::Network::Mgmt::V2018_06_01::Routes - BgpServiceCommunities = Azure::Network::Mgmt::V2018_06_01::BgpServiceCommunities Usages = Azure::Network::Mgmt::V2018_06_01::Usages VirtualNetworks = Azure::Network::Mgmt::V2018_06_01::VirtualNetworks Subnets = Azure::Network::Mgmt::V2018_06_01::Subnets - VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkPeerings VirtualNetworkGateways = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkGateways VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_06_01::VirtualNetworkGatewayConnections LocalNetworkGateways = Azure::Network::Mgmt::V2018_06_01::LocalNetworkGateways - VirtualWANs = Azure::Network::Mgmt::V2018_06_01::VirtualWANs - VpnSites = Azure::Network::Mgmt::V2018_06_01::VpnSites - VpnSitesConfiguration = Azure::Network::Mgmt::V2018_06_01::VpnSitesConfiguration - VirtualHubs = Azure::Network::Mgmt::V2018_06_01::VirtualHubs HubVirtualNetworkConnections = Azure::Network::Mgmt::V2018_06_01::HubVirtualNetworkConnections VpnGateways = Azure::Network::Mgmt::V2018_06_01::VpnGateways VpnConnections = Azure::Network::Mgmt::V2018_06_01::VpnConnections + VpnSites = Azure::Network::Mgmt::V2018_06_01::VpnSites + VpnSitesConfiguration = Azure::Network::Mgmt::V2018_06_01::VpnSitesConfiguration + VirtualHubs = Azure::Network::Mgmt::V2018_06_01::VirtualHubs module Models TopologyAssociation = Azure::Network::Mgmt::V2018_06_01::Models::TopologyAssociation - SubResource = Azure::Network::Mgmt::V2018_06_01::Models::SubResource TopologyResource = Azure::Network::Mgmt::V2018_06_01::Models::TopologyResource AzureFirewallRCAction = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCAction Topology = Azure::Network::Mgmt::V2018_06_01::Models::Topology @@ -66,18 +65,12 @@ module Models VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowParameters AzureFirewallNetworkRule = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRule VerificationIPFlowResult = Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult - UsageName = Azure::Network::Mgmt::V2018_06_01::Models::UsageName AzureFirewallListResult = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallListResult BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunityListResult BGPCommunity = Azure::Network::Mgmt::V2018_06_01::Models::BGPCommunity ListHubVirtualNetworkConnectionsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListHubVirtualNetworkConnectionsResult - RouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult - NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings - RouteTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult - Policies = Azure::Network::Mgmt::V2018_06_01::Models::Policies RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRuleListResult GetVpnSitesConfigurationRequest = Azure::Network::Mgmt::V2018_06_01::Models::GetVpnSitesConfigurationRequest - LoadBalancerListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult PublicIPAddressSku = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSku InboundNatRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRuleListResult IpTag = Azure::Network::Mgmt::V2018_06_01::Models::IpTag @@ -86,25 +79,16 @@ module Models LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerFrontendIPConfigurationListResult VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnDeviceScriptParameters LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerLoadBalancingRuleListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerProbeListResult ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayConnectionDraining - NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServer - ErrorDetails = Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthPool - Error = Azure::Network::Mgmt::V2018_06_01::Models::Error - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku - AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult VpnClientIPsecParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientIPsecParameters NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfigurationListResult - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceLoadBalancerListResult GatewayRouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::GatewayRouteListResult EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupAssociation - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityRule - VpnClientParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroup BgpPeerStatus = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupListResult @@ -112,60 +96,43 @@ module Models EffectiveRoute = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRoute ApplicationGatewayAutoscaleBounds = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleBounds EffectiveRouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteListResult - VpnClientConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration - SecurityRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRule - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult IpsecPolicy = Azure::Network::Mgmt::V2018_06_01::Models::IpsecPolicy RouteFilterListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku NetworkWatcherListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies TopologyParameters = Azure::Network::Mgmt::V2018_06_01::Models::TopologyParameters ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroupListResult TagsObject = Azure::Network::Mgmt::V2018_06_01::Models::TagsObject - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult DdosProtectionPlanListResult = Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlanListResult OperationListResult = Azure::Network::Mgmt::V2018_06_01::Models::OperationListResult EndpointServicesListResult = Azure::Network::Mgmt::V2018_06_01::Models::EndpointServicesListResult AzureFirewallApplicationRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocol - AuthorizationListResult = Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult Operation = Azure::Network::Mgmt::V2018_06_01::Models::Operation IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_06_01::Models::IPAddressAvailabilityResult OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_06_01::Models::OperationPropertiesFormatServiceSpecification - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringListResult NextHopParameters = Azure::Network::Mgmt::V2018_06_01::Models::NextHopParameters - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult NextHopResult = Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable SubnetAssociation = Azure::Network::Mgmt::V2018_06_01::Models::SubnetAssociation ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTableSummary SecurityRuleAssociations = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAssociations - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupNetworkInterface - AddressSpace = Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace SecurityGroupViewResult = Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult ExpressRouteCrossConnectionRoutesTableSummary = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionRoutesTableSummary PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureStorageLocation ExpressRouteCircuitReference = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitReference PacketCaptureFilter = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureFilter - Usage = Azure::Network::Mgmt::V2018_06_01::Models::Usage PacketCaptureParameters = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureParameters ExpressRouteCrossConnectionPeeringList = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeeringList PacketCapture = Azure::Network::Mgmt::V2018_06_01::Models::PacketCapture - Resource = Azure::Network::Mgmt::V2018_06_01::Models::Resource PacketCaptureResult = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureResult ListVpnConnectionsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVpnConnectionsResult PacketCaptureListResult = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureListResult ListVirtualHubsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualHubsResult PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureQueryStatusResult - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingParameters ListVirtualWANsResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVirtualWANsResult QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_06_01::Models::QueryTroubleshootingParameters @@ -179,7 +146,6 @@ module Models RetentionPolicyParameters = Azure::Network::Mgmt::V2018_06_01::Models::RetentionPolicyParameters ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbeHealthResponseMatch FlowLogStatusParameters = Azure::Network::Mgmt::V2018_06_01::Models::FlowLogStatusParameters - BgpSettings = Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsConfigurationProperties ApplicationGatewayAutoscaleConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAutoscaleConfiguration TrafficAnalyticsProperties = Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsProperties @@ -189,19 +155,12 @@ module Models ConnectivitySource = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivitySource VirtualNetworkUsage = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsage ConnectivityDestination = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityDestination - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig - HTTPHeader = Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader - DhcpOptions = Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions HTTPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::HTTPConfiguration - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku ProtocolConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ProtocolConfiguration - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityParameters ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityIssue - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult ConnectivityHop = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityHop - UsagesListResult = Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation LoadBalancerSku = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSku AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLocation @@ -209,33 +168,27 @@ module Models AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportParameters ListVpnSitesResult = Azure::Network::Mgmt::V2018_06_01::Models::ListVpnSitesResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLatencyInfo - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportItem - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey AzureReachabilityReport = Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport GatewayRoute = Azure::Network::Mgmt::V2018_06_01::Models::GatewayRoute AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListParameters - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult - AvailableProvidersListCity = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCity + Error = Azure::Network::Mgmt::V2018_06_01::Models::Error DdosProtectionPlan = Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlan AvailableProvidersListState = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListState - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitStats AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCountry - SubnetListResult = Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectionMonitorSource = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSource ExpressRouteCrossConnectionListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionListResult ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorDestination ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_06_01::Models::ServiceEndpointPropertiesFormat ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorParameters + AvailableProvidersListCity = Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCity ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealth ConnectionMonitor = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitor ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration ConnectionMonitorResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorResult VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkUsageName ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorListResult - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableListResult ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStateSnapshot VpnSiteId = Azure::Network::Mgmt::V2018_06_01::Models::VpnSiteId ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorQueryResult @@ -253,9 +206,132 @@ module Models AzureFirewallApplicationRuleCollection = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleCollection AzureFirewallNetworkRuleCollection = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleCollection AzureFirewall = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewall + ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroup + ResourceNavigationLink = Azure::Network::Mgmt::V2018_06_01::Models::ResourceNavigationLink + ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectConfiguration + ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleSet + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions + ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPredefinedPolicy + HTTPHeader = Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader + RouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule + EndpointServiceResult = Azure::Network::Mgmt::V2018_06_01::Models::EndpointServiceResult + RouteFilter = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilter + ExpressRouteCircuitConnection = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitConnection + ExpressRouteCrossConnection = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection + ExpressRouteCrossConnectionPeering = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering + PatchRouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule + NetworkWatcher = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher + BgpServiceCommunity = Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunity + PatchRouteFilter = Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilter + VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListEntity + VirtualNetworkPeering = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering + VpnSite = Azure::Network::Mgmt::V2018_06_01::Models::VpnSite + VirtualWAN = Azure::Network::Mgmt::V2018_06_01::Models::VirtualWAN + VirtualHub = Azure::Network::Mgmt::V2018_06_01::Models::VirtualHub + HubVirtualNetworkConnection = Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnection + VpnGateway = Azure::Network::Mgmt::V2018_06_01::Models::VpnGateway + VpnConnection = Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection + AzureFirewallRCActionType = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCActionType + ProvisioningState = Azure::Network::Mgmt::V2018_06_01::Models::ProvisioningState + AzureFirewallNetworkRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleProtocol + AzureFirewallApplicationRuleProtocolType = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType + PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSkuName + IPVersion = Azure::Network::Mgmt::V2018_06_01::Models::IPVersion + ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslProtocol + ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth + ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName + ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyType + ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectType + ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCipherSuite + Access = Azure::Network::Mgmt::V2018_06_01::Models::Access + ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode + ExpressRoutePeeringState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringState + ExpressRoutePeeringType = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringType + LoadBalancerSkuName = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName + CircuitConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::CircuitConnectionStatus + EffectiveRouteSource = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteSource + EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveSecurityRuleProtocol + AssociationType = Azure::Network::Mgmt::V2018_06_01::Models::AssociationType + EffectiveRouteState = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState + IpFlowProtocol = Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol + Direction = Azure::Network::Mgmt::V2018_06_01::Models::Direction + PcProtocol = Azure::Network::Mgmt::V2018_06_01::Models::PcProtocol + NextHopType = Azure::Network::Mgmt::V2018_06_01::Models::NextHopType + PcError = Azure::Network::Mgmt::V2018_06_01::Models::PcError + PcStatus = Azure::Network::Mgmt::V2018_06_01::Models::PcStatus + Origin = Azure::Network::Mgmt::V2018_06_01::Models::Origin + HTTPMethod = Azure::Network::Mgmt::V2018_06_01::Models::HTTPMethod + ConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStatus + IssueType = Azure::Network::Mgmt::V2018_06_01::Models::IssueType + ConnectionState = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState + ConnectionMonitorSourceStatus = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSourceStatus + VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringState + EvaluationState = Azure::Network::Mgmt::V2018_06_01::Models::EvaluationState + IpsecEncryption = Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption + VpnClientProtocol = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol + IkeEncryption = Azure::Network::Mgmt::V2018_06_01::Models::IkeEncryption + IpsecIntegrity = Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity + DhGroup = Azure::Network::Mgmt::V2018_06_01::Models::DhGroup + IkeIntegrity = Azure::Network::Mgmt::V2018_06_01::Models::IkeIntegrity + BgpPeerState = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerState + PfsGroup = Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup + VpnConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::VpnConnectionStatus + AuthenticationMethod = Azure::Network::Mgmt::V2018_06_01::Models::AuthenticationMethod + HubVirtualNetworkConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus + TunnelConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionStatus + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult + SubResource = Azure::Network::Mgmt::V2018_06_01::Models::SubResource + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress + Resource = Azure::Network::Mgmt::V2018_06_01::Models::Resource + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult + NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult + AuthorizationListResult = Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult + BgpSettings = Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig + VpnClientConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitStats + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult + SecurityRuleListResult = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult + AddressSpace = Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult + UsagesListResult = Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult + Policies = Azure::Network::Mgmt::V2018_06_01::Models::Policies + UsageName = Azure::Network::Mgmt::V2018_06_01::Models::UsageName + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult + NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult + ConnectionSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable + DhcpOptions = Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableListResult + Usage = Azure::Network::Mgmt::V2018_06_01::Models::Usage + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult + LoadBalancerListResult = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku + AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult + RouteListResult = Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult + VpnClientParameters = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters + ErrorDetails = Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate + SubnetListResult = Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration BackendAddressPool = Azure::Network::Mgmt::V2018_06_01::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRule - ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroup SecurityRule = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRule NetworkInterface = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterface NetworkSecurityGroup = Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroup @@ -263,47 +339,27 @@ module Models RouteTable = Azure::Network::Mgmt::V2018_06_01::Models::RouteTable PublicIPAddress = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddress IPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::IPConfiguration - ResourceNavigationLink = Azure::Network::Mgmt::V2018_06_01::Models::ResourceNavigationLink Subnet = Azure::Network::Mgmt::V2018_06_01::Models::Subnet NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfiguration ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddressPool ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHttpSettings - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration - ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendPort ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayHttpListener + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendPort ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayPathRule ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProbe ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayUrlPathMap ApplicationGateway = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGateway - ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions - ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPredefinedPolicy - EndpointServiceResult = Azure::Network::Mgmt::V2018_06_01::Models::EndpointServiceResult ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitAuthorization - RouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule - ExpressRouteCircuitConnection = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitConnection ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeering - RouteFilter = Azure::Network::Mgmt::V2018_06_01::Models::RouteFilter ExpressRouteCircuit = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuit ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProvider - ExpressRouteCrossConnectionPeering = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering - ExpressRouteCrossConnection = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection FrontendIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::FrontendIPConfiguration LoadBalancingRule = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancingRule Probe = Azure::Network::Mgmt::V2018_06_01::Models::Probe InboundNatPool = Azure::Network::Mgmt::V2018_06_01::Models::InboundNatPool OutboundNatRule = Azure::Network::Mgmt::V2018_06_01::Models::OutboundNatRule LoadBalancer = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancer - NetworkWatcher = Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher - PatchRouteFilterRule = Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule - PatchRouteFilter = Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilter - BgpServiceCommunity = Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunity - VirtualNetworkPeering = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering VirtualNetwork = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetwork VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayIPConfiguration VpnClientRootCertificate = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientRootCertificate @@ -311,99 +367,43 @@ module Models VirtualNetworkGateway = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGateway VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnection - ConnectionSharedKey = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey - VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListEntity - VirtualWAN = Azure::Network::Mgmt::V2018_06_01::Models::VirtualWAN - VpnSite = Azure::Network::Mgmt::V2018_06_01::Models::VpnSite - HubVirtualNetworkConnection = Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnection - VirtualHub = Azure::Network::Mgmt::V2018_06_01::Models::VirtualHub - VpnConnection = Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection - VpnGateway = Azure::Network::Mgmt::V2018_06_01::Models::VpnGateway - ProvisioningState = Azure::Network::Mgmt::V2018_06_01::Models::ProvisioningState - AzureFirewallRCActionType = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCActionType - AzureFirewallApplicationRuleProtocolType = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType - AzureFirewallNetworkRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleProtocol - TransportProtocol = Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName IPAllocationMethod = Azure::Network::Mgmt::V2018_06_01::Models::IPAllocationMethod - IPVersion = Azure::Network::Mgmt::V2018_06_01::Models::IPVersion + TransportProtocol = Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol SecurityRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleProtocol SecurityRuleAccess = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAccess SecurityRuleDirection = Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleDirection RouteNextHopType = Azure::Network::Mgmt::V2018_06_01::Models::RouteNextHopType - PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSkuName ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProtocol ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayCookieBasedAffinity - ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName - ApplicationGatewayTier = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier - ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslProtocol - ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName - ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCipherSuite ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRuleType - ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectType + ApplicationGatewayTier = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayOperationalState - ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode AuthorizationUseStatus = Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - Access = Azure::Network::Mgmt::V2018_06_01::Models::Access - ExpressRoutePeeringType = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringType - ExpressRoutePeeringState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringState - CircuitConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::CircuitConnectionStatus ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringState ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuTier ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSkuFamily ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_06_01::Models::ServiceProviderProvisioningState - LoadBalancerSkuName = Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName LoadDistribution = Azure::Network::Mgmt::V2018_06_01::Models::LoadDistribution ProbeProtocol = Azure::Network::Mgmt::V2018_06_01::Models::ProbeProtocol NetworkOperationStatus = Azure::Network::Mgmt::V2018_06_01::Models::NetworkOperationStatus - EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveSecurityRuleProtocol - EffectiveRouteSource = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteSource - EffectiveRouteState = Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState - AssociationType = Azure::Network::Mgmt::V2018_06_01::Models::AssociationType - Direction = Azure::Network::Mgmt::V2018_06_01::Models::Direction - IpFlowProtocol = Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol - NextHopType = Azure::Network::Mgmt::V2018_06_01::Models::NextHopType - PcProtocol = Azure::Network::Mgmt::V2018_06_01::Models::PcProtocol - PcStatus = Azure::Network::Mgmt::V2018_06_01::Models::PcStatus - PcError = Azure::Network::Mgmt::V2018_06_01::Models::PcError - Protocol = Azure::Network::Mgmt::V2018_06_01::Models::Protocol - HTTPMethod = Azure::Network::Mgmt::V2018_06_01::Models::HTTPMethod - Origin = Azure::Network::Mgmt::V2018_06_01::Models::Origin - Severity = Azure::Network::Mgmt::V2018_06_01::Models::Severity - IssueType = Azure::Network::Mgmt::V2018_06_01::Models::IssueType - ConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStatus - ConnectionMonitorSourceStatus = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSourceStatus - ConnectionState = Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState - EvaluationState = Azure::Network::Mgmt::V2018_06_01::Models::EvaluationState - VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringState VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayType + Protocol = Azure::Network::Mgmt::V2018_06_01::Models::Protocol VpnType = Azure::Network::Mgmt::V2018_06_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuTier - VpnClientProtocol = Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol - IpsecEncryption = Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption - IpsecIntegrity = Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity - IkeEncryption = Azure::Network::Mgmt::V2018_06_01::Models::IkeEncryption - IkeIntegrity = Azure::Network::Mgmt::V2018_06_01::Models::IkeIntegrity - DhGroup = Azure::Network::Mgmt::V2018_06_01::Models::DhGroup - PfsGroup = Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup - BgpPeerState = Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2018_06_01::Models::ProcessorArchitecture - AuthenticationMethod = Azure::Network::Mgmt::V2018_06_01::Models::AuthenticationMethod + Severity = Azure::Network::Mgmt::V2018_06_01::Models::Severity VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionStatus VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionType - VpnConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::VpnConnectionStatus - TunnelConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionStatus - HubVirtualNetworkConnectionStatus = Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus end # # NetworkManagementClass # class NetworkManagementClass - attr_reader :azure_firewalls, :application_gateways, :application_security_groups, :ddos_protection_plans, :available_endpoint_services, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuit_connections, :express_route_circuits, :express_route_service_providers, :express_route_cross_connections, :express_route_cross_connection_peerings, :load_balancers, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interfaces, :network_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :operations, :public_ipaddresses, :route_filters, :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :usages, :virtual_networks, :subnets, :virtual_network_peerings, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :virtual_wans, :vpn_sites, :vpn_sites_configuration, :virtual_hubs, :hub_virtual_network_connections, :vpn_gateways, :vpn_connections, :configurable, :base_url, :options, :model_classes + attr_reader :azure_firewalls, :application_security_groups, :ddos_protection_plans, :available_endpoint_services, :express_route_circuit_connections, :express_route_cross_connections, :express_route_cross_connection_peerings, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interface_ipconfigurations, :network_interface_load_balancers, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :operations, :route_filters, :route_filter_rules, :bgp_service_communities, :virtual_network_peerings, :virtual_wans, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :hub_virtual_network_connections, :vpn_gateways, :vpn_connections, :vpn_sites, :vpn_sites_configuration, :virtual_hubs, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -424,54 +424,54 @@ def initialize(options = {}) end add_telemetry(@client_0) @azure_firewalls = @client_0.azure_firewalls - @application_gateways = @client_0.application_gateways @application_security_groups = @client_0.application_security_groups @ddos_protection_plans = @client_0.ddos_protection_plans @available_endpoint_services = @client_0.available_endpoint_services - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings @express_route_circuit_connections = @client_0.express_route_circuit_connections - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers @express_route_cross_connections = @client_0.express_route_cross_connections @express_route_cross_connection_peerings = @client_0.express_route_cross_connection_peerings - @load_balancers = @client_0.load_balancers @load_balancer_backend_address_pools = @client_0.load_balancer_backend_address_pools @load_balancer_frontend_ipconfigurations = @client_0.load_balancer_frontend_ipconfigurations @inbound_nat_rules = @client_0.inbound_nat_rules @load_balancer_load_balancing_rules = @client_0.load_balancer_load_balancing_rules @load_balancer_network_interfaces = @client_0.load_balancer_network_interfaces @load_balancer_probes = @client_0.load_balancer_probes - @network_interfaces = @client_0.network_interfaces @network_interface_ipconfigurations = @client_0.network_interface_ipconfigurations @network_interface_load_balancers = @client_0.network_interface_load_balancers - @network_security_groups = @client_0.network_security_groups - @security_rules = @client_0.security_rules @default_security_rules = @client_0.default_security_rules @network_watchers = @client_0.network_watchers @packet_captures = @client_0.packet_captures @connection_monitors = @client_0.connection_monitors @operations = @client_0.operations - @public_ipaddresses = @client_0.public_ipaddresses @route_filters = @client_0.route_filters @route_filter_rules = @client_0.route_filter_rules + @bgp_service_communities = @client_0.bgp_service_communities + @virtual_network_peerings = @client_0.virtual_network_peerings + @virtual_wans = @client_0.virtual_wans + @application_gateways = @client_0.application_gateways + @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_0.express_route_circuit_peerings + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers + @network_interfaces = @client_0.network_interfaces + @network_security_groups = @client_0.network_security_groups + @security_rules = @client_0.security_rules + @public_ipaddresses = @client_0.public_ipaddresses @route_tables = @client_0.route_tables @routes = @client_0.routes - @bgp_service_communities = @client_0.bgp_service_communities @usages = @client_0.usages @virtual_networks = @client_0.virtual_networks @subnets = @client_0.subnets - @virtual_network_peerings = @client_0.virtual_network_peerings @virtual_network_gateways = @client_0.virtual_network_gateways @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections @local_network_gateways = @client_0.local_network_gateways - @virtual_wans = @client_0.virtual_wans - @vpn_sites = @client_0.vpn_sites - @vpn_sites_configuration = @client_0.vpn_sites_configuration - @virtual_hubs = @client_0.virtual_hubs @hub_virtual_network_connections = @client_0.hub_virtual_network_connections @vpn_gateways = @client_0.vpn_gateways @vpn_connections = @client_0.vpn_connections + @vpn_sites = @client_0.vpn_sites + @vpn_sites_configuration = @client_0.vpn_sites_configuration + @virtual_hubs = @client_0.virtual_hubs @model_classes = ModelClasses.new end @@ -495,9 +495,6 @@ class ModelClasses def topology_association Azure::Network::Mgmt::V2018_06_01::Models::TopologyAssociation end - def sub_resource - Azure::Network::Mgmt::V2018_06_01::Models::SubResource - end def topology_resource Azure::Network::Mgmt::V2018_06_01::Models::TopologyResource end @@ -519,9 +516,6 @@ def azure_firewall_network_rule def verification_ipflow_result Azure::Network::Mgmt::V2018_06_01::Models::VerificationIPFlowResult end - def usage_name - Azure::Network::Mgmt::V2018_06_01::Models::UsageName - end def azure_firewall_list_result Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallListResult end @@ -534,27 +528,12 @@ def bgpcommunity def list_hub_virtual_network_connections_result Azure::Network::Mgmt::V2018_06_01::Models::ListHubVirtualNetworkConnectionsResult end - def route_list_result - Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult - end - def network_interface_dns_settings - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings - end - def route_table_list_result - Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult - end - def policies - Azure::Network::Mgmt::V2018_06_01::Models::Policies - end def route_filter_rule_list_result Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRuleListResult end def get_vpn_sites_configuration_request Azure::Network::Mgmt::V2018_06_01::Models::GetVpnSitesConfigurationRequest end - def load_balancer_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult - end def public_ipaddress_sku Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSku end @@ -579,45 +558,24 @@ def vpn_device_script_parameters def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerLoadBalancingRuleListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress - end def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerProbeListResult end def application_gateway_connection_draining Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayConnectionDraining end - def network_interface_list_result - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult - end def application_gateway_backend_health_server Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServer end - def error_details - Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails - end def application_gateway_backend_health_pool Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthPool end - def error - Azure::Network::Mgmt::V2018_06_01::Models::Error - end - def application_gateway_sku - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku - end - def azure_async_operation_result - Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult - end def vpn_client_ipsec_parameters Azure::Network::Mgmt::V2018_06_01::Models::VpnClientIPsecParameters end def network_interface_ipconfiguration_list_result Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceIPConfigurationListResult end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult - end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceLoadBalancerListResult end @@ -627,15 +585,9 @@ def gateway_route_list_result def effective_network_security_group_association Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroupAssociation end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult - end def effective_network_security_rule Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityRule end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters - end def effective_network_security_group Azure::Network::Mgmt::V2018_06_01::Models::EffectiveNetworkSecurityGroup end @@ -657,27 +609,15 @@ def application_gateway_autoscale_bounds def effective_route_list_result Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteListResult end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration - end - def security_rule_list_result - Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult - end def application_gateway_firewall_rule Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRule end - def network_security_group_list_result - Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult - end def ipsec_policy Azure::Network::Mgmt::V2018_06_01::Models::IpsecPolicy end def route_filter_list_result Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku - end def network_watcher_list_result Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcherListResult end @@ -693,9 +633,6 @@ def application_security_group_list_result def tags_object Azure::Network::Mgmt::V2018_06_01::Models::TagsObject end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult - end def ddos_protection_plan_list_result Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlanListResult end @@ -708,9 +645,6 @@ def endpoint_services_list_result def azure_firewall_application_rule_protocol Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocol end - def authorization_list_result - Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult - end def operation Azure::Network::Mgmt::V2018_06_01::Models::Operation end @@ -720,39 +654,21 @@ def ipaddress_availability_result def operation_properties_format_service_specification Azure::Network::Mgmt::V2018_06_01::Models::OperationPropertiesFormatServiceSpecification end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult - end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult - end def virtual_network_peering_list_result Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringListResult end def next_hop_parameters Azure::Network::Mgmt::V2018_06_01::Models::NextHopParameters end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult - end def next_hop_result Azure::Network::Mgmt::V2018_06_01::Models::NextHopResult end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties - end def security_group_view_parameters Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewParameters end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable - end def network_interface_association Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceAssociation end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable - end def subnet_association Azure::Network::Mgmt::V2018_06_01::Models::SubnetAssociation end @@ -762,15 +678,9 @@ def express_route_circuit_routes_table_summary def security_rule_associations Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleAssociations end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult - end def security_group_network_interface Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupNetworkInterface end - def address_space - Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace - end def security_group_view_result Azure::Network::Mgmt::V2018_06_01::Models::SecurityGroupViewResult end @@ -786,9 +696,6 @@ def express_route_circuit_reference def packet_capture_filter Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureFilter end - def usage - Azure::Network::Mgmt::V2018_06_01::Models::Usage - end def packet_capture_parameters Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureParameters end @@ -798,9 +705,6 @@ def express_route_cross_connection_peering_list def packet_capture Azure::Network::Mgmt::V2018_06_01::Models::PacketCapture end - def resource - Azure::Network::Mgmt::V2018_06_01::Models::Resource - end def packet_capture_result Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureResult end @@ -816,9 +720,6 @@ def list_virtual_hubs_result def packet_capture_query_status_result Azure::Network::Mgmt::V2018_06_01::Models::PacketCaptureQueryStatusResult end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings - end def troubleshooting_parameters Azure::Network::Mgmt::V2018_06_01::Models::TroubleshootingParameters end @@ -858,9 +759,6 @@ def application_gateway_probe_health_response_match def flow_log_status_parameters Azure::Network::Mgmt::V2018_06_01::Models::FlowLogStatusParameters end - def bgp_settings - Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings - end def traffic_analytics_configuration_properties Azure::Network::Mgmt::V2018_06_01::Models::TrafficAnalyticsConfigurationProperties end @@ -888,27 +786,12 @@ def virtual_network_usage def connectivity_destination Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityDestination end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig - end - def httpheader - Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader - end - def dhcp_options - Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions - end def httpconfiguration Azure::Network::Mgmt::V2018_06_01::Models::HTTPConfiguration end - def express_route_circuit_sku - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku - end def protocol_configuration Azure::Network::Mgmt::V2018_06_01::Models::ProtocolConfiguration end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult - end def connectivity_parameters Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityParameters end @@ -918,15 +801,9 @@ def express_route_circuits_routes_table_summary_list_result def connectivity_issue Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityIssue end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult - end def connectivity_hop Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityHop end - def usages_list_result - Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult - end def connectivity_information Azure::Network::Mgmt::V2018_06_01::Models::ConnectivityInformation end @@ -948,15 +825,9 @@ def list_vpn_sites_result def azure_reachability_report_latency_info Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportLatencyInfo end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult - end def azure_reachability_report_item Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReportItem end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey - end def azure_reachability_report Azure::Network::Mgmt::V2018_06_01::Models::AzureReachabilityReport end @@ -966,11 +837,8 @@ def gateway_route def available_providers_list_parameters Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListParameters end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult - end - def available_providers_list_city - Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCity + def error + Azure::Network::Mgmt::V2018_06_01::Models::Error end def ddos_protection_plan Azure::Network::Mgmt::V2018_06_01::Models::DdosProtectionPlan @@ -978,21 +846,12 @@ def ddos_protection_plan def available_providers_list_state Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListState end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitStats - end def available_providers_list_country Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCountry end - def subnet_list_result - Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult - end def available_providers_list Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersList end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered - end def connection_monitor_source Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSource end @@ -1008,6 +867,9 @@ def service_endpoint_properties_format def connection_monitor_parameters Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorParameters end + def available_providers_list_city + Azure::Network::Mgmt::V2018_06_01::Models::AvailableProvidersListCity + end def application_gateway_backend_health Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealth end @@ -1026,9 +888,6 @@ def virtual_network_usage_name def connection_monitor_list_result Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorListResult end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableListResult - end def connection_state_snapshot Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStateSnapshot end @@ -1080,38 +939,404 @@ def azure_firewall_network_rule_collection def azure_firewall Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewall end - def backend_address_pool - Azure::Network::Mgmt::V2018_06_01::Models::BackendAddressPool - end - def inbound_nat_rule - Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRule - end def application_security_group Azure::Network::Mgmt::V2018_06_01::Models::ApplicationSecurityGroup end - def security_rule - Azure::Network::Mgmt::V2018_06_01::Models::SecurityRule - end - def network_interface - Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterface + def resource_navigation_link + Azure::Network::Mgmt::V2018_06_01::Models::ResourceNavigationLink end - def network_security_group - Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroup + def application_gateway_authentication_certificate + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate end - def route - Azure::Network::Mgmt::V2018_06_01::Models::Route + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectConfiguration end - def route_table - Azure::Network::Mgmt::V2018_06_01::Models::RouteTable + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleSet end - def public_ipaddress - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddress + def application_gateway_available_ssl_options + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions end - def ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::IPConfiguration + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPredefinedPolicy end - def resource_navigation_link - Azure::Network::Mgmt::V2018_06_01::Models::ResourceNavigationLink + def httpheader + Azure::Network::Mgmt::V2018_06_01::Models::HTTPHeader + end + def route_filter_rule + Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule + end + def endpoint_service_result + Azure::Network::Mgmt::V2018_06_01::Models::EndpointServiceResult + end + def route_filter + Azure::Network::Mgmt::V2018_06_01::Models::RouteFilter + end + def express_route_circuit_connection + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitConnection + end + def express_route_cross_connection + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection + end + def express_route_cross_connection_peering + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering + end + def patch_route_filter_rule + Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule + end + def network_watcher + Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher + end + def bgp_service_community + Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunity + end + def patch_route_filter + Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilter + end + def virtual_network_gateway_connection_list_entity + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListEntity + end + def virtual_network_peering + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering + end + def vpn_site + Azure::Network::Mgmt::V2018_06_01::Models::VpnSite + end + def virtual_wan + Azure::Network::Mgmt::V2018_06_01::Models::VirtualWAN + end + def virtual_hub + Azure::Network::Mgmt::V2018_06_01::Models::VirtualHub + end + def hub_virtual_network_connection + Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnection + end + def vpn_gateway + Azure::Network::Mgmt::V2018_06_01::Models::VpnGateway + end + def vpn_connection + Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection + end + def azure_firewall_rcaction_type + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCActionType + end + def provisioning_state + Azure::Network::Mgmt::V2018_06_01::Models::ProvisioningState + end + def azure_firewall_network_rule_protocol + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleProtocol + end + def azure_firewall_application_rule_protocol_type + Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType + end + def public_ipaddress_sku_name + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSkuName + end + def ipversion + Azure::Network::Mgmt::V2018_06_01::Models::IPVersion + end + def application_gateway_ssl_protocol + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslProtocol + end + def application_gateway_backend_health_server_health + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth + end + def application_gateway_ssl_policy_name + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName + end + def application_gateway_ssl_policy_type + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyType + end + def application_gateway_redirect_type + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectType + end + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCipherSuite + end + def access + Azure::Network::Mgmt::V2018_06_01::Models::Access + end + def application_gateway_firewall_mode + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode + end + def express_route_peering_state + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringState + end + def express_route_peering_type + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringType + end + def load_balancer_sku_name + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName + end + def circuit_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::CircuitConnectionStatus + end + def effective_route_source + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteSource + end + def effective_security_rule_protocol + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveSecurityRuleProtocol + end + def association_type + Azure::Network::Mgmt::V2018_06_01::Models::AssociationType + end + def effective_route_state + Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState + end + def ip_flow_protocol + Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol + end + def direction + Azure::Network::Mgmt::V2018_06_01::Models::Direction + end + def pc_protocol + Azure::Network::Mgmt::V2018_06_01::Models::PcProtocol + end + def next_hop_type + Azure::Network::Mgmt::V2018_06_01::Models::NextHopType + end + def pc_error + Azure::Network::Mgmt::V2018_06_01::Models::PcError + end + def pc_status + Azure::Network::Mgmt::V2018_06_01::Models::PcStatus + end + def origin + Azure::Network::Mgmt::V2018_06_01::Models::Origin + end + def httpmethod + Azure::Network::Mgmt::V2018_06_01::Models::HTTPMethod + end + def connection_status + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStatus + end + def issue_type + Azure::Network::Mgmt::V2018_06_01::Models::IssueType + end + def connection_state + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState + end + def connection_monitor_source_status + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSourceStatus + end + def virtual_network_peering_state + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringState + end + def evaluation_state + Azure::Network::Mgmt::V2018_06_01::Models::EvaluationState + end + def ipsec_encryption + Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption + end + def vpn_client_protocol + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol + end + def ike_encryption + Azure::Network::Mgmt::V2018_06_01::Models::IkeEncryption + end + def ipsec_integrity + Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity + end + def dh_group + Azure::Network::Mgmt::V2018_06_01::Models::DhGroup + end + def ike_integrity + Azure::Network::Mgmt::V2018_06_01::Models::IkeIntegrity + end + def bgp_peer_state + Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerState + end + def pfs_group + Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup + end + def vpn_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::VpnConnectionStatus + end + def authentication_method + Azure::Network::Mgmt::V2018_06_01::Models::AuthenticationMethod + end + def hub_virtual_network_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus + end + def tunnel_connection_status + Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionStatus + end + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitListResult + end + def sub_resource + Azure::Network::Mgmt::V2018_06_01::Models::SubResource + end + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderBandwidthsOffered + end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressListResult + end + def application_gateway_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayListResult + end + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendAddress + end + def resource + Azure::Network::Mgmt::V2018_06_01::Models::Resource + end + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionResetSharedKey + end + def dns_name_availability_result + Azure::Network::Mgmt::V2018_06_01::Models::DnsNameAvailabilityResult + end + def network_interface_dns_settings + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceDnsSettings + end + def network_security_group_list_result + Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroupListResult + end + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayListResult + end + def authorization_list_result + Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationListResult + end + def bgp_settings + Azure::Network::Mgmt::V2018_06_01::Models::BgpSettings + end + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringConfig + end + def vpn_client_configuration + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientConfiguration + end + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitStats + end + def virtual_network_list_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkListResult + end + def security_rule_list_result + Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleListResult + end + def address_space + Azure::Network::Mgmt::V2018_06_01::Models::AddressSpace + end + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringListResult + end + def usages_list_result + Azure::Network::Mgmt::V2018_06_01::Models::UsagesListResult + end + def policies + Azure::Network::Mgmt::V2018_06_01::Models::Policies + end + def usage_name + Azure::Network::Mgmt::V2018_06_01::Models::UsageName + end + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitServiceProviderProperties + end + def route_table_list_result + Azure::Network::Mgmt::V2018_06_01::Models::RouteTableListResult + end + def network_interface_list_result + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterfaceListResult + end + def connection_shared_key + Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey + end + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitArpTable + end + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsArpTableListResult + end + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressDnsSettings + end + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitRoutesTable + end + def dhcp_options + Azure::Network::Mgmt::V2018_06_01::Models::DhcpOptions + end + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitsRoutesTableListResult + end + def usage + Azure::Network::Mgmt::V2018_06_01::Models::Usage + end + def application_gateway_sku + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySku + end + def express_route_circuit_sku + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitSku + end + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListResult + end + def load_balancer_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerListResult + end + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySku + end + def azure_async_operation_result + Azure::Network::Mgmt::V2018_06_01::Models::AzureAsyncOperationResult + end + def route_list_result + Azure::Network::Mgmt::V2018_06_01::Models::RouteListResult + end + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGatewayListResult + end + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProviderListResult + end + def vpn_client_parameters + Azure::Network::Mgmt::V2018_06_01::Models::VpnClientParameters + end + def error_details + Azure::Network::Mgmt::V2018_06_01::Models::ErrorDetails + end + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration + end + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate + end + def subnet_list_result + Azure::Network::Mgmt::V2018_06_01::Models::SubnetListResult + end + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration + end + def backend_address_pool + Azure::Network::Mgmt::V2018_06_01::Models::BackendAddressPool + end + def inbound_nat_rule + Azure::Network::Mgmt::V2018_06_01::Models::InboundNatRule + end + def security_rule + Azure::Network::Mgmt::V2018_06_01::Models::SecurityRule + end + def network_interface + Azure::Network::Mgmt::V2018_06_01::Models::NetworkInterface + end + def network_security_group + Azure::Network::Mgmt::V2018_06_01::Models::NetworkSecurityGroup + end + def route + Azure::Network::Mgmt::V2018_06_01::Models::Route + end + def route_table + Azure::Network::Mgmt::V2018_06_01::Models::RouteTable + end + def public_ipaddress + Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddress + end + def ipconfiguration + Azure::Network::Mgmt::V2018_06_01::Models::IPConfiguration end def subnet Azure::Network::Mgmt::V2018_06_01::Models::Subnet @@ -1125,24 +1350,12 @@ def application_gateway_backend_address_pool def application_gateway_backend_http_settings Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHttpSettings end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_authentication_certificate - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAuthenticationCertificate - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendIPConfiguration + def application_gateway_http_listener + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayHttpListener end def application_gateway_frontend_port Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFrontendPort end - def application_gateway_http_listener - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayHttpListener - end def application_gateway_path_rule Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayPathRule end @@ -1152,54 +1365,24 @@ def application_gateway_probe def application_gateway_request_routing_rule Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectConfiguration - end def application_gateway_url_path_map Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayUrlPathMap end def application_gateway Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGateway end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallRuleSet - end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayAvailableSslOptions - end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPredefinedPolicy - end - def endpoint_service_result - Azure::Network::Mgmt::V2018_06_01::Models::EndpointServiceResult - end def express_route_circuit_authorization Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitAuthorization end - def route_filter_rule - Azure::Network::Mgmt::V2018_06_01::Models::RouteFilterRule - end - def express_route_circuit_connection - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitConnection - end def express_route_circuit_peering Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeering end - def route_filter - Azure::Network::Mgmt::V2018_06_01::Models::RouteFilter - end def express_route_circuit Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuit end def express_route_service_provider Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteServiceProvider end - def express_route_cross_connection_peering - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnectionPeering - end - def express_route_cross_connection - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCrossConnection - end def frontend_ipconfiguration Azure::Network::Mgmt::V2018_06_01::Models::FrontendIPConfiguration end @@ -1218,21 +1401,6 @@ def outbound_nat_rule def load_balancer Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancer end - def network_watcher - Azure::Network::Mgmt::V2018_06_01::Models::NetworkWatcher - end - def patch_route_filter_rule - Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilterRule - end - def patch_route_filter - Azure::Network::Mgmt::V2018_06_01::Models::PatchRouteFilter - end - def bgp_service_community - Azure::Network::Mgmt::V2018_06_01::Models::BgpServiceCommunity - end - def virtual_network_peering - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeering - end def virtual_network Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetwork end @@ -1254,50 +1422,14 @@ def local_network_gateway def virtual_network_gateway_connection Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnection end - def connection_shared_key - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionSharedKey - end - def virtual_network_gateway_connection_list_entity - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionListEntity - end - def virtual_wan - Azure::Network::Mgmt::V2018_06_01::Models::VirtualWAN - end - def vpn_site - Azure::Network::Mgmt::V2018_06_01::Models::VpnSite - end - def hub_virtual_network_connection - Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnection - end - def virtual_hub - Azure::Network::Mgmt::V2018_06_01::Models::VirtualHub - end - def vpn_connection - Azure::Network::Mgmt::V2018_06_01::Models::VpnConnection - end - def vpn_gateway - Azure::Network::Mgmt::V2018_06_01::Models::VpnGateway - end - def provisioning_state - Azure::Network::Mgmt::V2018_06_01::Models::ProvisioningState - end - def azure_firewall_rcaction_type - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallRCActionType - end - def azure_firewall_application_rule_protocol_type - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocolType - end - def azure_firewall_network_rule_protocol - Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallNetworkRuleProtocol - end - def transport_protocol - Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol + def application_gateway_sku_name + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName end def ipallocation_method Azure::Network::Mgmt::V2018_06_01::Models::IPAllocationMethod end - def ipversion - Azure::Network::Mgmt::V2018_06_01::Models::IPVersion + def transport_protocol + Azure::Network::Mgmt::V2018_06_01::Models::TransportProtocol end def security_rule_protocol Azure::Network::Mgmt::V2018_06_01::Models::SecurityRuleProtocol @@ -1311,66 +1443,27 @@ def security_rule_direction def route_next_hop_type Azure::Network::Mgmt::V2018_06_01::Models::RouteNextHopType end - def public_ipaddress_sku_name - Azure::Network::Mgmt::V2018_06_01::Models::PublicIPAddressSkuName - end def application_gateway_protocol Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayProtocol end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_backend_health_server_health - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayBackendHealthServerHealth - end - def application_gateway_sku_name - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySkuName - end - def application_gateway_tier - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier - end - def application_gateway_ssl_protocol - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslProtocol - end - def application_gateway_ssl_policy_type - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyType - end - def application_gateway_ssl_policy_name - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslPolicyName - end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewaySslCipherSuite - end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRequestRoutingRuleType end - def application_gateway_redirect_type - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayRedirectType + def application_gateway_tier + Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayTier end def application_gateway_operational_state Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayOperationalState end - def application_gateway_firewall_mode - Azure::Network::Mgmt::V2018_06_01::Models::ApplicationGatewayFirewallMode - end def authorization_use_status Azure::Network::Mgmt::V2018_06_01::Models::AuthorizationUseStatus end def express_route_circuit_peering_advertised_public_prefix_state Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end - def access - Azure::Network::Mgmt::V2018_06_01::Models::Access - end - def express_route_peering_type - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringType - end - def express_route_peering_state - Azure::Network::Mgmt::V2018_06_01::Models::ExpressRoutePeeringState - end - def circuit_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::CircuitConnectionStatus - end def express_route_circuit_peering_state Azure::Network::Mgmt::V2018_06_01::Models::ExpressRouteCircuitPeeringState end @@ -1383,9 +1476,6 @@ def express_route_circuit_sku_family def service_provider_provisioning_state Azure::Network::Mgmt::V2018_06_01::Models::ServiceProviderProvisioningState end - def load_balancer_sku_name - Azure::Network::Mgmt::V2018_06_01::Models::LoadBalancerSkuName - end def load_distribution Azure::Network::Mgmt::V2018_06_01::Models::LoadDistribution end @@ -1395,69 +1485,12 @@ def probe_protocol def network_operation_status Azure::Network::Mgmt::V2018_06_01::Models::NetworkOperationStatus end - def effective_security_rule_protocol - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveSecurityRuleProtocol - end - def effective_route_source - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteSource - end - def effective_route_state - Azure::Network::Mgmt::V2018_06_01::Models::EffectiveRouteState - end - def association_type - Azure::Network::Mgmt::V2018_06_01::Models::AssociationType - end - def direction - Azure::Network::Mgmt::V2018_06_01::Models::Direction - end - def ip_flow_protocol - Azure::Network::Mgmt::V2018_06_01::Models::IpFlowProtocol - end - def next_hop_type - Azure::Network::Mgmt::V2018_06_01::Models::NextHopType - end - def pc_protocol - Azure::Network::Mgmt::V2018_06_01::Models::PcProtocol - end - def pc_status - Azure::Network::Mgmt::V2018_06_01::Models::PcStatus - end - def pc_error - Azure::Network::Mgmt::V2018_06_01::Models::PcError + def virtual_network_gateway_type + Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayType end def protocol Azure::Network::Mgmt::V2018_06_01::Models::Protocol end - def httpmethod - Azure::Network::Mgmt::V2018_06_01::Models::HTTPMethod - end - def origin - Azure::Network::Mgmt::V2018_06_01::Models::Origin - end - def severity - Azure::Network::Mgmt::V2018_06_01::Models::Severity - end - def issue_type - Azure::Network::Mgmt::V2018_06_01::Models::IssueType - end - def connection_status - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionStatus - end - def connection_monitor_source_status - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionMonitorSourceStatus - end - def connection_state - Azure::Network::Mgmt::V2018_06_01::Models::ConnectionState - end - def evaluation_state - Azure::Network::Mgmt::V2018_06_01::Models::EvaluationState - end - def virtual_network_peering_state - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkPeeringState - end - def virtual_network_gateway_type - Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayType - end def vpn_type Azure::Network::Mgmt::V2018_06_01::Models::VpnType end @@ -1467,35 +1500,11 @@ def virtual_network_gateway_sku_name def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewaySkuTier end - def vpn_client_protocol - Azure::Network::Mgmt::V2018_06_01::Models::VpnClientProtocol - end - def ipsec_encryption - Azure::Network::Mgmt::V2018_06_01::Models::IpsecEncryption - end - def ipsec_integrity - Azure::Network::Mgmt::V2018_06_01::Models::IpsecIntegrity - end - def ike_encryption - Azure::Network::Mgmt::V2018_06_01::Models::IkeEncryption - end - def ike_integrity - Azure::Network::Mgmt::V2018_06_01::Models::IkeIntegrity - end - def dh_group - Azure::Network::Mgmt::V2018_06_01::Models::DhGroup - end - def pfs_group - Azure::Network::Mgmt::V2018_06_01::Models::PfsGroup - end - def bgp_peer_state - Azure::Network::Mgmt::V2018_06_01::Models::BgpPeerState - end def processor_architecture Azure::Network::Mgmt::V2018_06_01::Models::ProcessorArchitecture end - def authentication_method - Azure::Network::Mgmt::V2018_06_01::Models::AuthenticationMethod + def severity + Azure::Network::Mgmt::V2018_06_01::Models::Severity end def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionStatus @@ -1503,15 +1512,6 @@ def virtual_network_gateway_connection_status def virtual_network_gateway_connection_type Azure::Network::Mgmt::V2018_06_01::Models::VirtualNetworkGatewayConnectionType end - def vpn_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::VpnConnectionStatus - end - def tunnel_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::TunnelConnectionStatus - end - def hub_virtual_network_connection_status - Azure::Network::Mgmt::V2018_06_01::Models::HubVirtualNetworkConnectionStatus - end end end end diff --git a/management/azure_mgmt_network/lib/profiles/v2017_03_09/modules/network_profile_module.rb b/management/azure_mgmt_network/lib/profiles/v2017_03_09/modules/network_profile_module.rb index 22665b2073..bbc5805a63 100644 --- a/management/azure_mgmt_network/lib/profiles/v2017_03_09/modules/network_profile_module.rb +++ b/management/azure_mgmt_network/lib/profiles/v2017_03_09/modules/network_profile_module.rb @@ -70,7 +70,6 @@ module Models VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku AzureAsyncOperationResult = Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult - Error = Azure::Network::Mgmt::V2015_06_15::Models::Error SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters @@ -128,6 +127,7 @@ module Models ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayOperationalState AuthorizationUseStatus = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus + Error = Azure::Network::Mgmt::V2015_06_15::Models::Error ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringType ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringState @@ -340,9 +340,6 @@ def azure_async_operation_result def route_list_result Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult end - def error - Azure::Network::Mgmt::V2015_06_15::Models::Error - end def subnet_list_result Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult end @@ -514,6 +511,9 @@ def application_gateway_operational_state def authorization_use_status Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus end + def error + Azure::Network::Mgmt::V2015_06_15::Models::Error + end def express_route_circuit_peering_advertised_public_prefix_state Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end