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