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,103 @@
|
|
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
|
+
# Status of packet capture session.
|
10
|
+
#
|
11
|
+
class PacketCaptureQueryStatusResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the packet capture resource.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The ID of the packet capture resource.
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [DateTime] The start time of the packet capture session.
|
22
|
+
attr_accessor :capture_start_time
|
23
|
+
|
24
|
+
# @return [PcStatus] The status of the packet capture session. Possible
|
25
|
+
# values include: 'NotStarted', 'Running', 'Stopped', 'Error', 'Unknown'
|
26
|
+
attr_accessor :packet_capture_status
|
27
|
+
|
28
|
+
# @return [String] The reason the current packet capture session was
|
29
|
+
# stopped.
|
30
|
+
attr_accessor :stop_reason
|
31
|
+
|
32
|
+
# @return [Array<PcError>] List of errors of packet capture session.
|
33
|
+
attr_accessor :packet_capture_error
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for PacketCaptureQueryStatusResult class as Ruby Hash.
|
38
|
+
# This will be used for serialization/deserialization.
|
39
|
+
#
|
40
|
+
def self.mapper()
|
41
|
+
{
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'PacketCaptureQueryStatusResult',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'PacketCaptureQueryStatusResult',
|
47
|
+
model_properties: {
|
48
|
+
name: {
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'name',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
id: {
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
capture_start_time: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'captureStartTime',
|
65
|
+
type: {
|
66
|
+
name: 'DateTime'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
packet_capture_status: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'packetCaptureStatus',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
stop_reason: {
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'stopReason',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
packet_capture_error: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'packetCaptureError',
|
86
|
+
type: {
|
87
|
+
name: 'Sequence',
|
88
|
+
element: {
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'PcErrorElementType',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,156 @@
|
|
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
|
+
# Information about packet capture session.
|
10
|
+
#
|
11
|
+
class PacketCaptureResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the packet capture session.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] ID of the packet capture operation.
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [String] . Default value: 'A unique read-only string that
|
22
|
+
# changes whenever the resource is updated.' .
|
23
|
+
attr_accessor :etag
|
24
|
+
|
25
|
+
# @return [String] The ID of the targeted resource, only VM is currently
|
26
|
+
# supported.
|
27
|
+
attr_accessor :target
|
28
|
+
|
29
|
+
# @return [Integer] Number of bytes captured per packet, the remaining
|
30
|
+
# bytes are truncated. Default value: 0 .
|
31
|
+
attr_accessor :bytes_to_capture_per_packet
|
32
|
+
|
33
|
+
# @return [Integer] Maximum size of the capture output. Default value:
|
34
|
+
# 1073741824 .
|
35
|
+
attr_accessor :total_bytes_per_session
|
36
|
+
|
37
|
+
# @return [Integer] Maximum duration of the capture session in seconds.
|
38
|
+
# Default value: 18000 .
|
39
|
+
attr_accessor :time_limit_in_seconds
|
40
|
+
|
41
|
+
# @return [PacketCaptureStorageLocation]
|
42
|
+
attr_accessor :storage_location
|
43
|
+
|
44
|
+
# @return [Array<PacketCaptureFilter>]
|
45
|
+
attr_accessor :filters
|
46
|
+
|
47
|
+
# @return [ProvisioningState] The provisioning state of the packet
|
48
|
+
# capture session. Possible values include: 'Succeeded', 'Updating',
|
49
|
+
# 'Deleting', 'Failed'
|
50
|
+
attr_accessor :provisioning_state
|
51
|
+
|
52
|
+
|
53
|
+
#
|
54
|
+
# Mapper for PacketCaptureResult class as Ruby Hash.
|
55
|
+
# This will be used for serialization/deserialization.
|
56
|
+
#
|
57
|
+
def self.mapper()
|
58
|
+
{
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'PacketCaptureResult',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'PacketCaptureResult',
|
64
|
+
model_properties: {
|
65
|
+
name: {
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'name',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
id: {
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'id',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
etag: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'etag',
|
84
|
+
default_value: 'A unique read-only string that changes whenever the resource is updated.',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
target: {
|
90
|
+
required: true,
|
91
|
+
serialized_name: 'properties.target',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
bytes_to_capture_per_packet: {
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'properties.bytesToCapturePerPacket',
|
99
|
+
default_value: 0,
|
100
|
+
type: {
|
101
|
+
name: 'Number'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
total_bytes_per_session: {
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'properties.totalBytesPerSession',
|
107
|
+
default_value: 1073741824,
|
108
|
+
type: {
|
109
|
+
name: 'Number'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
time_limit_in_seconds: {
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'properties.timeLimitInSeconds',
|
115
|
+
default_value: 18000,
|
116
|
+
type: {
|
117
|
+
name: 'Number'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
storage_location: {
|
121
|
+
required: true,
|
122
|
+
serialized_name: 'properties.storageLocation',
|
123
|
+
type: {
|
124
|
+
name: 'Composite',
|
125
|
+
class_name: 'PacketCaptureStorageLocation'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
filters: {
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'properties.filters',
|
131
|
+
type: {
|
132
|
+
name: 'Sequence',
|
133
|
+
element: {
|
134
|
+
required: false,
|
135
|
+
serialized_name: 'PacketCaptureFilterElementType',
|
136
|
+
type: {
|
137
|
+
name: 'Composite',
|
138
|
+
class_name: 'PacketCaptureFilter'
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
},
|
143
|
+
provisioning_state: {
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.provisioningState',
|
146
|
+
type: {
|
147
|
+
name: 'String'
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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
|
+
# Describes the storage location for a packet capture session.
|
10
|
+
#
|
11
|
+
class PacketCaptureStorageLocation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the storage account to save the packet
|
16
|
+
# capture session. Required if no local file path is provided.
|
17
|
+
attr_accessor :storage_id
|
18
|
+
|
19
|
+
# @return [String] The URI of the storage path to save the packet
|
20
|
+
# capture. Must be a well-formed URI describing the location to save the
|
21
|
+
# packet capture.
|
22
|
+
attr_accessor :storage_path
|
23
|
+
|
24
|
+
# @return [String] A valid local path on the targeting VM. Must include
|
25
|
+
# the name of the capture file (*.cap). For linux virtual machine it must
|
26
|
+
# start with /var/captures. Required if no storage ID is provided,
|
27
|
+
# otherwise optional.
|
28
|
+
attr_accessor :file_path
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for PacketCaptureStorageLocation class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'PacketCaptureStorageLocation',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'PacketCaptureStorageLocation',
|
42
|
+
model_properties: {
|
43
|
+
storage_id: {
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'storageId',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
storage_path: {
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'storagePath',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
file_path: {
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'filePath',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,19 @@
|
|
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 PcError
|
10
|
+
#
|
11
|
+
module PcError
|
12
|
+
InternalError = "InternalError"
|
13
|
+
AgentStopped = "AgentStopped"
|
14
|
+
CaptureFailed = "CaptureFailed"
|
15
|
+
LocalFileFailed = "LocalFileFailed"
|
16
|
+
StorageFailed = "StorageFailed"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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 PcProtocol
|
10
|
+
#
|
11
|
+
module PcProtocol
|
12
|
+
TCP = "TCP"
|
13
|
+
UDP = "UDP"
|
14
|
+
Any = "Any"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,19 @@
|
|
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 PcStatus
|
10
|
+
#
|
11
|
+
module PcStatus
|
12
|
+
NotStarted = "NotStarted"
|
13
|
+
Running = "Running"
|
14
|
+
Stopped = "Stopped"
|
15
|
+
Error = "Error"
|
16
|
+
Unknown = "Unknown"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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 Protocol
|
10
|
+
#
|
11
|
+
module Protocol
|
12
|
+
TCP = "TCP"
|
13
|
+
UDP = "UDP"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|