azure_mgmt_event_grid 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +143 -0
  3. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/event_subscriptions.rb +18 -18
  4. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/endpoint_type.rb +15 -0
  5. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +124 -0
  6. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +68 -0
  7. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_filter.rb +1 -1
  8. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_full_url.rb +1 -1
  9. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +1 -1
  10. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +76 -0
  11. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +1 -1
  12. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_type.rb +1 -1
  13. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_types_list_result.rb +1 -1
  14. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operation.rb +1 -1
  15. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operation_info.rb +1 -1
  16. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operation_origin.rb +1 -1
  17. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operations_list_result.rb +1 -1
  18. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/resource.rb +1 -1
  19. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/resource_region_type.rb +1 -1
  20. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic.rb +1 -1
  21. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_provisioning_state.rb +1 -1
  22. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +1 -1
  23. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +1 -1
  24. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +111 -0
  25. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +1 -1
  26. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_types_list_result.rb +1 -1
  27. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topics_list_result.rb +1 -1
  28. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/tracked_resource.rb +1 -1
  29. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  30. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/operations.rb +2 -2
  31. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/topic_types.rb +4 -4
  32. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/topics.rb +11 -11
  33. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/version.rb +2 -2
  34. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid.rb +56 -0
  35. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/event_grid_management_client.rb +3 -3
  36. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1803 -0
  37. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +1 -1
  38. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription.rb +1 -1
  39. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_destination.rb +1 -1
  40. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +92 -0
  41. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +45 -0
  42. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -0
  43. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +1 -1
  44. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +52 -0
  45. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +88 -0
  46. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +52 -0
  47. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +76 -0
  48. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +74 -0
  49. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +17 -0
  50. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +52 -0
  51. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +67 -0
  52. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  53. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +103 -0
  54. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  55. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +44 -0
  56. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +54 -0
  57. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/topic_type_info.rb +1 -1
  58. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  59. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +52 -0
  60. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +52 -0
  61. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +85 -0
  62. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +1 -1
  63. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  64. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +115 -0
  65. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +296 -0
  66. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +926 -0
  67. data/lib/{generated/azure_mgmt_event_grid/module_definition.rb → 2017-09-15-preview/generated/azure_mgmt_event_grid/version.rb} +3 -3
  68. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +57 -0
  69. data/lib/azure_mgmt_event_grid.rb +3 -2
  70. data/lib/module_definition.rb +7 -0
  71. data/lib/profiles/common/configurable.rb +73 -0
  72. data/lib/profiles/common/default.rb +68 -0
  73. data/lib/profiles/latest/eventgrid_latest_profile_client.rb +33 -0
  74. data/lib/profiles/latest/eventgrid_module_definition.rb +9 -0
  75. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +152 -0
  76. data/lib/version.rb +7 -0
  77. metadata +76 -36
  78. data/lib/generated/azure_mgmt_event_grid.rb +0 -57
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Information about an operation
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Defines values for OperationOrigin
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Result of the List Operations operation
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Definition of a Resource
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Defines values for ResourceRegionType
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # EventGrid Topic
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Defines values for TopicProvisioningState
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Topic regenerate share access key key request
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Shared access keys of the Topic
@@ -0,0 +1,111 @@
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::EventGrid::Mgmt::V2017_06_15_preview
7
+ module Models
8
+ #
9
+ # Properties of a topic type info.
10
+ #
11
+ class TopicTypeInfo < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Namespace of the provider of the topic type.
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Display Name for the topic type.
19
+ attr_accessor :display_name
20
+
21
+ # @return [String] Description of the topic type.
22
+ attr_accessor :description
23
+
24
+ # @return [ResourceRegionType] Region type of the resource. Possible
25
+ # values include: 'RegionalResource', 'GlobalResource'
26
+ attr_accessor :resource_region_type
27
+
28
+ # @return [TopicTypeProvisioningState] Provisioning state of the topic
29
+ # type. Possible values include: 'Creating', 'Updating', 'Deleting',
30
+ # 'Succeeded', 'Canceled', 'Failed'
31
+ attr_accessor :provisioning_state
32
+
33
+
34
+ #
35
+ # Mapper for TopicTypeInfo class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'TopicTypeInfo',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'TopicTypeInfo',
45
+ model_properties: {
46
+ id: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'id',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ name: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'name',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ type: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'type',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ provider: {
71
+ required: false,
72
+ serialized_name: 'properties.provider',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ display_name: {
78
+ required: false,
79
+ serialized_name: 'properties.displayName',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ description: {
85
+ required: false,
86
+ serialized_name: 'properties.description',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ resource_region_type: {
92
+ required: false,
93
+ serialized_name: 'properties.resourceRegionType',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ provisioning_state: {
99
+ required: false,
100
+ serialized_name: 'properties.provisioningState',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Defines values for TopicTypeProvisioningState
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Result of the List Topic Types operation
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Result of the List Topics operation
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  module Models
8
8
  #
9
9
  # Definition of a Tracked Resource
@@ -0,0 +1,9 @@
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 end
7
+ module Azure::EventGrid end
8
+ module Azure::EventGrid::Mgmt end
9
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  #
8
8
  # Azure EventGrid Management Client
9
9
  #
@@ -98,7 +98,7 @@ module Azure::ARM::EventGrid
98
98
  if status_code == 200
99
99
  begin
100
100
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
101
- result_mapper = Azure::ARM::EventGrid::Models::OperationsListResult.mapper()
101
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::OperationsListResult.mapper()
102
102
  result.body = @client.deserialize(result_mapper, parsed_response)
103
103
  rescue Exception => e
104
104
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  #
8
8
  # Azure EventGrid Management Client
9
9
  #
@@ -95,7 +95,7 @@ module Azure::ARM::EventGrid
95
95
  if status_code == 200
96
96
  begin
97
97
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
98
- result_mapper = Azure::ARM::EventGrid::Models::TopicTypesListResult.mapper()
98
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicTypesListResult.mapper()
99
99
  result.body = @client.deserialize(result_mapper, parsed_response)
100
100
  rescue Exception => e
101
101
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -187,7 +187,7 @@ module Azure::ARM::EventGrid
187
187
  if status_code == 200
188
188
  begin
189
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = Azure::ARM::EventGrid::Models::TopicTypeInfo.mapper()
190
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicTypeInfo.mapper()
191
191
  result.body = @client.deserialize(result_mapper, parsed_response)
192
192
  rescue Exception => e
193
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -279,7 +279,7 @@ module Azure::ARM::EventGrid
279
279
  if status_code == 200
280
280
  begin
281
281
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
282
- result_mapper = Azure::ARM::EventGrid::Models::EventTypesListResult.mapper()
282
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::EventTypesListResult.mapper()
283
283
  result.body = @client.deserialize(result_mapper, parsed_response)
284
284
  rescue Exception => e
285
285
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
7
  #
8
8
  # Azure EventGrid Management Client
9
9
  #
@@ -108,7 +108,7 @@ module Azure::ARM::EventGrid
108
108
  if status_code == 200
109
109
  begin
110
110
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
111
- result_mapper = Azure::ARM::EventGrid::Models::Topic.mapper()
111
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::Topic.mapper()
112
112
  result.body = @client.deserialize(result_mapper, parsed_response)
113
113
  rescue Exception => e
114
114
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -158,7 +158,7 @@ module Azure::ARM::EventGrid
158
158
  promise = promise.then do |response|
159
159
  # Defining deserialization method.
160
160
  deserialize_method = lambda do |parsed_response|
161
- result_mapper = Azure::ARM::EventGrid::Models::Topic.mapper()
161
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::Topic.mapper()
162
162
  parsed_response = @client.deserialize(result_mapper, parsed_response)
163
163
  end
164
164
 
@@ -287,7 +287,7 @@ module Azure::ARM::EventGrid
287
287
  if status_code == 200
288
288
  begin
289
289
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
290
- result_mapper = Azure::ARM::EventGrid::Models::TopicsListResult.mapper()
290
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicsListResult.mapper()
291
291
  result.body = @client.deserialize(result_mapper, parsed_response)
292
292
  rescue Exception => e
293
293
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -383,7 +383,7 @@ module Azure::ARM::EventGrid
383
383
  if status_code == 200
384
384
  begin
385
385
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
386
- result_mapper = Azure::ARM::EventGrid::Models::TopicsListResult.mapper()
386
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicsListResult.mapper()
387
387
  result.body = @client.deserialize(result_mapper, parsed_response)
388
388
  rescue Exception => e
389
389
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -483,7 +483,7 @@ module Azure::ARM::EventGrid
483
483
  if status_code == 200
484
484
  begin
485
485
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
486
- result_mapper = Azure::ARM::EventGrid::Models::TopicSharedAccessKeys.mapper()
486
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicSharedAccessKeys.mapper()
487
487
  result.body = @client.deserialize(result_mapper, parsed_response)
488
488
  rescue Exception => e
489
489
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -567,7 +567,7 @@ module Azure::ARM::EventGrid
567
567
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
568
568
 
569
569
  # Serialize Request
570
- request_mapper = Azure::ARM::EventGrid::Models::TopicRegenerateKeyRequest.mapper()
570
+ request_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicRegenerateKeyRequest.mapper()
571
571
  request_content = @client.serialize(request_mapper, regenerate_key_request)
572
572
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
573
573
 
@@ -599,7 +599,7 @@ module Azure::ARM::EventGrid
599
599
  if status_code == 200
600
600
  begin
601
601
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
602
- result_mapper = Azure::ARM::EventGrid::Models::TopicSharedAccessKeys.mapper()
602
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::TopicSharedAccessKeys.mapper()
603
603
  result.body = @client.deserialize(result_mapper, parsed_response)
604
604
  rescue Exception => e
605
605
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -707,7 +707,7 @@ module Azure::ARM::EventGrid
707
707
  if status_code == 200
708
708
  begin
709
709
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
710
- result_mapper = Azure::ARM::EventGrid::Models::EventTypesListResult.mapper()
710
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::EventTypesListResult.mapper()
711
711
  result.body = @client.deserialize(result_mapper, parsed_response)
712
712
  rescue Exception => e
713
713
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -788,7 +788,7 @@ module Azure::ARM::EventGrid
788
788
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
789
789
 
790
790
  # Serialize Request
791
- request_mapper = Azure::ARM::EventGrid::Models::Topic.mapper()
791
+ request_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::Topic.mapper()
792
792
  request_content = @client.serialize(request_mapper, topic_info)
793
793
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
794
794
 
@@ -820,7 +820,7 @@ module Azure::ARM::EventGrid
820
820
  if status_code == 201
821
821
  begin
822
822
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
823
- result_mapper = Azure::ARM::EventGrid::Models::Topic.mapper()
823
+ result_mapper = Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::Topic.mapper()
824
824
  result.body = @client.deserialize(result_mapper, parsed_response)
825
825
  rescue Exception => e
826
826
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,6 +3,6 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
7
- VERSION = '0.14.0'
6
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
7
+ VERSION = '0.15.0'
8
8
  end
@@ -0,0 +1,56 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2017-06-15-preview/generated/azure_mgmt_event_grid/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::EventGrid::Mgmt::V2017_06_15_preview
23
+ autoload :EventSubscriptions, '2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb'
24
+ autoload :Operations, '2017-06-15-preview/generated/azure_mgmt_event_grid/operations.rb'
25
+ autoload :Topics, '2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb'
26
+ autoload :TopicTypes, '2017-06-15-preview/generated/azure_mgmt_event_grid/topic_types.rb'
27
+ autoload :EventGridManagementClient, '2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb'
28
+
29
+ module Models
30
+ autoload :OperationsListResult, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb'
31
+ autoload :Operation, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation.rb'
32
+ autoload :EventSubscriptionFilter, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb'
33
+ autoload :EventSubscriptionDestination, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb'
34
+ autoload :EventTypesListResult, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb'
35
+ autoload :EventSubscriptionUpdateParameters, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb'
36
+ autoload :EventSubscriptionsListResult, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb'
37
+ autoload :TopicTypesListResult, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb'
38
+ autoload :Resource, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource.rb'
39
+ autoload :TopicsListResult, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb'
40
+ autoload :OperationInfo, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb'
41
+ autoload :TopicSharedAccessKeys, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb'
42
+ autoload :EventSubscriptionFullUrl, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb'
43
+ autoload :TopicRegenerateKeyRequest, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb'
44
+ autoload :EventSubscription, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb'
45
+ autoload :TrackedResource, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb'
46
+ autoload :Topic, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic.rb'
47
+ autoload :EventType, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb'
48
+ autoload :TopicTypeInfo, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb'
49
+ autoload :EventSubscriptionProvisioningState, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb'
50
+ autoload :EndpointType, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/endpoint_type.rb'
51
+ autoload :OperationOrigin, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb'
52
+ autoload :TopicProvisioningState, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb'
53
+ autoload :ResourceRegionType, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb'
54
+ autoload :TopicTypeProvisioningState, '2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb'
55
+ end
56
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_09_15_preview
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
@@ -134,8 +134,8 @@ module Azure::ARM::EventGrid
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_event_grid'
137
- if defined? Azure::ARM::EventGrid::VERSION
138
- sdk_information = "#{sdk_information}/#{Azure::ARM::EventGrid::VERSION}"
137
+ if defined? Azure::EventGrid::Mgmt::V2017_09_15_preview::VERSION
138
+ sdk_information = "#{sdk_information}/#{Azure::EventGrid::Mgmt::V2017_09_15_preview::VERSION}"
139
139
  end
140
140
  add_user_agent_information(sdk_information)
141
141
  end