azure_mgmt_service_bus 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 (119) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_service_bus.rb +67 -0
  3. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/access_rights.rb +1 -1
  4. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/check_name_availability.rb +1 -1
  5. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb +70 -0
  6. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/entity_availability_status.rb +19 -0
  7. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/entity_status.rb +5 -5
  8. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/message_count_details.rb +8 -8
  9. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_create_or_update_parameters.rb +151 -0
  10. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_list_result.rb +96 -0
  11. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_resource.rb +169 -0
  12. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_state.rb +27 -0
  13. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_update_parameters.rb +62 -0
  14. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/operation.rb +1 -1
  15. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/operation_display.rb +1 -1
  16. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/operation_list_result.rb +1 -1
  17. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/policykey.rb +16 -0
  18. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_create_or_update_parameters.rb +307 -0
  19. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_list_result.rb +95 -0
  20. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_resource.rb +318 -0
  21. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/regenerate_keys_parameters.rb +46 -0
  22. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/resource.rb +77 -0
  23. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/resource_list_keys.rb +88 -0
  24. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb +74 -0
  25. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb +98 -0
  26. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_resource.rb +83 -0
  27. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb +66 -0
  28. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/sku_name.rb +1 -1
  29. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/sku_tier.rb +1 -1
  30. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb +237 -0
  31. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_list_result.rb +96 -0
  32. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_resource.rb +248 -0
  33. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb +294 -0
  34. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_list_result.rb +95 -0
  35. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_resource.rb +305 -0
  36. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/tracked_resource.rb +82 -0
  37. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/unavailable_reason.rb +1 -1
  38. data/lib/2015-08-01/generated/azure_mgmt_service_bus/module_definition.rb +9 -0
  39. data/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb +1751 -0
  40. data/lib/2015-08-01/generated/azure_mgmt_service_bus/operations.rb +213 -0
  41. data/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb +1267 -0
  42. data/lib/2015-08-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +147 -0
  43. data/lib/2015-08-01/generated/azure_mgmt_service_bus/subscriptions.rb +545 -0
  44. data/lib/2015-08-01/generated/azure_mgmt_service_bus/topics.rb +1267 -0
  45. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/version.rb +2 -2
  46. data/lib/2017-04-01/generated/azure_mgmt_service_bus.rb +87 -0
  47. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/disaster_recovery_configs.rb +6 -6
  48. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/event_hubs.rb +3 -3
  49. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/access_keys.rb +1 -1
  50. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/access_rights.rb +17 -0
  51. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/action.rb +1 -1
  52. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/arm_disaster_recovery.rb +1 -1
  53. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb +1 -1
  54. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/authorization_rule_properties.rb +1 -1
  55. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/capture_description.rb +1 -1
  56. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb +47 -0
  57. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/check_name_availability_result.rb +1 -1
  58. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/correlation_filter.rb +1 -1
  59. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/destination.rb +1 -1
  60. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/encoding_capture_description.rb +1 -1
  61. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/entity_status.rb +23 -0
  62. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/error_response.rb +1 -1
  63. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/event_hub_list_result.rb +1 -1
  64. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/eventhub.rb +1 -1
  65. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/filter_type.rb +1 -1
  66. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/key_type.rb +1 -1
  67. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/message_count_details.rb +91 -0
  68. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation.rb +56 -0
  69. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation_display.rb +68 -0
  70. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb +99 -0
  71. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/premium_messaging_regions.rb +1 -1
  72. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/premium_messaging_regions_list_result.rb +1 -1
  73. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/premium_messaging_regions_properties.rb +1 -1
  74. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/provisioning_state_dr.rb +1 -1
  75. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb +1 -1
  76. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/resource.rb +1 -1
  77. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/resource_namespace_patch.rb +1 -1
  78. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/role_disaster_recovery.rb +1 -1
  79. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/rule.rb +1 -1
  80. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/rule_list_result.rb +1 -1
  81. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbauthorization_rule.rb +1 -1
  82. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbauthorization_rule_list_result.rb +1 -1
  83. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbnamespace.rb +1 -1
  84. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbnamespace_list_result.rb +1 -1
  85. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbnamespace_update_parameters.rb +1 -1
  86. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbqueue.rb +1 -1
  87. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbqueue_list_result.rb +1 -1
  88. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbsku.rb +1 -1
  89. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbsubscription.rb +1 -1
  90. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbsubscription_list_result.rb +1 -1
  91. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbtopic.rb +1 -1
  92. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sbtopic_list_result.rb +1 -1
  93. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sku_name.rb +17 -0
  94. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sku_tier.rb +17 -0
  95. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sql_filter.rb +1 -1
  96. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/sql_rule_action.rb +1 -1
  97. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/models/tracked_resource.rb +1 -1
  98. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/unavailable_reason.rb +20 -0
  99. data/lib/2017-04-01/generated/azure_mgmt_service_bus/module_definition.rb +9 -0
  100. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/namespaces.rb +23 -23
  101. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/operations.rb +3 -3
  102. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/premium_messaging_regions_operations.rb +3 -3
  103. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/queues.rb +14 -14
  104. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/regions.rb +3 -3
  105. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/rules.rb +6 -6
  106. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/service_bus_management_client.rb +3 -3
  107. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/subscriptions.rb +6 -6
  108. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_service_bus/topics.rb +14 -14
  109. data/lib/{generated/azure_mgmt_service_bus/module_definition.rb → 2017-04-01/generated/azure_mgmt_service_bus/version.rb} +3 -3
  110. data/lib/azure_mgmt_service_bus.rb +3 -1
  111. data/lib/module_definition.rb +7 -0
  112. data/lib/profiles/common/configurable.rb +73 -0
  113. data/lib/profiles/common/default.rb +68 -0
  114. data/lib/profiles/latest/modules/servicebus_profile_module.rb +260 -0
  115. data/lib/profiles/latest/servicebus_latest_profile_client.rb +33 -0
  116. data/lib/profiles/latest/servicebus_module_definition.rb +9 -0
  117. data/lib/version.rb +7 -0
  118. metadata +117 -66
  119. data/lib/generated/azure_mgmt_service_bus.rb +0 -87
@@ -0,0 +1,169 @@
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::ServiceBus::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Description of a namespace resource.
10
+ #
11
+ class NamespaceResource < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Sku]
16
+ attr_accessor :sku
17
+
18
+ # @return [String] Provisioning state of the namespace.
19
+ attr_accessor :provisioning_state
20
+
21
+ # @return [NamespaceState] State of the namespace. Possible values
22
+ # include: 'Unknown', 'Creating', 'Created', 'Activating', 'Enabling',
23
+ # 'Active', 'Disabling', 'Disabled', 'SoftDeleting', 'SoftDeleted',
24
+ # 'Removing', 'Removed', 'Failed'
25
+ attr_accessor :status
26
+
27
+ # @return [DateTime] The time the namespace was created.
28
+ attr_accessor :created_at
29
+
30
+ # @return [DateTime] The time the namespace was updated.
31
+ attr_accessor :updated_at
32
+
33
+ # @return [String] Endpoint you can use to perform Service Bus
34
+ # operations.
35
+ attr_accessor :service_bus_endpoint
36
+
37
+ # @return [Boolean] Indicates whether to create an ACS namespace.
38
+ attr_accessor :create_acsnamespace
39
+
40
+ # @return [Boolean] Specifies whether this instance is enabled.
41
+ attr_accessor :enabled
42
+
43
+
44
+ #
45
+ # Mapper for NamespaceResource class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ required: false,
51
+ serialized_name: 'NamespaceResource',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'NamespaceResource',
55
+ model_properties: {
56
+ id: {
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'id',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ name: {
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'name',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ location: {
73
+ required: false,
74
+ serialized_name: 'location',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ type: {
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'type',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ tags: {
88
+ required: false,
89
+ serialized_name: 'tags',
90
+ type: {
91
+ name: 'Dictionary',
92
+ value: {
93
+ required: false,
94
+ serialized_name: 'StringElementType',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ }
99
+ }
100
+ },
101
+ sku: {
102
+ required: false,
103
+ serialized_name: 'sku',
104
+ type: {
105
+ name: 'Composite',
106
+ class_name: 'Sku'
107
+ }
108
+ },
109
+ provisioning_state: {
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'properties.provisioningState',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ status: {
118
+ required: false,
119
+ serialized_name: 'properties.status',
120
+ type: {
121
+ name: 'Enum',
122
+ module: 'NamespaceState'
123
+ }
124
+ },
125
+ created_at: {
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'properties.createdAt',
129
+ type: {
130
+ name: 'DateTime'
131
+ }
132
+ },
133
+ updated_at: {
134
+ required: false,
135
+ read_only: true,
136
+ serialized_name: 'properties.updatedAt',
137
+ type: {
138
+ name: 'DateTime'
139
+ }
140
+ },
141
+ service_bus_endpoint: {
142
+ required: false,
143
+ read_only: true,
144
+ serialized_name: 'properties.serviceBusEndpoint',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ },
149
+ create_acsnamespace: {
150
+ required: false,
151
+ serialized_name: 'properties.createACSNamespace',
152
+ type: {
153
+ name: 'Boolean'
154
+ }
155
+ },
156
+ enabled: {
157
+ required: false,
158
+ serialized_name: 'properties.enabled',
159
+ type: {
160
+ name: 'Boolean'
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ end
167
+ end
168
+ end
169
+ end
@@ -0,0 +1,27 @@
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::ServiceBus::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Defines values for NamespaceState
10
+ #
11
+ module NamespaceState
12
+ Unknown = "Unknown"
13
+ Creating = "Creating"
14
+ Created = "Created"
15
+ Activating = "Activating"
16
+ Enabling = "Enabling"
17
+ Active = "Active"
18
+ Disabling = "Disabling"
19
+ Disabled = "Disabled"
20
+ SoftDeleting = "SoftDeleting"
21
+ SoftDeleted = "SoftDeleted"
22
+ Removing = "Removing"
23
+ Removed = "Removed"
24
+ Failed = "Failed"
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,62 @@
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::ServiceBus::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Parameters supplied to the Patch Namespace operation.
10
+ #
11
+ class NamespaceUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Resource tags
16
+ attr_accessor :tags
17
+
18
+ # @return [Sku] The sku of the created namespace
19
+ attr_accessor :sku
20
+
21
+
22
+ #
23
+ # Mapper for NamespaceUpdateParameters class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'NamespaceUpdateParameters',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'NamespaceUpdateParameters',
33
+ model_properties: {
34
+ tags: {
35
+ required: false,
36
+ serialized_name: 'tags',
37
+ type: {
38
+ name: 'Dictionary',
39
+ value: {
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ },
48
+ sku: {
49
+ required: false,
50
+ serialized_name: 'sku',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'Sku'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ 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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2015_08_01
7
7
  module Models
8
8
  #
9
9
  # A ServiceBus REST API 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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2015_08_01
7
7
  module Models
8
8
  #
9
9
  # The object that represents the 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::ServiceBus
6
+ module Azure::ServiceBus::Mgmt::V2015_08_01
7
7
  module Models
8
8
  #
9
9
  # Result of the request to list ServiceBus operations. It contains a list
@@ -0,0 +1,16 @@
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::ServiceBus::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Defines values for Policykey
10
+ #
11
+ module Policykey
12
+ PrimaryKey = "PrimaryKey"
13
+ SecondaryKey = "SecondaryKey"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,307 @@
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::ServiceBus::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Parameters supplied to the Create Or Update Queue operation.
10
+ #
11
+ class QueueCreateOrUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Queue name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] location of the resource.
19
+ attr_accessor :location
20
+
21
+ # @return [String] The duration of a peek-lock; that is, the amount of
22
+ # time that the message is locked for other receivers. The maximum value
23
+ # for LockDuration is 5 minutes; the default value is 1 minute.
24
+ attr_accessor :lock_duration
25
+
26
+ # @return [DateTime] Last time a message was sent, or the last time there
27
+ # was a receive request to this queue.
28
+ attr_accessor :accessed_at
29
+
30
+ # @return [String] the TimeSpan idle interval after which the queue is
31
+ # automatically deleted. The minimum duration is 5 minutes.
32
+ attr_accessor :auto_delete_on_idle
33
+
34
+ # @return [EntityAvailabilityStatus] Entity availability status for the
35
+ # queue. Possible values include: 'Available', 'Limited', 'Renaming',
36
+ # 'Restoring', 'Unknown'
37
+ attr_accessor :entity_availability_status
38
+
39
+ # @return [DateTime] The exact time the message was created.
40
+ attr_accessor :created_at
41
+
42
+ # @return [String] The default message time to live value. This is the
43
+ # duration after which the message expires, starting from when the
44
+ # message is sent to Service Bus. This is the default value used when
45
+ # TimeToLive is not set on a message itself.
46
+ attr_accessor :default_message_time_to_live
47
+
48
+ # @return [String] TimeSpan structure that defines the duration of the
49
+ # duplicate detection history. The default value is 10 minutes.
50
+ attr_accessor :duplicate_detection_history_time_window
51
+
52
+ # @return [Boolean] A value that indicates whether server-side batched
53
+ # operations are enabled.
54
+ attr_accessor :enable_batched_operations
55
+
56
+ # @return [Boolean] A value that indicates whether this queue has dead
57
+ # letter support when a message expires.
58
+ attr_accessor :dead_lettering_on_message_expiration
59
+
60
+ # @return [Boolean] A value that indicates whether Express Entities are
61
+ # enabled. An express queue holds a message in memory temporarily before
62
+ # writing it to persistent storage.
63
+ attr_accessor :enable_express
64
+
65
+ # @return [Boolean] A value that indicates whether the queue is to be
66
+ # partitioned across multiple message brokers.
67
+ attr_accessor :enable_partitioning
68
+
69
+ # @return [Boolean] A value that indicates whether the message is
70
+ # accessible anonymously.
71
+ attr_accessor :is_anonymous_accessible
72
+
73
+ # @return [Integer] The maximum delivery count. A message is
74
+ # automatically deadlettered after this number of deliveries.
75
+ attr_accessor :max_delivery_count
76
+
77
+ # @return [Integer] The maximum size of the queue in megabytes, which is
78
+ # the size of memory allocated for the queue.
79
+ attr_accessor :max_size_in_megabytes
80
+
81
+ # @return [Integer] The number of messages in the queue.
82
+ attr_accessor :message_count
83
+
84
+ # @return [MessageCountDetails]
85
+ attr_accessor :count_details
86
+
87
+ # @return [Boolean] A value indicating if this queue requires duplicate
88
+ # detection.
89
+ attr_accessor :requires_duplicate_detection
90
+
91
+ # @return [Boolean] A value that indicates whether the queue supports the
92
+ # concept of sessions.
93
+ attr_accessor :requires_session
94
+
95
+ # @return [Integer] The size of the queue, in bytes.
96
+ attr_accessor :size_in_bytes
97
+
98
+ # @return [EntityStatus] Enumerates the possible values for the status of
99
+ # a messaging entity. Possible values include: 'Active', 'Creating',
100
+ # 'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', 'Restoring',
101
+ # 'SendDisabled', 'Unknown'
102
+ attr_accessor :status
103
+
104
+ # @return [Boolean] A value that indicates whether the queue supports
105
+ # ordering.
106
+ attr_accessor :support_ordering
107
+
108
+ # @return [DateTime] The exact time the message was updated.
109
+ attr_accessor :updated_at
110
+
111
+
112
+ #
113
+ # Mapper for QueueCreateOrUpdateParameters class as Ruby Hash.
114
+ # This will be used for serialization/deserialization.
115
+ #
116
+ def self.mapper()
117
+ {
118
+ required: false,
119
+ serialized_name: 'QueueCreateOrUpdateParameters',
120
+ type: {
121
+ name: 'Composite',
122
+ class_name: 'QueueCreateOrUpdateParameters',
123
+ model_properties: {
124
+ name: {
125
+ required: false,
126
+ serialized_name: 'name',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ location: {
132
+ required: true,
133
+ serialized_name: 'location',
134
+ type: {
135
+ name: 'String'
136
+ }
137
+ },
138
+ lock_duration: {
139
+ required: false,
140
+ serialized_name: 'properties.lockDuration',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ accessed_at: {
146
+ required: false,
147
+ read_only: true,
148
+ serialized_name: 'properties.accessedAt',
149
+ type: {
150
+ name: 'DateTime'
151
+ }
152
+ },
153
+ auto_delete_on_idle: {
154
+ required: false,
155
+ serialized_name: 'properties.autoDeleteOnIdle',
156
+ type: {
157
+ name: 'String'
158
+ }
159
+ },
160
+ entity_availability_status: {
161
+ required: false,
162
+ serialized_name: 'properties.entityAvailabilityStatus',
163
+ type: {
164
+ name: 'Enum',
165
+ module: 'EntityAvailabilityStatus'
166
+ }
167
+ },
168
+ created_at: {
169
+ required: false,
170
+ read_only: true,
171
+ serialized_name: 'properties.createdAt',
172
+ type: {
173
+ name: 'DateTime'
174
+ }
175
+ },
176
+ default_message_time_to_live: {
177
+ required: false,
178
+ serialized_name: 'properties.defaultMessageTimeToLive',
179
+ type: {
180
+ name: 'String'
181
+ }
182
+ },
183
+ duplicate_detection_history_time_window: {
184
+ required: false,
185
+ serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
186
+ type: {
187
+ name: 'String'
188
+ }
189
+ },
190
+ enable_batched_operations: {
191
+ required: false,
192
+ serialized_name: 'properties.enableBatchedOperations',
193
+ type: {
194
+ name: 'Boolean'
195
+ }
196
+ },
197
+ dead_lettering_on_message_expiration: {
198
+ required: false,
199
+ serialized_name: 'properties.deadLetteringOnMessageExpiration',
200
+ type: {
201
+ name: 'Boolean'
202
+ }
203
+ },
204
+ enable_express: {
205
+ required: false,
206
+ serialized_name: 'properties.enableExpress',
207
+ type: {
208
+ name: 'Boolean'
209
+ }
210
+ },
211
+ enable_partitioning: {
212
+ required: false,
213
+ serialized_name: 'properties.enablePartitioning',
214
+ type: {
215
+ name: 'Boolean'
216
+ }
217
+ },
218
+ is_anonymous_accessible: {
219
+ required: false,
220
+ serialized_name: 'properties.isAnonymousAccessible',
221
+ type: {
222
+ name: 'Boolean'
223
+ }
224
+ },
225
+ max_delivery_count: {
226
+ required: false,
227
+ serialized_name: 'properties.maxDeliveryCount',
228
+ type: {
229
+ name: 'Number'
230
+ }
231
+ },
232
+ max_size_in_megabytes: {
233
+ required: false,
234
+ serialized_name: 'properties.maxSizeInMegabytes',
235
+ type: {
236
+ name: 'Number'
237
+ }
238
+ },
239
+ message_count: {
240
+ required: false,
241
+ read_only: true,
242
+ serialized_name: 'properties.messageCount',
243
+ type: {
244
+ name: 'Number'
245
+ }
246
+ },
247
+ count_details: {
248
+ required: false,
249
+ read_only: true,
250
+ serialized_name: 'properties.countDetails',
251
+ type: {
252
+ name: 'Composite',
253
+ class_name: 'MessageCountDetails'
254
+ }
255
+ },
256
+ requires_duplicate_detection: {
257
+ required: false,
258
+ serialized_name: 'properties.requiresDuplicateDetection',
259
+ type: {
260
+ name: 'Boolean'
261
+ }
262
+ },
263
+ requires_session: {
264
+ required: false,
265
+ serialized_name: 'properties.requiresSession',
266
+ type: {
267
+ name: 'Boolean'
268
+ }
269
+ },
270
+ size_in_bytes: {
271
+ required: false,
272
+ read_only: true,
273
+ serialized_name: 'properties.sizeInBytes',
274
+ type: {
275
+ name: 'Number'
276
+ }
277
+ },
278
+ status: {
279
+ required: false,
280
+ serialized_name: 'properties.status',
281
+ type: {
282
+ name: 'Enum',
283
+ module: 'EntityStatus'
284
+ }
285
+ },
286
+ support_ordering: {
287
+ required: false,
288
+ serialized_name: 'properties.supportOrdering',
289
+ type: {
290
+ name: 'Boolean'
291
+ }
292
+ },
293
+ updated_at: {
294
+ required: false,
295
+ read_only: true,
296
+ serialized_name: 'properties.updatedAt',
297
+ type: {
298
+ name: 'DateTime'
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ end
305
+ end
306
+ end
307
+ end