azure_mgmt_iot_hub 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  3. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  4. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  5. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  6. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  7. data/lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  8. data/lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +1 -1
  9. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub.rb +114 -0
  10. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/certificates.rb +723 -0
  11. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/iot_hub.rb +172 -0
  12. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/iot_hub_client.rb +147 -0
  13. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3738 -0
  14. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  15. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  16. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  17. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  18. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  19. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  20. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  21. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  22. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  23. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  24. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +69 -0
  25. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  26. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  27. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb +81 -0
  28. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  29. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  30. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  31. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  32. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  33. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/failover_input.rb +46 -0
  34. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  35. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  36. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  37. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  38. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  39. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  40. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_location_description.rb +59 -0
  41. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  42. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  43. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +275 -0
  44. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_properties_device_streams.rb +54 -0
  45. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  46. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  47. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_replica_role_type.rb +16 -0
  48. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  49. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  50. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  51. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  52. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  53. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  54. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  55. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  56. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  57. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  58. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  59. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  60. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  61. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  62. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  63. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  64. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation_display.rb +83 -0
  65. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  66. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  67. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  68. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/resource.rb +113 -0
  69. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  70. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  71. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  72. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  73. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  74. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  75. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  76. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  77. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_properties.rb +110 -0
  78. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  79. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  80. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_source.rb +20 -0
  81. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +157 -0
  82. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin.rb +58 -0
  83. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb +58 -0
  84. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  85. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  86. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  87. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  88. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +73 -0
  89. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  90. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  91. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_route_input.rb +71 -0
  92. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  93. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  94. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  95. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  96. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  97. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/operations.rb +219 -0
  98. data/lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/resource_provider_common.rb +117 -0
  99. data/lib/azure_mgmt_iot_hub.rb +5 -4
  100. data/lib/version.rb +1 -1
  101. metadata +93 -3
@@ -0,0 +1,100 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::IotHub::Mgmt::V2019_07_01_preview
7
+ module Models
8
+ #
9
+ # The JSON-serialized array of IotHubDescription objects with a next link.
10
+ #
11
+ class IotHubDescriptionListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<IotHubDescription>] The array of IotHubDescription
17
+ # objects.
18
+ attr_accessor :value
19
+
20
+ # @return [String] The next link.
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<IotHubDescription>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [IotHubDescriptionListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for IotHubDescriptionListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'IotHubDescriptionListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'IotHubDescriptionListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'IotHubDescriptionElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'IotHubDescription'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,59 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::IotHub::Mgmt::V2019_07_01_preview
7
+ module Models
8
+ #
9
+ # Public representation of one of the locations where a resource is
10
+ # provisioned.
11
+ #
12
+ class IotHubLocationDescription
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Azure Geo Regions
17
+ attr_accessor :location
18
+
19
+ # @return [IotHubReplicaRoleType] Specific Role assigned to this
20
+ # location. Possible values include: 'primary', 'secondary'
21
+ attr_accessor :role
22
+
23
+
24
+ #
25
+ # Mapper for IotHubLocationDescription class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'IotHubLocationDescription',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'IotHubLocationDescription',
36
+ model_properties: {
37
+ location: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'location',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ role: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'role',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::IotHub::Mgmt::V2019_07_01_preview
7
+ module Models
8
+ #
9
+ # The properties indicating whether a given IoT hub name is available.
10
+ #
11
+ class IotHubNameAvailabilityInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The value which indicates whether the provided name
16
+ # is available.
17
+ attr_accessor :name_available
18
+
19
+ # @return [IotHubNameUnavailabilityReason] The reason for unavailability.
20
+ # Possible values include: 'Invalid', 'AlreadyExists'
21
+ attr_accessor :reason
22
+
23
+ # @return [String] The detailed reason message.
24
+ attr_accessor :message
25
+
26
+
27
+ #
28
+ # Mapper for IotHubNameAvailabilityInfo class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'IotHubNameAvailabilityInfo',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'IotHubNameAvailabilityInfo',
39
+ model_properties: {
40
+ name_available: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'nameAvailable',
45
+ type: {
46
+ name: 'Boolean'
47
+ }
48
+ },
49
+ reason: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'reason',
54
+ type: {
55
+ name: 'Enum',
56
+ module: 'IotHubNameUnavailabilityReason'
57
+ }
58
+ },
59
+ message: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'message',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::IotHub::Mgmt::V2019_07_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for IotHubNameUnavailabilityReason
10
+ #
11
+ module IotHubNameUnavailabilityReason
12
+ Invalid = "Invalid"
13
+ AlreadyExists = "AlreadyExists"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,275 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::IotHub::Mgmt::V2019_07_01_preview
7
+ module Models
8
+ #
9
+ # The properties of an IoT hub.
10
+ #
11
+ class IotHubProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<SharedAccessSignatureAuthorizationRule>] The shared
16
+ # access policies you can use to secure a connection to the IoT hub.
17
+ attr_accessor :authorization_policies
18
+
19
+ # @return [Array<IpFilterRule>] The IP filter rules.
20
+ attr_accessor :ip_filter_rules
21
+
22
+ # @return [String] The provisioning state.
23
+ attr_accessor :provisioning_state
24
+
25
+ # @return [String] The hub state.
26
+ attr_accessor :state
27
+
28
+ # @return [String] The name of the host.
29
+ attr_accessor :host_name
30
+
31
+ # @return [Hash{String => EventHubProperties}] The Event Hub-compatible
32
+ # endpoint properties. The only possible keys to this dictionary is
33
+ # events. This key has to be present in the dictionary while making
34
+ # create or update calls for the IoT hub.
35
+ attr_accessor :event_hub_endpoints
36
+
37
+ # @return [RoutingProperties]
38
+ attr_accessor :routing
39
+
40
+ # @return [Hash{String => StorageEndpointProperties}] The list of Azure
41
+ # Storage endpoints where you can upload files. Currently you can
42
+ # configure only one Azure Storage account and that MUST have its key as
43
+ # $default. Specifying more than one storage account causes an error to
44
+ # be thrown. Not specifying a value for this property when the
45
+ # enableFileUploadNotifications property is set to True, causes an error
46
+ # to be thrown.
47
+ attr_accessor :storage_endpoints
48
+
49
+ # @return [Hash{String => MessagingEndpointProperties}] The messaging
50
+ # endpoint properties for the file upload notification queue.
51
+ attr_accessor :messaging_endpoints
52
+
53
+ # @return [Boolean] If True, file upload notifications are enabled.
54
+ attr_accessor :enable_file_upload_notifications
55
+
56
+ # @return [CloudToDeviceProperties]
57
+ attr_accessor :cloud_to_device
58
+
59
+ # @return [String] IoT hub comments.
60
+ attr_accessor :comments
61
+
62
+ # @return [IotHubPropertiesDeviceStreams] The device streams properties
63
+ # of iothub.
64
+ attr_accessor :device_streams
65
+
66
+ # @return [Capabilities] The capabilities and features enabled for the
67
+ # IoT hub. Possible values include: 'None', 'DeviceManagement'
68
+ attr_accessor :features
69
+
70
+ # @return [Array<IotHubLocationDescription>] Primary and secondary
71
+ # location for iot hub
72
+ attr_accessor :locations
73
+
74
+
75
+ #
76
+ # Mapper for IotHubProperties class as Ruby Hash.
77
+ # This will be used for serialization/deserialization.
78
+ #
79
+ def self.mapper()
80
+ {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'IotHubProperties',
84
+ type: {
85
+ name: 'Composite',
86
+ class_name: 'IotHubProperties',
87
+ model_properties: {
88
+ authorization_policies: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'authorizationPolicies',
92
+ type: {
93
+ name: 'Sequence',
94
+ element: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'SharedAccessSignatureAuthorizationRuleElementType',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'SharedAccessSignatureAuthorizationRule'
101
+ }
102
+ }
103
+ }
104
+ },
105
+ ip_filter_rules: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'ipFilterRules',
109
+ type: {
110
+ name: 'Sequence',
111
+ element: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'IpFilterRuleElementType',
115
+ type: {
116
+ name: 'Composite',
117
+ class_name: 'IpFilterRule'
118
+ }
119
+ }
120
+ }
121
+ },
122
+ provisioning_state: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ read_only: true,
126
+ serialized_name: 'provisioningState',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ state: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'state',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ host_name: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ read_only: true,
144
+ serialized_name: 'hostName',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ },
149
+ event_hub_endpoints: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ serialized_name: 'eventHubEndpoints',
153
+ type: {
154
+ name: 'Dictionary',
155
+ value: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'EventHubPropertiesElementType',
159
+ type: {
160
+ name: 'Composite',
161
+ class_name: 'EventHubProperties'
162
+ }
163
+ }
164
+ }
165
+ },
166
+ routing: {
167
+ client_side_validation: true,
168
+ required: false,
169
+ serialized_name: 'routing',
170
+ type: {
171
+ name: 'Composite',
172
+ class_name: 'RoutingProperties'
173
+ }
174
+ },
175
+ storage_endpoints: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'storageEndpoints',
179
+ type: {
180
+ name: 'Dictionary',
181
+ value: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ serialized_name: 'StorageEndpointPropertiesElementType',
185
+ type: {
186
+ name: 'Composite',
187
+ class_name: 'StorageEndpointProperties'
188
+ }
189
+ }
190
+ }
191
+ },
192
+ messaging_endpoints: {
193
+ client_side_validation: true,
194
+ required: false,
195
+ serialized_name: 'messagingEndpoints',
196
+ type: {
197
+ name: 'Dictionary',
198
+ value: {
199
+ client_side_validation: true,
200
+ required: false,
201
+ serialized_name: 'MessagingEndpointPropertiesElementType',
202
+ type: {
203
+ name: 'Composite',
204
+ class_name: 'MessagingEndpointProperties'
205
+ }
206
+ }
207
+ }
208
+ },
209
+ enable_file_upload_notifications: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'enableFileUploadNotifications',
213
+ type: {
214
+ name: 'Boolean'
215
+ }
216
+ },
217
+ cloud_to_device: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'cloudToDevice',
221
+ type: {
222
+ name: 'Composite',
223
+ class_name: 'CloudToDeviceProperties'
224
+ }
225
+ },
226
+ comments: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ serialized_name: 'comments',
230
+ type: {
231
+ name: 'String'
232
+ }
233
+ },
234
+ device_streams: {
235
+ client_side_validation: true,
236
+ required: false,
237
+ serialized_name: 'deviceStreams',
238
+ type: {
239
+ name: 'Composite',
240
+ class_name: 'IotHubPropertiesDeviceStreams'
241
+ }
242
+ },
243
+ features: {
244
+ client_side_validation: true,
245
+ required: false,
246
+ serialized_name: 'features',
247
+ type: {
248
+ name: 'String'
249
+ }
250
+ },
251
+ locations: {
252
+ client_side_validation: true,
253
+ required: false,
254
+ read_only: true,
255
+ serialized_name: 'locations',
256
+ type: {
257
+ name: 'Sequence',
258
+ element: {
259
+ client_side_validation: true,
260
+ required: false,
261
+ serialized_name: 'IotHubLocationDescriptionElementType',
262
+ type: {
263
+ name: 'Composite',
264
+ class_name: 'IotHubLocationDescription'
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ }
271
+ }
272
+ end
273
+ end
274
+ end
275
+ end