azure_mgmt_service_bus 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_service_bus.rb +5 -0
- data/lib/generated/azure_mgmt_service_bus.rb +57 -0
- data/lib/generated/azure_mgmt_service_bus/models/access_rights.rb +17 -0
- data/lib/generated/azure_mgmt_service_bus/models/entity_availability_status.rb +19 -0
- data/lib/generated/azure_mgmt_service_bus/models/entity_status.rb +23 -0
- data/lib/generated/azure_mgmt_service_bus/models/message_count_details.rb +86 -0
- data/lib/generated/azure_mgmt_service_bus/models/namespace_create_or_update_parameters.rb +147 -0
- data/lib/generated/azure_mgmt_service_bus/models/namespace_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_service_bus/models/namespace_resource.rb +165 -0
- data/lib/generated/azure_mgmt_service_bus/models/namespace_state.rb +27 -0
- data/lib/generated/azure_mgmt_service_bus/models/policykey.rb +16 -0
- data/lib/generated/azure_mgmt_service_bus/models/queue_create_or_update_parameters.rb +301 -0
- data/lib/generated/azure_mgmt_service_bus/models/queue_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_service_bus/models/queue_resource.rb +326 -0
- data/lib/generated/azure_mgmt_service_bus/models/regenerate_keys_parameters.rb +46 -0
- data/lib/generated/azure_mgmt_service_bus/models/resource_list_keys.rb +88 -0
- data/lib/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb +74 -0
- data/lib/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_resource.rb +97 -0
- data/lib/generated/azure_mgmt_service_bus/models/sku.rb +66 -0
- data/lib/generated/azure_mgmt_service_bus/models/sku_name.rb +17 -0
- data/lib/generated/azure_mgmt_service_bus/models/sku_tier.rb +17 -0
- data/lib/generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb +232 -0
- data/lib/generated/azure_mgmt_service_bus/models/subscription_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_service_bus/models/subscription_resource.rb +257 -0
- data/lib/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb +288 -0
- data/lib/generated/azure_mgmt_service_bus/models/topic_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_service_bus/models/topic_resource.rb +313 -0
- data/lib/generated/azure_mgmt_service_bus/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_service_bus/namespaces.rb +1494 -0
- data/lib/generated/azure_mgmt_service_bus/queues.rb +1236 -0
- data/lib/generated/azure_mgmt_service_bus/service_bus_management_client.rb +144 -0
- data/lib/generated/azure_mgmt_service_bus/subscriptions.rb +533 -0
- data/lib/generated/azure_mgmt_service_bus/topics.rb +1236 -0
- data/lib/generated/azure_mgmt_service_bus/version.rb +8 -0
- metadata +150 -0
@@ -0,0 +1,165 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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 a namespace resource.
|
10
|
+
#
|
11
|
+
class NamespaceResource < MsRestAzure::Resource
|
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
|
+
type: {
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'type',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
location: {
|
81
|
+
required: true,
|
82
|
+
serialized_name: 'location',
|
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
|
+
serialized_name: 'properties.provisioningState',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
status: {
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.status',
|
119
|
+
type: {
|
120
|
+
name: 'Enum',
|
121
|
+
module: 'NamespaceState'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
created_at: {
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'properties.createdAt',
|
127
|
+
type: {
|
128
|
+
name: 'DateTime'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
updated_at: {
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'properties.updatedAt',
|
134
|
+
type: {
|
135
|
+
name: 'DateTime'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
service_bus_endpoint: {
|
139
|
+
required: false,
|
140
|
+
serialized_name: 'properties.serviceBusEndpoint',
|
141
|
+
type: {
|
142
|
+
name: 'String'
|
143
|
+
}
|
144
|
+
},
|
145
|
+
create_acsnamespace: {
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'properties.createACSNamespace',
|
148
|
+
type: {
|
149
|
+
name: 'Boolean'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
enabled: {
|
153
|
+
required: false,
|
154
|
+
serialized_name: 'properties.enabled',
|
155
|
+
type: {
|
156
|
+
name: 'Boolean'
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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
|
+
# 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,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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
|
+
# Defines values for Policykey
|
10
|
+
#
|
11
|
+
module Policykey
|
12
|
+
PrimaryKey = "PrimaryKey"
|
13
|
+
SecondaryKey = "SecondaryKey"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,301 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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
|
+
# 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
|
+
serialized_name: 'properties.accessedAt',
|
148
|
+
type: {
|
149
|
+
name: 'DateTime'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
auto_delete_on_idle: {
|
153
|
+
required: false,
|
154
|
+
serialized_name: 'properties.autoDeleteOnIdle',
|
155
|
+
type: {
|
156
|
+
name: 'String'
|
157
|
+
}
|
158
|
+
},
|
159
|
+
entity_availability_status: {
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'properties.entityAvailabilityStatus ',
|
162
|
+
type: {
|
163
|
+
name: 'Enum',
|
164
|
+
module: 'EntityAvailabilityStatus'
|
165
|
+
}
|
166
|
+
},
|
167
|
+
created_at: {
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'properties.createdAt',
|
170
|
+
type: {
|
171
|
+
name: 'DateTime'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
default_message_time_to_live: {
|
175
|
+
required: false,
|
176
|
+
serialized_name: 'properties.defaultMessageTimeToLive',
|
177
|
+
type: {
|
178
|
+
name: 'String'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
duplicate_detection_history_time_window: {
|
182
|
+
required: false,
|
183
|
+
serialized_name: 'properties.duplicateDetectionHistoryTimeWindow ',
|
184
|
+
type: {
|
185
|
+
name: 'String'
|
186
|
+
}
|
187
|
+
},
|
188
|
+
enable_batched_operations: {
|
189
|
+
required: false,
|
190
|
+
serialized_name: 'properties.enableBatchedOperations',
|
191
|
+
type: {
|
192
|
+
name: 'Boolean'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
dead_lettering_on_message_expiration: {
|
196
|
+
required: false,
|
197
|
+
serialized_name: 'properties.deadLetteringOnMessageExpiration',
|
198
|
+
type: {
|
199
|
+
name: 'Boolean'
|
200
|
+
}
|
201
|
+
},
|
202
|
+
enable_express: {
|
203
|
+
required: false,
|
204
|
+
serialized_name: 'properties.enableExpress',
|
205
|
+
type: {
|
206
|
+
name: 'Boolean'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
enable_partitioning: {
|
210
|
+
required: false,
|
211
|
+
serialized_name: 'properties.enablePartitioning',
|
212
|
+
type: {
|
213
|
+
name: 'Boolean'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
is_anonymous_accessible: {
|
217
|
+
required: false,
|
218
|
+
serialized_name: 'properties.isAnonymousAccessible',
|
219
|
+
type: {
|
220
|
+
name: 'Boolean'
|
221
|
+
}
|
222
|
+
},
|
223
|
+
max_delivery_count: {
|
224
|
+
required: false,
|
225
|
+
serialized_name: 'properties.maxDeliveryCount ',
|
226
|
+
type: {
|
227
|
+
name: 'Number'
|
228
|
+
}
|
229
|
+
},
|
230
|
+
max_size_in_megabytes: {
|
231
|
+
required: false,
|
232
|
+
serialized_name: 'properties.maxSizeInMegabytes',
|
233
|
+
type: {
|
234
|
+
name: 'Number'
|
235
|
+
}
|
236
|
+
},
|
237
|
+
message_count: {
|
238
|
+
required: false,
|
239
|
+
serialized_name: 'properties.messageCount ',
|
240
|
+
type: {
|
241
|
+
name: 'Number'
|
242
|
+
}
|
243
|
+
},
|
244
|
+
count_details: {
|
245
|
+
required: false,
|
246
|
+
serialized_name: 'properties.countDetails',
|
247
|
+
type: {
|
248
|
+
name: 'Composite',
|
249
|
+
class_name: 'MessageCountDetails'
|
250
|
+
}
|
251
|
+
},
|
252
|
+
requires_duplicate_detection: {
|
253
|
+
required: false,
|
254
|
+
serialized_name: 'properties.requiresDuplicateDetection',
|
255
|
+
type: {
|
256
|
+
name: 'Boolean'
|
257
|
+
}
|
258
|
+
},
|
259
|
+
requires_session: {
|
260
|
+
required: false,
|
261
|
+
serialized_name: 'properties.requiresSession',
|
262
|
+
type: {
|
263
|
+
name: 'Boolean'
|
264
|
+
}
|
265
|
+
},
|
266
|
+
size_in_bytes: {
|
267
|
+
required: false,
|
268
|
+
serialized_name: 'properties.sizeInBytes ',
|
269
|
+
type: {
|
270
|
+
name: 'Number'
|
271
|
+
}
|
272
|
+
},
|
273
|
+
status: {
|
274
|
+
required: false,
|
275
|
+
serialized_name: 'properties.status',
|
276
|
+
type: {
|
277
|
+
name: 'Enum',
|
278
|
+
module: 'EntityStatus'
|
279
|
+
}
|
280
|
+
},
|
281
|
+
support_ordering: {
|
282
|
+
required: false,
|
283
|
+
serialized_name: 'properties.supportOrdering',
|
284
|
+
type: {
|
285
|
+
name: 'Boolean'
|
286
|
+
}
|
287
|
+
},
|
288
|
+
updated_at: {
|
289
|
+
required: false,
|
290
|
+
serialized_name: 'properties.updatedAt',
|
291
|
+
type: {
|
292
|
+
name: 'DateTime'
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
}
|
298
|
+
end
|
299
|
+
end
|
300
|
+
end
|
301
|
+
end
|