azure_mgmt_network 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_network.rb +91 -77
- data/lib/generated/azure_mgmt_network/application_gateways.rb +13 -13
- data/lib/generated/azure_mgmt_network/application_security_groups.rb +795 -0
- data/lib/generated/azure_mgmt_network/available_endpoint_services.rb +2 -2
- data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +2 -2
- data/lib/generated/azure_mgmt_network/default_security_rules.rb +3 -3
- data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +5 -5
- data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +5 -5
- data/lib/generated/azure_mgmt_network/express_route_circuits.rb +11 -11
- data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +2 -2
- data/lib/generated/azure_mgmt_network/inbound_nat_rules.rb +5 -5
- data/lib/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +3 -3
- data/lib/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +3 -3
- data/lib/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +3 -3
- data/lib/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +2 -2
- data/lib/generated/azure_mgmt_network/load_balancer_probes.rb +3 -3
- data/lib/generated/azure_mgmt_network/load_balancers.rb +6 -6
- data/lib/generated/azure_mgmt_network/local_network_gateways.rb +5 -5
- data/lib/generated/azure_mgmt_network/models/access.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/address_space.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_tier.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/application_security_group.rb +118 -0
- data/lib/generated/azure_mgmt_network/models/application_security_group_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_network/models/association_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/authentication_method.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/authorization_use_status.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/available_providers_list.rb +54 -0
- data/lib/generated/azure_mgmt_network/models/available_providers_list_city.rb +62 -0
- data/lib/generated/azure_mgmt_network/models/available_providers_list_country.rb +81 -0
- data/lib/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +83 -0
- data/lib/generated/azure_mgmt_network/models/available_providers_list_state.rb +81 -0
- data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/azure_reachability_report.rb +76 -0
- data/lib/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +74 -0
- data/lib/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +60 -0
- data/lib/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +65 -0
- data/lib/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +100 -0
- data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/bgp_peer_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/bgp_peer_status.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/bgp_service_community.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/bgpcommunity.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connection_status.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connectivity_destination.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connectivity_hop.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connectivity_information.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connectivity_issue.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connectivity_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/connectivity_source.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/dh_group.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/direction.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_route.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/endpoint_service_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/error.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/error_details.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/flow_log_information.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +19 -1
- data/lib/generated/azure_mgmt_network/models/gateway_route.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/gateway_route_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ike_encryption.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ike_integrity.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +3 -4
- data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +4 -5
- data/lib/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipallocation_method.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipsec_encryption.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipsec_integrity.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipsec_policy.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/ipversion.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/issue_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer_sku.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +7 -7
- data/lib/generated/azure_mgmt_network/models/load_distribution.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_interface.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_interface_association.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +20 -1
- data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_operation_status.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_security_group.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_watcher.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_watcher_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/next_hop_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/next_hop_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/next_hop_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/origin.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture_filter.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/patch_route_filter.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/pc_error.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/pc_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/pc_status.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/pfs_group.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/probe.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/probe_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/processor_architecture.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/provisioning_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +19 -1
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/retention_policy_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_filter.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_filter_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_filter_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_next_hop_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_table.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_group_network_interface.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_group_view_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_group_view_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_rule.rb +39 -1
- data/lib/generated/azure_mgmt_network/models/security_rule_access.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_rule_associations.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_rule_direction.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/security_rule_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/severity.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/subnet.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/subnet_association.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/topology.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/topology_association.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/topology_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/topology_resource.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/transport_protocol.rb +2 -1
- data/lib/generated/azure_mgmt_network/models/troubleshooting_details.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/troubleshooting_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/usage.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/usage_name.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/verification_ipflow_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network.rb +23 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +5 -2
- data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_usage.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/vpn_client_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +65 -0
- data/lib/generated/azure_mgmt_network/models/vpn_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +3 -3
- data/lib/generated/azure_mgmt_network/network_interface_load_balancers.rb +2 -2
- data/lib/generated/azure_mgmt_network/network_interfaces.rb +8 -8
- data/lib/generated/azure_mgmt_network/network_management_client.rb +6 -2
- data/lib/generated/azure_mgmt_network/network_security_groups.rb +6 -6
- data/lib/generated/azure_mgmt_network/network_watchers.rb +365 -15
- data/lib/generated/azure_mgmt_network/packet_captures.rb +7 -7
- data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +6 -6
- data/lib/generated/azure_mgmt_network/route_filter_rules.rb +6 -6
- data/lib/generated/azure_mgmt_network/route_filters.rb +7 -7
- data/lib/generated/azure_mgmt_network/route_tables.rb +6 -6
- data/lib/generated/azure_mgmt_network/routes.rb +5 -5
- data/lib/generated/azure_mgmt_network/security_rules.rb +5 -5
- data/lib/generated/azure_mgmt_network/subnets.rb +5 -5
- data/lib/generated/azure_mgmt_network/usages.rb +2 -2
- data/lib/generated/azure_mgmt_network/version.rb +2 -2
- data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +8 -8
- data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +232 -13
- data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +5 -5
- data/lib/generated/azure_mgmt_network/virtual_networks.rb +8 -8
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38db2139ae053e68025908dbf0613dc3e3ddbd95
|
4
|
+
data.tar.gz: 4a34941e85546f4034f0ffc39adc7e094a95d14f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16b6b272648cbfea06f7d0e8040b321031338ad70cf2ff1652b8f08eb3b19903df74c3e4802edf312bfd4f37cecc38e9d06f1a36b59aa47f630dd72f0dafacc0
|
7
|
+
data.tar.gz: 74550f09e6f3b2f8596803817a68f9a5af75434f59c19cfc74e30a6f161e532e048a3a512b8ba471ec0ecf2db37cffa35f192ffa65634f7836e49385b8c2cb6c
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -21,6 +21,7 @@ require 'ms_rest_azure'
|
|
21
21
|
|
22
22
|
module Azure::ARM::Network
|
23
23
|
autoload :ApplicationGateways, 'generated/azure_mgmt_network/application_gateways.rb'
|
24
|
+
autoload :ApplicationSecurityGroups, 'generated/azure_mgmt_network/application_security_groups.rb'
|
24
25
|
autoload :AvailableEndpointServices, 'generated/azure_mgmt_network/available_endpoint_services.rb'
|
25
26
|
autoload :ExpressRouteCircuitAuthorizations, 'generated/azure_mgmt_network/express_route_circuit_authorizations.rb'
|
26
27
|
autoload :ExpressRouteCircuitPeerings, 'generated/azure_mgmt_network/express_route_circuit_peerings.rb'
|
@@ -57,139 +58,152 @@ module Azure::ARM::Network
|
|
57
58
|
autoload :NetworkManagementClient, 'generated/azure_mgmt_network/network_management_client.rb'
|
58
59
|
|
59
60
|
module Models
|
60
|
-
autoload :
|
61
|
-
autoload :
|
62
|
-
autoload :ExpressRouteCircuitRoutesTable, 'generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb'
|
63
|
-
autoload :ExpressRouteCircuitsRoutesTableListResult, 'generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb'
|
64
|
-
autoload :NetworkInterfaceDnsSettings, 'generated/azure_mgmt_network/models/network_interface_dns_settings.rb'
|
65
|
-
autoload :ExpressRouteCircuitRoutesTableSummary, 'generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb'
|
66
|
-
autoload :VirtualNetworkConnectionGatewayReference, 'generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb'
|
61
|
+
autoload :EffectiveNetworkSecurityGroupListResult, 'generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb'
|
62
|
+
autoload :EffectiveRoute, 'generated/azure_mgmt_network/models/effective_route.rb'
|
67
63
|
autoload :ExpressRouteCircuitsRoutesTableSummaryListResult, 'generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb'
|
68
|
-
autoload :ConnectionSharedKey, 'generated/azure_mgmt_network/models/connection_shared_key.rb'
|
69
64
|
autoload :ExpressRouteCircuitListResult, 'generated/azure_mgmt_network/models/express_route_circuit_list_result.rb'
|
70
|
-
autoload :
|
65
|
+
autoload :VpnDeviceScriptParameters, 'generated/azure_mgmt_network/models/vpn_device_script_parameters.rb'
|
71
66
|
autoload :ExpressRouteServiceProviderBandwidthsOffered, 'generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb'
|
72
|
-
autoload :
|
73
|
-
autoload :
|
74
|
-
autoload :
|
67
|
+
autoload :NetworkInterfaceDnsSettings, 'generated/azure_mgmt_network/models/network_interface_dns_settings.rb'
|
68
|
+
autoload :RouteFilterRuleListResult, 'generated/azure_mgmt_network/models/route_filter_rule_list_result.rb'
|
69
|
+
autoload :LocalNetworkGatewayListResult, 'generated/azure_mgmt_network/models/local_network_gateway_list_result.rb'
|
75
70
|
autoload :ExpressRouteServiceProviderListResult, 'generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb'
|
76
|
-
autoload :
|
71
|
+
autoload :ConnectionResetSharedKey, 'generated/azure_mgmt_network/models/connection_reset_shared_key.rb'
|
77
72
|
autoload :LoadBalancerSku, 'generated/azure_mgmt_network/models/load_balancer_sku.rb'
|
73
|
+
autoload :PublicIPAddressSku, 'generated/azure_mgmt_network/models/public_ipaddress_sku.rb'
|
74
|
+
autoload :RouteFilterListResult, 'generated/azure_mgmt_network/models/route_filter_list_result.rb'
|
75
|
+
autoload :VirtualNetworkGatewayConnectionListResult, 'generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb'
|
76
|
+
autoload :PublicIPAddressListResult, 'generated/azure_mgmt_network/models/public_ipaddress_list_result.rb'
|
77
|
+
autoload :TunnelConnectionHealth, 'generated/azure_mgmt_network/models/tunnel_connection_health.rb'
|
78
|
+
autoload :AvailableProvidersList, 'generated/azure_mgmt_network/models/available_providers_list.rb'
|
78
79
|
autoload :BgpPeerStatusListResult, 'generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb'
|
79
|
-
autoload :
|
80
|
+
autoload :AvailableProvidersListCountry, 'generated/azure_mgmt_network/models/available_providers_list_country.rb'
|
80
81
|
autoload :VirtualNetworkGatewayListResult, 'generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb'
|
81
|
-
autoload :
|
82
|
+
autoload :AvailableProvidersListState, 'generated/azure_mgmt_network/models/available_providers_list_state.rb'
|
83
|
+
autoload :VpnClientParameters, 'generated/azure_mgmt_network/models/vpn_client_parameters.rb'
|
84
|
+
autoload :AvailableProvidersListCity, 'generated/azure_mgmt_network/models/available_providers_list_city.rb'
|
82
85
|
autoload :ApplicationGatewayBackendHealthHttpSettings, 'generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb'
|
83
|
-
autoload :PublicIPAddressListResult, 'generated/azure_mgmt_network/models/public_ipaddress_list_result.rb'
|
84
|
-
autoload :ApplicationGatewayBackendHealth, 'generated/azure_mgmt_network/models/application_gateway_backend_health.rb'
|
85
|
-
autoload :ConnectivityInformation, 'generated/azure_mgmt_network/models/connectivity_information.rb'
|
86
|
-
autoload :ApplicationGatewaySslPolicy, 'generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb'
|
87
|
-
autoload :ConnectivityHop, 'generated/azure_mgmt_network/models/connectivity_hop.rb'
|
88
|
-
autoload :GatewayRoute, 'generated/azure_mgmt_network/models/gateway_route.rb'
|
89
|
-
autoload :ConnectivityIssue, 'generated/azure_mgmt_network/models/connectivity_issue.rb'
|
90
|
-
autoload :BgpSettings, 'generated/azure_mgmt_network/models/bgp_settings.rb'
|
91
86
|
autoload :LoadBalancerListResult, 'generated/azure_mgmt_network/models/load_balancer_list_result.rb'
|
92
|
-
autoload :
|
87
|
+
autoload :ApplicationGatewayBackendHealth, 'generated/azure_mgmt_network/models/application_gateway_backend_health.rb'
|
93
88
|
autoload :InboundNatRuleListResult, 'generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb'
|
94
|
-
autoload :
|
89
|
+
autoload :ApplicationGatewaySslPolicy, 'generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb'
|
95
90
|
autoload :LoadBalancerBackendAddressPoolListResult, 'generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb'
|
96
|
-
autoload :
|
91
|
+
autoload :BgpPeerStatus, 'generated/azure_mgmt_network/models/bgp_peer_status.rb'
|
97
92
|
autoload :LoadBalancerFrontendIPConfigurationListResult, 'generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb'
|
98
|
-
autoload :
|
93
|
+
autoload :VpnClientConfiguration, 'generated/azure_mgmt_network/models/vpn_client_configuration.rb'
|
99
94
|
autoload :LoadBalancerLoadBalancingRuleListResult, 'generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb'
|
100
|
-
autoload :
|
95
|
+
autoload :VirtualNetworkListUsageResult, 'generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb'
|
101
96
|
autoload :LoadBalancerProbeListResult, 'generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb'
|
102
|
-
autoload :
|
97
|
+
autoload :ApplicationGatewayProbeHealthResponseMatch, 'generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb'
|
103
98
|
autoload :NetworkInterfaceListResult, 'generated/azure_mgmt_network/models/network_interface_list_result.rb'
|
104
|
-
autoload :
|
99
|
+
autoload :IPAddressAvailabilityResult, 'generated/azure_mgmt_network/models/ipaddress_availability_result.rb'
|
105
100
|
autoload :ErrorDetails, 'generated/azure_mgmt_network/models/error_details.rb'
|
106
|
-
autoload :
|
101
|
+
autoload :DhcpOptions, 'generated/azure_mgmt_network/models/dhcp_options.rb'
|
107
102
|
autoload :Error, 'generated/azure_mgmt_network/models/error.rb'
|
108
|
-
autoload :
|
103
|
+
autoload :ApplicationGatewayWebApplicationFirewallConfiguration, 'generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb'
|
109
104
|
autoload :AzureAsyncOperationResult, 'generated/azure_mgmt_network/models/azure_async_operation_result.rb'
|
105
|
+
autoload :ApplicationGatewayListResult, 'generated/azure_mgmt_network/models/application_gateway_list_result.rb'
|
110
106
|
autoload :NetworkInterfaceIPConfigurationListResult, 'generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb'
|
107
|
+
autoload :ApplicationGatewayFirewallRuleGroup, 'generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb'
|
108
|
+
autoload :NetworkInterfaceLoadBalancerListResult, 'generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb'
|
109
|
+
autoload :ApplicationGatewayAvailableWafRuleSetsResult, 'generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb'
|
110
|
+
autoload :EffectiveNetworkSecurityGroupAssociation, 'generated/azure_mgmt_network/models/effective_network_security_group_association.rb'
|
111
111
|
autoload :UsagesListResult, 'generated/azure_mgmt_network/models/usages_list_result.rb'
|
112
|
-
autoload :EndpointServicesListResult, 'generated/azure_mgmt_network/models/endpoint_services_list_result.rb'
|
113
|
-
autoload :ConnectivitySource, 'generated/azure_mgmt_network/models/connectivity_source.rb'
|
114
|
-
autoload :AuthorizationListResult, 'generated/azure_mgmt_network/models/authorization_list_result.rb'
|
115
|
-
autoload :ConnectivityParameters, 'generated/azure_mgmt_network/models/connectivity_parameters.rb'
|
116
|
-
autoload :UsageName, 'generated/azure_mgmt_network/models/usage_name.rb'
|
117
112
|
autoload :EffectiveNetworkSecurityRule, 'generated/azure_mgmt_network/models/effective_network_security_rule.rb'
|
118
|
-
autoload :BgpServiceCommunityListResult, 'generated/azure_mgmt_network/models/bgp_service_community_list_result.rb'
|
119
113
|
autoload :EffectiveNetworkSecurityGroup, 'generated/azure_mgmt_network/models/effective_network_security_group.rb'
|
120
|
-
autoload :
|
121
|
-
autoload :
|
122
|
-
autoload :
|
123
|
-
autoload :
|
124
|
-
autoload :RouteListResult, 'generated/azure_mgmt_network/models/route_list_result.rb'
|
114
|
+
autoload :DnsNameAvailabilityResult, 'generated/azure_mgmt_network/models/dns_name_availability_result.rb'
|
115
|
+
autoload :EndpointServicesListResult, 'generated/azure_mgmt_network/models/endpoint_services_list_result.rb'
|
116
|
+
autoload :AvailableProvidersListParameters, 'generated/azure_mgmt_network/models/available_providers_list_parameters.rb'
|
117
|
+
autoload :AuthorizationListResult, 'generated/azure_mgmt_network/models/authorization_list_result.rb'
|
125
118
|
autoload :EffectiveRouteListResult, 'generated/azure_mgmt_network/models/effective_route_list_result.rb'
|
126
|
-
autoload :
|
119
|
+
autoload :BgpServiceCommunityListResult, 'generated/azure_mgmt_network/models/bgp_service_community_list_result.rb'
|
127
120
|
autoload :SecurityRuleListResult, 'generated/azure_mgmt_network/models/security_rule_list_result.rb'
|
128
|
-
autoload :
|
121
|
+
autoload :BGPCommunity, 'generated/azure_mgmt_network/models/bgpcommunity.rb'
|
129
122
|
autoload :NetworkSecurityGroupListResult, 'generated/azure_mgmt_network/models/network_security_group_list_result.rb'
|
130
|
-
autoload :
|
131
|
-
autoload :
|
132
|
-
autoload :
|
123
|
+
autoload :Ipv6ExpressRouteCircuitPeeringConfig, 'generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb'
|
124
|
+
autoload :AzureReachabilityReport, 'generated/azure_mgmt_network/models/azure_reachability_report.rb'
|
125
|
+
autoload :ExpressRouteCircuitSku, 'generated/azure_mgmt_network/models/express_route_circuit_sku.rb'
|
133
126
|
autoload :NetworkWatcherListResult, 'generated/azure_mgmt_network/models/network_watcher_list_result.rb'
|
134
|
-
autoload :
|
127
|
+
autoload :RouteTableListResult, 'generated/azure_mgmt_network/models/route_table_list_result.rb'
|
135
128
|
autoload :TopologyParameters, 'generated/azure_mgmt_network/models/topology_parameters.rb'
|
136
|
-
autoload :
|
129
|
+
autoload :ExpressRouteCircuitsArpTableListResult, 'generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb'
|
137
130
|
autoload :TopologyAssociation, 'generated/azure_mgmt_network/models/topology_association.rb'
|
138
|
-
autoload :
|
131
|
+
autoload :ExpressRouteCircuitsRoutesTableListResult, 'generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb'
|
139
132
|
autoload :TopologyResource, 'generated/azure_mgmt_network/models/topology_resource.rb'
|
140
|
-
autoload :BgpPeerStatus, 'generated/azure_mgmt_network/models/bgp_peer_status.rb'
|
141
133
|
autoload :Topology, 'generated/azure_mgmt_network/models/topology.rb'
|
142
|
-
autoload :
|
134
|
+
autoload :VirtualNetworkConnectionGatewayReference, 'generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb'
|
143
135
|
autoload :VerificationIPFlowParameters, 'generated/azure_mgmt_network/models/verification_ipflow_parameters.rb'
|
144
|
-
autoload :
|
136
|
+
autoload :ServiceEndpointPropertiesFormat, 'generated/azure_mgmt_network/models/service_endpoint_properties_format.rb'
|
145
137
|
autoload :VerificationIPFlowResult, 'generated/azure_mgmt_network/models/verification_ipflow_result.rb'
|
146
|
-
autoload :
|
138
|
+
autoload :IpsecPolicy, 'generated/azure_mgmt_network/models/ipsec_policy.rb'
|
147
139
|
autoload :NextHopParameters, 'generated/azure_mgmt_network/models/next_hop_parameters.rb'
|
148
|
-
autoload :
|
140
|
+
autoload :ApplicationGatewayBackendAddress, 'generated/azure_mgmt_network/models/application_gateway_backend_address.rb'
|
149
141
|
autoload :NextHopResult, 'generated/azure_mgmt_network/models/next_hop_result.rb'
|
150
|
-
autoload :
|
142
|
+
autoload :ApplicationGatewayBackendHealthServer, 'generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb'
|
151
143
|
autoload :SecurityGroupViewParameters, 'generated/azure_mgmt_network/models/security_group_view_parameters.rb'
|
152
|
-
autoload :
|
144
|
+
autoload :ApplicationGatewaySku, 'generated/azure_mgmt_network/models/application_gateway_sku.rb'
|
153
145
|
autoload :NetworkInterfaceAssociation, 'generated/azure_mgmt_network/models/network_interface_association.rb'
|
154
|
-
autoload :
|
146
|
+
autoload :BgpSettings, 'generated/azure_mgmt_network/models/bgp_settings.rb'
|
155
147
|
autoload :SubnetAssociation, 'generated/azure_mgmt_network/models/subnet_association.rb'
|
156
|
-
autoload :
|
148
|
+
autoload :VirtualNetworkUsage, 'generated/azure_mgmt_network/models/virtual_network_usage.rb'
|
157
149
|
autoload :SecurityRuleAssociations, 'generated/azure_mgmt_network/models/security_rule_associations.rb'
|
158
|
-
autoload :
|
150
|
+
autoload :VirtualNetworkListResult, 'generated/azure_mgmt_network/models/virtual_network_list_result.rb'
|
159
151
|
autoload :SecurityGroupNetworkInterface, 'generated/azure_mgmt_network/models/security_group_network_interface.rb'
|
160
|
-
autoload :
|
152
|
+
autoload :AddressSpace, 'generated/azure_mgmt_network/models/address_space.rb'
|
161
153
|
autoload :SecurityGroupViewResult, 'generated/azure_mgmt_network/models/security_group_view_result.rb'
|
162
|
-
autoload :
|
154
|
+
autoload :VirtualNetworkPeeringListResult, 'generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb'
|
163
155
|
autoload :PacketCaptureStorageLocation, 'generated/azure_mgmt_network/models/packet_capture_storage_location.rb'
|
164
|
-
autoload :
|
156
|
+
autoload :ApplicationGatewayAvailableSslPredefinedPolicies, 'generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb'
|
165
157
|
autoload :PacketCaptureFilter, 'generated/azure_mgmt_network/models/packet_capture_filter.rb'
|
166
|
-
autoload :
|
158
|
+
autoload :Usage, 'generated/azure_mgmt_network/models/usage.rb'
|
167
159
|
autoload :PacketCaptureParameters, 'generated/azure_mgmt_network/models/packet_capture_parameters.rb'
|
168
|
-
autoload :
|
160
|
+
autoload :ExpressRouteCircuitPeeringConfig, 'generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb'
|
169
161
|
autoload :PacketCapture, 'generated/azure_mgmt_network/models/packet_capture.rb'
|
170
|
-
autoload :
|
162
|
+
autoload :RouteListResult, 'generated/azure_mgmt_network/models/route_list_result.rb'
|
171
163
|
autoload :PacketCaptureResult, 'generated/azure_mgmt_network/models/packet_capture_result.rb'
|
172
|
-
autoload :ExpressRouteCircuitPeeringConfig, 'generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb'
|
173
|
-
autoload :PacketCaptureListResult, 'generated/azure_mgmt_network/models/packet_capture_list_result.rb'
|
174
164
|
autoload :ExpressRouteCircuitServiceProviderProperties, 'generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb'
|
165
|
+
autoload :PacketCaptureListResult, 'generated/azure_mgmt_network/models/packet_capture_list_result.rb'
|
166
|
+
autoload :ExpressRouteCircuitRoutesTable, 'generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb'
|
175
167
|
autoload :PacketCaptureQueryStatusResult, 'generated/azure_mgmt_network/models/packet_capture_query_status_result.rb'
|
176
|
-
autoload :
|
168
|
+
autoload :VirtualNetworkGatewayListConnectionsResult, 'generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb'
|
177
169
|
autoload :TroubleshootingParameters, 'generated/azure_mgmt_network/models/troubleshooting_parameters.rb'
|
178
|
-
autoload :
|
170
|
+
autoload :PublicIPAddressDnsSettings, 'generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb'
|
179
171
|
autoload :QueryTroubleshootingParameters, 'generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb'
|
180
|
-
autoload :
|
172
|
+
autoload :ApplicationGatewayConnectionDraining, 'generated/azure_mgmt_network/models/application_gateway_connection_draining.rb'
|
181
173
|
autoload :TroubleshootingRecommendedActions, 'generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb'
|
182
|
-
autoload :
|
174
|
+
autoload :GatewayRoute, 'generated/azure_mgmt_network/models/gateway_route.rb'
|
183
175
|
autoload :TroubleshootingDetails, 'generated/azure_mgmt_network/models/troubleshooting_details.rb'
|
184
|
-
autoload :
|
176
|
+
autoload :VirtualNetworkUsageName, 'generated/azure_mgmt_network/models/virtual_network_usage_name.rb'
|
185
177
|
autoload :TroubleshootingResult, 'generated/azure_mgmt_network/models/troubleshooting_result.rb'
|
186
|
-
autoload :
|
178
|
+
autoload :ApplicationGatewayFirewallRule, 'generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb'
|
187
179
|
autoload :RetentionPolicyParameters, 'generated/azure_mgmt_network/models/retention_policy_parameters.rb'
|
188
|
-
autoload :
|
180
|
+
autoload :ApplicationSecurityGroupListResult, 'generated/azure_mgmt_network/models/application_security_group_list_result.rb'
|
189
181
|
autoload :FlowLogStatusParameters, 'generated/azure_mgmt_network/models/flow_log_status_parameters.rb'
|
182
|
+
autoload :ExpressRouteCircuitStats, 'generated/azure_mgmt_network/models/express_route_circuit_stats.rb'
|
190
183
|
autoload :FlowLogInformation, 'generated/azure_mgmt_network/models/flow_log_information.rb'
|
184
|
+
autoload :ExpressRouteCircuitArpTable, 'generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb'
|
185
|
+
autoload :ConnectivitySource, 'generated/azure_mgmt_network/models/connectivity_source.rb'
|
186
|
+
autoload :ConnectionSharedKey, 'generated/azure_mgmt_network/models/connection_shared_key.rb'
|
187
|
+
autoload :ConnectivityDestination, 'generated/azure_mgmt_network/models/connectivity_destination.rb'
|
188
|
+
autoload :ApplicationGatewayBackendHealthPool, 'generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb'
|
189
|
+
autoload :ConnectivityParameters, 'generated/azure_mgmt_network/models/connectivity_parameters.rb'
|
190
|
+
autoload :ApplicationGatewayFirewallDisabledRuleGroup, 'generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb'
|
191
|
+
autoload :ConnectivityIssue, 'generated/azure_mgmt_network/models/connectivity_issue.rb'
|
192
|
+
autoload :UsageName, 'generated/azure_mgmt_network/models/usage_name.rb'
|
193
|
+
autoload :ConnectivityHop, 'generated/azure_mgmt_network/models/connectivity_hop.rb'
|
194
|
+
autoload :ExpressRouteCircuitRoutesTableSummary, 'generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb'
|
195
|
+
autoload :ConnectivityInformation, 'generated/azure_mgmt_network/models/connectivity_information.rb'
|
196
|
+
autoload :VirtualNetworkGatewaySku, 'generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb'
|
197
|
+
autoload :AzureReachabilityReportLocation, 'generated/azure_mgmt_network/models/azure_reachability_report_location.rb'
|
198
|
+
autoload :ExpressRouteCircuitPeeringListResult, 'generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb'
|
199
|
+
autoload :AzureReachabilityReportParameters, 'generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb'
|
200
|
+
autoload :SubnetListResult, 'generated/azure_mgmt_network/models/subnet_list_result.rb'
|
201
|
+
autoload :AzureReachabilityReportLatencyInfo, 'generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb'
|
202
|
+
autoload :GatewayRouteListResult, 'generated/azure_mgmt_network/models/gateway_route_list_result.rb'
|
203
|
+
autoload :AzureReachabilityReportItem, 'generated/azure_mgmt_network/models/azure_reachability_report_item.rb'
|
191
204
|
autoload :BackendAddressPool, 'generated/azure_mgmt_network/models/backend_address_pool.rb'
|
192
205
|
autoload :InboundNatRule, 'generated/azure_mgmt_network/models/inbound_nat_rule.rb'
|
206
|
+
autoload :ApplicationSecurityGroup, 'generated/azure_mgmt_network/models/application_security_group.rb'
|
193
207
|
autoload :SecurityRule, 'generated/azure_mgmt_network/models/security_rule.rb'
|
194
208
|
autoload :NetworkInterface, 'generated/azure_mgmt_network/models/network_interface.rb'
|
195
209
|
autoload :NetworkSecurityGroup, 'generated/azure_mgmt_network/models/network_security_group.rb'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -101,7 +101,7 @@ module Azure::ARM::Network
|
|
101
101
|
def get_async(resource_group_name, application_gateway_name, custom_headers = nil)
|
102
102
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
103
103
|
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
|
104
|
-
api_version = '2017-
|
104
|
+
api_version = '2017-09-01'
|
105
105
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
106
106
|
|
107
107
|
|
@@ -234,7 +234,7 @@ module Azure::ARM::Network
|
|
234
234
|
#
|
235
235
|
def list_async(resource_group_name, custom_headers = nil)
|
236
236
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
237
|
-
api_version = '2017-
|
237
|
+
api_version = '2017-09-01'
|
238
238
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
239
239
|
|
240
240
|
|
@@ -317,7 +317,7 @@ module Azure::ARM::Network
|
|
317
317
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
318
318
|
#
|
319
319
|
def list_all_async(custom_headers = nil)
|
320
|
-
api_version = '2017-
|
320
|
+
api_version = '2017-09-01'
|
321
321
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
322
322
|
|
323
323
|
|
@@ -523,7 +523,7 @@ module Azure::ARM::Network
|
|
523
523
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
524
524
|
#
|
525
525
|
def list_available_waf_rule_sets_async(custom_headers = nil)
|
526
|
-
api_version = '2017-
|
526
|
+
api_version = '2017-09-01'
|
527
527
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
528
528
|
|
529
529
|
|
@@ -606,7 +606,7 @@ module Azure::ARM::Network
|
|
606
606
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
607
607
|
#
|
608
608
|
def list_available_ssl_options_async(custom_headers = nil)
|
609
|
-
api_version = '2017-
|
609
|
+
api_version = '2017-09-01'
|
610
610
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
611
611
|
|
612
612
|
|
@@ -689,7 +689,7 @@ module Azure::ARM::Network
|
|
689
689
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
690
690
|
#
|
691
691
|
def list_available_ssl_predefined_policies_async(custom_headers = nil)
|
692
|
-
api_version = '2017-
|
692
|
+
api_version = '2017-09-01'
|
693
693
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
694
694
|
|
695
695
|
|
@@ -775,7 +775,7 @@ module Azure::ARM::Network
|
|
775
775
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
776
776
|
#
|
777
777
|
def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil)
|
778
|
-
api_version = '2017-
|
778
|
+
api_version = '2017-09-01'
|
779
779
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
780
780
|
fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil?
|
781
781
|
|
@@ -866,7 +866,7 @@ module Azure::ARM::Network
|
|
866
866
|
def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil)
|
867
867
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
868
868
|
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
|
869
|
-
api_version = '2017-
|
869
|
+
api_version = '2017-09-01'
|
870
870
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
871
871
|
|
872
872
|
|
@@ -954,7 +954,7 @@ module Azure::ARM::Network
|
|
954
954
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
955
955
|
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
|
956
956
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
957
|
-
api_version = '2017-
|
957
|
+
api_version = '2017-09-01'
|
958
958
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
959
959
|
|
960
960
|
|
@@ -1063,7 +1063,7 @@ module Azure::ARM::Network
|
|
1063
1063
|
def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil)
|
1064
1064
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1065
1065
|
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
|
1066
|
-
api_version = '2017-
|
1066
|
+
api_version = '2017-09-01'
|
1067
1067
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1068
1068
|
|
1069
1069
|
|
@@ -1143,7 +1143,7 @@ module Azure::ARM::Network
|
|
1143
1143
|
def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil)
|
1144
1144
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1145
1145
|
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
|
1146
|
-
api_version = '2017-
|
1146
|
+
api_version = '2017-09-01'
|
1147
1147
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1148
1148
|
|
1149
1149
|
|
@@ -1233,7 +1233,7 @@ module Azure::ARM::Network
|
|
1233
1233
|
def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil)
|
1234
1234
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1235
1235
|
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
|
1236
|
-
api_version = '2017-
|
1236
|
+
api_version = '2017-09-01'
|
1237
1237
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1238
1238
|
|
1239
1239
|
|
@@ -0,0 +1,795 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Network
|
7
|
+
#
|
8
|
+
# Network Client
|
9
|
+
#
|
10
|
+
class ApplicationSecurityGroups
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ApplicationSecurityGroups class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [NetworkManagementClient] reference to the NetworkManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Deletes the specified application security group.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param application_security_group_name [String] The name of the application
|
29
|
+
# security group.
|
30
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
|
+
# will be added to the HTTP request.
|
32
|
+
#
|
33
|
+
def delete(resource_group_name, application_security_group_name, custom_headers = nil)
|
34
|
+
response = delete_async(resource_group_name, application_security_group_name, custom_headers).value!
|
35
|
+
nil
|
36
|
+
end
|
37
|
+
|
38
|
+
#
|
39
|
+
# @param resource_group_name [String] The name of the resource group.
|
40
|
+
# @param application_security_group_name [String] The name of the application
|
41
|
+
# security group.
|
42
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
43
|
+
# will be added to the HTTP request.
|
44
|
+
#
|
45
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
46
|
+
# response.
|
47
|
+
#
|
48
|
+
def delete_async(resource_group_name, application_security_group_name, custom_headers = nil)
|
49
|
+
# Send request
|
50
|
+
promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers)
|
51
|
+
|
52
|
+
promise = promise.then do |response|
|
53
|
+
# Defining deserialization method.
|
54
|
+
deserialize_method = lambda do |parsed_response|
|
55
|
+
end
|
56
|
+
|
57
|
+
# Waiting for response.
|
58
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
59
|
+
end
|
60
|
+
|
61
|
+
promise
|
62
|
+
end
|
63
|
+
|
64
|
+
#
|
65
|
+
# Gets information about the specified application security group.
|
66
|
+
#
|
67
|
+
# @param resource_group_name [String] The name of the resource group.
|
68
|
+
# @param application_security_group_name [String] The name of the application
|
69
|
+
# security group.
|
70
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
71
|
+
# will be added to the HTTP request.
|
72
|
+
#
|
73
|
+
# @return [ApplicationSecurityGroup] operation results.
|
74
|
+
#
|
75
|
+
def get(resource_group_name, application_security_group_name, custom_headers = nil)
|
76
|
+
response = get_async(resource_group_name, application_security_group_name, custom_headers).value!
|
77
|
+
response.body unless response.nil?
|
78
|
+
end
|
79
|
+
|
80
|
+
#
|
81
|
+
# Gets information about the specified application security group.
|
82
|
+
#
|
83
|
+
# @param resource_group_name [String] The name of the resource group.
|
84
|
+
# @param application_security_group_name [String] The name of the application
|
85
|
+
# security group.
|
86
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
87
|
+
# will be added to the HTTP request.
|
88
|
+
#
|
89
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
90
|
+
#
|
91
|
+
def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil)
|
92
|
+
get_async(resource_group_name, application_security_group_name, custom_headers).value!
|
93
|
+
end
|
94
|
+
|
95
|
+
#
|
96
|
+
# Gets information about the specified application security group.
|
97
|
+
#
|
98
|
+
# @param resource_group_name [String] The name of the resource group.
|
99
|
+
# @param application_security_group_name [String] The name of the application
|
100
|
+
# security group.
|
101
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
102
|
+
# to the HTTP request.
|
103
|
+
#
|
104
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
105
|
+
#
|
106
|
+
def get_async(resource_group_name, application_security_group_name, custom_headers = nil)
|
107
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
108
|
+
fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil?
|
109
|
+
api_version = '2017-09-01'
|
110
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
111
|
+
|
112
|
+
|
113
|
+
request_headers = {}
|
114
|
+
|
115
|
+
# Set Headers
|
116
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
117
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
118
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'
|
119
|
+
|
120
|
+
request_url = @base_url || @client.base_url
|
121
|
+
|
122
|
+
options = {
|
123
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
124
|
+
path_params: {'resourceGroupName' => resource_group_name,'applicationSecurityGroupName' => application_security_group_name,'subscriptionId' => @client.subscription_id},
|
125
|
+
query_params: {'api-version' => api_version},
|
126
|
+
headers: request_headers.merge(custom_headers || {}),
|
127
|
+
base_url: request_url
|
128
|
+
}
|
129
|
+
promise = @client.make_request_async(:get, path_template, options)
|
130
|
+
|
131
|
+
promise = promise.then do |result|
|
132
|
+
http_response = result.response
|
133
|
+
status_code = http_response.status
|
134
|
+
response_content = http_response.body
|
135
|
+
unless status_code == 200
|
136
|
+
error_model = JSON.load(response_content)
|
137
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
138
|
+
end
|
139
|
+
|
140
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
141
|
+
# Deserialize Response
|
142
|
+
if status_code == 200
|
143
|
+
begin
|
144
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
145
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroup.mapper()
|
146
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
147
|
+
rescue Exception => e
|
148
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
result
|
153
|
+
end
|
154
|
+
|
155
|
+
promise.execute
|
156
|
+
end
|
157
|
+
|
158
|
+
#
|
159
|
+
# Creates or updates an application security group.
|
160
|
+
#
|
161
|
+
# @param resource_group_name [String] The name of the resource group.
|
162
|
+
# @param application_security_group_name [String] The name of the application
|
163
|
+
# security group.
|
164
|
+
# @param parameters [ApplicationSecurityGroup] Parameters supplied to the
|
165
|
+
# create or update ApplicationSecurityGroup operation.
|
166
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
167
|
+
# will be added to the HTTP request.
|
168
|
+
#
|
169
|
+
# @return [ApplicationSecurityGroup] operation results.
|
170
|
+
#
|
171
|
+
def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil)
|
172
|
+
response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value!
|
173
|
+
response.body unless response.nil?
|
174
|
+
end
|
175
|
+
|
176
|
+
#
|
177
|
+
# @param resource_group_name [String] The name of the resource group.
|
178
|
+
# @param application_security_group_name [String] The name of the application
|
179
|
+
# security group.
|
180
|
+
# @param parameters [ApplicationSecurityGroup] Parameters supplied to the
|
181
|
+
# create or update ApplicationSecurityGroup operation.
|
182
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
183
|
+
# will be added to the HTTP request.
|
184
|
+
#
|
185
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
186
|
+
# response.
|
187
|
+
#
|
188
|
+
def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil)
|
189
|
+
# Send request
|
190
|
+
promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers)
|
191
|
+
|
192
|
+
promise = promise.then do |response|
|
193
|
+
# Defining deserialization method.
|
194
|
+
deserialize_method = lambda do |parsed_response|
|
195
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroup.mapper()
|
196
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
197
|
+
end
|
198
|
+
|
199
|
+
# Waiting for response.
|
200
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
201
|
+
end
|
202
|
+
|
203
|
+
promise
|
204
|
+
end
|
205
|
+
|
206
|
+
#
|
207
|
+
# Gets all application security groups in a subscription.
|
208
|
+
#
|
209
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
210
|
+
# will be added to the HTTP request.
|
211
|
+
#
|
212
|
+
# @return [Array<ApplicationSecurityGroup>] operation results.
|
213
|
+
#
|
214
|
+
def list_all(custom_headers = nil)
|
215
|
+
first_page = list_all_as_lazy(custom_headers)
|
216
|
+
first_page.get_all_items
|
217
|
+
end
|
218
|
+
|
219
|
+
#
|
220
|
+
# Gets all application security groups in a subscription.
|
221
|
+
#
|
222
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
223
|
+
# will be added to the HTTP request.
|
224
|
+
#
|
225
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
226
|
+
#
|
227
|
+
def list_all_with_http_info(custom_headers = nil)
|
228
|
+
list_all_async(custom_headers).value!
|
229
|
+
end
|
230
|
+
|
231
|
+
#
|
232
|
+
# Gets all application security groups in a subscription.
|
233
|
+
#
|
234
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
235
|
+
# to the HTTP request.
|
236
|
+
#
|
237
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
238
|
+
#
|
239
|
+
def list_all_async(custom_headers = nil)
|
240
|
+
api_version = '2017-09-01'
|
241
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
242
|
+
|
243
|
+
|
244
|
+
request_headers = {}
|
245
|
+
|
246
|
+
# Set Headers
|
247
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
248
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
249
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups'
|
250
|
+
|
251
|
+
request_url = @base_url || @client.base_url
|
252
|
+
|
253
|
+
options = {
|
254
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
255
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
256
|
+
query_params: {'api-version' => api_version},
|
257
|
+
headers: request_headers.merge(custom_headers || {}),
|
258
|
+
base_url: request_url
|
259
|
+
}
|
260
|
+
promise = @client.make_request_async(:get, path_template, options)
|
261
|
+
|
262
|
+
promise = promise.then do |result|
|
263
|
+
http_response = result.response
|
264
|
+
status_code = http_response.status
|
265
|
+
response_content = http_response.body
|
266
|
+
unless status_code == 200
|
267
|
+
error_model = JSON.load(response_content)
|
268
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
269
|
+
end
|
270
|
+
|
271
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
272
|
+
# Deserialize Response
|
273
|
+
if status_code == 200
|
274
|
+
begin
|
275
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
276
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroupListResult.mapper()
|
277
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
278
|
+
rescue Exception => e
|
279
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
283
|
+
result
|
284
|
+
end
|
285
|
+
|
286
|
+
promise.execute
|
287
|
+
end
|
288
|
+
|
289
|
+
#
|
290
|
+
# Gets all the application security groups in a resource group.
|
291
|
+
#
|
292
|
+
# @param resource_group_name [String] The name of the resource group.
|
293
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
294
|
+
# will be added to the HTTP request.
|
295
|
+
#
|
296
|
+
# @return [Array<ApplicationSecurityGroup>] operation results.
|
297
|
+
#
|
298
|
+
def list(resource_group_name, custom_headers = nil)
|
299
|
+
first_page = list_as_lazy(resource_group_name, custom_headers)
|
300
|
+
first_page.get_all_items
|
301
|
+
end
|
302
|
+
|
303
|
+
#
|
304
|
+
# Gets all the application security groups in a resource group.
|
305
|
+
#
|
306
|
+
# @param resource_group_name [String] The name of the resource group.
|
307
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
308
|
+
# will be added to the HTTP request.
|
309
|
+
#
|
310
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
311
|
+
#
|
312
|
+
def list_with_http_info(resource_group_name, custom_headers = nil)
|
313
|
+
list_async(resource_group_name, custom_headers).value!
|
314
|
+
end
|
315
|
+
|
316
|
+
#
|
317
|
+
# Gets all the application security groups in a resource group.
|
318
|
+
#
|
319
|
+
# @param resource_group_name [String] The name of the resource group.
|
320
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
321
|
+
# to the HTTP request.
|
322
|
+
#
|
323
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
324
|
+
#
|
325
|
+
def list_async(resource_group_name, custom_headers = nil)
|
326
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
327
|
+
api_version = '2017-09-01'
|
328
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
329
|
+
|
330
|
+
|
331
|
+
request_headers = {}
|
332
|
+
|
333
|
+
# Set Headers
|
334
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
335
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
336
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups'
|
337
|
+
|
338
|
+
request_url = @base_url || @client.base_url
|
339
|
+
|
340
|
+
options = {
|
341
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
342
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
343
|
+
query_params: {'api-version' => api_version},
|
344
|
+
headers: request_headers.merge(custom_headers || {}),
|
345
|
+
base_url: request_url
|
346
|
+
}
|
347
|
+
promise = @client.make_request_async(:get, path_template, options)
|
348
|
+
|
349
|
+
promise = promise.then do |result|
|
350
|
+
http_response = result.response
|
351
|
+
status_code = http_response.status
|
352
|
+
response_content = http_response.body
|
353
|
+
unless status_code == 200
|
354
|
+
error_model = JSON.load(response_content)
|
355
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
356
|
+
end
|
357
|
+
|
358
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
359
|
+
# Deserialize Response
|
360
|
+
if status_code == 200
|
361
|
+
begin
|
362
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
363
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroupListResult.mapper()
|
364
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
365
|
+
rescue Exception => e
|
366
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
result
|
371
|
+
end
|
372
|
+
|
373
|
+
promise.execute
|
374
|
+
end
|
375
|
+
|
376
|
+
#
|
377
|
+
# Deletes the specified application security group.
|
378
|
+
#
|
379
|
+
# @param resource_group_name [String] The name of the resource group.
|
380
|
+
# @param application_security_group_name [String] The name of the application
|
381
|
+
# security group.
|
382
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
383
|
+
# will be added to the HTTP request.
|
384
|
+
#
|
385
|
+
#
|
386
|
+
def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil)
|
387
|
+
response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value!
|
388
|
+
nil
|
389
|
+
end
|
390
|
+
|
391
|
+
#
|
392
|
+
# Deletes the specified application security group.
|
393
|
+
#
|
394
|
+
# @param resource_group_name [String] The name of the resource group.
|
395
|
+
# @param application_security_group_name [String] The name of the application
|
396
|
+
# security group.
|
397
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
398
|
+
# will be added to the HTTP request.
|
399
|
+
#
|
400
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
401
|
+
#
|
402
|
+
def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil)
|
403
|
+
begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value!
|
404
|
+
end
|
405
|
+
|
406
|
+
#
|
407
|
+
# Deletes the specified application security group.
|
408
|
+
#
|
409
|
+
# @param resource_group_name [String] The name of the resource group.
|
410
|
+
# @param application_security_group_name [String] The name of the application
|
411
|
+
# security group.
|
412
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
413
|
+
# to the HTTP request.
|
414
|
+
#
|
415
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
416
|
+
#
|
417
|
+
def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil)
|
418
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
419
|
+
fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil?
|
420
|
+
api_version = '2017-09-01'
|
421
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
422
|
+
|
423
|
+
|
424
|
+
request_headers = {}
|
425
|
+
|
426
|
+
# Set Headers
|
427
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
428
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
429
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'
|
430
|
+
|
431
|
+
request_url = @base_url || @client.base_url
|
432
|
+
|
433
|
+
options = {
|
434
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
435
|
+
path_params: {'resourceGroupName' => resource_group_name,'applicationSecurityGroupName' => application_security_group_name,'subscriptionId' => @client.subscription_id},
|
436
|
+
query_params: {'api-version' => api_version},
|
437
|
+
headers: request_headers.merge(custom_headers || {}),
|
438
|
+
base_url: request_url
|
439
|
+
}
|
440
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
441
|
+
|
442
|
+
promise = promise.then do |result|
|
443
|
+
http_response = result.response
|
444
|
+
status_code = http_response.status
|
445
|
+
response_content = http_response.body
|
446
|
+
unless status_code == 204 || status_code == 202 || status_code == 200
|
447
|
+
error_model = JSON.load(response_content)
|
448
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
449
|
+
end
|
450
|
+
|
451
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
452
|
+
|
453
|
+
result
|
454
|
+
end
|
455
|
+
|
456
|
+
promise.execute
|
457
|
+
end
|
458
|
+
|
459
|
+
#
|
460
|
+
# Creates or updates an application security group.
|
461
|
+
#
|
462
|
+
# @param resource_group_name [String] The name of the resource group.
|
463
|
+
# @param application_security_group_name [String] The name of the application
|
464
|
+
# security group.
|
465
|
+
# @param parameters [ApplicationSecurityGroup] Parameters supplied to the
|
466
|
+
# create or update ApplicationSecurityGroup operation.
|
467
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
468
|
+
# will be added to the HTTP request.
|
469
|
+
#
|
470
|
+
# @return [ApplicationSecurityGroup] operation results.
|
471
|
+
#
|
472
|
+
def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil)
|
473
|
+
response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value!
|
474
|
+
response.body unless response.nil?
|
475
|
+
end
|
476
|
+
|
477
|
+
#
|
478
|
+
# Creates or updates an application security group.
|
479
|
+
#
|
480
|
+
# @param resource_group_name [String] The name of the resource group.
|
481
|
+
# @param application_security_group_name [String] The name of the application
|
482
|
+
# security group.
|
483
|
+
# @param parameters [ApplicationSecurityGroup] Parameters supplied to the
|
484
|
+
# create or update ApplicationSecurityGroup operation.
|
485
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
486
|
+
# will be added to the HTTP request.
|
487
|
+
#
|
488
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
489
|
+
#
|
490
|
+
def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil)
|
491
|
+
begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value!
|
492
|
+
end
|
493
|
+
|
494
|
+
#
|
495
|
+
# Creates or updates an application security group.
|
496
|
+
#
|
497
|
+
# @param resource_group_name [String] The name of the resource group.
|
498
|
+
# @param application_security_group_name [String] The name of the application
|
499
|
+
# security group.
|
500
|
+
# @param parameters [ApplicationSecurityGroup] Parameters supplied to the
|
501
|
+
# create or update ApplicationSecurityGroup operation.
|
502
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
503
|
+
# to the HTTP request.
|
504
|
+
#
|
505
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
506
|
+
#
|
507
|
+
def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil)
|
508
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
509
|
+
fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil?
|
510
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
511
|
+
api_version = '2017-09-01'
|
512
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
513
|
+
|
514
|
+
|
515
|
+
request_headers = {}
|
516
|
+
|
517
|
+
# Set Headers
|
518
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
519
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
520
|
+
|
521
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
522
|
+
|
523
|
+
# Serialize Request
|
524
|
+
request_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroup.mapper()
|
525
|
+
request_content = @client.serialize(request_mapper, parameters)
|
526
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
527
|
+
|
528
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'
|
529
|
+
|
530
|
+
request_url = @base_url || @client.base_url
|
531
|
+
|
532
|
+
options = {
|
533
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
534
|
+
path_params: {'resourceGroupName' => resource_group_name,'applicationSecurityGroupName' => application_security_group_name,'subscriptionId' => @client.subscription_id},
|
535
|
+
query_params: {'api-version' => api_version},
|
536
|
+
body: request_content,
|
537
|
+
headers: request_headers.merge(custom_headers || {}),
|
538
|
+
base_url: request_url
|
539
|
+
}
|
540
|
+
promise = @client.make_request_async(:put, path_template, options)
|
541
|
+
|
542
|
+
promise = promise.then do |result|
|
543
|
+
http_response = result.response
|
544
|
+
status_code = http_response.status
|
545
|
+
response_content = http_response.body
|
546
|
+
unless status_code == 201 || status_code == 200
|
547
|
+
error_model = JSON.load(response_content)
|
548
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
549
|
+
end
|
550
|
+
|
551
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
552
|
+
# Deserialize Response
|
553
|
+
if status_code == 201
|
554
|
+
begin
|
555
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
556
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroup.mapper()
|
557
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
558
|
+
rescue Exception => e
|
559
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
560
|
+
end
|
561
|
+
end
|
562
|
+
# Deserialize Response
|
563
|
+
if status_code == 200
|
564
|
+
begin
|
565
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
566
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroup.mapper()
|
567
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
568
|
+
rescue Exception => e
|
569
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
573
|
+
result
|
574
|
+
end
|
575
|
+
|
576
|
+
promise.execute
|
577
|
+
end
|
578
|
+
|
579
|
+
#
|
580
|
+
# Gets all application security groups in a subscription.
|
581
|
+
#
|
582
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
583
|
+
# to List operation.
|
584
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
585
|
+
# will be added to the HTTP request.
|
586
|
+
#
|
587
|
+
# @return [ApplicationSecurityGroupListResult] operation results.
|
588
|
+
#
|
589
|
+
def list_all_next(next_page_link, custom_headers = nil)
|
590
|
+
response = list_all_next_async(next_page_link, custom_headers).value!
|
591
|
+
response.body unless response.nil?
|
592
|
+
end
|
593
|
+
|
594
|
+
#
|
595
|
+
# Gets all application security groups in a subscription.
|
596
|
+
#
|
597
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
598
|
+
# to List operation.
|
599
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
600
|
+
# will be added to the HTTP request.
|
601
|
+
#
|
602
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
603
|
+
#
|
604
|
+
def list_all_next_with_http_info(next_page_link, custom_headers = nil)
|
605
|
+
list_all_next_async(next_page_link, custom_headers).value!
|
606
|
+
end
|
607
|
+
|
608
|
+
#
|
609
|
+
# Gets all application security groups in a subscription.
|
610
|
+
#
|
611
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
612
|
+
# to List operation.
|
613
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
614
|
+
# to the HTTP request.
|
615
|
+
#
|
616
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
617
|
+
#
|
618
|
+
def list_all_next_async(next_page_link, custom_headers = nil)
|
619
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
620
|
+
|
621
|
+
|
622
|
+
request_headers = {}
|
623
|
+
|
624
|
+
# Set Headers
|
625
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
626
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
627
|
+
path_template = '{nextLink}'
|
628
|
+
|
629
|
+
request_url = @base_url || @client.base_url
|
630
|
+
|
631
|
+
options = {
|
632
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
633
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
634
|
+
headers: request_headers.merge(custom_headers || {}),
|
635
|
+
base_url: request_url
|
636
|
+
}
|
637
|
+
promise = @client.make_request_async(:get, path_template, options)
|
638
|
+
|
639
|
+
promise = promise.then do |result|
|
640
|
+
http_response = result.response
|
641
|
+
status_code = http_response.status
|
642
|
+
response_content = http_response.body
|
643
|
+
unless status_code == 200
|
644
|
+
error_model = JSON.load(response_content)
|
645
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
646
|
+
end
|
647
|
+
|
648
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
649
|
+
# Deserialize Response
|
650
|
+
if status_code == 200
|
651
|
+
begin
|
652
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
653
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroupListResult.mapper()
|
654
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
655
|
+
rescue Exception => e
|
656
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
result
|
661
|
+
end
|
662
|
+
|
663
|
+
promise.execute
|
664
|
+
end
|
665
|
+
|
666
|
+
#
|
667
|
+
# Gets all the application security groups in a resource group.
|
668
|
+
#
|
669
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
670
|
+
# to List operation.
|
671
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
672
|
+
# will be added to the HTTP request.
|
673
|
+
#
|
674
|
+
# @return [ApplicationSecurityGroupListResult] operation results.
|
675
|
+
#
|
676
|
+
def list_next(next_page_link, custom_headers = nil)
|
677
|
+
response = list_next_async(next_page_link, custom_headers).value!
|
678
|
+
response.body unless response.nil?
|
679
|
+
end
|
680
|
+
|
681
|
+
#
|
682
|
+
# Gets all the application security groups in a resource group.
|
683
|
+
#
|
684
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
685
|
+
# to List operation.
|
686
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
687
|
+
# will be added to the HTTP request.
|
688
|
+
#
|
689
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
690
|
+
#
|
691
|
+
def list_next_with_http_info(next_page_link, custom_headers = nil)
|
692
|
+
list_next_async(next_page_link, custom_headers).value!
|
693
|
+
end
|
694
|
+
|
695
|
+
#
|
696
|
+
# Gets all the application security groups in a resource group.
|
697
|
+
#
|
698
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
699
|
+
# to List operation.
|
700
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
701
|
+
# to the HTTP request.
|
702
|
+
#
|
703
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
704
|
+
#
|
705
|
+
def list_next_async(next_page_link, custom_headers = nil)
|
706
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
707
|
+
|
708
|
+
|
709
|
+
request_headers = {}
|
710
|
+
|
711
|
+
# Set Headers
|
712
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
713
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
714
|
+
path_template = '{nextLink}'
|
715
|
+
|
716
|
+
request_url = @base_url || @client.base_url
|
717
|
+
|
718
|
+
options = {
|
719
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
720
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
721
|
+
headers: request_headers.merge(custom_headers || {}),
|
722
|
+
base_url: request_url
|
723
|
+
}
|
724
|
+
promise = @client.make_request_async(:get, path_template, options)
|
725
|
+
|
726
|
+
promise = promise.then do |result|
|
727
|
+
http_response = result.response
|
728
|
+
status_code = http_response.status
|
729
|
+
response_content = http_response.body
|
730
|
+
unless status_code == 200
|
731
|
+
error_model = JSON.load(response_content)
|
732
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
733
|
+
end
|
734
|
+
|
735
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
736
|
+
# Deserialize Response
|
737
|
+
if status_code == 200
|
738
|
+
begin
|
739
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
740
|
+
result_mapper = Azure::ARM::Network::Models::ApplicationSecurityGroupListResult.mapper()
|
741
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
742
|
+
rescue Exception => e
|
743
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
744
|
+
end
|
745
|
+
end
|
746
|
+
|
747
|
+
result
|
748
|
+
end
|
749
|
+
|
750
|
+
promise.execute
|
751
|
+
end
|
752
|
+
|
753
|
+
#
|
754
|
+
# Gets all application security groups in a subscription.
|
755
|
+
#
|
756
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
757
|
+
# will be added to the HTTP request.
|
758
|
+
#
|
759
|
+
# @return [ApplicationSecurityGroupListResult] which provide lazy access to
|
760
|
+
# pages of the response.
|
761
|
+
#
|
762
|
+
def list_all_as_lazy(custom_headers = nil)
|
763
|
+
response = list_all_async(custom_headers).value!
|
764
|
+
unless response.nil?
|
765
|
+
page = response.body
|
766
|
+
page.next_method = Proc.new do |next_page_link|
|
767
|
+
list_all_next_async(next_page_link, custom_headers)
|
768
|
+
end
|
769
|
+
page
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
#
|
774
|
+
# Gets all the application security groups in a resource group.
|
775
|
+
#
|
776
|
+
# @param resource_group_name [String] The name of the resource group.
|
777
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
778
|
+
# will be added to the HTTP request.
|
779
|
+
#
|
780
|
+
# @return [ApplicationSecurityGroupListResult] which provide lazy access to
|
781
|
+
# pages of the response.
|
782
|
+
#
|
783
|
+
def list_as_lazy(resource_group_name, custom_headers = nil)
|
784
|
+
response = list_async(resource_group_name, custom_headers).value!
|
785
|
+
unless response.nil?
|
786
|
+
page = response.body
|
787
|
+
page.next_method = Proc.new do |next_page_link|
|
788
|
+
list_next_async(next_page_link, custom_headers)
|
789
|
+
end
|
790
|
+
page
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
end
|
795
|
+
end
|