azure_mgmt_event_hub 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -19,7 +19,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
19
19
  @client = client
20
20
  end
21
21
 
22
- # @return [EventHub2018PreviewManagementClient] reference to the EventHub2018PreviewManagementClient
22
+ # @return [EventHubManagementClient] reference to the EventHubManagementClient
23
23
  attr_reader :client
24
24
 
25
25
  #
@@ -28,7 +28,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
28
28
  # unmodified.
29
29
  #
30
30
  # @param resource_group_name [String] Name of the resource group within the
31
- # Azure subscription.
31
+ # azure subscription.
32
32
  # @param cluster_name [String] The name of the Event Hubs Cluster.
33
33
  # @param parameters [ClusterQuotaConfigurationProperties] Parameters for
34
34
  # creating an Event Hubs Cluster resource.
@@ -48,7 +48,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
48
48
  # unmodified.
49
49
  #
50
50
  # @param resource_group_name [String] Name of the resource group within the
51
- # Azure subscription.
51
+ # azure subscription.
52
52
  # @param cluster_name [String] The name of the Event Hubs Cluster.
53
53
  # @param parameters [ClusterQuotaConfigurationProperties] Parameters for
54
54
  # creating an Event Hubs Cluster resource.
@@ -67,7 +67,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
67
67
  # unmodified.
68
68
  #
69
69
  # @param resource_group_name [String] Name of the resource group within the
70
- # Azure subscription.
70
+ # azure subscription.
71
71
  # @param cluster_name [String] The name of the Event Hubs Cluster.
72
72
  # @param parameters [ClusterQuotaConfigurationProperties] Parameters for
73
73
  # creating an Event Hubs Cluster resource.
@@ -158,7 +158,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
158
158
  # represent the quotas and settings imposed on the cluster.
159
159
  #
160
160
  # @param resource_group_name [String] Name of the resource group within the
161
- # Azure subscription.
161
+ # azure subscription.
162
162
  # @param cluster_name [String] The name of the Event Hubs Cluster.
163
163
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
164
164
  # will be added to the HTTP request.
@@ -175,7 +175,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
175
175
  # represent the quotas and settings imposed on the cluster.
176
176
  #
177
177
  # @param resource_group_name [String] Name of the resource group within the
178
- # Azure subscription.
178
+ # azure subscription.
179
179
  # @param cluster_name [String] The name of the Event Hubs Cluster.
180
180
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
181
181
  # will be added to the HTTP request.
@@ -191,7 +191,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
191
191
  # represent the quotas and settings imposed on the cluster.
192
192
  #
193
193
  # @param resource_group_name [String] Name of the resource group within the
194
- # Azure subscription.
194
+ # azure subscription.
195
195
  # @param cluster_name [String] The name of the Event Hubs Cluster.
196
196
  # @param [Hash{String => String}] A hash of custom headers that will be added
197
197
  # to the HTTP request.
@@ -7,7 +7,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
10
- class EventHub2018PreviewManagementClient < MsRestAzure::AzureServiceClient
10
+ class EventHubManagementClient < MsRestAzure::AzureServiceClient
11
11
  include MsRestAzure
12
12
  include MsRestAzure::Serialization
13
13
 
@@ -17,14 +17,14 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
17
17
  # @return Credentials needed for the client to connect to Azure.
18
18
  attr_reader :credentials
19
19
 
20
+ # @return [String] Client API Version.
21
+ attr_reader :api_version
22
+
20
23
  # @return [String] Subscription credentials that uniquely identify a
21
24
  # Microsoft Azure subscription. The subscription ID forms part of the URI
22
25
  # for every service call.
23
26
  attr_accessor :subscription_id
24
27
 
25
- # @return [String] Client API version.
26
- attr_reader :api_version
27
-
28
28
  # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
@@ -37,20 +37,23 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
37
37
  # generated and included in each request. Default is true.
38
38
  attr_accessor :generate_client_request_id
39
39
 
40
- # @return [Operations] operations
41
- attr_reader :operations
42
-
43
40
  # @return [Clusters] clusters
44
41
  attr_reader :clusters
45
42
 
46
- # @return [Configuration] configuration
47
- attr_reader :configuration
48
-
49
43
  # @return [Namespaces] namespaces
50
44
  attr_reader :namespaces
51
45
 
46
+ # @return [PrivateEndpointConnections] private_endpoint_connections
47
+ attr_reader :private_endpoint_connections
48
+
49
+ # @return [PrivateLinkResources] private_link_resources
50
+ attr_reader :private_link_resources
51
+
52
+ # @return [Configuration] configuration
53
+ attr_reader :configuration
54
+
52
55
  #
53
- # Creates initializes a new instance of the EventHub2018PreviewManagementClient class.
56
+ # Creates initializes a new instance of the EventHubManagementClient class.
54
57
  # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
55
58
  # @param base_url [String] the base URI of the service.
56
59
  # @param options [Array] filters to be applied to the HTTP requests.
@@ -62,10 +65,11 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
62
65
  fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
63
66
  @credentials = credentials
64
67
 
65
- @operations = Operations.new(self)
66
68
  @clusters = Clusters.new(self)
67
- @configuration = Configuration.new(self)
68
69
  @namespaces = Namespaces.new(self)
70
+ @private_endpoint_connections = PrivateEndpointConnections.new(self)
71
+ @private_link_resources = PrivateLinkResources.new(self)
72
+ @configuration = Configuration.new(self)
69
73
  @api_version = '2018-01-01-preview'
70
74
  @accept_language = 'en-US'
71
75
  @long_running_operation_retry_timeout = 30
@@ -138,7 +142,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
138
142
  #
139
143
  def add_telemetry
140
144
  sdk_information = 'azure_mgmt_event_hub'
141
- sdk_information = "#{sdk_information}/0.18.1"
145
+ sdk_information = "#{sdk_information}/0.18.2"
142
146
  add_user_agent_information(sdk_information)
143
147
  end
144
148
  end
@@ -16,11 +16,11 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
16
16
  attr_accessor :sku
17
17
 
18
18
  # @return [String] The UTC time when the Event Hubs Cluster was created.
19
- attr_accessor :created
19
+ attr_accessor :created_at
20
20
 
21
21
  # @return [String] The UTC time when the Event Hubs Cluster was last
22
22
  # updated.
23
- attr_accessor :updated
23
+ attr_accessor :updated_at
24
24
 
25
25
  # @return [String] The metric ID of the cluster resource. Provided by the
26
26
  # service and not modifiable by the user.
@@ -103,20 +103,20 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
103
103
  class_name: 'ClusterSku'
104
104
  }
105
105
  },
106
- created: {
106
+ created_at: {
107
107
  client_side_validation: true,
108
108
  required: false,
109
109
  read_only: true,
110
- serialized_name: 'properties.created',
110
+ serialized_name: 'properties.createdAt',
111
111
  type: {
112
112
  name: 'String'
113
113
  }
114
114
  },
115
- updated: {
115
+ updated_at: {
116
116
  client_side_validation: true,
117
117
  required: false,
118
118
  read_only: true,
119
- serialized_name: 'properties.updated',
119
+ serialized_name: 'properties.updatedAt',
120
120
  type: {
121
121
  name: 'String'
122
122
  }
@@ -6,48 +6,48 @@
6
6
  module Azure::EventHub::Mgmt::V2018_01_01_preview
7
7
  module Models
8
8
  #
9
- # A Event Hub REST API operation
9
+ # ConnectionState information.
10
10
  #
11
- class Operation
11
+ class ConnectionState
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Operation name: {provider}/{resource}/{operation}
16
- attr_accessor :name
15
+ # @return [PrivateLinkConnectionStatus] Status of the connection.
16
+ # Possible values include: 'Pending', 'Approved', 'Rejected',
17
+ # 'Disconnected'
18
+ attr_accessor :status
17
19
 
18
- # @return [OperationDisplay] The object that represents the operation.
19
- attr_accessor :display
20
+ # @return [String] Description of the connection state.
21
+ attr_accessor :description
20
22
 
21
23
 
22
24
  #
23
- # Mapper for Operation class as Ruby Hash.
25
+ # Mapper for ConnectionState class as Ruby Hash.
24
26
  # This will be used for serialization/deserialization.
25
27
  #
26
28
  def self.mapper()
27
29
  {
28
30
  client_side_validation: true,
29
31
  required: false,
30
- serialized_name: 'Operation',
32
+ serialized_name: 'ConnectionState',
31
33
  type: {
32
34
  name: 'Composite',
33
- class_name: 'Operation',
35
+ class_name: 'ConnectionState',
34
36
  model_properties: {
35
- name: {
37
+ status: {
36
38
  client_side_validation: true,
37
39
  required: false,
38
- read_only: true,
39
- serialized_name: 'name',
40
+ serialized_name: 'status',
40
41
  type: {
41
42
  name: 'String'
42
43
  }
43
44
  },
44
- display: {
45
+ description: {
45
46
  client_side_validation: true,
46
47
  required: false,
47
- serialized_name: 'display',
48
+ serialized_name: 'description',
48
49
  type: {
49
- name: 'Composite',
50
- class_name: 'OperationDisplay'
50
+ name: 'String'
51
51
  }
52
52
  }
53
53
  }
@@ -15,6 +15,9 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
15
15
  # @return [Sku] Properties of sku resource
16
16
  attr_accessor :sku
17
17
 
18
+ # @return [Identity] Properties of BYOK Identity description
19
+ attr_accessor :identity
20
+
18
21
  # @return [String] Provisioning state of the Namespace.
19
22
  attr_accessor :provisioning_state
20
23
 
@@ -51,9 +54,6 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
51
54
  # Namespace in regions supported availability zones.
52
55
  attr_accessor :zone_redundant
53
56
 
54
- # @return [Identity] Properties of BYOK Identity description
55
- attr_accessor :identity
56
-
57
57
  # @return [Encryption] Properties of BYOK Encryption description
58
58
  attr_accessor :encryption
59
59
 
@@ -131,6 +131,15 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
131
131
  class_name: 'Sku'
132
132
  }
133
133
  },
134
+ identity: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'identity',
138
+ type: {
139
+ name: 'Composite',
140
+ class_name: 'Identity'
141
+ }
142
+ },
134
143
  provisioning_state: {
135
144
  client_side_validation: true,
136
145
  required: false,
@@ -220,15 +229,6 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
220
229
  name: 'Boolean'
221
230
  }
222
231
  },
223
- identity: {
224
- client_side_validation: true,
225
- required: false,
226
- serialized_name: 'properties.identity',
227
- type: {
228
- name: 'Composite',
229
- class_name: 'Identity'
230
- }
231
- },
232
232
  encryption: {
233
233
  client_side_validation: true,
234
234
  required: false,
@@ -12,7 +12,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [KeyVaultProperties] Properties of KeyVault
15
+ # @return [Array<KeyVaultProperties>] Properties of KeyVault
16
16
  attr_accessor :key_vault_properties
17
17
 
18
18
  # @return [KeySource] Enumerates the possible value of keySource for
@@ -39,8 +39,16 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
39
39
  required: false,
40
40
  serialized_name: 'keyVaultProperties',
41
41
  type: {
42
- name: 'Composite',
43
- class_name: 'KeyVaultProperties'
42
+ name: 'Sequence',
43
+ element: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'KeyVaultPropertiesElementType',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'KeyVaultProperties'
50
+ }
51
+ }
44
52
  }
45
53
  },
46
54
  key_source: {
@@ -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::EventHub::Mgmt::V2018_01_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for EndPointProvisioningState
10
+ #
11
+ module EndPointProvisioningState
12
+ Creating = "Creating"
13
+ Updating = "Updating"
14
+ Deleting = "Deleting"
15
+ Succeeded = "Succeeded"
16
+ Canceled = "Canceled"
17
+ Failed = "Failed"
18
+ end
19
+ end
20
+ end
@@ -6,7 +6,7 @@
6
6
  module Azure::EventHub::Mgmt::V2018_01_01_preview
7
7
  module Models
8
8
  #
9
- # Error response that indicates the service is not able to process the
9
+ # Error response indicates Event Hub service is not able to process the
10
10
  # incoming request. The reason is provided in the error message.
11
11
  #
12
12
  class ErrorResponse
@@ -18,6 +18,9 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
18
18
  # @return [String] Uri of KeyVault
19
19
  attr_accessor :key_vault_uri
20
20
 
21
+ # @return [String] Key Version
22
+ attr_accessor :key_version
23
+
21
24
 
22
25
  #
23
26
  # Mapper for KeyVaultProperties class as Ruby Hash.
@@ -47,6 +50,14 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
47
50
  type: {
48
51
  name: 'String'
49
52
  }
53
+ },
54
+ key_version: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'keyVersion',
58
+ type: {
59
+ name: 'String'
60
+ }
50
61
  }
51
62
  }
52
63
  }
@@ -12,6 +12,10 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ # @return [Boolean] Value that indicates whether Trusted Service Access
16
+ # is Enabled or not.
17
+ attr_accessor :trusted_service_access_enabled
18
+
15
19
  # @return [DefaultAction] Default Action for Network Rule Set. Possible
16
20
  # values include: 'Allow', 'Deny'
17
21
  attr_accessor :default_action
@@ -63,6 +67,14 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
63
67
  name: 'String'
64
68
  }
65
69
  },
70
+ trusted_service_access_enabled: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'properties.trustedServiceAccessEnabled',
74
+ type: {
75
+ name: 'Boolean'
76
+ }
77
+ },
66
78
  default_action: {
67
79
  client_side_validation: true,
68
80
  required: false,
@@ -3,35 +3,35 @@
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
- # Properties supplied for Subnet
9
+ # PrivateEndpoint information.
10
10
  #
11
- class Subnet
11
+ class PrivateEndpoint
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Resource ID of Virtual Network Subnet
15
+ # @return [String] The ARM identifier for Private Endpoint.
16
16
  attr_accessor :id
17
17
 
18
18
 
19
19
  #
20
- # Mapper for Subnet class as Ruby Hash.
20
+ # Mapper for PrivateEndpoint class as Ruby Hash.
21
21
  # This will be used for serialization/deserialization.
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
25
  client_side_validation: true,
26
26
  required: false,
27
- serialized_name: 'Subnet',
27
+ serialized_name: 'PrivateEndpoint',
28
28
  type: {
29
29
  name: 'Composite',
30
- class_name: 'Subnet',
30
+ class_name: 'PrivateEndpoint',
31
31
  model_properties: {
32
32
  id: {
33
33
  client_side_validation: true,
34
- required: true,
34
+ required: false,
35
35
  serialized_name: 'id',
36
36
  type: {
37
37
  name: 'String'