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
@@ -0,0 +1,86 @@
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
+ # The Resource definition.
10
+ #
11
+ class ResourceNamespacePatch < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Resource location
17
+ attr_accessor :location
18
+
19
+ # @return [Hash{String => String}] Resource tags
20
+ attr_accessor :tags
21
+
22
+
23
+ #
24
+ # Mapper for ResourceNamespacePatch class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'ResourceNamespacePatch',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ResourceNamespacePatch',
34
+ model_properties: {
35
+ id: {
36
+ required: false,
37
+ read_only: true,
38
+ serialized_name: 'id',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ name: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ location: {
60
+ required: false,
61
+ serialized_name: 'location',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ tags: {
67
+ required: false,
68
+ serialized_name: 'tags',
69
+ type: {
70
+ name: 'Dictionary',
71
+ value: {
72
+ required: false,
73
+ serialized_name: 'StringElementType',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,107 @@
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
+ # Description of Rule Resource.
10
+ #
11
+ class Rule < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Action] Represents the filter actions which are allowed for
17
+ # the transformation of a message that have been matched by a filter
18
+ # expression.
19
+ attr_accessor :action
20
+
21
+ # @return [FilterType] Filter type that is evaluated against a
22
+ # BrokeredMessage. Possible values include: 'SqlFilter',
23
+ # 'CorrelationFilter'
24
+ attr_accessor :filter_type
25
+
26
+ # @return [SqlFilter] Properties of sqlFilter
27
+ attr_accessor :sql_filter
28
+
29
+ # @return [CorrelationFilter] Properties of correlationFilter
30
+ attr_accessor :correlation_filter
31
+
32
+
33
+ #
34
+ # Mapper for Rule class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ required: false,
40
+ serialized_name: 'Rule',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'Rule',
44
+ model_properties: {
45
+ id: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'id',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ name: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'name',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ type: {
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'type',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ action: {
70
+ required: false,
71
+ serialized_name: 'properties.action',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'Action'
75
+ }
76
+ },
77
+ filter_type: {
78
+ required: false,
79
+ serialized_name: 'properties.filterType',
80
+ type: {
81
+ name: 'Enum',
82
+ module: 'FilterType'
83
+ }
84
+ },
85
+ sql_filter: {
86
+ required: false,
87
+ serialized_name: 'properties.sqlFilter',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'SqlFilter'
91
+ }
92
+ },
93
+ correlation_filter: {
94
+ required: false,
95
+ serialized_name: 'properties.correlationFilter',
96
+ type: {
97
+ name: 'Composite',
98
+ class_name: 'CorrelationFilter'
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,95 @@
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
+ # The response of the List rule operation.
10
+ #
11
+ class RuleListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<Rule>] Result of the List Rules operation.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Link to the next set of results. Not empty if Value
20
+ # contains incomplete list of rules
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<Rule>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [RuleListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for RuleListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'RuleListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'RuleListResult',
66
+ model_properties: {
67
+ value: {
68
+ required: false,
69
+ serialized_name: 'value',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ required: false,
74
+ serialized_name: 'RuleElementType',
75
+ type: {
76
+ name: 'Composite',
77
+ class_name: 'Rule'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ next_link: {
83
+ required: false,
84
+ serialized_name: 'nextLink',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -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,25 +8,26 @@ module Azure::ARM::ServiceBus
8
8
  #
9
9
  # Description of a namespace authorization rule.
10
10
  #
11
- class SharedAccessAuthorizationRuleResource < MsRestAzure::Resource
11
+ class SBAuthorizationRule < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<AccessRights>] The rights associated with the rule.
16
17
  attr_accessor :rights
17
18
 
18
19
 
19
20
  #
20
- # Mapper for SharedAccessAuthorizationRuleResource class as Ruby Hash.
21
+ # Mapper for SBAuthorizationRule class as Ruby Hash.
21
22
  # This will be used for serialization/deserialization.
22
23
  #
23
24
  def self.mapper()
24
25
  {
25
26
  required: false,
26
- serialized_name: 'SharedAccessAuthorizationRuleResource',
27
+ serialized_name: 'SBAuthorizationRule',
27
28
  type: {
28
29
  name: 'Composite',
29
- class_name: 'SharedAccessAuthorizationRuleResource',
30
+ class_name: 'SBAuthorizationRule',
30
31
  model_properties: {
31
32
  id: {
32
33
  required: false,
@@ -52,29 +53,8 @@ module Azure::ARM::ServiceBus
52
53
  name: 'String'
53
54
  }
54
55
  },
55
- location: {
56
- required: true,
57
- serialized_name: 'location',
58
- type: {
59
- name: 'String'
60
- }
61
- },
62
- tags: {
63
- required: false,
64
- serialized_name: 'tags',
65
- type: {
66
- name: 'Dictionary',
67
- value: {
68
- required: false,
69
- serialized_name: 'StringElementType',
70
- type: {
71
- name: 'String'
72
- }
73
- }
74
- }
75
- },
76
56
  rights: {
77
- required: true,
57
+ required: false,
78
58
  serialized_name: 'properties.rights',
79
59
  type: {
80
60
  name: 'Sequence',
@@ -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,12 +8,13 @@ module Azure::ARM::ServiceBus
8
8
  #
9
9
  # The response to the List Namespace operation.
10
10
  #
11
- class SharedAccessAuthorizationRuleListResult
11
+ class SBAuthorizationRuleListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<SharedAccessAuthorizationRuleResource>] Result of the
16
- # List Authorization Rules operation.
15
+ include MsRest::JSONable
16
+ # @return [Array<SBAuthorizationRule>] Result of the List Authorization
17
+ # Rules operation.
17
18
  attr_accessor :value
18
19
 
19
20
  # @return [String] Link to the next set of results. Not empty if Value
@@ -26,8 +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<SharedAccessAuthorizationRuleResource>] operation
30
- # results.
30
+ # @return [Array<SBAuthorizationRule>] operation results.
31
31
  #
32
32
  def get_all_items
33
33
  items = @value
@@ -42,8 +42,7 @@ module Azure::ARM::ServiceBus
42
42
  #
43
43
  # Gets the next page of results.
44
44
  #
45
- # @return [SharedAccessAuthorizationRuleListResult] with next page
46
- # content.
45
+ # @return [SBAuthorizationRuleListResult] 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,16 +54,16 @@ module Azure::ARM::ServiceBus
55
54
  end
56
55
 
57
56
  #
58
- # Mapper for SharedAccessAuthorizationRuleListResult class as Ruby Hash.
57
+ # Mapper for SBAuthorizationRuleListResult class as Ruby Hash.
59
58
  # This will be used for serialization/deserialization.
60
59
  #
61
60
  def self.mapper()
62
61
  {
63
62
  required: false,
64
- serialized_name: 'SharedAccessAuthorizationRuleListResult',
63
+ serialized_name: 'SBAuthorizationRuleListResult',
65
64
  type: {
66
65
  name: 'Composite',
67
- class_name: 'SharedAccessAuthorizationRuleListResult',
66
+ class_name: 'SBAuthorizationRuleListResult',
68
67
  model_properties: {
69
68
  value: {
70
69
  required: false,
@@ -73,10 +72,10 @@ module Azure::ARM::ServiceBus
73
72
  name: 'Sequence',
74
73
  element: {
75
74
  required: false,
76
- serialized_name: 'SharedAccessAuthorizationRuleResourceElementType',
75
+ serialized_name: 'SBAuthorizationRuleElementType',
77
76
  type: {
78
77
  name: 'Composite',
79
- class_name: 'SharedAccessAuthorizationRuleResource'
78
+ class_name: 'SBAuthorizationRule'
80
79
  }
81
80
  }
82
81
  }
@@ -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
  # Description of a namespace resource.
10
10
  #
11
- class NamespaceResource < MsRestAzure::Resource
11
+ class SBNamespace < TrackedResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Sku]
15
+ include MsRest::JSONable
16
+ # @return [SBSku] Porperties of Sku
16
17
  attr_accessor :sku
17
18
 
18
19
  # @return [String] Provisioning state of the namespace.
@@ -28,18 +29,21 @@ module Azure::ARM::ServiceBus
28
29
  # operations.
29
30
  attr_accessor :service_bus_endpoint
30
31
 
32
+ # @return [String] Identifier for Azure Insights metrics
33
+ attr_accessor :metric_id
34
+
31
35
 
32
36
  #
33
- # Mapper for NamespaceResource class as Ruby Hash.
37
+ # Mapper for SBNamespace class as Ruby Hash.
34
38
  # This will be used for serialization/deserialization.
35
39
  #
36
40
  def self.mapper()
37
41
  {
38
42
  required: false,
39
- serialized_name: 'NamespaceResource',
43
+ serialized_name: 'SBNamespace',
40
44
  type: {
41
45
  name: 'Composite',
42
- class_name: 'NamespaceResource',
46
+ class_name: 'SBNamespace',
43
47
  model_properties: {
44
48
  id: {
45
49
  required: false,
@@ -91,7 +95,7 @@ module Azure::ARM::ServiceBus
91
95
  serialized_name: 'sku',
92
96
  type: {
93
97
  name: 'Composite',
94
- class_name: 'Sku'
98
+ class_name: 'SBSku'
95
99
  }
96
100
  },
97
101
  provisioning_state: {
@@ -125,6 +129,14 @@ module Azure::ARM::ServiceBus
125
129
  type: {
126
130
  name: 'String'
127
131
  }
132
+ },
133
+ metric_id: {
134
+ required: false,
135
+ read_only: true,
136
+ serialized_name: 'properties.metricId',
137
+ type: {
138
+ name: 'String'
139
+ }
128
140
  }
129
141
  }
130
142
  }