azure_mgmt_event_hub 0.18.1 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2014-09-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  3. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  4. data/lib/2017-04-01/generated/azure_mgmt_event_hub.rb +15 -28
  5. data/lib/2017-04-01/generated/azure_mgmt_event_hub/consumer_groups.rb +5 -5
  6. data/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb +239 -239
  7. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +5 -5
  8. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hubs.rb +278 -272
  9. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  10. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions.rb +1 -1
  11. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_properties.rb +1 -2
  12. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb +4 -4
  13. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +3 -3
  14. data/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb +198 -1678
  15. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub.rb +24 -18
  16. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb +74 -56
  17. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/configuration.rb +7 -7
  18. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/{event_hub2018preview_management_client.rb → event_hub_management_client.rb} +18 -14
  19. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster.rb +6 -6
  20. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/{operation.rb → connection_state.rb} +16 -16
  21. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb +12 -12
  22. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/encryption.rb +11 -3
  23. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/end_point_provisioning_state.rb +20 -0
  24. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  25. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_vault_properties.rb +11 -0
  26. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_set.rb +12 -0
  27. data/lib/{2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb → 2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint.rb} +8 -8
  28. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint_connection.rb +100 -0
  29. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/{operation_list_result.rb → private_endpoint_connection_list_result.rb} +13 -16
  30. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_connection_status.rb +18 -0
  31. data/lib/{2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb → 2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resource.rb} +55 -50
  32. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resources_list_result.rb +67 -0
  33. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/resource.rb +4 -4
  34. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/tracked_resource.rb +3 -3
  35. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb +395 -395
  36. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_endpoint_connections.rb +625 -0
  37. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_link_resources.rb +127 -0
  38. data/lib/azure_mgmt_event_hub.rb +2 -2
  39. data/lib/profiles/latest/modules/eventhub_profile_module.rb +211 -63
  40. data/lib/version.rb +1 -1
  41. metadata +14 -21
  42. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb +0 -16
  43. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb +0 -200
  44. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +0 -99
  45. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_plan.rb +0 -134
  46. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +0 -15
  47. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set_list_result.rb +0 -100
  48. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +0 -59
  49. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +0 -59
  50. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb +0 -75
  51. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku_name.rb +0 -16
  52. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku_tier.rb +0 -16
  53. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/operation_display.rb +0 -72
  54. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/operations.rb +0 -220
@@ -0,0 +1,100 @@
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::EventHub::Mgmt::V2018_01_01_preview
7
+ module Models
8
+ #
9
+ # Properties of the PrivateEndpointConnection.
10
+ #
11
+ class PrivateEndpointConnection < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [PrivateEndpoint] The Private Endpoint resource for this
16
+ # Connection.
17
+ attr_accessor :private_endpoint
18
+
19
+ # @return [ConnectionState] Details about the state of the connection.
20
+ attr_accessor :private_link_service_connection_state
21
+
22
+ # @return [EndPointProvisioningState] Provisioning state of the Private
23
+ # Endpoint Connection. Possible values include: 'Creating', 'Updating',
24
+ # 'Deleting', 'Succeeded', 'Canceled', 'Failed'
25
+ attr_accessor :provisioning_state
26
+
27
+
28
+ #
29
+ # Mapper for PrivateEndpointConnection 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: 'PrivateEndpointConnection',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'PrivateEndpointConnection',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ private_endpoint: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'properties.privateEndpoint',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'PrivateEndpoint'
75
+ }
76
+ },
77
+ private_link_service_connection_state: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'properties.privateLinkServiceConnectionState',
81
+ type: {
82
+ name: 'Composite',
83
+ class_name: 'ConnectionState'
84
+ }
85
+ },
86
+ provisioning_state: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'properties.provisioningState',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -6,20 +6,19 @@
6
6
  module Azure::EventHub::Mgmt::V2018_01_01_preview
7
7
  module Models
8
8
  #
9
- # Result of the request to list Event Hub operations. It contains a list of
10
- # operations and a URL link to get the next set of results.
9
+ # Result of the list of all private endpoint connections operation.
11
10
  #
12
- class OperationListResult
11
+ class PrivateEndpointConnectionListResult
13
12
 
14
13
  include MsRestAzure
15
14
 
16
15
  include MsRest::JSONable
17
- # @return [Array<Operation>] List of Event Hub operations supported by
18
- # the Microsoft.EventHub resource provider.
16
+ # @return [Array<PrivateEndpointConnection>] A collection of private
17
+ # endpoint connection resources.
19
18
  attr_accessor :value
20
19
 
21
- # @return [String] URL to get the next set of operation list results if
22
- # there are any.
20
+ # @return [String] A link for the next page of private endpoint
21
+ # connection resources.
23
22
  attr_accessor :next_link
24
23
 
25
24
  # return [Proc] with next page method call.
@@ -28,7 +27,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
28
27
  #
29
28
  # Gets the rest of the items for the request, enabling auto-pagination.
30
29
  #
31
- # @return [Array<Operation>] operation results.
30
+ # @return [Array<PrivateEndpointConnection>] operation results.
32
31
  #
33
32
  def get_all_items
34
33
  items = @value
@@ -43,7 +42,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
43
42
  #
44
43
  # Gets the next page of results.
45
44
  #
46
- # @return [OperationListResult] with next page content.
45
+ # @return [PrivateEndpointConnectionListResult] with next page content.
47
46
  #
48
47
  def get_next_page
49
48
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -55,32 +54,31 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
55
54
  end
56
55
 
57
56
  #
58
- # Mapper for OperationListResult class as Ruby Hash.
57
+ # Mapper for PrivateEndpointConnectionListResult class as Ruby Hash.
59
58
  # This will be used for serialization/deserialization.
60
59
  #
61
60
  def self.mapper()
62
61
  {
63
62
  client_side_validation: true,
64
63
  required: false,
65
- serialized_name: 'OperationListResult',
64
+ serialized_name: 'PrivateEndpointConnectionListResult',
66
65
  type: {
67
66
  name: 'Composite',
68
- class_name: 'OperationListResult',
67
+ class_name: 'PrivateEndpointConnectionListResult',
69
68
  model_properties: {
70
69
  value: {
71
70
  client_side_validation: true,
72
71
  required: false,
73
- read_only: true,
74
72
  serialized_name: 'value',
75
73
  type: {
76
74
  name: 'Sequence',
77
75
  element: {
78
76
  client_side_validation: true,
79
77
  required: false,
80
- serialized_name: 'OperationElementType',
78
+ serialized_name: 'PrivateEndpointConnectionElementType',
81
79
  type: {
82
80
  name: 'Composite',
83
- class_name: 'Operation'
81
+ class_name: 'PrivateEndpointConnection'
84
82
  }
85
83
  }
86
84
  }
@@ -88,7 +86,6 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
88
86
  next_link: {
89
87
  client_side_validation: true,
90
88
  required: false,
91
- read_only: true,
92
89
  serialized_name: 'nextLink',
93
90
  type: {
94
91
  name: 'String'
@@ -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::EventHub::Mgmt::V2018_01_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for PrivateLinkConnectionStatus
10
+ #
11
+ module PrivateLinkConnectionStatus
12
+ Pending = "Pending"
13
+ Approved = "Approved"
14
+ Rejected = "Rejected"
15
+ Disconnected = "Disconnected"
16
+ end
17
+ end
18
+ end
@@ -3,106 +3,111 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::EventHub::Mgmt::V2017_04_01
6
+ module Azure::EventHub::Mgmt::V2018_01_01_preview
7
7
  module Models
8
8
  #
9
- # Description of NetworkRuleSet resource.
9
+ # Information of the private link resource.
10
10
  #
11
- class NetworkRuleSet < Resource
11
+ class PrivateLinkResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [DefaultAction] Default Action for Network Rule Set. Possible
16
- # values include: 'Allow', 'Deny'
17
- attr_accessor :default_action
15
+ # @return [String] The private link resource group id.
16
+ attr_accessor :group_id
18
17
 
19
- # @return [Array<NWRuleSetVirtualNetworkRules>] List VirtualNetwork Rules
20
- attr_accessor :virtual_network_rules
18
+ # @return [Array<String>] The private link resource required member
19
+ # names.
20
+ attr_accessor :required_members
21
21
 
22
- # @return [Array<NWRuleSetIpRules>] List of IpRules
23
- attr_accessor :ip_rules
22
+ # @return [Array<String>] The private link resource Private link DNS zone
23
+ # name.
24
+ attr_accessor :required_zone_names
25
+
26
+ # @return [String] Fully qualified identifier of the resource.
27
+ attr_accessor :id
28
+
29
+ # @return [String] Name of the resource
30
+ attr_accessor :name
31
+
32
+ # @return [String] Type of the resource
33
+ attr_accessor :type
24
34
 
25
35
 
26
36
  #
27
- # Mapper for NetworkRuleSet class as Ruby Hash.
37
+ # Mapper for PrivateLinkResource class as Ruby Hash.
28
38
  # This will be used for serialization/deserialization.
29
39
  #
30
40
  def self.mapper()
31
41
  {
32
42
  client_side_validation: true,
33
43
  required: false,
34
- serialized_name: 'NetworkRuleSet',
44
+ serialized_name: 'PrivateLinkResource',
35
45
  type: {
36
46
  name: 'Composite',
37
- class_name: 'NetworkRuleSet',
47
+ class_name: 'PrivateLinkResource',
38
48
  model_properties: {
39
- id: {
49
+ group_id: {
40
50
  client_side_validation: true,
41
51
  required: false,
42
- read_only: true,
43
- serialized_name: 'id',
52
+ serialized_name: 'properties.groupId',
44
53
  type: {
45
54
  name: 'String'
46
55
  }
47
56
  },
48
- name: {
57
+ required_members: {
49
58
  client_side_validation: true,
50
59
  required: false,
51
- read_only: true,
52
- serialized_name: 'name',
60
+ serialized_name: 'properties.requiredMembers',
53
61
  type: {
54
- name: 'String'
62
+ name: 'Sequence',
63
+ element: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'StringElementType',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
55
71
  }
56
72
  },
57
- type: {
73
+ required_zone_names: {
58
74
  client_side_validation: true,
59
75
  required: false,
60
- read_only: true,
61
- serialized_name: 'type',
76
+ serialized_name: 'properties.requiredZoneNames',
62
77
  type: {
63
- name: 'String'
78
+ name: 'Sequence',
79
+ element: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'StringElementType',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
64
87
  }
65
88
  },
66
- default_action: {
89
+ id: {
67
90
  client_side_validation: true,
68
91
  required: false,
69
- serialized_name: 'properties.defaultAction',
92
+ serialized_name: 'id',
70
93
  type: {
71
94
  name: 'String'
72
95
  }
73
96
  },
74
- virtual_network_rules: {
97
+ name: {
75
98
  client_side_validation: true,
76
99
  required: false,
77
- serialized_name: 'properties.virtualNetworkRules',
100
+ serialized_name: 'name',
78
101
  type: {
79
- name: 'Sequence',
80
- element: {
81
- client_side_validation: true,
82
- required: false,
83
- serialized_name: 'NWRuleSetVirtualNetworkRulesElementType',
84
- type: {
85
- name: 'Composite',
86
- class_name: 'NWRuleSetVirtualNetworkRules'
87
- }
88
- }
102
+ name: 'String'
89
103
  }
90
104
  },
91
- ip_rules: {
105
+ type: {
92
106
  client_side_validation: true,
93
107
  required: false,
94
- serialized_name: 'properties.ipRules',
108
+ serialized_name: 'type',
95
109
  type: {
96
- name: 'Sequence',
97
- element: {
98
- client_side_validation: true,
99
- required: false,
100
- serialized_name: 'NWRuleSetIpRulesElementType',
101
- type: {
102
- name: 'Composite',
103
- class_name: 'NWRuleSetIpRules'
104
- }
105
- }
110
+ name: 'String'
106
111
  }
107
112
  }
108
113
  }
@@ -0,0 +1,67 @@
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::EventHub::Mgmt::V2018_01_01_preview
7
+ module Models
8
+ #
9
+ # Result of the List private link resources operation.
10
+ #
11
+ class PrivateLinkResourcesListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<PrivateLinkResource>] A collection of private link
16
+ # resources
17
+ attr_accessor :value
18
+
19
+ # @return [String] A link for the next page of private link resources.
20
+ attr_accessor :next_link
21
+
22
+
23
+ #
24
+ # Mapper for PrivateLinkResourcesListResult class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'PrivateLinkResourcesListResult',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'PrivateLinkResourcesListResult',
35
+ model_properties: {
36
+ value: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'value',
40
+ type: {
41
+ name: 'Sequence',
42
+ element: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'PrivateLinkResourceElementType',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'PrivateLinkResource'
49
+ }
50
+ }
51
+ }
52
+ },
53
+ next_link: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'nextLink',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end
@@ -6,19 +6,19 @@
6
6
  module Azure::EventHub::Mgmt::V2018_01_01_preview
7
7
  module Models
8
8
  #
9
- # The Resource definition
9
+ # The resource definition.
10
10
  #
11
11
  class Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Resource Id
15
+ # @return [String] Resource ID.
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] Resource name
18
+ # @return [String] Resource name.
19
19
  attr_accessor :name
20
20
 
21
- # @return [String] Resource type
21
+ # @return [String] Resource type.
22
22
  attr_accessor :type
23
23
 
24
24