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,88 @@
|
|
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
|
+
# Namespace/ServiceBus Connection String
|
10
|
+
#
|
11
|
+
class ResourceListKeys
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Primary connection string of the created namespace
|
16
|
+
# authorization rule.
|
17
|
+
attr_accessor :primary_connection_string
|
18
|
+
|
19
|
+
# @return [String] Secondary connection string of the created namespace
|
20
|
+
# authorization rule.
|
21
|
+
attr_accessor :secondary_connection_string
|
22
|
+
|
23
|
+
# @return [String] A base64-encoded 256-bit primary key for signing and
|
24
|
+
# validating the SAS token.
|
25
|
+
attr_accessor :primary_key
|
26
|
+
|
27
|
+
# @return [String] A base64-encoded 256-bit primary key for signing and
|
28
|
+
# validating the SAS token.
|
29
|
+
attr_accessor :secondary_key
|
30
|
+
|
31
|
+
# @return [String] A string that describes the authorization rule.
|
32
|
+
attr_accessor :key_name
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for ResourceListKeys class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ResourceListKeys',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ResourceListKeys',
|
46
|
+
model_properties: {
|
47
|
+
primary_connection_string: {
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'primaryConnectionString',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
secondary_connection_string: {
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'secondaryConnectionString',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
primary_key: {
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'primaryKey',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
secondary_key: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'secondaryKey',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
key_name: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'keyName',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,74 @@
|
|
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 Authorization Rules
|
10
|
+
# operation.
|
11
|
+
#
|
12
|
+
class SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] data center location.
|
17
|
+
attr_accessor :location
|
18
|
+
|
19
|
+
# @return [String] Name of the authorization rule.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [Array<AccessRights>] The rights associated with the rule.
|
23
|
+
attr_accessor :rights
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for SharedAccessAuthorizationRuleCreateOrUpdateParameters class
|
28
|
+
# as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters',
|
38
|
+
model_properties: {
|
39
|
+
location: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'location',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
name: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
rights: {
|
54
|
+
required: true,
|
55
|
+
serialized_name: 'properties.rights',
|
56
|
+
type: {
|
57
|
+
name: 'Sequence',
|
58
|
+
element: {
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'AccessRightsElementType',
|
61
|
+
type: {
|
62
|
+
name: 'Enum',
|
63
|
+
module: 'AccessRights'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
data/lib/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb
ADDED
@@ -0,0 +1,97 @@
|
|
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
|
+
# The response to the List Namespace operation.
|
10
|
+
#
|
11
|
+
class SharedAccessAuthorizationRuleListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<SharedAccessAuthorizationRuleResource>] Result of the
|
16
|
+
# List Authorization Rules 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 Authorization Rules.
|
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<SharedAccessAuthorizationRuleResource>] operation
|
30
|
+
# 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 [SharedAccessAuthorizationRuleListResult] with next page
|
46
|
+
# 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 SharedAccessAuthorizationRuleListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'SharedAccessAuthorizationRuleListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'SharedAccessAuthorizationRuleListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'SharedAccessAuthorizationRuleResourceElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'SharedAccessAuthorizationRuleResource'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'nextLink',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,97 @@
|
|
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 authorization rule.
|
10
|
+
#
|
11
|
+
class SharedAccessAuthorizationRuleResource < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<AccessRights>] The rights associated with the rule.
|
16
|
+
attr_accessor :rights
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for SharedAccessAuthorizationRuleResource class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'SharedAccessAuthorizationRuleResource',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'SharedAccessAuthorizationRuleResource',
|
30
|
+
model_properties: {
|
31
|
+
id: {
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'id',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
},
|
39
|
+
name: {
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'name',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
type: {
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'type',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
location: {
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'location',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
tags: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'tags',
|
65
|
+
type: {
|
66
|
+
name: 'Dictionary',
|
67
|
+
value: {
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'StringElementType',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
},
|
76
|
+
rights: {
|
77
|
+
required: true,
|
78
|
+
serialized_name: 'properties.rights',
|
79
|
+
type: {
|
80
|
+
name: 'Sequence',
|
81
|
+
element: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'AccessRightsElementType',
|
84
|
+
type: {
|
85
|
+
name: 'Enum',
|
86
|
+
module: 'AccessRights'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,66 @@
|
|
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
|
+
# SKU of the namespace.
|
10
|
+
#
|
11
|
+
class Sku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [SkuName] Name of this SKU. Possible values include: 'Basic',
|
16
|
+
# 'Standard', 'Premium'
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [SkuTier] The billing tier of this particular SKU. Possible
|
20
|
+
# values include: 'Basic', 'Standard', 'Premium'
|
21
|
+
attr_accessor :tier
|
22
|
+
|
23
|
+
# @return [Integer] The specified messaging units for the tier.
|
24
|
+
attr_accessor :capacity
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for Sku class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'Sku',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'Sku',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'name',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
tier: {
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'tier',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
capacity: {
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'capacity',
|
56
|
+
type: {
|
57
|
+
name: 'Number'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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 SkuName
|
10
|
+
#
|
11
|
+
module SkuName
|
12
|
+
Basic = "Basic"
|
13
|
+
Standard = "Standard"
|
14
|
+
Premium = "Premium"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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 SkuTier
|
10
|
+
#
|
11
|
+
module SkuTier
|
12
|
+
Basic = "Basic"
|
13
|
+
Standard = "Standard"
|
14
|
+
Premium = "Premium"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|