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,18 +6,20 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The
|
9
|
+
# The IoT hub cloud-to-device messaging properties.
|
10
10
|
#
|
11
11
|
class CloudToDeviceProperties
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Integer] The max delivery count for
|
16
|
-
#
|
15
|
+
# @return [Integer] The max delivery count for cloud-to-device messages
|
16
|
+
# in the device queue. See:
|
17
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
|
17
18
|
attr_accessor :max_delivery_count
|
18
19
|
|
19
|
-
# @return [Duration] The default time to live for
|
20
|
-
#
|
20
|
+
# @return [Duration] The default time to live for cloud-to-device
|
21
|
+
# messages in the device queue. See:
|
22
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
|
21
23
|
attr_accessor :default_ttl_as_iso8601
|
22
24
|
|
23
25
|
# @return [FeedbackProperties]
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Error details.
|
10
10
|
#
|
11
11
|
class ErrorDetails
|
12
12
|
|
@@ -15,7 +15,7 @@ module Azure::ARM::IotHub
|
|
15
15
|
# @return [String] The error code.
|
16
16
|
attr_accessor :code
|
17
17
|
|
18
|
-
# @return [String] The
|
18
|
+
# @return [String] The HTTP status code.
|
19
19
|
attr_accessor :http_status_code
|
20
20
|
|
21
21
|
# @return [String] The error message.
|
@@ -39,6 +39,7 @@ module Azure::ARM::IotHub
|
|
39
39
|
model_properties: {
|
40
40
|
code: {
|
41
41
|
required: false,
|
42
|
+
read_only: true,
|
42
43
|
serialized_name: 'Code',
|
43
44
|
type: {
|
44
45
|
name: 'String'
|
@@ -54,6 +55,7 @@ module Azure::ARM::IotHub
|
|
54
55
|
},
|
55
56
|
message: {
|
56
57
|
required: false,
|
58
|
+
read_only: true,
|
57
59
|
serialized_name: 'Message',
|
58
60
|
type: {
|
59
61
|
name: 'String'
|
@@ -61,6 +63,7 @@ module Azure::ARM::IotHub
|
|
61
63
|
},
|
62
64
|
details: {
|
63
65
|
required: false,
|
66
|
+
read_only: true,
|
64
67
|
serialized_name: 'Details',
|
65
68
|
type: {
|
66
69
|
name: 'String'
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The properties
|
9
|
+
# The properties of the EventHubConsumerGroupInfo object.
|
10
10
|
#
|
11
11
|
class EventHubConsumerGroupInfo
|
12
12
|
|
@@ -15,10 +15,10 @@ module Azure::ARM::IotHub
|
|
15
15
|
# @return [Hash{String => String}] The tags.
|
16
16
|
attr_accessor :tags
|
17
17
|
|
18
|
-
# @return [String] The
|
18
|
+
# @return [String] The Event Hub-compatible consumer group identifier.
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
|
-
# @return [String] The
|
21
|
+
# @return [String] The Event Hub-compatible consumer group name.
|
22
22
|
attr_accessor :name
|
23
23
|
|
24
24
|
|
@@ -6,13 +6,15 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The
|
9
|
+
# The JSON-serialized array of Event Hub-compatible consumer group names
|
10
|
+
# with a next link.
|
10
11
|
#
|
11
12
|
class EventHubConsumerGroupsListResult
|
12
13
|
|
13
14
|
include MsRestAzure
|
14
15
|
|
15
|
-
# @return [Array<String>] The
|
16
|
+
# @return [Array<String>] The array of Event Hub-compatible consumer
|
17
|
+
# group names.
|
16
18
|
attr_accessor :value
|
17
19
|
|
18
20
|
# @return [String] The next link.
|
@@ -24,7 +26,7 @@ module Azure::ARM::IotHub
|
|
24
26
|
#
|
25
27
|
# Gets the rest of the items for the request, enabling auto-pagination.
|
26
28
|
#
|
27
|
-
# @return [Array
|
29
|
+
# @return [Array<String>] operation results.
|
28
30
|
#
|
29
31
|
def get_all_items
|
30
32
|
items = @value
|
@@ -6,36 +6,33 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The properties of the provisioned
|
9
|
+
# The properties of the provisioned Event Hub-compatible endpoint used by
|
10
|
+
# the IoT hub.
|
10
11
|
#
|
11
12
|
class EventHubProperties
|
12
13
|
|
13
14
|
include MsRestAzure
|
14
15
|
|
15
|
-
# @return [Integer] The retention time
|
16
|
-
#
|
16
|
+
# @return [Integer] The retention time for device-to-cloud messages in
|
17
|
+
# days. See:
|
18
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages
|
17
19
|
attr_accessor :retention_time_in_days
|
18
20
|
|
19
|
-
# @return [Integer] The
|
20
|
-
#
|
21
|
+
# @return [Integer] The number of paritions for receiving device-to-cloud
|
22
|
+
# messages in the Event Hub-compatible endpoint. See:
|
23
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.
|
21
24
|
attr_accessor :partition_count
|
22
25
|
|
23
|
-
# @return [Array<String>] The partition ids
|
26
|
+
# @return [Array<String>] The partition ids in the Event Hub-compatible
|
27
|
+
# endpoint.
|
24
28
|
attr_accessor :partition_ids
|
25
29
|
|
26
|
-
# @return [String] The
|
30
|
+
# @return [String] The Event Hub-compatible name.
|
27
31
|
attr_accessor :path
|
28
32
|
|
29
|
-
# @return [String] The endpoint.
|
33
|
+
# @return [String] The Event Hub-compatible endpoint.
|
30
34
|
attr_accessor :endpoint
|
31
35
|
|
32
|
-
# @return [Array<SharedAccessAuthorizationRule>] The internal
|
33
|
-
# authorization rules.
|
34
|
-
attr_accessor :internal_authorization_policies
|
35
|
-
|
36
|
-
# @return [Array<SharedAccessAuthorizationRule>] The authorization rules.
|
37
|
-
attr_accessor :authorization_policies
|
38
|
-
|
39
36
|
|
40
37
|
#
|
41
38
|
# Mapper for EventHubProperties class as Ruby Hash.
|
@@ -65,6 +62,7 @@ module Azure::ARM::IotHub
|
|
65
62
|
},
|
66
63
|
partition_ids: {
|
67
64
|
required: false,
|
65
|
+
read_only: true,
|
68
66
|
serialized_name: 'partitionIds',
|
69
67
|
type: {
|
70
68
|
name: 'Sequence',
|
@@ -79,6 +77,7 @@ module Azure::ARM::IotHub
|
|
79
77
|
},
|
80
78
|
path: {
|
81
79
|
required: false,
|
80
|
+
read_only: true,
|
82
81
|
serialized_name: 'path',
|
83
82
|
type: {
|
84
83
|
name: 'String'
|
@@ -86,40 +85,11 @@ module Azure::ARM::IotHub
|
|
86
85
|
},
|
87
86
|
endpoint: {
|
88
87
|
required: false,
|
88
|
+
read_only: true,
|
89
89
|
serialized_name: 'endpoint',
|
90
90
|
type: {
|
91
91
|
name: 'String'
|
92
92
|
}
|
93
|
-
},
|
94
|
-
internal_authorization_policies: {
|
95
|
-
required: false,
|
96
|
-
serialized_name: 'internalAuthorizationPolicies',
|
97
|
-
type: {
|
98
|
-
name: 'Sequence',
|
99
|
-
element: {
|
100
|
-
required: false,
|
101
|
-
serialized_name: 'SharedAccessAuthorizationRuleElementType',
|
102
|
-
type: {
|
103
|
-
name: 'Composite',
|
104
|
-
class_name: 'SharedAccessAuthorizationRule'
|
105
|
-
}
|
106
|
-
}
|
107
|
-
}
|
108
|
-
},
|
109
|
-
authorization_policies: {
|
110
|
-
required: false,
|
111
|
-
serialized_name: 'authorizationPolicies',
|
112
|
-
type: {
|
113
|
-
name: 'Sequence',
|
114
|
-
element: {
|
115
|
-
required: false,
|
116
|
-
serialized_name: 'SharedAccessAuthorizationRuleElementType',
|
117
|
-
type: {
|
118
|
-
name: 'Composite',
|
119
|
-
class_name: 'SharedAccessAuthorizationRule'
|
120
|
-
}
|
121
|
-
}
|
122
|
-
}
|
123
93
|
}
|
124
94
|
}
|
125
95
|
}
|
@@ -6,14 +6,14 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
10
|
-
#
|
9
|
+
# Use to provide parameters when requesting an export of all devices in the
|
10
|
+
# IoT hub.
|
11
11
|
#
|
12
12
|
class ExportDevicesRequest
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
-
# @return [String] The export
|
16
|
+
# @return [String] The export blob container URI.
|
17
17
|
attr_accessor :export_blob_container_uri
|
18
18
|
|
19
19
|
# @return [Boolean] The value indicating whether keys should be excluded
|
@@ -6,21 +6,24 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The
|
9
|
+
# The properties of the feedback queue for cloud-to-device messages.
|
10
10
|
#
|
11
11
|
class FeedbackProperties
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Duration] The lock duration for the feedback queue.
|
16
|
-
#
|
15
|
+
# @return [Duration] The lock duration for the feedback queue. See:
|
16
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
|
17
17
|
attr_accessor :lock_duration_as_iso8601
|
18
18
|
|
19
|
-
# @return [Duration] The
|
20
|
-
#
|
19
|
+
# @return [Duration] The period of time for which a message is available
|
20
|
+
# to consume before it is expired by the IoT hub. See:
|
21
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
|
21
22
|
attr_accessor :ttl_as_iso8601
|
22
23
|
|
23
|
-
# @return [Integer] The
|
24
|
+
# @return [Integer] The number of times the IoT hub attempts to deliver a
|
25
|
+
# message on the feedback queue. See:
|
26
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
|
24
27
|
attr_accessor :max_delivery_count
|
25
28
|
|
26
29
|
|
@@ -6,17 +6,17 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
10
|
-
#
|
9
|
+
# Use to provide parameters when requesting an import of all devices in the
|
10
|
+
# hub.
|
11
11
|
#
|
12
12
|
class ImportDevicesRequest
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
-
# @return [String] The input
|
16
|
+
# @return [String] The input blob container URI.
|
17
17
|
attr_accessor :input_blob_container_uri
|
18
18
|
|
19
|
-
# @return [String] The output
|
19
|
+
# @return [String] The output blob container URI.
|
20
20
|
attr_accessor :output_blob_container_uri
|
21
21
|
|
22
22
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# IoT Hub capacity information.
|
10
10
|
#
|
11
11
|
class IotHubCapacity
|
12
12
|
|
@@ -21,8 +21,8 @@ module Azure::ARM::IotHub
|
|
21
21
|
# @return [Integer] The default number of units.
|
22
22
|
attr_accessor :default
|
23
23
|
|
24
|
-
# @return [IotHubScaleType] The type of the
|
25
|
-
# include: 'Automatic', 'Manual', 'None'
|
24
|
+
# @return [IotHubScaleType] The type of the scaling enabled. Possible
|
25
|
+
# values include: 'Automatic', 'Manual', 'None'
|
26
26
|
attr_accessor :scale_type
|
27
27
|
|
28
28
|
|
@@ -40,6 +40,7 @@ module Azure::ARM::IotHub
|
|
40
40
|
model_properties: {
|
41
41
|
minimum: {
|
42
42
|
required: false,
|
43
|
+
read_only: true,
|
43
44
|
serialized_name: 'minimum',
|
44
45
|
constraints: {
|
45
46
|
InclusiveMaximum: 1,
|
@@ -51,6 +52,7 @@ module Azure::ARM::IotHub
|
|
51
52
|
},
|
52
53
|
maximum: {
|
53
54
|
required: false,
|
55
|
+
read_only: true,
|
54
56
|
serialized_name: 'maximum',
|
55
57
|
type: {
|
56
58
|
name: 'Number'
|
@@ -58,6 +60,7 @@ module Azure::ARM::IotHub
|
|
58
60
|
},
|
59
61
|
default: {
|
60
62
|
required: false,
|
63
|
+
read_only: true,
|
61
64
|
serialized_name: 'default',
|
62
65
|
type: {
|
63
66
|
name: 'Number'
|
@@ -65,6 +68,7 @@ module Azure::ARM::IotHub
|
|
65
68
|
},
|
66
69
|
scale_type: {
|
67
70
|
required: false,
|
71
|
+
read_only: true,
|
68
72
|
serialized_name: 'scaleType',
|
69
73
|
type: {
|
70
74
|
name: 'Enum',
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The description of the
|
9
|
+
# The description of the IoT hub.
|
10
10
|
#
|
11
11
|
class IotHubDescription < MsRestAzure::Resource
|
12
12
|
|
@@ -15,8 +15,9 @@ module Azure::ARM::IotHub
|
|
15
15
|
# @return [String] The subscription identifier.
|
16
16
|
attr_accessor :subscriptionid
|
17
17
|
|
18
|
-
# @return [String] The resource group
|
19
|
-
# resource group
|
18
|
+
# @return [String] The name of the resource group that contains the IoT
|
19
|
+
# hub. A resource group name uniquely identifies the resource group
|
20
|
+
# within the subscription.
|
20
21
|
attr_accessor :resourcegroup
|
21
22
|
|
22
23
|
# @return [String] The Etag field is *not* required. If it is provided in
|
@@ -71,7 +72,7 @@ module Azure::ARM::IotHub
|
|
71
72
|
}
|
72
73
|
},
|
73
74
|
location: {
|
74
|
-
required:
|
75
|
+
required: true,
|
75
76
|
serialized_name: 'location',
|
76
77
|
type: {
|
77
78
|
name: 'String'
|
@@ -92,14 +93,14 @@ module Azure::ARM::IotHub
|
|
92
93
|
}
|
93
94
|
},
|
94
95
|
subscriptionid: {
|
95
|
-
required:
|
96
|
+
required: true,
|
96
97
|
serialized_name: 'subscriptionid',
|
97
98
|
type: {
|
98
99
|
name: 'String'
|
99
100
|
}
|
100
101
|
},
|
101
102
|
resourcegroup: {
|
102
|
-
required:
|
103
|
+
required: true,
|
103
104
|
serialized_name: 'resourcegroup',
|
104
105
|
type: {
|
105
106
|
name: 'String'
|
@@ -121,7 +122,7 @@ module Azure::ARM::IotHub
|
|
121
122
|
}
|
122
123
|
},
|
123
124
|
sku: {
|
124
|
-
required:
|
125
|
+
required: true,
|
125
126
|
serialized_name: 'sku',
|
126
127
|
type: {
|
127
128
|
name: 'Composite',
|
@@ -6,13 +6,14 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The
|
9
|
+
# The JSON-serialized array of IotHubDescription objects with a next link.
|
10
10
|
#
|
11
11
|
class IotHubDescriptionListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<IotHubDescription>] The
|
15
|
+
# @return [Array<IotHubDescription>] The array of IotHubDescription
|
16
|
+
# objects.
|
16
17
|
attr_accessor :value
|
17
18
|
|
18
19
|
# @return [String] The next link.
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::IotHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The properties indicating whether a given
|
9
|
+
# The properties indicating whether a given IoT hub name is available.
|
10
10
|
#
|
11
11
|
class IotHubNameAvailabilityInfo
|
12
12
|
|
@@ -20,7 +20,7 @@ module Azure::ARM::IotHub
|
|
20
20
|
# Possible values include: 'Invalid', 'AlreadyExists'
|
21
21
|
attr_accessor :reason
|
22
22
|
|
23
|
-
# @return [String] The
|
23
|
+
# @return [String] The detailed reason message.
|
24
24
|
attr_accessor :message
|
25
25
|
|
26
26
|
|
@@ -38,6 +38,7 @@ module Azure::ARM::IotHub
|
|
38
38
|
model_properties: {
|
39
39
|
name_available: {
|
40
40
|
required: false,
|
41
|
+
read_only: true,
|
41
42
|
serialized_name: 'nameAvailable',
|
42
43
|
type: {
|
43
44
|
name: 'Boolean'
|
@@ -45,6 +46,7 @@ module Azure::ARM::IotHub
|
|
45
46
|
},
|
46
47
|
reason: {
|
47
48
|
required: false,
|
49
|
+
read_only: true,
|
48
50
|
serialized_name: 'reason',
|
49
51
|
type: {
|
50
52
|
name: 'Enum',
|