azure_mgmt_iot_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_iot_hub.rb +9 -11
- data/lib/generated/azure_mgmt_iot_hub/iot_hub_client.rb +5 -6
- data/lib/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +553 -346
- data/lib/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +7 -5
- data/lib/generated/azure_mgmt_iot_hub/models/error_details.rb +5 -2
- data/lib/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +3 -3
- data/lib/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +5 -3
- data/lib/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +15 -45
- data/lib/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +3 -3
- data/lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +9 -6
- data/lib/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +4 -4
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +7 -3
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +8 -7
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +3 -2
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +4 -2
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +32 -17
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +4 -1
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +4 -3
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +3 -3
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +4 -2
- data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +8 -9
- data/lib/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +5 -5
- data/lib/generated/azure_mgmt_iot_hub/models/job_response.rb +18 -20
- data/lib/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +9 -6
- data/lib/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +2 -2
- data/lib/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +1 -0
- data/lib/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +3 -1
- data/lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +9 -4
- data/lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +14 -13
- data/lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +11 -8
- data/lib/generated/azure_mgmt_iot_hub/version.rb +1 -1
- metadata +4 -6
- data/lib/generated/azure_mgmt_iot_hub/models/sbaccess_rights.rb +0 -18
- data/lib/generated/azure_mgmt_iot_hub/models/shared_access_authorization_rule.rb +0 -143
@@ -6,7 +6,9 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The
|
9
|
+
# The operations monitoring properties for the IoT hub. The possible keys
|
10
|
+
# to the dictionary are Connections, DeviceTelemetry, C2DCommands,
|
11
|
+
# DeviceIdentityOperations, FileUploadOperations.
|
10
12
|
#
|
11
13
|
class OperationsMonitoringProperties
|
12
14
|
|
@@ -6,19 +6,21 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Identity registry statistics.
|
10
10
|
#
|
11
11
|
class RegistryStatistics
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Integer] The total
|
15
|
+
# @return [Integer] The total count of devices in the identity registry.
|
16
16
|
attr_accessor :total_device_count
|
17
17
|
|
18
|
-
# @return [Integer] The enabled
|
18
|
+
# @return [Integer] The count of enabled devices in the identity
|
19
|
+
# registry.
|
19
20
|
attr_accessor :enabled_device_count
|
20
21
|
|
21
|
-
# @return [Integer] The disabled
|
22
|
+
# @return [Integer] The count of disabled devices in the identity
|
23
|
+
# registry.
|
22
24
|
attr_accessor :disabled_device_count
|
23
25
|
|
24
26
|
|
@@ -36,6 +38,7 @@ module Azure::ARM::IotHub
|
|
36
38
|
model_properties: {
|
37
39
|
total_device_count: {
|
38
40
|
required: false,
|
41
|
+
read_only: true,
|
39
42
|
serialized_name: 'totalDeviceCount',
|
40
43
|
type: {
|
41
44
|
name: 'Number'
|
@@ -43,6 +46,7 @@ module Azure::ARM::IotHub
|
|
43
46
|
},
|
44
47
|
enabled_device_count: {
|
45
48
|
required: false,
|
49
|
+
read_only: true,
|
46
50
|
serialized_name: 'enabledDeviceCount',
|
47
51
|
type: {
|
48
52
|
name: 'Number'
|
@@ -50,6 +54,7 @@ module Azure::ARM::IotHub
|
|
50
54
|
},
|
51
55
|
disabled_device_count: {
|
52
56
|
required: false,
|
57
|
+
read_only: true,
|
53
58
|
serialized_name: 'disabledDeviceCount',
|
54
59
|
type: {
|
55
60
|
name: 'Number'
|
@@ -6,13 +6,13 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The properties
|
9
|
+
# The properties of an IoT hub shared access policy.
|
10
10
|
#
|
11
11
|
class SharedAccessSignatureAuthorizationRule
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The name of the
|
15
|
+
# @return [String] The name of the shared access policy.
|
16
16
|
attr_accessor :key_name
|
17
17
|
|
18
18
|
# @return [String] The primary key.
|
@@ -21,15 +21,16 @@ module Azure::ARM::IotHub
|
|
21
21
|
# @return [String] The secondary key.
|
22
22
|
attr_accessor :secondary_key
|
23
23
|
|
24
|
-
# @return [AccessRights] The
|
25
|
-
# 'RegistryRead', 'RegistryWrite',
|
26
|
-
# '
|
27
|
-
# 'RegistryRead,
|
28
|
-
# 'RegistryWrite,
|
29
|
-
# '
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# 'RegistryRead, RegistryWrite,
|
24
|
+
# @return [AccessRights] The permissions assigned to the shared access
|
25
|
+
# policy. Possible values include: 'RegistryRead', 'RegistryWrite',
|
26
|
+
# 'ServiceConnect', 'DeviceConnect', 'RegistryRead, RegistryWrite',
|
27
|
+
# 'RegistryRead, ServiceConnect', 'RegistryRead, DeviceConnect',
|
28
|
+
# 'RegistryWrite, ServiceConnect', 'RegistryWrite, DeviceConnect',
|
29
|
+
# 'ServiceConnect, DeviceConnect', 'RegistryRead, RegistryWrite,
|
30
|
+
# ServiceConnect', 'RegistryRead, RegistryWrite, DeviceConnect',
|
31
|
+
# 'RegistryRead, ServiceConnect, DeviceConnect', 'RegistryWrite,
|
32
|
+
# ServiceConnect, DeviceConnect', 'RegistryRead, RegistryWrite,
|
33
|
+
# ServiceConnect, DeviceConnect'
|
33
34
|
attr_accessor :rights
|
34
35
|
|
35
36
|
|
@@ -46,7 +47,7 @@ module Azure::ARM::IotHub
|
|
46
47
|
class_name: 'SharedAccessSignatureAuthorizationRule',
|
47
48
|
model_properties: {
|
48
49
|
key_name: {
|
49
|
-
required:
|
50
|
+
required: true,
|
50
51
|
serialized_name: 'keyName',
|
51
52
|
type: {
|
52
53
|
name: 'String'
|
@@ -67,7 +68,7 @@ module Azure::ARM::IotHub
|
|
67
68
|
}
|
68
69
|
},
|
69
70
|
rights: {
|
70
|
-
required:
|
71
|
+
required: true,
|
71
72
|
serialized_name: 'rights',
|
72
73
|
type: {
|
73
74
|
name: 'Enum',
|
@@ -6,14 +6,14 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The list of
|
9
|
+
# The list of shared access policies with a next link.
|
10
10
|
#
|
11
11
|
class SharedAccessSignatureAuthorizationRuleListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
# @return [Array<SharedAccessSignatureAuthorizationRule>] The list of
|
16
|
-
#
|
16
|
+
# shared access policies.
|
17
17
|
attr_accessor :value
|
18
18
|
|
19
19
|
# @return [String] The next link.
|
@@ -6,21 +6,24 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The properties of the Storage
|
9
|
+
# The properties of the Azure Storage endpoint for file upload.
|
10
10
|
#
|
11
11
|
class StorageEndpointProperties
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Duration]
|
15
|
+
# @return [Duration] The period of time for which the the SAS URI
|
16
|
+
# generated by IoT Hub for file upload is valid. See:
|
17
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.
|
16
18
|
attr_accessor :sas_ttl_as_iso8601
|
17
19
|
|
18
|
-
# @return [String] The
|
19
|
-
#
|
20
|
+
# @return [String] The connection string for the Azure Storage account to
|
21
|
+
# which files are uploaded.
|
20
22
|
attr_accessor :connection_string
|
21
23
|
|
22
|
-
# @return [String] The root container
|
23
|
-
#
|
24
|
+
# @return [String] The name of the root container where you upload files.
|
25
|
+
# The container need not exist but should be creatable using the
|
26
|
+
# connectionString specified.
|
24
27
|
attr_accessor :container_name
|
25
28
|
|
26
29
|
|
@@ -44,14 +47,14 @@ module Azure::ARM::IotHub
|
|
44
47
|
}
|
45
48
|
},
|
46
49
|
connection_string: {
|
47
|
-
required:
|
50
|
+
required: true,
|
48
51
|
serialized_name: 'connectionString',
|
49
52
|
type: {
|
50
53
|
name: 'String'
|
51
54
|
}
|
52
55
|
},
|
53
56
|
container_name: {
|
54
|
-
required:
|
57
|
+
required: true,
|
55
58
|
serialized_name: 'containerName',
|
56
59
|
type: {
|
57
60
|
name: 'String'
|
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.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 IoT Hub Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -126,8 +126,6 @@ files:
|
|
126
126
|
- lib/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb
|
127
127
|
- lib/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb
|
128
128
|
- lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb
|
129
|
-
- lib/generated/azure_mgmt_iot_hub/models/sbaccess_rights.rb
|
130
|
-
- lib/generated/azure_mgmt_iot_hub/models/shared_access_authorization_rule.rb
|
131
129
|
- lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb
|
132
130
|
- lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb
|
133
131
|
- lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb
|
@@ -1,18 +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::IotHub
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Defines values for SBAccessRights
|
10
|
-
#
|
11
|
-
module SBAccessRights
|
12
|
-
Manage = "Manage"
|
13
|
-
Send = "Send"
|
14
|
-
Listen = "Listen"
|
15
|
-
ManageNotificationHub = "ManageNotificationHub"
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,143 +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::IotHub
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Model object.
|
10
|
-
#
|
11
|
-
#
|
12
|
-
class SharedAccessAuthorizationRule
|
13
|
-
|
14
|
-
include MsRestAzure
|
15
|
-
|
16
|
-
# @return [String] The key name.
|
17
|
-
attr_accessor :key_name
|
18
|
-
|
19
|
-
# @return [String] The primary key.
|
20
|
-
attr_accessor :primary_key
|
21
|
-
|
22
|
-
# @return [String] The issuer name.
|
23
|
-
attr_accessor :issuer_name
|
24
|
-
|
25
|
-
# @return [String] The secondary key.
|
26
|
-
attr_accessor :secondary_key
|
27
|
-
|
28
|
-
# @return [String] The claim type.
|
29
|
-
attr_accessor :claim_type
|
30
|
-
|
31
|
-
# @return [String] The claim value.
|
32
|
-
attr_accessor :claim_value
|
33
|
-
|
34
|
-
# @return [Array<SBAccessRights>] The rights.
|
35
|
-
attr_accessor :rights
|
36
|
-
|
37
|
-
# @return [DateTime] The created time.
|
38
|
-
attr_accessor :created_time
|
39
|
-
|
40
|
-
# @return [DateTime] The modified time.
|
41
|
-
attr_accessor :modified_time
|
42
|
-
|
43
|
-
# @return [Integer] The revision.
|
44
|
-
attr_accessor :revision
|
45
|
-
|
46
|
-
|
47
|
-
#
|
48
|
-
# Mapper for SharedAccessAuthorizationRule class as Ruby Hash.
|
49
|
-
# This will be used for serialization/deserialization.
|
50
|
-
#
|
51
|
-
def self.mapper()
|
52
|
-
{
|
53
|
-
required: false,
|
54
|
-
serialized_name: 'SharedAccessAuthorizationRule',
|
55
|
-
type: {
|
56
|
-
name: 'Composite',
|
57
|
-
class_name: 'SharedAccessAuthorizationRule',
|
58
|
-
model_properties: {
|
59
|
-
key_name: {
|
60
|
-
required: false,
|
61
|
-
serialized_name: 'KeyName',
|
62
|
-
type: {
|
63
|
-
name: 'String'
|
64
|
-
}
|
65
|
-
},
|
66
|
-
primary_key: {
|
67
|
-
required: false,
|
68
|
-
serialized_name: 'PrimaryKey',
|
69
|
-
type: {
|
70
|
-
name: 'String'
|
71
|
-
}
|
72
|
-
},
|
73
|
-
issuer_name: {
|
74
|
-
required: false,
|
75
|
-
serialized_name: 'IssuerName',
|
76
|
-
type: {
|
77
|
-
name: 'String'
|
78
|
-
}
|
79
|
-
},
|
80
|
-
secondary_key: {
|
81
|
-
required: false,
|
82
|
-
serialized_name: 'SecondaryKey',
|
83
|
-
type: {
|
84
|
-
name: 'String'
|
85
|
-
}
|
86
|
-
},
|
87
|
-
claim_type: {
|
88
|
-
required: false,
|
89
|
-
serialized_name: 'ClaimType',
|
90
|
-
type: {
|
91
|
-
name: 'String'
|
92
|
-
}
|
93
|
-
},
|
94
|
-
claim_value: {
|
95
|
-
required: false,
|
96
|
-
serialized_name: 'ClaimValue',
|
97
|
-
type: {
|
98
|
-
name: 'String'
|
99
|
-
}
|
100
|
-
},
|
101
|
-
rights: {
|
102
|
-
required: false,
|
103
|
-
serialized_name: 'Rights',
|
104
|
-
type: {
|
105
|
-
name: 'Sequence',
|
106
|
-
element: {
|
107
|
-
required: false,
|
108
|
-
serialized_name: 'SBAccessRightsElementType',
|
109
|
-
type: {
|
110
|
-
name: 'Enum',
|
111
|
-
module: 'SBAccessRights'
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
},
|
116
|
-
created_time: {
|
117
|
-
required: false,
|
118
|
-
serialized_name: 'CreatedTime',
|
119
|
-
type: {
|
120
|
-
name: 'DateTime'
|
121
|
-
}
|
122
|
-
},
|
123
|
-
modified_time: {
|
124
|
-
required: false,
|
125
|
-
serialized_name: 'ModifiedTime',
|
126
|
-
type: {
|
127
|
-
name: 'DateTime'
|
128
|
-
}
|
129
|
-
},
|
130
|
-
revision: {
|
131
|
-
required: false,
|
132
|
-
serialized_name: 'Revision',
|
133
|
-
type: {
|
134
|
-
name: 'Number'
|
135
|
-
}
|
136
|
-
}
|
137
|
-
}
|
138
|
-
}
|
139
|
-
}
|
140
|
-
end
|
141
|
-
end
|
142
|
-
end
|
143
|
-
end
|