azure_mgmt_network 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_network.rb +129 -78
- data/lib/generated/azure_mgmt_network/application_gateways.rb +9 -9
- data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +1 -1
- data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -1
- data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -1
- data/lib/generated/azure_mgmt_network/express_route_circuits.rb +1 -1
- data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +1 -1
- 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_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 +13 -1
- data/lib/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +61 -0
- 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_mode.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_protocol.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_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 +3 -2
- data/lib/generated/azure_mgmt_network/models/association_type.rb +16 -0
- 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/azure_async_operation_result.rb +64 -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 +19 -0
- data/lib/generated/azure_mgmt_network/models/bgp_peer_status.rb +124 -0
- data/lib/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +52 -0
- 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/dhcp_options.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/direction.rb +16 -0
- 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/error.rb +93 -0
- data/lib/generated/azure_mgmt_network/models/error_details.rb +65 -0
- 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 +12 -12
- 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 +76 -0
- data/lib/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +45 -0
- data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/gateway_route.rb +112 -0
- data/lib/generated/azure_mgmt_network/models/gateway_route_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.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/ipversion.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/load_balancer.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_balancing_rule.rb +1 -1
- 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 +63 -0
- 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 +1 -1
- data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
- 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 +101 -0
- data/lib/generated/azure_mgmt_network/models/network_watcher_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_network/models/next_hop_parameters.rb +77 -0
- data/lib/generated/azure_mgmt_network/models/next_hop_result.rb +69 -0
- data/lib/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
- data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/packet_capture.rb +110 -0
- data/lib/generated/azure_mgmt_network/models/packet_capture_filter.rb +101 -0
- data/lib/generated/azure_mgmt_network/models/packet_capture_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_network/models/packet_capture_parameters.rb +110 -0
- data/lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +103 -0
- data/lib/generated/azure_mgmt_network/models/packet_capture_result.rb +156 -0
- data/lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +70 -0
- 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 +19 -0
- data/lib/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
- data/lib/generated/azure_mgmt_network/models/pc_status.rb +19 -0
- 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 +16 -0
- data/lib/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
- data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +1 -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/query_troubleshooting_parameters.rb +45 -0
- data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/retention_policy_parameters.rb +58 -0
- 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 +55 -0
- data/lib/generated/azure_mgmt_network/models/security_group_view_parameters.rb +44 -0
- data/lib/generated/azure_mgmt_network/models/security_group_view_result.rb +53 -0
- data/lib/generated/azure_mgmt_network/models/security_rule.rb +1 -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 +94 -0
- 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_provider_provisioning_state.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/subnet.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/subnet_association.rb +63 -0
- data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/topology.rb +86 -0
- data/lib/generated/azure_mgmt_network/models/topology_association.rb +67 -0
- data/lib/generated/azure_mgmt_network/models/topology_parameters.rb +45 -0
- data/lib/generated/azure_mgmt_network/models/topology_resource.rb +83 -0
- data/lib/generated/azure_mgmt_network/models/transport_protocol.rb +1 -1
- data/lib/generated/azure_mgmt_network/models/troubleshooting_details.rb +93 -0
- data/lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +66 -0
- data/lib/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +76 -0
- data/lib/generated/azure_mgmt_network/models/troubleshooting_result.rb +83 -0
- 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 +124 -0
- data/lib/generated/azure_mgmt_network/models/verification_ipflow_result.rb +56 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network.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_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_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_peering.rb +1 -1
- 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/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_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_type.rb +1 -1
- data/lib/generated/azure_mgmt_network/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_network/network_interfaces.rb +8 -8
- data/lib/generated/azure_mgmt_network/network_management_client.rb +59 -51
- data/lib/generated/azure_mgmt_network/network_security_groups.rb +6 -6
- data/lib/generated/azure_mgmt_network/network_watchers.rb +1804 -0
- data/lib/generated/azure_mgmt_network/packet_captures.rb +781 -0
- data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +6 -6
- data/lib/generated/azure_mgmt_network/route_filter_rules.rb +1 -1
- data/lib/generated/azure_mgmt_network/route_filters.rb +1 -1
- 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 +440 -7
- data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +5 -5
- data/lib/generated/azure_mgmt_network/virtual_networks.rb +7 -7
- metadata +53 -2
@@ -0,0 +1,69 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Network
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The information about next hop from the specified VM.
|
10
|
+
#
|
11
|
+
class NextHopResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [NextHopType] Next hop type. Possible values include:
|
16
|
+
# 'Internet', 'VirtualAppliance', 'VirtualNetworkGateway', 'VnetLocal',
|
17
|
+
# 'HyperNetGateway', 'None'
|
18
|
+
attr_accessor :next_hop_type
|
19
|
+
|
20
|
+
# @return [String] Next hop IP Address
|
21
|
+
attr_accessor :next_hop_ip_address
|
22
|
+
|
23
|
+
# @return [String] The resource identifier for the route table associated
|
24
|
+
# with the route being returned. If the route being returned does not
|
25
|
+
# correspond to any user created routes then this field will be the
|
26
|
+
# string 'System Route'.
|
27
|
+
attr_accessor :route_table_id
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for NextHopResult class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'NextHopResult',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'NextHopResult',
|
41
|
+
model_properties: {
|
42
|
+
next_hop_type: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'nextHopType',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
next_hop_ip_address: {
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'nextHopIpAddress',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
route_table_id: {
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'routeTableId',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Network
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for NextHopType
|
10
|
+
#
|
11
|
+
module NextHopType
|
12
|
+
Internet = "Internet"
|
13
|
+
VirtualAppliance = "VirtualAppliance"
|
14
|
+
VirtualNetworkGateway = "VirtualNetworkGateway"
|
15
|
+
VnetLocal = "VnetLocal"
|
16
|
+
HyperNetGateway = "HyperNetGateway"
|
17
|
+
None = "None"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Network
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters that define the create packet capture operation.
|
10
|
+
#
|
11
|
+
class PacketCapture
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the targeted resource, only VM is currently
|
16
|
+
# supported.
|
17
|
+
attr_accessor :target
|
18
|
+
|
19
|
+
# @return [Integer] Number of bytes captured per packet, the remaining
|
20
|
+
# bytes are truncated. Default value: 0 .
|
21
|
+
attr_accessor :bytes_to_capture_per_packet
|
22
|
+
|
23
|
+
# @return [Integer] Maximum size of the capture output. Default value:
|
24
|
+
# 1073741824 .
|
25
|
+
attr_accessor :total_bytes_per_session
|
26
|
+
|
27
|
+
# @return [Integer] Maximum duration of the capture session in seconds.
|
28
|
+
# Default value: 18000 .
|
29
|
+
attr_accessor :time_limit_in_seconds
|
30
|
+
|
31
|
+
# @return [PacketCaptureStorageLocation]
|
32
|
+
attr_accessor :storage_location
|
33
|
+
|
34
|
+
# @return [Array<PacketCaptureFilter>]
|
35
|
+
attr_accessor :filters
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for PacketCapture class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'PacketCapture',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'PacketCapture',
|
49
|
+
model_properties: {
|
50
|
+
target: {
|
51
|
+
required: true,
|
52
|
+
serialized_name: 'properties.target',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
bytes_to_capture_per_packet: {
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'properties.bytesToCapturePerPacket',
|
60
|
+
default_value: 0,
|
61
|
+
type: {
|
62
|
+
name: 'Number'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
total_bytes_per_session: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'properties.totalBytesPerSession',
|
68
|
+
default_value: 1073741824,
|
69
|
+
type: {
|
70
|
+
name: 'Number'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
time_limit_in_seconds: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.timeLimitInSeconds',
|
76
|
+
default_value: 18000,
|
77
|
+
type: {
|
78
|
+
name: 'Number'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
storage_location: {
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'properties.storageLocation',
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
class_name: 'PacketCaptureStorageLocation'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
filters: {
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'properties.filters',
|
92
|
+
type: {
|
93
|
+
name: 'Sequence',
|
94
|
+
element: {
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'PacketCaptureFilterElementType',
|
97
|
+
type: {
|
98
|
+
name: 'Composite',
|
99
|
+
class_name: 'PacketCaptureFilter'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Network
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Filter that is applied to packet capture request. Multiple filters can be
|
10
|
+
# applied.
|
11
|
+
#
|
12
|
+
class PacketCaptureFilter
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [PcProtocol] Protocol to be filtered on. Possible values
|
17
|
+
# include: 'TCP', 'UDP', 'Any'. Default value: 'Any' .
|
18
|
+
attr_accessor :protocol
|
19
|
+
|
20
|
+
# @return [String] Local IP Address to be filtered on. Notation:
|
21
|
+
# "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for
|
22
|
+
# range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not
|
23
|
+
# currently supported. Mixing ranges with multiple entries not currently
|
24
|
+
# supported. Default = null.
|
25
|
+
attr_accessor :local_ipaddress
|
26
|
+
|
27
|
+
# @return [String] Local IP Address to be filtered on. Notation:
|
28
|
+
# "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for
|
29
|
+
# range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not
|
30
|
+
# currently supported. Mixing ranges with multiple entries not currently
|
31
|
+
# supported. Default = null.
|
32
|
+
attr_accessor :remote_ipaddress
|
33
|
+
|
34
|
+
# @return [String] Local port to be filtered on. Notation: "80" for
|
35
|
+
# single port entry."80-85" for range. "80;443;" for multiple entries.
|
36
|
+
# Multiple ranges not currently supported. Mixing ranges with multiple
|
37
|
+
# entries not currently supported. Default = null.
|
38
|
+
attr_accessor :local_port
|
39
|
+
|
40
|
+
# @return [String] Remote port to be filtered on. Notation: "80" for
|
41
|
+
# single port entry."80-85" for range. "80;443;" for multiple entries.
|
42
|
+
# Multiple ranges not currently supported. Mixing ranges with multiple
|
43
|
+
# entries not currently supported. Default = null.
|
44
|
+
attr_accessor :remote_port
|
45
|
+
|
46
|
+
|
47
|
+
#
|
48
|
+
# Mapper for PacketCaptureFilter class as Ruby Hash.
|
49
|
+
# This will be used for serialization/deserialization.
|
50
|
+
#
|
51
|
+
def self.mapper()
|
52
|
+
{
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'PacketCaptureFilter',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'PacketCaptureFilter',
|
58
|
+
model_properties: {
|
59
|
+
protocol: {
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'protocol',
|
62
|
+
default_value: 'Any',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
local_ipaddress: {
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'localIPAddress',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
remote_ipaddress: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'remoteIPAddress',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
local_port: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'localPort',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
remote_port: {
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'remotePort',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Network
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of packet capture sessions.
|
10
|
+
#
|
11
|
+
class PacketCaptureListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<PacketCaptureResult>] Information about packet capture
|
16
|
+
# sessions.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for PacketCaptureListResult class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'PacketCaptureListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'PacketCaptureListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'value',
|
35
|
+
type: {
|
36
|
+
name: 'Sequence',
|
37
|
+
element: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'PacketCaptureResultElementType',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'PacketCaptureResult'
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Network
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters that define the create packet capture operation.
|
10
|
+
#
|
11
|
+
class PacketCaptureParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the targeted resource, only VM is currently
|
16
|
+
# supported.
|
17
|
+
attr_accessor :target
|
18
|
+
|
19
|
+
# @return [Integer] Number of bytes captured per packet, the remaining
|
20
|
+
# bytes are truncated. Default value: 0 .
|
21
|
+
attr_accessor :bytes_to_capture_per_packet
|
22
|
+
|
23
|
+
# @return [Integer] Maximum size of the capture output. Default value:
|
24
|
+
# 1073741824 .
|
25
|
+
attr_accessor :total_bytes_per_session
|
26
|
+
|
27
|
+
# @return [Integer] Maximum duration of the capture session in seconds.
|
28
|
+
# Default value: 18000 .
|
29
|
+
attr_accessor :time_limit_in_seconds
|
30
|
+
|
31
|
+
# @return [PacketCaptureStorageLocation]
|
32
|
+
attr_accessor :storage_location
|
33
|
+
|
34
|
+
# @return [Array<PacketCaptureFilter>]
|
35
|
+
attr_accessor :filters
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for PacketCaptureParameters class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'PacketCaptureParameters',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'PacketCaptureParameters',
|
49
|
+
model_properties: {
|
50
|
+
target: {
|
51
|
+
required: true,
|
52
|
+
serialized_name: 'target',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
bytes_to_capture_per_packet: {
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'bytesToCapturePerPacket',
|
60
|
+
default_value: 0,
|
61
|
+
type: {
|
62
|
+
name: 'Number'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
total_bytes_per_session: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'totalBytesPerSession',
|
68
|
+
default_value: 1073741824,
|
69
|
+
type: {
|
70
|
+
name: 'Number'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
time_limit_in_seconds: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'timeLimitInSeconds',
|
76
|
+
default_value: 18000,
|
77
|
+
type: {
|
78
|
+
name: 'Number'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
storage_location: {
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'storageLocation',
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
class_name: 'PacketCaptureStorageLocation'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
filters: {
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'filters',
|
92
|
+
type: {
|
93
|
+
name: 'Sequence',
|
94
|
+
element: {
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'PacketCaptureFilterElementType',
|
97
|
+
type: {
|
98
|
+
name: 'Composite',
|
99
|
+
class_name: 'PacketCaptureFilter'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|