azure_mgmt_service_bus 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_service_bus.rb +35 -20
- data/lib/generated/azure_mgmt_service_bus/models/{resource_list_keys.rb → access_keys.rb} +11 -5
- data/lib/generated/azure_mgmt_service_bus/models/access_rights.rb +1 -1
- data/lib/generated/azure_mgmt_service_bus/models/action.rb +69 -0
- data/lib/generated/azure_mgmt_service_bus/models/authorization_rule_properties.rb +53 -0
- data/lib/generated/azure_mgmt_service_bus/models/check_name_availability.rb +48 -0
- data/lib/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb +72 -0
- data/lib/generated/azure_mgmt_service_bus/models/correlation_filter.rb +127 -0
- data/lib/generated/azure_mgmt_service_bus/models/entity_status.rb +5 -5
- data/lib/generated/azure_mgmt_service_bus/models/error_response.rb +56 -0
- data/lib/generated/azure_mgmt_service_bus/models/filter_type.rb +16 -0
- data/lib/generated/azure_mgmt_service_bus/models/{policykey.rb → key_type.rb} +3 -3
- data/lib/generated/azure_mgmt_service_bus/models/message_count_details.rb +9 -8
- data/lib/generated/azure_mgmt_service_bus/models/operation.rb +57 -0
- data/lib/generated/azure_mgmt_service_bus/models/operation_display.rb +69 -0
- data/lib/generated/azure_mgmt_service_bus/models/operation_list_result.rb +99 -0
- data/lib/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb +59 -0
- data/lib/generated/azure_mgmt_service_bus/models/resource_namespace_patch.rb +86 -0
- data/lib/generated/azure_mgmt_service_bus/models/rule.rb +107 -0
- data/lib/generated/azure_mgmt_service_bus/models/rule_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_service_bus/models/{shared_access_authorization_rule_resource.rb → sbauthorization_rule.rb} +7 -27
- data/lib/generated/azure_mgmt_service_bus/models/{shared_access_authorization_rule_list_result.rb → sbauthorization_rule_list_result.rb} +12 -13
- data/lib/generated/azure_mgmt_service_bus/models/{namespace_resource.rb → sbnamespace.rb} +19 -7
- data/lib/generated/azure_mgmt_service_bus/models/{namespace_list_result.rb → sbnamespace_list_result.rb} +11 -11
- data/lib/generated/azure_mgmt_service_bus/models/{namespace_create_or_update_parameters.rb → sbnamespace_update_parameters.rb} +50 -20
- data/lib/generated/azure_mgmt_service_bus/models/{queue_create_or_update_parameters.rb → sbqueue.rb} +119 -133
- data/lib/generated/azure_mgmt_service_bus/models/{queue_list_result.rb → sbqueue_list_result.rb} +11 -10
- data/lib/generated/azure_mgmt_service_bus/models/{sku.rb → sbsku.rb} +14 -10
- data/lib/generated/azure_mgmt_service_bus/models/{subscription_resource.rb → sbsubscription.rb} +74 -92
- data/lib/generated/azure_mgmt_service_bus/models/{subscription_list_result.rb → sbsubscription_list_result.rb} +11 -10
- data/lib/generated/azure_mgmt_service_bus/models/{topic_create_or_update_parameters.rb → sbtopic.rb} +102 -97
- data/lib/generated/azure_mgmt_service_bus/models/{topic_list_result.rb → sbtopic_list_result.rb} +11 -10
- data/lib/generated/azure_mgmt_service_bus/models/sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_service_bus/models/sku_tier.rb +1 -1
- data/lib/generated/azure_mgmt_service_bus/models/sql_filter.rb +72 -0
- data/lib/generated/azure_mgmt_service_bus/models/sql_rule_action.rb +58 -0
- data/lib/generated/azure_mgmt_service_bus/models/tracked_resource.rb +86 -0
- data/lib/generated/azure_mgmt_service_bus/models/unavailable_reason.rb +20 -0
- data/lib/generated/azure_mgmt_service_bus/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_service_bus/namespaces.rb +442 -188
- data/lib/generated/azure_mgmt_service_bus/operations.rb +213 -0
- data/lib/generated/azure_mgmt_service_bus/queues.rb +198 -169
- data/lib/generated/azure_mgmt_service_bus/rules.rb +558 -0
- data/lib/generated/azure_mgmt_service_bus/service_bus_management_client.rb +10 -2
- data/lib/generated/azure_mgmt_service_bus/subscriptions.rb +90 -78
- data/lib/generated/azure_mgmt_service_bus/topics.rb +199 -173
- data/lib/generated/azure_mgmt_service_bus/version.rb +2 -2
- metadata +38 -23
- data/lib/generated/azure_mgmt_service_bus/models/queue_resource.rb +0 -308
- data/lib/generated/azure_mgmt_service_bus/models/regenerate_keys_parameters.rb +0 -46
- data/lib/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_create_or_update_parameters.rb +0 -74
- data/lib/generated/azure_mgmt_service_bus/models/subscription_create_or_update_parameters.rb +0 -213
- data/lib/generated/azure_mgmt_service_bus/models/topic_resource.rb +0 -263
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -10,13 +10,13 @@ module Azure::ARM::ServiceBus
|
|
10
10
|
#
|
11
11
|
module EntityStatus
|
12
12
|
Active = "Active"
|
13
|
-
Creating = "Creating"
|
14
|
-
Deleting = "Deleting"
|
15
13
|
Disabled = "Disabled"
|
16
|
-
ReceiveDisabled = "ReceiveDisabled"
|
17
|
-
Renaming = "Renaming"
|
18
14
|
Restoring = "Restoring"
|
19
15
|
SendDisabled = "SendDisabled"
|
16
|
+
ReceiveDisabled = "ReceiveDisabled"
|
17
|
+
Creating = "Creating"
|
18
|
+
Deleting = "Deleting"
|
19
|
+
Renaming = "Renaming"
|
20
20
|
Unknown = "Unknown"
|
21
21
|
end
|
22
22
|
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::ServiceBus
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error reponse indicates ServiceBus service is not able to process the
|
10
|
+
# incoming request. The reason is provided in the error message.
|
11
|
+
#
|
12
|
+
class ErrorResponse
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [String] Error code.
|
18
|
+
attr_accessor :code
|
19
|
+
|
20
|
+
# @return [String] Error message indicating why the operation failed.
|
21
|
+
attr_accessor :message
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ErrorResponse class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ErrorResponse',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ErrorResponse',
|
35
|
+
model_properties: {
|
36
|
+
code: {
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'code',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
message: {
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'message',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::ServiceBus
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for FilterType
|
10
|
+
#
|
11
|
+
module FilterType
|
12
|
+
SqlFilter = "SqlFilter"
|
13
|
+
CorrelationFilter = "CorrelationFilter"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::ServiceBus
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Defines values for
|
9
|
+
# Defines values for KeyType
|
10
10
|
#
|
11
|
-
module
|
11
|
+
module KeyType
|
12
12
|
PrimaryKey = "PrimaryKey"
|
13
13
|
SecondaryKey = "SecondaryKey"
|
14
14
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::ServiceBus
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [Integer] Number of active messages in the queue, topic, or
|
16
17
|
# subscription.
|
17
18
|
attr_accessor :active_message_count
|
@@ -22,13 +23,13 @@ module Azure::ARM::ServiceBus
|
|
22
23
|
# @return [Integer] Number of scheduled messages.
|
23
24
|
attr_accessor :scheduled_message_count
|
24
25
|
|
25
|
-
# @return [Integer] Number of messages transferred into dead letters.
|
26
|
-
attr_accessor :transfer_dead_letter_message_count
|
27
|
-
|
28
26
|
# @return [Integer] Number of messages transferred to another queue,
|
29
27
|
# topic, or subscription.
|
30
28
|
attr_accessor :transfer_message_count
|
31
29
|
|
30
|
+
# @return [Integer] Number of messages transferred into dead letters.
|
31
|
+
attr_accessor :transfer_dead_letter_message_count
|
32
|
+
|
32
33
|
|
33
34
|
#
|
34
35
|
# Mapper for MessageCountDetails class as Ruby Hash.
|
@@ -66,18 +67,18 @@ module Azure::ARM::ServiceBus
|
|
66
67
|
name: 'Number'
|
67
68
|
}
|
68
69
|
},
|
69
|
-
|
70
|
+
transfer_message_count: {
|
70
71
|
required: false,
|
71
72
|
read_only: true,
|
72
|
-
serialized_name: '
|
73
|
+
serialized_name: 'transferMessageCount',
|
73
74
|
type: {
|
74
75
|
name: 'Number'
|
75
76
|
}
|
76
77
|
},
|
77
|
-
|
78
|
+
transfer_dead_letter_message_count: {
|
78
79
|
required: false,
|
79
80
|
read_only: true,
|
80
|
-
serialized_name: '
|
81
|
+
serialized_name: 'transferDeadLetterMessageCount',
|
81
82
|
type: {
|
82
83
|
name: 'Number'
|
83
84
|
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::ServiceBus
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A ServiceBus REST API operation
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [OperationDisplay] The object that represents the operation.
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for Operation class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'Operation',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'Operation',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
required: false,
|
37
|
+
read_only: true,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
display: {
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'display',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'OperationDisplay'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::ServiceBus
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The object that represents the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Service provider: Microsoft.ServiceBus
|
17
|
+
attr_accessor :provider
|
18
|
+
|
19
|
+
# @return [String] Resource on which the operation is performed: Invoice,
|
20
|
+
# etc.
|
21
|
+
attr_accessor :resource
|
22
|
+
|
23
|
+
# @return [String] Operation type: Read, write, delete, etc.
|
24
|
+
attr_accessor :operation
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'Operation_display',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'OperationDisplay',
|
38
|
+
model_properties: {
|
39
|
+
provider: {
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'provider',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
resource: {
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'resource',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
operation: {
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'operation',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::ServiceBus
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to list ServiceBus operations. It contains a list
|
10
|
+
# of operations and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class OperationListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<Operation>] List of ServiceBus operations supported by
|
18
|
+
# the Microsoft.ServiceBus resource provider.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] URL to get the next set of operation list results if
|
22
|
+
# there are any.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<Operation>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [OperationListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'OperationListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'OperationListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'OperationElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Operation'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::ServiceBus
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters supplied to the Regenerate Authorization Rule operation,
|
10
|
+
# specifies which key neeeds to be reset.
|
11
|
+
#
|
12
|
+
class RegenerateAccessKeyParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [KeyType] The access key to regenerate. Possible values
|
18
|
+
# include: 'PrimaryKey', 'SecondaryKey'
|
19
|
+
attr_accessor :key_type
|
20
|
+
|
21
|
+
# @return [String] Optional, if the key value provided, is reset for
|
22
|
+
# KeyType value or autogenerate Key value set for keyType
|
23
|
+
attr_accessor :key
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for RegenerateAccessKeyParameters class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'RegenerateAccessKeyParameters',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'RegenerateAccessKeyParameters',
|
37
|
+
model_properties: {
|
38
|
+
key_type: {
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'keyType',
|
41
|
+
type: {
|
42
|
+
name: 'Enum',
|
43
|
+
module: 'KeyType'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
key: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'key',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|