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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32f46e21b09bb3069b9f1cc150ff5bddade4619d
|
4
|
+
data.tar.gz: f01a0133ca1f4f71af3d21dcb7d5865d47f2ed28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1b6aa213ba91d3ecfcf3a26b3ae639eb87cf5ca5b350ec066a8a46662ff2c267833b0aecd9641264a34fc7ed375c5fa3d0cdebfac22ac47d47c4ff130da9130
|
7
|
+
data.tar.gz: 3382c2b393ad8d9f18f9224bedbe4da4f8325da6ce9445a38f8529fb2107a132538b348654263cb395b9487a6cb5cf1ab1412e203883c5c9348a279893299469
|
@@ -0,0 +1,67 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2015-08-01/generated/azure_mgmt_service_bus/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::ServiceBus::Mgmt::V2015_08_01
|
23
|
+
autoload :Operations, '2015-08-01/generated/azure_mgmt_service_bus/operations.rb'
|
24
|
+
autoload :Namespaces, '2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb'
|
25
|
+
autoload :Queues, '2015-08-01/generated/azure_mgmt_service_bus/queues.rb'
|
26
|
+
autoload :Topics, '2015-08-01/generated/azure_mgmt_service_bus/topics.rb'
|
27
|
+
autoload :Subscriptions, '2015-08-01/generated/azure_mgmt_service_bus/subscriptions.rb'
|
28
|
+
autoload :ServiceBusManagementClient, '2015-08-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb'
|
29
|
+
|
30
|
+
module Models
|
31
|
+
autoload :QueueCreateOrUpdateParameters, '2015-08-01/generated/azure_mgmt_service_bus/models/queue_create_or_update_parameters.rb'
|
32
|
+
autoload :MessageCountDetails, '2015-08-01/generated/azure_mgmt_service_bus/models/message_count_details.rb'
|
33
|
+
autoload :RegenerateKeysParameters, '2015-08-01/generated/azure_mgmt_service_bus/models/regenerate_keys_parameters.rb'
|
34
|
+
autoload :Resource, '2015-08-01/generated/azure_mgmt_service_bus/models/resource.rb'
|
35
|
+
autoload :NamespaceCreateOrUpdateParameters, '2015-08-01/generated/azure_mgmt_service_bus/models/namespace_create_or_update_parameters.rb'
|
36
|
+
autoload :CheckNameAvailability, '2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb'
|
37
|
+
autoload :NamespaceListResult, '2015-08-01/generated/azure_mgmt_service_bus/models/namespace_list_result.rb'
|
38
|
+
autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, '2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb'
|
39
|
+
autoload :QueueListResult, '2015-08-01/generated/azure_mgmt_service_bus/models/queue_list_result.rb'
|
40
|
+
autoload :SharedAccessAuthorizationRuleListResult, '2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb'
|
41
|
+
autoload :TopicCreateOrUpdateParameters, '2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb'
|
42
|
+
autoload :Sku, '2015-08-01/generated/azure_mgmt_service_bus/models/sku.rb'
|
43
|
+
autoload :OperationListResult, '2015-08-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb'
|
44
|
+
autoload :NamespaceUpdateParameters, '2015-08-01/generated/azure_mgmt_service_bus/models/namespace_update_parameters.rb'
|
45
|
+
autoload :TopicListResult, '2015-08-01/generated/azure_mgmt_service_bus/models/topic_list_result.rb'
|
46
|
+
autoload :ResourceListKeys, '2015-08-01/generated/azure_mgmt_service_bus/models/resource_list_keys.rb'
|
47
|
+
autoload :SubscriptionCreateOrUpdateParameters, '2015-08-01/generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb'
|
48
|
+
autoload :CheckNameAvailabilityResult, '2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb'
|
49
|
+
autoload :Operation, '2015-08-01/generated/azure_mgmt_service_bus/models/operation.rb'
|
50
|
+
autoload :OperationDisplay, '2015-08-01/generated/azure_mgmt_service_bus/models/operation_display.rb'
|
51
|
+
autoload :SubscriptionListResult, '2015-08-01/generated/azure_mgmt_service_bus/models/subscription_list_result.rb'
|
52
|
+
autoload :TrackedResource, '2015-08-01/generated/azure_mgmt_service_bus/models/tracked_resource.rb'
|
53
|
+
autoload :NamespaceResource, '2015-08-01/generated/azure_mgmt_service_bus/models/namespace_resource.rb'
|
54
|
+
autoload :SharedAccessAuthorizationRuleResource, '2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_resource.rb'
|
55
|
+
autoload :QueueResource, '2015-08-01/generated/azure_mgmt_service_bus/models/queue_resource.rb'
|
56
|
+
autoload :TopicResource, '2015-08-01/generated/azure_mgmt_service_bus/models/topic_resource.rb'
|
57
|
+
autoload :SubscriptionResource, '2015-08-01/generated/azure_mgmt_service_bus/models/subscription_resource.rb'
|
58
|
+
autoload :SkuName, '2015-08-01/generated/azure_mgmt_service_bus/models/sku_name.rb'
|
59
|
+
autoload :SkuTier, '2015-08-01/generated/azure_mgmt_service_bus/models/sku_tier.rb'
|
60
|
+
autoload :NamespaceState, '2015-08-01/generated/azure_mgmt_service_bus/models/namespace_state.rb'
|
61
|
+
autoload :AccessRights, '2015-08-01/generated/azure_mgmt_service_bus/models/access_rights.rb'
|
62
|
+
autoload :Policykey, '2015-08-01/generated/azure_mgmt_service_bus/models/policykey.rb'
|
63
|
+
autoload :EntityAvailabilityStatus, '2015-08-01/generated/azure_mgmt_service_bus/models/entity_availability_status.rb'
|
64
|
+
autoload :EntityStatus, '2015-08-01/generated/azure_mgmt_service_bus/models/entity_status.rb'
|
65
|
+
autoload :UnavailableReason, '2015-08-01/generated/azure_mgmt_service_bus/models/unavailable_reason.rb'
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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 Check Name availability request properties.
|
10
|
+
#
|
11
|
+
class CheckNameAvailabilityResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Value indicating namespace is availability, true if
|
16
|
+
# the namespace is available; otherwise, false.
|
17
|
+
attr_accessor :name_available
|
18
|
+
|
19
|
+
# @return [UnavailableReason] The reason for unavailability of a
|
20
|
+
# namespace. Possible values include: 'None', 'InvalidName',
|
21
|
+
# 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown',
|
22
|
+
# 'TooManyNamespaceInCurrentSubscription'
|
23
|
+
attr_accessor :reason
|
24
|
+
|
25
|
+
# @return [String] The detailed info regarding the reason associated with
|
26
|
+
# the namespace.
|
27
|
+
attr_accessor :message
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for CheckNameAvailabilityResult class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'CheckNameAvailabilityResult',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'CheckNameAvailabilityResult',
|
41
|
+
model_properties: {
|
42
|
+
name_available: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'nameAvailable',
|
45
|
+
type: {
|
46
|
+
name: 'Boolean'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
reason: {
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'reason',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
message: {
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'message',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,19 @@
|
|
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 EntityAvailabilityStatus
|
10
|
+
#
|
11
|
+
module EntityAvailabilityStatus
|
12
|
+
Available = "Available"
|
13
|
+
Limited = "Limited"
|
14
|
+
Renaming = "Renaming"
|
15
|
+
Restoring = "Restoring"
|
16
|
+
Unknown = "Unknown"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -3,20 +3,20 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::ServiceBus::Mgmt::V2015_08_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Defines values for EntityStatus
|
10
10
|
#
|
11
11
|
module EntityStatus
|
12
12
|
Active = "Active"
|
13
|
-
Disabled = "Disabled"
|
14
|
-
Restoring = "Restoring"
|
15
|
-
SendDisabled = "SendDisabled"
|
16
|
-
ReceiveDisabled = "ReceiveDisabled"
|
17
13
|
Creating = "Creating"
|
18
14
|
Deleting = "Deleting"
|
15
|
+
Disabled = "Disabled"
|
16
|
+
ReceiveDisabled = "ReceiveDisabled"
|
19
17
|
Renaming = "Renaming"
|
18
|
+
Restoring = "Restoring"
|
19
|
+
SendDisabled = "SendDisabled"
|
20
20
|
Unknown = "Unknown"
|
21
21
|
end
|
22
22
|
end
|
data/lib/{generated → 2015-08-01/generated}/azure_mgmt_service_bus/models/message_count_details.rb
RENAMED
@@ -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::
|
6
|
+
module Azure::ServiceBus::Mgmt::V2015_08_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Message Count Details.
|
@@ -22,13 +22,13 @@ module Azure::ARM::ServiceBus
|
|
22
22
|
# @return [Integer] Number of scheduled messages.
|
23
23
|
attr_accessor :scheduled_message_count
|
24
24
|
|
25
|
+
# @return [Integer] Number of messages transferred into dead letters.
|
26
|
+
attr_accessor :transfer_dead_letter_message_count
|
27
|
+
|
25
28
|
# @return [Integer] Number of messages transferred to another queue,
|
26
29
|
# topic, or subscription.
|
27
30
|
attr_accessor :transfer_message_count
|
28
31
|
|
29
|
-
# @return [Integer] Number of messages transferred into dead letters.
|
30
|
-
attr_accessor :transfer_dead_letter_message_count
|
31
|
-
|
32
32
|
|
33
33
|
#
|
34
34
|
# Mapper for MessageCountDetails class as Ruby Hash.
|
@@ -66,18 +66,18 @@ module Azure::ARM::ServiceBus
|
|
66
66
|
name: 'Number'
|
67
67
|
}
|
68
68
|
},
|
69
|
-
|
69
|
+
transfer_dead_letter_message_count: {
|
70
70
|
required: false,
|
71
71
|
read_only: true,
|
72
|
-
serialized_name: '
|
72
|
+
serialized_name: 'transferDeadLetterMessageCount',
|
73
73
|
type: {
|
74
74
|
name: 'Number'
|
75
75
|
}
|
76
76
|
},
|
77
|
-
|
77
|
+
transfer_message_count: {
|
78
78
|
required: false,
|
79
79
|
read_only: true,
|
80
|
-
serialized_name: '
|
80
|
+
serialized_name: 'transferMessageCount',
|
81
81
|
type: {
|
82
82
|
name: 'Number'
|
83
83
|
}
|
data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_create_or_update_parameters.rb
ADDED
@@ -0,0 +1,151 @@
|
|
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 Namespace operation.
|
10
|
+
#
|
11
|
+
class NamespaceCreateOrUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Namespace location.
|
16
|
+
attr_accessor :location
|
17
|
+
|
18
|
+
# @return [Sku]
|
19
|
+
attr_accessor :sku
|
20
|
+
|
21
|
+
# @return [Hash{String => String}] Namespace tags.
|
22
|
+
attr_accessor :tags
|
23
|
+
|
24
|
+
# @return [String] Provisioning state of the namespace.
|
25
|
+
attr_accessor :provisioning_state
|
26
|
+
|
27
|
+
# @return [NamespaceState] State of the namespace. Possible values
|
28
|
+
# include: 'Unknown', 'Creating', 'Created', 'Activating', 'Enabling',
|
29
|
+
# 'Active', 'Disabling', 'Disabled', 'SoftDeleting', 'SoftDeleted',
|
30
|
+
# 'Removing', 'Removed', 'Failed'
|
31
|
+
attr_accessor :status
|
32
|
+
|
33
|
+
# @return [DateTime] The time the namespace was created.
|
34
|
+
attr_accessor :created_at
|
35
|
+
|
36
|
+
# @return [DateTime] The time the namespace was updated.
|
37
|
+
attr_accessor :updated_at
|
38
|
+
|
39
|
+
# @return [String] Endpoint you can use to perform Service Bus
|
40
|
+
# operations.
|
41
|
+
attr_accessor :service_bus_endpoint
|
42
|
+
|
43
|
+
# @return [Boolean] Indicates whether to create an ACS namespace.
|
44
|
+
attr_accessor :create_acsnamespace
|
45
|
+
|
46
|
+
# @return [Boolean] Specifies whether this instance is enabled.
|
47
|
+
attr_accessor :enabled
|
48
|
+
|
49
|
+
|
50
|
+
#
|
51
|
+
# Mapper for NamespaceCreateOrUpdateParameters class as Ruby Hash.
|
52
|
+
# This will be used for serialization/deserialization.
|
53
|
+
#
|
54
|
+
def self.mapper()
|
55
|
+
{
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'NamespaceCreateOrUpdateParameters',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'NamespaceCreateOrUpdateParameters',
|
61
|
+
model_properties: {
|
62
|
+
location: {
|
63
|
+
required: true,
|
64
|
+
serialized_name: 'location',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
sku: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'sku',
|
72
|
+
type: {
|
73
|
+
name: 'Composite',
|
74
|
+
class_name: 'Sku'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
tags: {
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'tags',
|
80
|
+
type: {
|
81
|
+
name: 'Dictionary',
|
82
|
+
value: {
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'StringElementType',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
provisioning_state: {
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'properties.provisioningState',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
status: {
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'properties.status',
|
102
|
+
type: {
|
103
|
+
name: 'Enum',
|
104
|
+
module: 'NamespaceState'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
created_at: {
|
108
|
+
required: false,
|
109
|
+
read_only: true,
|
110
|
+
serialized_name: 'properties.createdAt',
|
111
|
+
type: {
|
112
|
+
name: 'DateTime'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
updated_at: {
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'properties.updatedAt',
|
119
|
+
type: {
|
120
|
+
name: 'DateTime'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
service_bus_endpoint: {
|
124
|
+
required: false,
|
125
|
+
read_only: true,
|
126
|
+
serialized_name: 'properties.serviceBusEndpoint',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
create_acsnamespace: {
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'properties.createACSNamespace',
|
134
|
+
type: {
|
135
|
+
name: 'Boolean'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
enabled: {
|
139
|
+
required: false,
|
140
|
+
serialized_name: 'properties.enabled',
|
141
|
+
type: {
|
142
|
+
name: 'Boolean'
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
@@ -0,0 +1,96 @@
|
|
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 of the List Namespace operation.
|
10
|
+
#
|
11
|
+
class NamespaceListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<NamespaceResource>] Result of the List Namespace
|
17
|
+
# operation.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next set of results. Not empty if Value
|
21
|
+
# contains incomplete list of Namespaces.
|
22
|
+
attr_accessor :next_link
|
23
|
+
|
24
|
+
# return [Proc] with next page method call.
|
25
|
+
attr_accessor :next_method
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
+
#
|
30
|
+
# @return [Array<NamespaceResource>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil do
|
36
|
+
page = page.get_next_page
|
37
|
+
items.concat(page.value)
|
38
|
+
end
|
39
|
+
items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets the next page of results.
|
44
|
+
#
|
45
|
+
# @return [NamespaceListResult] with next page content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for NamespaceListResult class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'NamespaceListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'NamespaceListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'NamespaceResourceElementType',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'NamespaceResource'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
next_link: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'nextLink',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|