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,57 @@
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
+ # Class for CheckServiceProviderAvailabilityInput
10
+ #
11
+ class CheckServiceProviderAvailabilityInput
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the PeeringServiceLocation
16
+ attr_accessor :peering_service_location
17
+
18
+ # @return [String] Gets or sets the PeeringServiceProvider
19
+ attr_accessor :peering_service_provider
20
+
21
+
22
+ #
23
+ # Mapper for CheckServiceProviderAvailabilityInput class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'CheckServiceProviderAvailabilityInput',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'CheckServiceProviderAvailabilityInput',
34
+ model_properties: {
35
+ peering_service_location: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'peeringServiceLocation',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ peering_service_provider: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'peeringServiceProvider',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,22 @@
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 ConnectionState
10
+ #
11
+ module ConnectionState
12
+ None = "None"
13
+ PendingApproval = "PendingApproval"
14
+ Approved = "Approved"
15
+ ProvisioningStarted = "ProvisioningStarted"
16
+ ProvisioningFailed = "ProvisioningFailed"
17
+ ProvisioningCompleted = "ProvisioningCompleted"
18
+ Validating = "Validating"
19
+ Active = "Active"
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,73 @@
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 contact information of the peer.
10
+ #
11
+ class ContactInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] The list of email addresses.
16
+ attr_accessor :emails
17
+
18
+ # @return [Array<String>] The list of contact numbers.
19
+ attr_accessor :phone
20
+
21
+
22
+ #
23
+ # Mapper for ContactInfo class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ContactInfo',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ContactInfo',
34
+ model_properties: {
35
+ emails: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'emails',
39
+ type: {
40
+ name: 'Sequence',
41
+ element: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'StringElementType',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ }
49
+ }
50
+ },
51
+ phone: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'phone',
55
+ type: {
56
+ name: 'Sequence',
57
+ element: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'StringElementType',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,131 @@
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 a direct connection.
10
+ #
11
+ class DirectConnection
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The bandwidth of the connection.
16
+ attr_accessor :bandwidth_in_mbps
17
+
18
+ # @return [Integer] The bandwidth that is actually provisioned.
19
+ attr_accessor :provisioned_bandwidth_in_mbps
20
+
21
+ # @return [SessionAddressProvider] The field indicating if Microsoft
22
+ # provides session ip addresses. Possible values include: 'Microsoft',
23
+ # 'Peer'
24
+ attr_accessor :session_address_provider
25
+
26
+ # @return [Boolean] The flag that indicates whether or not the connection
27
+ # is used for peering service.
28
+ attr_accessor :use_for_peering_service
29
+
30
+ # @return [Integer] The PeeringDB.com ID of the facility at which the
31
+ # connection has to be set up.
32
+ attr_accessor :peering_dbfacility_id
33
+
34
+ # @return [ConnectionState] The state of the connection. Possible values
35
+ # include: 'None', 'PendingApproval', 'Approved', 'ProvisioningStarted',
36
+ # 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active'
37
+ attr_accessor :connection_state
38
+
39
+ # @return [BgpSession] The BGP session associated with the connection.
40
+ attr_accessor :bgp_session
41
+
42
+ # @return [String] The unique identifier (GUID) for the connection.
43
+ attr_accessor :connection_identifier
44
+
45
+
46
+ #
47
+ # Mapper for DirectConnection class as Ruby Hash.
48
+ # This will be used for serialization/deserialization.
49
+ #
50
+ def self.mapper()
51
+ {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'DirectConnection',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'DirectConnection',
58
+ model_properties: {
59
+ bandwidth_in_mbps: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'bandwidthInMbps',
63
+ type: {
64
+ name: 'Number'
65
+ }
66
+ },
67
+ provisioned_bandwidth_in_mbps: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'provisionedBandwidthInMbps',
71
+ type: {
72
+ name: 'Number'
73
+ }
74
+ },
75
+ session_address_provider: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'sessionAddressProvider',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ use_for_peering_service: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'useForPeeringService',
87
+ type: {
88
+ name: 'Boolean'
89
+ }
90
+ },
91
+ peering_dbfacility_id: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'peeringDBFacilityId',
95
+ type: {
96
+ name: 'Number'
97
+ }
98
+ },
99
+ connection_state: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ read_only: true,
103
+ serialized_name: 'connectionState',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ bgp_session: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'bgpSession',
112
+ type: {
113
+ name: 'Composite',
114
+ class_name: 'BgpSession'
115
+ }
116
+ },
117
+ connection_identifier: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'connectionIdentifier',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ end
129
+ end
130
+ end
131
+ end
@@ -0,0 +1,80 @@
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 a direct peering facility.
10
+ #
11
+ class DirectPeeringFacility
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The address of the direct peering facility.
16
+ attr_accessor :address
17
+
18
+ # @return [DirectPeeringType] The type of the direct peering. Possible
19
+ # values include: 'Edge', 'Transit', 'Cdn', 'Internal'
20
+ attr_accessor :direct_peering_type
21
+
22
+ # @return [Integer] The PeeringDB.com ID of the facility.
23
+ attr_accessor :peering_dbfacility_id
24
+
25
+ # @return [String] The PeeringDB.com URL of the facility.
26
+ attr_accessor :peering_dbfacility_link
27
+
28
+
29
+ #
30
+ # Mapper for DirectPeeringFacility class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'DirectPeeringFacility',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'DirectPeeringFacility',
41
+ model_properties: {
42
+ address: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'address',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ direct_peering_type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'directPeeringType',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ peering_dbfacility_id: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'peeringDBFacilityId',
62
+ type: {
63
+ name: 'Number'
64
+ }
65
+ },
66
+ peering_dbfacility_link: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'peeringDBFacilityLink',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,18 @@
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 DirectPeeringType
10
+ #
11
+ module DirectPeeringType
12
+ Edge = "Edge"
13
+ Transit = "Transit"
14
+ Cdn = "Cdn"
15
+ Internal = "Internal"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,59 @@
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 error response that indicates why an operation has failed.
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] The error message.
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for ErrorResponse class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ErrorResponse',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ErrorResponse',
34
+ model_properties: {
35
+ code: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'code',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ message: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'message',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end