azure_mgmt_service_bus 0.10.0 → 0.11.0

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/generated/azure_mgmt_service_bus.rb +35 -20
  3. data/lib/generated/azure_mgmt_service_bus/models/{resource_list_keys.rb → access_keys.rb} +11 -5
  4. data/lib/generated/azure_mgmt_service_bus/models/access_rights.rb +1 -1
  5. data/lib/generated/azure_mgmt_service_bus/models/action.rb +69 -0
  6. data/lib/generated/azure_mgmt_service_bus/models/authorization_rule_properties.rb +53 -0
  7. data/lib/generated/azure_mgmt_service_bus/models/check_name_availability.rb +48 -0
  8. data/lib/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb +72 -0
  9. data/lib/generated/azure_mgmt_service_bus/models/correlation_filter.rb +127 -0
  10. data/lib/generated/azure_mgmt_service_bus/models/entity_status.rb +5 -5
  11. data/lib/generated/azure_mgmt_service_bus/models/error_response.rb +56 -0
  12. data/lib/generated/azure_mgmt_service_bus/models/filter_type.rb +16 -0
  13. data/lib/generated/azure_mgmt_service_bus/models/{policykey.rb → key_type.rb} +3 -3
  14. data/lib/generated/azure_mgmt_service_bus/models/message_count_details.rb +9 -8
  15. data/lib/generated/azure_mgmt_service_bus/models/operation.rb +57 -0
  16. data/lib/generated/azure_mgmt_service_bus/models/operation_display.rb +69 -0
  17. data/lib/generated/azure_mgmt_service_bus/models/operation_list_result.rb +99 -0
  18. data/lib/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb +59 -0
  19. data/lib/generated/azure_mgmt_service_bus/models/resource_namespace_patch.rb +86 -0
  20. data/lib/generated/azure_mgmt_service_bus/models/rule.rb +107 -0
  21. data/lib/generated/azure_mgmt_service_bus/models/rule_list_result.rb +95 -0
  22. data/lib/generated/azure_mgmt_service_bus/models/{shared_access_authorization_rule_resource.rb → sbauthorization_rule.rb} +7 -27
  23. data/lib/generated/azure_mgmt_service_bus/models/{shared_access_authorization_rule_list_result.rb → sbauthorization_rule_list_result.rb} +12 -13
  24. data/lib/generated/azure_mgmt_service_bus/models/{namespace_resource.rb → sbnamespace.rb} +19 -7
  25. data/lib/generated/azure_mgmt_service_bus/models/{namespace_list_result.rb → sbnamespace_list_result.rb} +11 -11
  26. data/lib/generated/azure_mgmt_service_bus/models/{namespace_create_or_update_parameters.rb → sbnamespace_update_parameters.rb} +50 -20
  27. data/lib/generated/azure_mgmt_service_bus/models/{queue_create_or_update_parameters.rb → sbqueue.rb} +119 -133
  28. data/lib/generated/azure_mgmt_service_bus/models/{queue_list_result.rb → sbqueue_list_result.rb} +11 -10
  29. data/lib/generated/azure_mgmt_service_bus/models/{sku.rb → sbsku.rb} +14 -10
  30. data/lib/generated/azure_mgmt_service_bus/models/{subscription_resource.rb → sbsubscription.rb} +74 -92
  31. data/lib/generated/azure_mgmt_service_bus/models/{subscription_list_result.rb → sbsubscription_list_result.rb} +11 -10
  32. data/lib/generated/azure_mgmt_service_bus/models/{topic_create_or_update_parameters.rb → sbtopic.rb} +102 -97
  33. data/lib/generated/azure_mgmt_service_bus/models/{topic_list_result.rb → sbtopic_list_result.rb} +11 -10
  34. data/lib/generated/azure_mgmt_service_bus/models/sku_name.rb +1 -1
  35. data/lib/generated/azure_mgmt_service_bus/models/sku_tier.rb +1 -1
  36. data/lib/generated/azure_mgmt_service_bus/models/sql_filter.rb +72 -0
  37. data/lib/generated/azure_mgmt_service_bus/models/sql_rule_action.rb +58 -0
  38. data/lib/generated/azure_mgmt_service_bus/models/tracked_resource.rb +86 -0
  39. data/lib/generated/azure_mgmt_service_bus/models/unavailable_reason.rb +20 -0
  40. data/lib/generated/azure_mgmt_service_bus/module_definition.rb +1 -1
  41. data/lib/generated/azure_mgmt_service_bus/namespaces.rb +442 -188
  42. data/lib/generated/azure_mgmt_service_bus/operations.rb +213 -0
  43. data/lib/generated/azure_mgmt_service_bus/queues.rb +198 -169
  44. data/lib/generated/azure_mgmt_service_bus/rules.rb +558 -0
  45. data/lib/generated/azure_mgmt_service_bus/service_bus_management_client.rb +10 -2
  46. data/lib/generated/azure_mgmt_service_bus/subscriptions.rb +90 -78
  47. data/lib/generated/azure_mgmt_service_bus/topics.rb +199 -173
  48. data/lib/generated/azure_mgmt_service_bus/version.rb +2 -2
  49. metadata +38 -23
  50. data/lib/generated/azure_mgmt_service_bus/models/queue_resource.rb +0 -308
  51. data/lib/generated/azure_mgmt_service_bus/models/regenerate_keys_parameters.rb +0 -46
  52. data/lib/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb +0 -74
  53. data/lib/generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb +0 -213
  54. data/lib/generated/azure_mgmt_service_bus/models/topic_resource.rb +0 -263
@@ -1,127 +1,125 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::ServiceBus
7
7
  module Models
8
8
  #
9
- # Parameters supplied to the Create Or Update Topic operation.
9
+ # Description of topic resource.
10
10
  #
11
- class TopicCreateOrUpdateParameters
11
+ class SBTopic < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Topic name.
16
- attr_accessor :name
15
+ include MsRest::JSONable
16
+ # @return [Integer] Size of the topic, in bytes.
17
+ attr_accessor :size_in_bytes
18
+
19
+ # @return [DateTime] Exact time the message was created.
20
+ attr_accessor :created_at
17
21
 
18
- # @return [String] Location of the resource.
19
- attr_accessor :location
22
+ # @return [DateTime] The exact time the message was updated.
23
+ attr_accessor :updated_at
20
24
 
21
25
  # @return [DateTime] Last time the message was sent, or a request was
22
26
  # received, for this topic.
23
27
  attr_accessor :accessed_at
24
28
 
25
- # @return [String] TimeSpan idle interval after which the topic is
26
- # automatically deleted. The minimum duration is 5 minutes.
27
- attr_accessor :auto_delete_on_idle
28
-
29
- # @return [DateTime] Exact time the message was created.
30
- attr_accessor :created_at
29
+ # @return [Integer] Number of subscriptions.
30
+ attr_accessor :subscription_count
31
31
 
32
- # @return [MessageCountDetails]
32
+ # @return [MessageCountDetails] Message count deatils
33
33
  attr_accessor :count_details
34
34
 
35
- # @return [String] Default message time to live value. This is the
36
- # duration after which the message expires, starting from when the
37
- # message is sent to Service Bus. This is the default value used when
38
- # TimeToLive is not set on a message itself.
35
+ # @return [Duration] ISO 8601 Default message timespan to live value.
36
+ # This is the duration after which the message expires, starting from
37
+ # when the message is sent to Service Bus. This is the default value used
38
+ # when TimeToLive is not set on a message itself.
39
39
  attr_accessor :default_message_time_to_live
40
40
 
41
- # @return [String] TimeSpan structure that defines the duration of the
42
- # duplicate detection history. The default value is 10 minutes.
43
- attr_accessor :duplicate_detection_history_time_window
44
-
45
- # @return [Boolean] Value that indicates whether server-side batched
46
- # operations are enabled.
47
- attr_accessor :enable_batched_operations
48
-
49
- # @return [Boolean] Value that indicates whether Express Entities are
50
- # enabled. An express topic holds a message in memory temporarily before
51
- # writing it to persistent storage.
52
- attr_accessor :enable_express
53
-
54
- # @return [Boolean] Value that indicates whether the topic to be
55
- # partitioned across multiple message brokers is enabled.
56
- attr_accessor :enable_partitioning
57
-
58
41
  # @return [Integer] Maximum size of the topic in megabytes, which is the
59
- # size of the memory allocated for the topic.
42
+ # size of the memory allocated for the topic. Default is 1024.
60
43
  attr_accessor :max_size_in_megabytes
61
44
 
62
45
  # @return [Boolean] Value indicating if this topic requires duplicate
63
46
  # detection.
64
47
  attr_accessor :requires_duplicate_detection
65
48
 
66
- # @return [Integer] Size of the topic, in bytes.
67
- attr_accessor :size_in_bytes
49
+ # @return [Duration] ISO8601 timespan structure that defines the duration
50
+ # of the duplicate detection history. The default value is 10 minutes.
51
+ attr_accessor :duplicate_detection_history_time_window
52
+
53
+ # @return [Boolean] Value that indicates whether server-side batched
54
+ # operations are enabled.
55
+ attr_accessor :enable_batched_operations
68
56
 
69
57
  # @return [EntityStatus] Enumerates the possible values for the status of
70
- # a messaging entity. Possible values include: 'Active', 'Creating',
71
- # 'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', 'Restoring',
72
- # 'SendDisabled', 'Unknown'
58
+ # a messaging entity. Possible values include: 'Active', 'Disabled',
59
+ # 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting',
60
+ # 'Renaming', 'Unknown'
73
61
  attr_accessor :status
74
62
 
75
- # @return [Integer] Number of subscriptions.
76
- attr_accessor :subscription_count
77
-
78
63
  # @return [Boolean] Value that indicates whether the topic supports
79
64
  # ordering.
80
65
  attr_accessor :support_ordering
81
66
 
82
- # @return [DateTime] The exact time the message was updated.
83
- attr_accessor :updated_at
67
+ # @return [Duration] ISO 8601 timespan idle interval after which the
68
+ # topic is automatically deleted. The minimum duration is 5 minutes.
69
+ attr_accessor :auto_delete_on_idle
70
+
71
+ # @return [Boolean] Value that indicates whether the topic to be
72
+ # partitioned across multiple message brokers is enabled.
73
+ attr_accessor :enable_partitioning
74
+
75
+ # @return [Boolean] Value that indicates whether Express Entities are
76
+ # enabled. An express topic holds a message in memory temporarily before
77
+ # writing it to persistent storage.
78
+ attr_accessor :enable_express
84
79
 
85
80
 
86
81
  #
87
- # Mapper for TopicCreateOrUpdateParameters class as Ruby Hash.
82
+ # Mapper for SBTopic class as Ruby Hash.
88
83
  # This will be used for serialization/deserialization.
89
84
  #
90
85
  def self.mapper()
91
86
  {
92
87
  required: false,
93
- serialized_name: 'TopicCreateOrUpdateParameters',
88
+ serialized_name: 'SBTopic',
94
89
  type: {
95
90
  name: 'Composite',
96
- class_name: 'TopicCreateOrUpdateParameters',
91
+ class_name: 'SBTopic',
97
92
  model_properties: {
98
- name: {
93
+ id: {
99
94
  required: false,
100
- serialized_name: 'name',
95
+ read_only: true,
96
+ serialized_name: 'id',
101
97
  type: {
102
98
  name: 'String'
103
99
  }
104
100
  },
105
- location: {
106
- required: true,
107
- serialized_name: 'location',
101
+ name: {
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'name',
108
105
  type: {
109
106
  name: 'String'
110
107
  }
111
108
  },
112
- accessed_at: {
109
+ type: {
113
110
  required: false,
114
111
  read_only: true,
115
- serialized_name: 'properties.accessedAt',
112
+ serialized_name: 'type',
116
113
  type: {
117
- name: 'DateTime'
114
+ name: 'String'
118
115
  }
119
116
  },
120
- auto_delete_on_idle: {
117
+ size_in_bytes: {
121
118
  required: false,
122
- serialized_name: 'properties.autoDeleteOnIdle',
119
+ read_only: true,
120
+ serialized_name: 'properties.sizeInBytes',
123
121
  type: {
124
- name: 'String'
122
+ name: 'Number'
125
123
  }
126
124
  },
127
125
  created_at: {
@@ -132,48 +130,44 @@ module Azure::ARM::ServiceBus
132
130
  name: 'DateTime'
133
131
  }
134
132
  },
135
- count_details: {
133
+ updated_at: {
136
134
  required: false,
137
135
  read_only: true,
138
- serialized_name: 'properties.countDetails',
139
- type: {
140
- name: 'Composite',
141
- class_name: 'MessageCountDetails'
142
- }
143
- },
144
- default_message_time_to_live: {
145
- required: false,
146
- serialized_name: 'properties.defaultMessageTimeToLive',
136
+ serialized_name: 'properties.updatedAt',
147
137
  type: {
148
- name: 'String'
138
+ name: 'DateTime'
149
139
  }
150
140
  },
151
- duplicate_detection_history_time_window: {
141
+ accessed_at: {
152
142
  required: false,
153
- serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
143
+ read_only: true,
144
+ serialized_name: 'properties.accessedAt',
154
145
  type: {
155
- name: 'String'
146
+ name: 'DateTime'
156
147
  }
157
148
  },
158
- enable_batched_operations: {
149
+ subscription_count: {
159
150
  required: false,
160
- serialized_name: 'properties.enableBatchedOperations',
151
+ read_only: true,
152
+ serialized_name: 'properties.subscriptionCount',
161
153
  type: {
162
- name: 'Boolean'
154
+ name: 'Number'
163
155
  }
164
156
  },
165
- enable_express: {
157
+ count_details: {
166
158
  required: false,
167
- serialized_name: 'properties.enableExpress',
159
+ read_only: true,
160
+ serialized_name: 'properties.countDetails',
168
161
  type: {
169
- name: 'Boolean'
162
+ name: 'Composite',
163
+ class_name: 'MessageCountDetails'
170
164
  }
171
165
  },
172
- enable_partitioning: {
166
+ default_message_time_to_live: {
173
167
  required: false,
174
- serialized_name: 'properties.enablePartitioning',
168
+ serialized_name: 'properties.defaultMessageTimeToLive',
175
169
  type: {
176
- name: 'Boolean'
170
+ name: 'TimeSpan'
177
171
  }
178
172
  },
179
173
  max_size_in_megabytes: {
@@ -190,12 +184,18 @@ module Azure::ARM::ServiceBus
190
184
  name: 'Boolean'
191
185
  }
192
186
  },
193
- size_in_bytes: {
187
+ duplicate_detection_history_time_window: {
194
188
  required: false,
195
- read_only: true,
196
- serialized_name: 'properties.sizeInBytes',
189
+ serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
197
190
  type: {
198
- name: 'Number'
191
+ name: 'TimeSpan'
192
+ }
193
+ },
194
+ enable_batched_operations: {
195
+ required: false,
196
+ serialized_name: 'properties.enableBatchedOperations',
197
+ type: {
198
+ name: 'Boolean'
199
199
  }
200
200
  },
201
201
  status: {
@@ -206,27 +206,32 @@ module Azure::ARM::ServiceBus
206
206
  module: 'EntityStatus'
207
207
  }
208
208
  },
209
- subscription_count: {
209
+ support_ordering: {
210
210
  required: false,
211
- read_only: true,
212
- serialized_name: 'properties.subscriptionCount',
211
+ serialized_name: 'properties.supportOrdering',
213
212
  type: {
214
- name: 'Number'
213
+ name: 'Boolean'
215
214
  }
216
215
  },
217
- support_ordering: {
216
+ auto_delete_on_idle: {
218
217
  required: false,
219
- serialized_name: 'properties.supportOrdering',
218
+ serialized_name: 'properties.autoDeleteOnIdle',
219
+ type: {
220
+ name: 'TimeSpan'
221
+ }
222
+ },
223
+ enable_partitioning: {
224
+ required: false,
225
+ serialized_name: 'properties.enablePartitioning',
220
226
  type: {
221
227
  name: 'Boolean'
222
228
  }
223
229
  },
224
- updated_at: {
230
+ enable_express: {
225
231
  required: false,
226
- read_only: true,
227
- serialized_name: 'properties.updatedAt',
232
+ serialized_name: 'properties.enableExpress',
228
233
  type: {
229
- name: 'DateTime'
234
+ name: 'Boolean'
230
235
  }
231
236
  }
232
237
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,11 +8,12 @@ module Azure::ARM::ServiceBus
8
8
  #
9
9
  # The response to the List Topics operation.
10
10
  #
11
- class TopicListResult
11
+ class SBTopicListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<TopicResource>] Result of the List Topics operation.
15
+ include MsRest::JSONable
16
+ # @return [Array<SBTopic>] Result of the List Topics operation.
16
17
  attr_accessor :value
17
18
 
18
19
  # @return [String] Link to the next set of results. Not empty if Value
@@ -25,7 +26,7 @@ module Azure::ARM::ServiceBus
25
26
  #
26
27
  # Gets the rest of the items for the request, enabling auto-pagination.
27
28
  #
28
- # @return [Array<TopicResource>] operation results.
29
+ # @return [Array<SBTopic>] operation results.
29
30
  #
30
31
  def get_all_items
31
32
  items = @value
@@ -40,7 +41,7 @@ module Azure::ARM::ServiceBus
40
41
  #
41
42
  # Gets the next page of results.
42
43
  #
43
- # @return [TopicListResult] with next page content.
44
+ # @return [SBTopicListResult] with next page content.
44
45
  #
45
46
  def get_next_page
46
47
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -52,16 +53,16 @@ module Azure::ARM::ServiceBus
52
53
  end
53
54
 
54
55
  #
55
- # Mapper for TopicListResult class as Ruby Hash.
56
+ # Mapper for SBTopicListResult class as Ruby Hash.
56
57
  # This will be used for serialization/deserialization.
57
58
  #
58
59
  def self.mapper()
59
60
  {
60
61
  required: false,
61
- serialized_name: 'TopicListResult',
62
+ serialized_name: 'SBTopicListResult',
62
63
  type: {
63
64
  name: 'Composite',
64
- class_name: 'TopicListResult',
65
+ class_name: 'SBTopicListResult',
65
66
  model_properties: {
66
67
  value: {
67
68
  required: false,
@@ -70,10 +71,10 @@ module Azure::ARM::ServiceBus
70
71
  name: 'Sequence',
71
72
  element: {
72
73
  required: false,
73
- serialized_name: 'TopicResourceElementType',
74
+ serialized_name: 'SBTopicElementType',
74
75
  type: {
75
76
  name: 'Composite',
76
- class_name: 'TopicResource'
77
+ class_name: 'SBTopic'
77
78
  }
78
79
  }
79
80
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,72 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::ServiceBus
7
+ module Models
8
+ #
9
+ # Represents a filter which is a composition of an expression and an action
10
+ # that is executed in the pub/sub pipeline.
11
+ #
12
+ class SqlFilter
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [String] The SQL expression. e.g. MyProperty='ABC'
18
+ attr_accessor :sql_expression
19
+
20
+ # @return [Integer] This property is reserved for future use. An integer
21
+ # value showing the compatibility level, currently hard-coded to 20.
22
+ # Default value: 20 .
23
+ attr_accessor :compatibility_level
24
+
25
+ # @return [Boolean] Value that indicates whether the rule action requires
26
+ # preprocessing. Default value: true .
27
+ attr_accessor :requires_preprocessing
28
+
29
+
30
+ #
31
+ # Mapper for SqlFilter class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ required: false,
37
+ serialized_name: 'SqlFilter',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'SqlFilter',
41
+ model_properties: {
42
+ sql_expression: {
43
+ required: false,
44
+ serialized_name: 'sqlExpression',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ compatibility_level: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'compatibilityLevel',
53
+ default_value: 20,
54
+ type: {
55
+ name: 'Number'
56
+ }
57
+ },
58
+ requires_preprocessing: {
59
+ required: false,
60
+ serialized_name: 'requiresPreprocessing',
61
+ default_value: true,
62
+ type: {
63
+ name: 'Boolean'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end