azure_mgmt_iot_hub 0.5.0 → 0.6.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_iot_hub.rb +2 -0
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +18 -0
- data/lib/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
- data/lib/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +67 -0
- data/lib/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +1 -1
- data/lib/generated/azure_mgmt_iot_hub/version.rb +1 -1
- metadata +7 -8
- data/.rspec +0 -3
- data/Rakefile +0 -5
- data/azure_mgmt_iot_hub.gemspec +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf523787c3ebbfcf121ea9d0758fa495eec2a2ae
|
4
|
+
data.tar.gz: f0f8ac01e37d5618e74e0563e1a81b66448c9501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e457bee10e24014e87b7a572a32f528a95c731fa16a98636ba1549fe4d563c08bf679d9e83152be11190429eb126147025388adec3b101b7c759554012c15163
|
7
|
+
data.tar.gz: 4a608c184f54d95c4835e6a8e29c55e3097def94e31fec17d0551541f61fd39a112ee76feaf972f6818b65c090c529fcc4dd77e4a770d54490e097d38f8db10a
|
@@ -26,6 +26,7 @@ module Azure::ARM::IotHub
|
|
26
26
|
module Models
|
27
27
|
autoload :SharedAccessSignatureAuthorizationRule, 'generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb'
|
28
28
|
autoload :IotHubProperties, 'generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb'
|
29
|
+
autoload :IpFilterRule, 'generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb'
|
29
30
|
autoload :EventHubProperties, 'generated/azure_mgmt_iot_hub/models/event_hub_properties.rb'
|
30
31
|
autoload :SharedAccessAuthorizationRule, 'generated/azure_mgmt_iot_hub/models/shared_access_authorization_rule.rb'
|
31
32
|
autoload :StorageEndpointProperties, 'generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb'
|
@@ -53,6 +54,7 @@ module Azure::ARM::IotHub
|
|
53
54
|
autoload :ImportDevicesRequest, 'generated/azure_mgmt_iot_hub/models/import_devices_request.rb'
|
54
55
|
autoload :IotHubDescription, 'generated/azure_mgmt_iot_hub/models/iot_hub_description.rb'
|
55
56
|
autoload :AccessRights, 'generated/azure_mgmt_iot_hub/models/access_rights.rb'
|
57
|
+
autoload :IpFilterActionType, 'generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb'
|
56
58
|
autoload :SBAccessRights, 'generated/azure_mgmt_iot_hub/models/sbaccess_rights.rb'
|
57
59
|
autoload :OperationMonitoringLevel, 'generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb'
|
58
60
|
autoload :Capabilities, 'generated/azure_mgmt_iot_hub/models/capabilities.rb'
|
@@ -16,6 +16,9 @@ module Azure::ARM::IotHub
|
|
16
16
|
# authorization rules.
|
17
17
|
attr_accessor :authorization_policies
|
18
18
|
|
19
|
+
# @return [Array<IpFilterRule>] The IP filter rules.
|
20
|
+
attr_accessor :ip_filter_rules
|
21
|
+
|
19
22
|
# @return [String] The name of the host.
|
20
23
|
attr_accessor :host_name
|
21
24
|
|
@@ -79,6 +82,21 @@ module Azure::ARM::IotHub
|
|
79
82
|
}
|
80
83
|
}
|
81
84
|
},
|
85
|
+
ip_filter_rules: {
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'ipFilterRules',
|
88
|
+
type: {
|
89
|
+
name: 'Sequence',
|
90
|
+
element: {
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'IpFilterRuleElementType',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'IpFilterRule'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
},
|
82
100
|
host_name: {
|
83
101
|
required: false,
|
84
102
|
serialized_name: 'hostName',
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::IotHub
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for IpFilterActionType
|
10
|
+
#
|
11
|
+
module IpFilterActionType
|
12
|
+
Accept = "Accept"
|
13
|
+
Reject = "Reject"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::IotHub
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# IP filter Rule
|
10
|
+
#
|
11
|
+
class IpFilterRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the IP filter rule.
|
16
|
+
attr_accessor :filter_name
|
17
|
+
|
18
|
+
# @return [IpFilterActionType] The action desired - accept or reject.
|
19
|
+
# Possible values include: 'Accept', 'Reject'
|
20
|
+
attr_accessor :action
|
21
|
+
|
22
|
+
# @return [String] A string containing the IPAddress/range in CIDR
|
23
|
+
# notation.
|
24
|
+
attr_accessor :ip_mask
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for IpFilterRule class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'IpFilterRule',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'IpFilterRule',
|
38
|
+
model_properties: {
|
39
|
+
filter_name: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'filterName',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
action: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'action',
|
49
|
+
type: {
|
50
|
+
name: 'Enum',
|
51
|
+
module: 'IpFilterActionType'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
ip_mask: {
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'ipMask',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_iot_hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2016-
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,24 +72,21 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.5.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.5.0
|
83
83
|
description: Microsoft Azure IoT Hub Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
86
86
|
extensions: []
|
87
87
|
extra_rdoc_files: []
|
88
88
|
files:
|
89
|
-
- ".rspec"
|
90
89
|
- LICENSE.txt
|
91
|
-
- Rakefile
|
92
|
-
- azure_mgmt_iot_hub.gemspec
|
93
90
|
- lib/azure_mgmt_iot_hub.rb
|
94
91
|
- lib/generated/azure_mgmt_iot_hub.rb
|
95
92
|
- lib/generated/azure_mgmt_iot_hub/iot_hub_client.rb
|
@@ -118,6 +115,8 @@ files:
|
|
118
115
|
- lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb
|
119
116
|
- lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb
|
120
117
|
- lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb
|
118
|
+
- lib/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb
|
119
|
+
- lib/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb
|
121
120
|
- lib/generated/azure_mgmt_iot_hub/models/job_response.rb
|
122
121
|
- lib/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb
|
123
122
|
- lib/generated/azure_mgmt_iot_hub/models/job_status.rb
|
@@ -154,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
153
|
version: '0'
|
155
154
|
requirements: []
|
156
155
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.5.1
|
158
157
|
signing_key:
|
159
158
|
specification_version: 4
|
160
159
|
summary: Official Ruby client library to consume Microsoft Azure IoT Hub Management
|
data/.rspec
DELETED
data/Rakefile
DELETED
data/azure_mgmt_iot_hub.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
lib = File.expand_path('../lib', __FILE__)
|
6
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
7
|
-
|
8
|
-
require 'generated/azure_mgmt_iot_hub/module_definition'
|
9
|
-
require 'generated/azure_mgmt_iot_hub/version'
|
10
|
-
|
11
|
-
Gem::Specification.new do |spec|
|
12
|
-
spec.name = 'azure_mgmt_iot_hub'
|
13
|
-
spec.version = Azure::ARM::IotHub::VERSION
|
14
|
-
spec.authors = 'Microsoft Corporation'
|
15
|
-
spec.email = 'azrubyteam@microsoft.com'
|
16
|
-
spec.description = 'Microsoft Azure IoT Hub Management Client Library for Ruby'
|
17
|
-
spec.summary = 'Official Ruby client library to consume Microsoft Azure IoT Hub Management services.'
|
18
|
-
spec.homepage = 'https://aka.ms/azure-sdk-for-ruby'
|
19
|
-
spec.license = 'MIT'
|
20
|
-
|
21
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
|
-
spec.bindir = 'bin'
|
23
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
|
-
spec.require_paths = ['lib']
|
25
|
-
|
26
|
-
spec.required_ruby_version = '>= 1.9.3'
|
27
|
-
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1.9'
|
29
|
-
spec.add_development_dependency 'rake', '~> 10'
|
30
|
-
spec.add_development_dependency 'rspec', '~> 3'
|
31
|
-
spec.add_development_dependency 'dotenv', '~> 2'
|
32
|
-
|
33
|
-
spec.add_runtime_dependency 'ms_rest_azure', '~> 0.4.0'
|
34
|
-
end
|