azure_mgmt_event_hub 0.8.0 → 0.9.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 +4 -4
- data/lib/generated/azure_mgmt_event_hub.rb +1 -2
- data/lib/generated/azure_mgmt_event_hub/event_hub_management_client.rb +4 -5
- data/lib/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb +67 -6
- data/lib/generated/azure_mgmt_event_hub/version.rb +1 -1
- metadata +4 -5
- data/lib/generated/azure_mgmt_event_hub/models/event_hub_properties.rb +0 -107
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35e5692cc962cce68df66710e7bfd0d2356bb4a9
|
4
|
+
data.tar.gz: e1b136ae24668cb49dca807d789edf1f0d364dc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2757061ba5d4e17ce0bc65c4c04857fbfd6656a9b193e7abee0fbe84459fe4698aef05820e3b6b59d4c3cfe47298a81b072dfb7f55900d9b3cf86b1bbb9c9e6
|
7
|
+
data.tar.gz: 431cb0856e1a31228a3cc157e0dd7ae030ec4f0ff97e7317afcf827a44592736c7985205b60725198d1abcdec852193b0a1c8c1d1e19152994541739ebeebbd8
|
@@ -31,10 +31,9 @@ module Azure::ARM::EventHub
|
|
31
31
|
autoload :NamespaceCreateOrUpdateParameters, 'generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb'
|
32
32
|
autoload :EventHubCreateOrUpdateParameters, 'generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb'
|
33
33
|
autoload :NamespaceListResult, 'generated/azure_mgmt_event_hub/models/namespace_list_result.rb'
|
34
|
-
autoload :EventHubProperties, 'generated/azure_mgmt_event_hub/models/event_hub_properties.rb'
|
35
34
|
autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, 'generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_create_or_update_parameters.rb'
|
36
|
-
autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb'
|
37
35
|
autoload :ConsumerGroupListResult, 'generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb'
|
36
|
+
autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb'
|
38
37
|
autoload :ConsumerGroupCreateOrUpdateParameters, 'generated/azure_mgmt_event_hub/models/consumer_group_create_or_update_parameters.rb'
|
39
38
|
autoload :Sku, 'generated/azure_mgmt_event_hub/models/sku.rb'
|
40
39
|
autoload :EventHubListResult, 'generated/azure_mgmt_event_hub/models/event_hub_list_result.rb'
|
@@ -51,12 +51,11 @@ module Azure::ARM::EventHub
|
|
51
51
|
# @param base_url [String] the base URI of the service.
|
52
52
|
# @param options [Array] filters to be applied to the HTTP requests.
|
53
53
|
#
|
54
|
-
def initialize(credentials, base_url = nil, options = nil)
|
54
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
55
55
|
super(credentials, options)
|
56
56
|
@base_url = base_url || 'https://management.azure.com'
|
57
57
|
|
58
|
-
fail ArgumentError, 'credentials
|
59
|
-
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
|
58
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
60
59
|
@credentials = credentials
|
61
60
|
|
62
61
|
@namespaces = Namespaces.new(self)
|
@@ -71,7 +70,7 @@ module Azure::ARM::EventHub
|
|
71
70
|
|
72
71
|
#
|
73
72
|
# Makes a request and returns the body of the response.
|
74
|
-
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
73
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
75
74
|
# @param path [String] the path, relative to {base_url}.
|
76
75
|
# @param options [Hash{String=>String}] specifying any request options like :body.
|
77
76
|
# @return [Hash{String=>String}] containing the body of the response.
|
@@ -132,7 +131,7 @@ module Azure::ARM::EventHub
|
|
132
131
|
def add_telemetry
|
133
132
|
sdk_information = 'azure_mgmt_event_hub'
|
134
133
|
if defined? Azure::ARM::EventHub::VERSION
|
135
|
-
sdk_information = "#{sdk_information}/#{Azure::ARM::EventHub::VERSION}"
|
134
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::EventHub::VERSION}"
|
136
135
|
end
|
137
136
|
add_user_agent_information(sdk_information)
|
138
137
|
end
|
@@ -21,8 +21,27 @@ module Azure::ARM::EventHub
|
|
21
21
|
# @return [String] Name of the Event Hub.
|
22
22
|
attr_accessor :name
|
23
23
|
|
24
|
-
# @return [
|
25
|
-
attr_accessor :
|
24
|
+
# @return [DateTime] Exact time the Event Hub was created.
|
25
|
+
attr_accessor :created_at
|
26
|
+
|
27
|
+
# @return [Integer] Number of days to retain the events for this Event
|
28
|
+
# Hub.
|
29
|
+
attr_accessor :message_retention_in_days
|
30
|
+
|
31
|
+
# @return [Integer] Number of partitions created for the Event Hub.
|
32
|
+
attr_accessor :partition_count
|
33
|
+
|
34
|
+
# @return [Array<String>] Current number of shards on the Event Hub.
|
35
|
+
attr_accessor :partition_ids
|
36
|
+
|
37
|
+
# @return [EntityStatus] Enumerates the possible values for the status of
|
38
|
+
# the Event Hub. Possible values include: 'Active', 'Disabled',
|
39
|
+
# 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting',
|
40
|
+
# 'Renaming', 'Unknown'
|
41
|
+
attr_accessor :status
|
42
|
+
|
43
|
+
# @return [DateTime] The exact time the message was updated.
|
44
|
+
attr_accessor :updated_at
|
26
45
|
|
27
46
|
|
28
47
|
#
|
@@ -58,12 +77,54 @@ module Azure::ARM::EventHub
|
|
58
77
|
name: 'String'
|
59
78
|
}
|
60
79
|
},
|
61
|
-
|
80
|
+
created_at: {
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'properties.createdAt',
|
83
|
+
type: {
|
84
|
+
name: 'DateTime'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
message_retention_in_days: {
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'properties.messageRetentionInDays',
|
90
|
+
type: {
|
91
|
+
name: 'Number'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
partition_count: {
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'properties.partitionCount',
|
97
|
+
type: {
|
98
|
+
name: 'Number'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
partition_ids: {
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'properties.partitionIds',
|
104
|
+
type: {
|
105
|
+
name: 'Sequence',
|
106
|
+
element: {
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'StringElementType',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
},
|
115
|
+
status: {
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'properties.status',
|
118
|
+
type: {
|
119
|
+
name: 'Enum',
|
120
|
+
module: 'EntityStatus'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
updated_at: {
|
62
124
|
required: false,
|
63
|
-
serialized_name: 'properties',
|
125
|
+
serialized_name: 'properties.updatedAt',
|
64
126
|
type: {
|
65
|
-
name: '
|
66
|
-
class_name: 'EventHubProperties'
|
127
|
+
name: 'DateTime'
|
67
128
|
}
|
68
129
|
}
|
69
130
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_event_hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.7.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.7.0
|
83
83
|
description: Microsoft Azure Event Hub Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -99,7 +99,6 @@ files:
|
|
99
99
|
- lib/generated/azure_mgmt_event_hub/models/entity_status.rb
|
100
100
|
- lib/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb
|
101
101
|
- lib/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb
|
102
|
-
- lib/generated/azure_mgmt_event_hub/models/event_hub_properties.rb
|
103
102
|
- lib/generated/azure_mgmt_event_hub/models/event_hub_resource.rb
|
104
103
|
- lib/generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb
|
105
104
|
- lib/generated/azure_mgmt_event_hub/models/namespace_list_result.rb
|
@@ -1,107 +0,0 @@
|
|
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::EventHub
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Model object.
|
10
|
-
#
|
11
|
-
#
|
12
|
-
class EventHubProperties
|
13
|
-
|
14
|
-
include MsRestAzure
|
15
|
-
|
16
|
-
# @return [DateTime] Exact time the Event Hub was created.
|
17
|
-
attr_accessor :created_at
|
18
|
-
|
19
|
-
# @return [Integer] Number of days to retain the events for this Event
|
20
|
-
# Hub.
|
21
|
-
attr_accessor :message_retention_in_days
|
22
|
-
|
23
|
-
# @return [Integer] Number of partitions created for the Event Hub.
|
24
|
-
attr_accessor :partition_count
|
25
|
-
|
26
|
-
# @return [Array<String>] Current number of shards on the Event Hub.
|
27
|
-
attr_accessor :partition_ids
|
28
|
-
|
29
|
-
# @return [EntityStatus] Enumerates the possible values for the status of
|
30
|
-
# the Event Hub. Possible values include: 'Active', 'Disabled',
|
31
|
-
# 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting',
|
32
|
-
# 'Renaming', 'Unknown'
|
33
|
-
attr_accessor :status
|
34
|
-
|
35
|
-
# @return [DateTime] The exact time the message was updated.
|
36
|
-
attr_accessor :updated_at
|
37
|
-
|
38
|
-
|
39
|
-
#
|
40
|
-
# Mapper for EventHubProperties class as Ruby Hash.
|
41
|
-
# This will be used for serialization/deserialization.
|
42
|
-
#
|
43
|
-
def self.mapper()
|
44
|
-
{
|
45
|
-
required: false,
|
46
|
-
serialized_name: 'EventHubProperties',
|
47
|
-
type: {
|
48
|
-
name: 'Composite',
|
49
|
-
class_name: 'EventHubProperties',
|
50
|
-
model_properties: {
|
51
|
-
created_at: {
|
52
|
-
required: false,
|
53
|
-
serialized_name: 'createdAt',
|
54
|
-
type: {
|
55
|
-
name: 'DateTime'
|
56
|
-
}
|
57
|
-
},
|
58
|
-
message_retention_in_days: {
|
59
|
-
required: false,
|
60
|
-
serialized_name: 'messageRetentionInDays',
|
61
|
-
type: {
|
62
|
-
name: 'Number'
|
63
|
-
}
|
64
|
-
},
|
65
|
-
partition_count: {
|
66
|
-
required: false,
|
67
|
-
serialized_name: 'partitionCount',
|
68
|
-
type: {
|
69
|
-
name: 'Number'
|
70
|
-
}
|
71
|
-
},
|
72
|
-
partition_ids: {
|
73
|
-
required: false,
|
74
|
-
serialized_name: 'partitionIds',
|
75
|
-
type: {
|
76
|
-
name: 'Sequence',
|
77
|
-
element: {
|
78
|
-
required: false,
|
79
|
-
serialized_name: 'StringElementType',
|
80
|
-
type: {
|
81
|
-
name: 'String'
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
},
|
86
|
-
status: {
|
87
|
-
required: false,
|
88
|
-
serialized_name: 'status',
|
89
|
-
type: {
|
90
|
-
name: 'Enum',
|
91
|
-
module: 'EntityStatus'
|
92
|
-
}
|
93
|
-
},
|
94
|
-
updated_at: {
|
95
|
-
required: false,
|
96
|
-
serialized_name: 'updatedAt',
|
97
|
-
type: {
|
98
|
-
name: 'DateTime'
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|