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,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 Queues operation.
10
10
  #
11
- class QueueListResult
11
+ class SBQueueListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<QueueResource>] Result of the List Queues operation.
15
+ include MsRest::JSONable
16
+ # @return [Array<SBQueue>] Result of the List Queues 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<QueueResource>] operation results.
29
+ # @return [Array<SBQueue>] 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 [QueueListResult] with next page content.
44
+ # @return [SBQueueListResult] 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 QueueListResult class as Ruby Hash.
56
+ # Mapper for SBQueueListResult 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: 'QueueListResult',
62
+ serialized_name: 'SBQueueListResult',
62
63
  type: {
63
64
  name: 'Composite',
64
- class_name: 'QueueListResult',
65
+ class_name: 'SBQueueListResult',
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: 'QueueResourceElementType',
74
+ serialized_name: 'SBQueueElementType',
74
75
  type: {
75
76
  name: 'Composite',
76
- class_name: 'QueueResource'
77
+ class_name: 'SBQueue'
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
 
@@ -8,10 +8,11 @@ module Azure::ARM::ServiceBus
8
8
  #
9
9
  # SKU of the namespace.
10
10
  #
11
- class Sku
11
+ class SBSku
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [SkuName] Name of this SKU. Possible values include: 'Basic',
16
17
  # 'Standard', 'Premium'
17
18
  attr_accessor :name
@@ -20,34 +21,37 @@ module Azure::ARM::ServiceBus
20
21
  # values include: 'Basic', 'Standard', 'Premium'
21
22
  attr_accessor :tier
22
23
 
23
- # @return [Integer] The specified messaging units for the tier.
24
+ # @return [Integer] The specified messaging units for the tier. For
25
+ # Premium tier, capacity are 1,2 and 4.
24
26
  attr_accessor :capacity
25
27
 
26
28
 
27
29
  #
28
- # Mapper for Sku class as Ruby Hash.
30
+ # Mapper for SBSku class as Ruby Hash.
29
31
  # This will be used for serialization/deserialization.
30
32
  #
31
33
  def self.mapper()
32
34
  {
33
35
  required: false,
34
- serialized_name: 'Sku',
36
+ serialized_name: 'SBSku',
35
37
  type: {
36
38
  name: 'Composite',
37
- class_name: 'Sku',
39
+ class_name: 'SBSku',
38
40
  model_properties: {
39
41
  name: {
40
- required: false,
42
+ required: true,
41
43
  serialized_name: 'name',
42
44
  type: {
43
- name: 'String'
45
+ name: 'Enum',
46
+ module: 'SkuName'
44
47
  }
45
48
  },
46
49
  tier: {
47
- required: true,
50
+ required: false,
48
51
  serialized_name: 'tier',
49
52
  type: {
50
- name: 'String'
53
+ name: 'Enum',
54
+ module: 'SkuTier'
51
55
  }
52
56
  },
53
57
  capacity: {
@@ -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,76 +8,79 @@ module Azure::ARM::ServiceBus
8
8
  #
9
9
  # Description of subscription resource.
10
10
  #
11
- class SubscriptionResource < MsRestAzure::Resource
11
+ class SBSubscription < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
16
+ # @return [Integer] Number of messages.
17
+ attr_accessor :message_count
18
+
19
+ # @return [DateTime] Exact time the message was created.
20
+ attr_accessor :created_at
21
+
15
22
  # @return [DateTime] Last time there was a receive request to this
16
23
  # subscription.
17
24
  attr_accessor :accessed_at
18
25
 
19
- # @return [String] TimeSpan idle interval after which the topic is
20
- # automatically deleted. The minimum duration is 5 minutes.
21
- attr_accessor :auto_delete_on_idle
26
+ # @return [DateTime] The exact time the message was updated.
27
+ attr_accessor :updated_at
22
28
 
23
- # @return [MessageCountDetails]
29
+ # @return [MessageCountDetails] Message count details
24
30
  attr_accessor :count_details
25
31
 
26
- # @return [DateTime] Exact time the message was created.
27
- attr_accessor :created_at
32
+ # @return [Duration] ISO 8061 lock duration timespan for the
33
+ # subscription. The default value is 1 minute.
34
+ attr_accessor :lock_duration
28
35
 
29
- # @return [String] Default message time to live value. This is the
30
- # duration after which the message expires, starting from when the
31
- # message is sent to Service Bus. This is the default value used when
32
- # TimeToLive is not set on a message itself.
33
- attr_accessor :default_message_time_to_live
36
+ # @return [Boolean] Value indicating if a subscription supports the
37
+ # concept of sessions.
38
+ attr_accessor :requires_session
34
39
 
35
- # @return [Boolean] Value that indicates whether a subscription has dead
36
- # letter support on filter evaluation exceptions.
37
- attr_accessor :dead_lettering_on_filter_evaluation_exceptions
40
+ # @return [Duration] ISO 8061 Default message timespan to live value.
41
+ # This is the duration after which the message expires, starting from
42
+ # when the message is sent to Service Bus. This is the default value used
43
+ # when TimeToLive is not set on a message itself.
44
+ attr_accessor :default_message_time_to_live
38
45
 
39
46
  # @return [Boolean] Value that indicates whether a subscription has dead
40
47
  # letter support when a message expires.
41
48
  attr_accessor :dead_lettering_on_message_expiration
42
49
 
43
- # @return [Boolean] Value that indicates whether server-side batched
44
- # operations are enabled.
45
- attr_accessor :enable_batched_operations
46
-
47
- # @return [String] The lock duration time span for the subscription.
48
- attr_accessor :lock_duration
50
+ # @return [Duration] ISO 8601 timeSpan structure that defines the
51
+ # duration of the duplicate detection history. The default value is 10
52
+ # minutes.
53
+ attr_accessor :duplicate_detection_history_time_window
49
54
 
50
55
  # @return [Integer] Number of maximum deliveries.
51
56
  attr_accessor :max_delivery_count
52
57
 
53
- # @return [Integer] Number of messages.
54
- attr_accessor :message_count
55
-
56
- # @return [Boolean] Value indicating if a subscription supports the
57
- # concept of sessions.
58
- attr_accessor :requires_session
59
-
60
58
  # @return [EntityStatus] Enumerates the possible values for the status of
61
- # a messaging entity. Possible values include: 'Active', 'Creating',
62
- # 'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', 'Restoring',
63
- # 'SendDisabled', 'Unknown'
59
+ # a messaging entity. Possible values include: 'Active', 'Disabled',
60
+ # 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting',
61
+ # 'Renaming', 'Unknown'
64
62
  attr_accessor :status
65
63
 
66
- # @return [DateTime] The exact time the message was updated.
67
- attr_accessor :updated_at
64
+ # @return [Boolean] Value that indicates whether server-side batched
65
+ # operations are enabled.
66
+ attr_accessor :enable_batched_operations
67
+
68
+ # @return [Duration] ISO 8061 timeSpan idle interval after which the
69
+ # topic is automatically deleted. The minimum duration is 5 minutes.
70
+ attr_accessor :auto_delete_on_idle
68
71
 
69
72
 
70
73
  #
71
- # Mapper for SubscriptionResource class as Ruby Hash.
74
+ # Mapper for SBSubscription class as Ruby Hash.
72
75
  # This will be used for serialization/deserialization.
73
76
  #
74
77
  def self.mapper()
75
78
  {
76
79
  required: false,
77
- serialized_name: 'SubscriptionResource',
80
+ serialized_name: 'SBSubscription',
78
81
  type: {
79
82
  name: 'Composite',
80
- class_name: 'SubscriptionResource',
83
+ class_name: 'SBSubscription',
81
84
  model_properties: {
82
85
  id: {
83
86
  required: false,
@@ -103,25 +106,20 @@ module Azure::ARM::ServiceBus
103
106
  name: 'String'
104
107
  }
105
108
  },
106
- location: {
107
- required: true,
108
- serialized_name: 'location',
109
+ message_count: {
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'properties.messageCount',
109
113
  type: {
110
- name: 'String'
114
+ name: 'Number'
111
115
  }
112
116
  },
113
- tags: {
117
+ created_at: {
114
118
  required: false,
115
- serialized_name: 'tags',
119
+ read_only: true,
120
+ serialized_name: 'properties.createdAt',
116
121
  type: {
117
- name: 'Dictionary',
118
- value: {
119
- required: false,
120
- serialized_name: 'StringElementType',
121
- type: {
122
- name: 'String'
123
- }
124
- }
122
+ name: 'DateTime'
125
123
  }
126
124
  },
127
125
  accessed_at: {
@@ -132,11 +130,12 @@ module Azure::ARM::ServiceBus
132
130
  name: 'DateTime'
133
131
  }
134
132
  },
135
- auto_delete_on_idle: {
133
+ updated_at: {
136
134
  required: false,
137
- serialized_name: 'properties.autoDeleteOnIdle',
135
+ read_only: true,
136
+ serialized_name: 'properties.updatedAt',
138
137
  type: {
139
- name: 'String'
138
+ name: 'DateTime'
140
139
  }
141
140
  },
142
141
  count_details: {
@@ -148,26 +147,25 @@ module Azure::ARM::ServiceBus
148
147
  class_name: 'MessageCountDetails'
149
148
  }
150
149
  },
151
- created_at: {
150
+ lock_duration: {
152
151
  required: false,
153
- read_only: true,
154
- serialized_name: 'properties.createdAt',
152
+ serialized_name: 'properties.lockDuration',
155
153
  type: {
156
- name: 'DateTime'
154
+ name: 'TimeSpan'
157
155
  }
158
156
  },
159
- default_message_time_to_live: {
157
+ requires_session: {
160
158
  required: false,
161
- serialized_name: 'properties.defaultMessageTimeToLive',
159
+ serialized_name: 'properties.requiresSession',
162
160
  type: {
163
- name: 'String'
161
+ name: 'Boolean'
164
162
  }
165
163
  },
166
- dead_lettering_on_filter_evaluation_exceptions: {
164
+ default_message_time_to_live: {
167
165
  required: false,
168
- serialized_name: 'properties.deadLetteringOnFilterEvaluationExceptions',
166
+ serialized_name: 'properties.defaultMessageTimeToLive',
169
167
  type: {
170
- name: 'Boolean'
168
+ name: 'TimeSpan'
171
169
  }
172
170
  },
173
171
  dead_lettering_on_message_expiration: {
@@ -177,18 +175,11 @@ module Azure::ARM::ServiceBus
177
175
  name: 'Boolean'
178
176
  }
179
177
  },
180
- enable_batched_operations: {
178
+ duplicate_detection_history_time_window: {
181
179
  required: false,
182
- serialized_name: 'properties.enableBatchedOperations',
180
+ serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
183
181
  type: {
184
- name: 'Boolean'
185
- }
186
- },
187
- lock_duration: {
188
- required: false,
189
- serialized_name: 'properties.lockDuration',
190
- type: {
191
- name: 'String'
182
+ name: 'TimeSpan'
192
183
  }
193
184
  },
194
185
  max_delivery_count: {
@@ -198,35 +189,26 @@ module Azure::ARM::ServiceBus
198
189
  name: 'Number'
199
190
  }
200
191
  },
201
- message_count: {
192
+ status: {
202
193
  required: false,
203
- read_only: true,
204
- serialized_name: 'properties.messageCount',
194
+ serialized_name: 'properties.status',
205
195
  type: {
206
- name: 'Number'
196
+ name: 'Enum',
197
+ module: 'EntityStatus'
207
198
  }
208
199
  },
209
- requires_session: {
200
+ enable_batched_operations: {
210
201
  required: false,
211
- serialized_name: 'properties.requiresSession',
202
+ serialized_name: 'properties.enableBatchedOperations',
212
203
  type: {
213
204
  name: 'Boolean'
214
205
  }
215
206
  },
216
- status: {
217
- required: false,
218
- serialized_name: 'properties.status',
219
- type: {
220
- name: 'Enum',
221
- module: 'EntityStatus'
222
- }
223
- },
224
- updated_at: {
207
+ auto_delete_on_idle: {
225
208
  required: false,
226
- read_only: true,
227
- serialized_name: 'properties.updatedAt',
209
+ serialized_name: 'properties.autoDeleteOnIdle',
228
210
  type: {
229
- name: 'DateTime'
211
+ name: 'TimeSpan'
230
212
  }
231
213
  }
232
214
  }
@@ -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 Subscriptions operation.
10
10
  #
11
- class SubscriptionListResult
11
+ class SBSubscriptionListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<SubscriptionResource>] Result of the List Subscriptions
15
+ include MsRest::JSONable
16
+ # @return [Array<SBSubscription>] Result of the List Subscriptions
16
17
  # operation.
17
18
  attr_accessor :value
18
19
 
@@ -26,7 +27,7 @@ module Azure::ARM::ServiceBus
26
27
  #
27
28
  # Gets the rest of the items for the request, enabling auto-pagination.
28
29
  #
29
- # @return [Array<SubscriptionResource>] operation results.
30
+ # @return [Array<SBSubscription>] operation results.
30
31
  #
31
32
  def get_all_items
32
33
  items = @value
@@ -41,7 +42,7 @@ module Azure::ARM::ServiceBus
41
42
  #
42
43
  # Gets the next page of results.
43
44
  #
44
- # @return [SubscriptionListResult] with next page content.
45
+ # @return [SBSubscriptionListResult] with next page content.
45
46
  #
46
47
  def get_next_page
47
48
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -53,16 +54,16 @@ module Azure::ARM::ServiceBus
53
54
  end
54
55
 
55
56
  #
56
- # Mapper for SubscriptionListResult class as Ruby Hash.
57
+ # Mapper for SBSubscriptionListResult class as Ruby Hash.
57
58
  # This will be used for serialization/deserialization.
58
59
  #
59
60
  def self.mapper()
60
61
  {
61
62
  required: false,
62
- serialized_name: 'SubscriptionListResult',
63
+ serialized_name: 'SBSubscriptionListResult',
63
64
  type: {
64
65
  name: 'Composite',
65
- class_name: 'SubscriptionListResult',
66
+ class_name: 'SBSubscriptionListResult',
66
67
  model_properties: {
67
68
  value: {
68
69
  required: false,
@@ -71,10 +72,10 @@ module Azure::ARM::ServiceBus
71
72
  name: 'Sequence',
72
73
  element: {
73
74
  required: false,
74
- serialized_name: 'SubscriptionResourceElementType',
75
+ serialized_name: 'SBSubscriptionElementType',
75
76
  type: {
76
77
  name: 'Composite',
77
- class_name: 'SubscriptionResource'
78
+ class_name: 'SBSubscription'
78
79
  }
79
80
  }
80
81
  }