azure_mgmt_peering 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-08-01-preview/generated/azure_mgmt_peering.rb +85 -0
  4. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/legacy_peerings.rb +242 -0
  5. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/bgp_session.rb +170 -0
  6. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/check_service_provider_availability_input.rb +57 -0
  7. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/connection_state.rb +22 -0
  8. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/contact_info.rb +73 -0
  9. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb +131 -0
  10. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_peering_facility.rb +80 -0
  11. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_peering_type.rb +18 -0
  12. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/error_response.rb +59 -0
  13. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_connection.rb +84 -0
  14. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/exchange_peering_facility.rb +128 -0
  15. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/family.rb +16 -0
  16. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/kind.rb +16 -0
  17. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/learned_type.rb +17 -0
  18. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/name.rb +20 -0
  19. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/operation.rb +74 -0
  20. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/operation_display_info.rb +83 -0
  21. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/operation_list_result.rb +99 -0
  22. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peer_asn.rb +109 -0
  23. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peer_asn_list_result.rb +98 -0
  24. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering.rb +168 -0
  25. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_bandwidth_offer.rb +57 -0
  26. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_list_result.rb +98 -0
  27. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb +134 -0
  28. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location_list_result.rb +98 -0
  29. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location_properties_direct.rb +77 -0
  30. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location_properties_exchange.rb +56 -0
  31. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_properties_direct.rb +92 -0
  32. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_properties_exchange.rb +68 -0
  33. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service.rb +127 -0
  34. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_list_result.rb +98 -0
  35. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_location.rb +95 -0
  36. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_location_list_result.rb +100 -0
  37. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_prefix.rb +111 -0
  38. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_prefix_list_result.rb +98 -0
  39. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_provider.rb +73 -0
  40. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_provider_list_result.rb +100 -0
  41. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_sku.rb +85 -0
  42. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/prefix_validation_state.rb +20 -0
  43. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/provisioning_state.rb +18 -0
  44. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/resource.rb +80 -0
  45. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/resource_tags.rb +55 -0
  46. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/session_address_provider.rb +16 -0
  47. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/session_state_v4.rb +25 -0
  48. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/session_state_v6.rb +25 -0
  49. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/size.rb +17 -0
  50. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/sub_resource.rb +46 -0
  51. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/tier.rb +16 -0
  52. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/models/validation_state.rb +18 -0
  53. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/module_definition.rb +9 -0
  54. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/operations.rb +219 -0
  55. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peer_asns.rb +507 -0
  56. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peering_client.rb +283 -0
  57. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peering_locations.rb +245 -0
  58. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peering_service_locations.rb +228 -0
  59. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peering_service_prefixes.rb +332 -0
  60. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peering_service_providers.rb +228 -0
  61. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peering_services.rb +841 -0
  62. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/peerings.rb +831 -0
  63. data/lib/2019-08-01-preview/generated/azure_mgmt_peering/prefixes.rb +231 -0
  64. data/lib/azure_mgmt_peering.rb +6 -0
  65. data/lib/module_definition.rb +7 -0
  66. data/lib/profiles/latest/modules/peering_profile_module.rb +271 -0
  67. data/lib/profiles/latest/peering_latest_profile_client.rb +40 -0
  68. data/lib/profiles/latest/peering_module_definition.rb +8 -0
  69. data/lib/version.rb +7 -0
  70. metadata +185 -0
@@ -0,0 +1,84 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # The properties that define an exchange connection.
10
+ #
11
+ class ExchangeConnection
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The PeeringDB.com ID of the facility at which the
16
+ # connection has to be set up.
17
+ attr_accessor :peering_dbfacility_id
18
+
19
+ # @return [ConnectionState] The state of the connection. Possible values
20
+ # include: 'None', 'PendingApproval', 'Approved', 'ProvisioningStarted',
21
+ # 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active'
22
+ attr_accessor :connection_state
23
+
24
+ # @return [BgpSession] The BGP session associated with the connection.
25
+ attr_accessor :bgp_session
26
+
27
+ # @return [String] The unique identifier (GUID) for the connection.
28
+ attr_accessor :connection_identifier
29
+
30
+
31
+ #
32
+ # Mapper for ExchangeConnection class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'ExchangeConnection',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'ExchangeConnection',
43
+ model_properties: {
44
+ peering_dbfacility_id: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'peeringDBFacilityId',
48
+ type: {
49
+ name: 'Number'
50
+ }
51
+ },
52
+ connection_state: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'connectionState',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ bgp_session: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'bgpSession',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'BgpSession'
68
+ }
69
+ },
70
+ connection_identifier: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'connectionIdentifier',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,128 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # The properties that define an exchange peering facility.
10
+ #
11
+ class ExchangePeeringFacility
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the exchange peering facility.
16
+ attr_accessor :exchange_name
17
+
18
+ # @return [Integer] The bandwidth of the connection between Microsoft and
19
+ # the exchange peering facility.
20
+ attr_accessor :bandwidth_in_mbps
21
+
22
+ # @return [String] The IPv4 address of Microsoft at the exchange peering
23
+ # facility.
24
+ attr_accessor :microsoft_ipv4address
25
+
26
+ # @return [String] The IPv6 address of Microsoft at the exchange peering
27
+ # facility.
28
+ attr_accessor :microsoft_ipv6address
29
+
30
+ # @return [String] The IPv4 prefixes associated with the exchange peering
31
+ # facility.
32
+ attr_accessor :facility_ipv4prefix
33
+
34
+ # @return [String] The IPv6 prefixes associated with the exchange peering
35
+ # facility.
36
+ attr_accessor :facility_ipv6prefix
37
+
38
+ # @return [Integer] The PeeringDB.com ID of the facility.
39
+ attr_accessor :peering_dbfacility_id
40
+
41
+ # @return [String] The PeeringDB.com URL of the facility.
42
+ attr_accessor :peering_dbfacility_link
43
+
44
+
45
+ #
46
+ # Mapper for ExchangePeeringFacility class as Ruby Hash.
47
+ # This will be used for serialization/deserialization.
48
+ #
49
+ def self.mapper()
50
+ {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'ExchangePeeringFacility',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'ExchangePeeringFacility',
57
+ model_properties: {
58
+ exchange_name: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'exchangeName',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ bandwidth_in_mbps: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'bandwidthInMbps',
70
+ type: {
71
+ name: 'Number'
72
+ }
73
+ },
74
+ microsoft_ipv4address: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'microsoftIPv4Address',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ microsoft_ipv6address: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'microsoftIPv6Address',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ facility_ipv4prefix: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'facilityIPv4Prefix',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ facility_ipv6prefix: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'facilityIPv6Prefix',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ peering_dbfacility_id: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'peeringDBFacilityId',
110
+ type: {
111
+ name: 'Number'
112
+ }
113
+ },
114
+ peering_dbfacility_link: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'peeringDBFacilityLink',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ end
126
+ end
127
+ end
128
+ end
@@ -0,0 +1,16 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for Family
10
+ #
11
+ module Family
12
+ Direct = "Direct"
13
+ Exchange = "Exchange"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for Kind
10
+ #
11
+ module Kind
12
+ Direct = "Direct"
13
+ Exchange = "Exchange"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,17 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for LearnedType
10
+ #
11
+ module LearnedType
12
+ None = "None"
13
+ ViaPartner = "ViaPartner"
14
+ ViaSession = "ViaSession"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,20 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for Name
10
+ #
11
+ module Name
12
+ BasicExchangeFree = "Basic_Exchange_Free"
13
+ BasicDirectFree = "Basic_Direct_Free"
14
+ PremiumDirectFree = "Premium_Direct_Free"
15
+ PremiumExchangeMetered = "Premium_Exchange_Metered"
16
+ PremiumDirectMetered = "Premium_Direct_Metered"
17
+ PremiumDirectUnlimited = "Premium_Direct_Unlimited"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,74 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # The peering API operation.
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the operation.
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplayInfo] The information related to the
19
+ # operation.
20
+ attr_accessor :display
21
+
22
+ # @return [Boolean] The flag that indicates whether the operation applies
23
+ # to data plane.
24
+ attr_accessor :is_data_action
25
+
26
+
27
+ #
28
+ # Mapper for Operation class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'Operation',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'Operation',
39
+ model_properties: {
40
+ name: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ display: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'display',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'OperationDisplayInfo'
57
+ }
58
+ },
59
+ is_data_action: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'isDataAction',
64
+ type: {
65
+ name: 'Boolean'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,83 @@
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::Peering::Mgmt::V2019_08_01_preview
7
+ module Models
8
+ #
9
+ # The information related to the operation.
10
+ #
11
+ class OperationDisplayInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the resource provider.
16
+ attr_accessor :provider
17
+
18
+ # @return [String] The type of the resource.
19
+ attr_accessor :resource
20
+
21
+ # @return [String] The name of the operation.
22
+ attr_accessor :operation
23
+
24
+ # @return [String] The description of the operation.
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for OperationDisplayInfo class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'OperationDisplayInfo',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'OperationDisplayInfo',
40
+ model_properties: {
41
+ provider: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'provider',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ resource: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'resource',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ operation: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'operation',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ description: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'description',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end