azure_mgmt_iot_hub 0.13.0 → 0.14.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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_iot_hub.rb +27 -18
  3. data/lib/generated/azure_mgmt_iot_hub/certificates.rb +704 -0
  4. data/lib/generated/azure_mgmt_iot_hub/iot_hub_client.rb +4 -0
  5. data/lib/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +34 -23
  6. data/lib/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +45 -0
  7. data/lib/generated/azure_mgmt_iot_hub/models/certificate_description.rb +89 -0
  8. data/lib/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +53 -0
  9. data/lib/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +100 -0
  10. data/lib/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +113 -0
  11. data/lib/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +45 -0
  12. data/lib/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +89 -0
  13. data/lib/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +0 -1
  14. data/lib/generated/azure_mgmt_iot_hub/models/error_details.rb +0 -1
  15. data/lib/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +0 -1
  16. data/lib/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +2 -3
  17. data/lib/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +0 -1
  18. data/lib/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +0 -1
  19. data/lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +0 -1
  20. data/lib/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +0 -1
  21. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +0 -1
  22. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +1 -2
  23. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +0 -1
  24. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +0 -1
  25. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +0 -1
  26. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +0 -1
  27. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +0 -1
  28. data/lib/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +0 -1
  29. data/lib/generated/azure_mgmt_iot_hub/models/job_response.rb +0 -1
  30. data/lib/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +0 -1
  31. data/lib/generated/azure_mgmt_iot_hub/models/operation.rb +0 -1
  32. data/lib/generated/azure_mgmt_iot_hub/models/operation_display.rb +0 -1
  33. data/lib/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +0 -1
  34. data/lib/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +0 -1
  35. data/lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +0 -1
  36. data/lib/generated/azure_mgmt_iot_hub/models/resource.rb +97 -0
  37. data/lib/generated/azure_mgmt_iot_hub/models/route_properties.rb +0 -1
  38. data/lib/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +0 -1
  39. data/lib/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +0 -1
  40. data/lib/generated/azure_mgmt_iot_hub/models/routing_properties.rb +0 -1
  41. data/lib/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +0 -1
  42. data/lib/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +0 -1
  43. data/lib/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +0 -1
  44. data/lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +0 -1
  45. data/lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +0 -1
  46. data/lib/generated/azure_mgmt_iot_hub/version.rb +1 -1
  47. metadata +11 -2
@@ -0,0 +1,113 @@
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::ARM::IotHub
7
+ module Models
8
+ #
9
+ # The description of an X509 CA Certificate including the challenge nonce
10
+ # issued for the Proof-Of-Possession flow.
11
+ #
12
+ class CertificatePropertiesWithNonce
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The certificate's subject name.
17
+ attr_accessor :subject
18
+
19
+ # @return [DateTime] The certificate's expiration date and time.
20
+ attr_accessor :expiry
21
+
22
+ # @return [String] The certificate's thumbprint.
23
+ attr_accessor :thumbprint
24
+
25
+ # @return [Boolean] Determines whether certificate has been verified.
26
+ attr_accessor :is_verified
27
+
28
+ # @return [DateTime] The certificate's create date and time.
29
+ attr_accessor :created
30
+
31
+ # @return [DateTime] The certificate's last update date and time.
32
+ attr_accessor :updated
33
+
34
+ # @return [String] The certificate's verification code that will be used
35
+ # for proof of possession.
36
+ attr_accessor :verification_code
37
+
38
+
39
+ #
40
+ # Mapper for CertificatePropertiesWithNonce class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ required: false,
46
+ serialized_name: 'CertificatePropertiesWithNonce',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'CertificatePropertiesWithNonce',
50
+ model_properties: {
51
+ subject: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'subject',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ expiry: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'expiry',
63
+ type: {
64
+ name: 'DateTimeRfc1123'
65
+ }
66
+ },
67
+ thumbprint: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'thumbprint',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ is_verified: {
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'isVerified',
79
+ type: {
80
+ name: 'Boolean'
81
+ }
82
+ },
83
+ created: {
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'created',
87
+ type: {
88
+ name: 'DateTimeRfc1123'
89
+ }
90
+ },
91
+ updated: {
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'updated',
95
+ type: {
96
+ name: 'DateTimeRfc1123'
97
+ }
98
+ },
99
+ verification_code: {
100
+ required: false,
101
+ read_only: true,
102
+ serialized_name: 'verificationCode',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ end
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,45 @@
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::ARM::IotHub
7
+ module Models
8
+ #
9
+ # The JSON-serialized leaf certificate
10
+ #
11
+ class CertificateVerificationDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] base-64 representation of X509 certificate .cer file
16
+ # or just .pem file content.
17
+ attr_accessor :certificate
18
+
19
+
20
+ #
21
+ # Mapper for CertificateVerificationDescription class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'CertificateVerificationDescription',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'CertificateVerificationDescription',
31
+ model_properties: {
32
+ certificate: {
33
+ required: false,
34
+ serialized_name: 'certificate',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,89 @@
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::ARM::IotHub
7
+ module Models
8
+ #
9
+ # The X509 Certificate.
10
+ #
11
+ class CertificateWithNonceDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [CertificatePropertiesWithNonce]
16
+ attr_accessor :properties
17
+
18
+ # @return [String] The resource identifier.
19
+ attr_accessor :id
20
+
21
+ # @return [String] The name of the certificate.
22
+ attr_accessor :name
23
+
24
+ # @return [String] The entity tag.
25
+ attr_accessor :etag
26
+
27
+ # @return [String] The resource type.
28
+ attr_accessor :type
29
+
30
+
31
+ #
32
+ # Mapper for CertificateWithNonceDescription class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'CertificateWithNonceDescription',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'CertificateWithNonceDescription',
42
+ model_properties: {
43
+ properties: {
44
+ required: false,
45
+ serialized_name: 'properties',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'CertificatePropertiesWithNonce'
49
+ }
50
+ },
51
+ id: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'id',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ name: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'name',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ etag: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'etag',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ type: {
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'type',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ end
87
+ end
88
+ end
89
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Integer] The max delivery count for cloud-to-device messages
17
16
  # in the device queue. See:
18
17
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The error code.
17
16
  attr_accessor :code
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] The tags.
17
16
  attr_accessor :tags
18
17
 
@@ -13,14 +13,13 @@ module Azure::ARM::IotHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Integer] The retention time for device-to-cloud messages in
18
17
  # days. See:
19
18
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages
20
19
  attr_accessor :retention_time_in_days
21
20
 
22
- # @return [Integer] The number of paritions for receiving device-to-cloud
23
- # messages in the Event Hub-compatible endpoint. See:
21
+ # @return [Integer] The number of partitions for receiving
22
+ # device-to-cloud messages in the Event Hub-compatible endpoint. See:
24
23
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.
25
24
  attr_accessor :partition_count
26
25
 
@@ -13,7 +13,6 @@ module Azure::ARM::IotHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The export blob container URI.
18
17
  attr_accessor :export_blob_container_uri
19
18
 
@@ -13,7 +13,6 @@ module Azure::ARM::IotHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The source to which the routing rule is to be applied
18
17
  # to. For example, DeviceMessages. Default value: 'DeviceMessages' .
19
18
  attr_accessor :source
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Duration] The lock duration for the feedback queue. See:
17
16
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.
18
17
  attr_accessor :lock_duration_as_iso8601
@@ -13,7 +13,6 @@ module Azure::ARM::IotHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The input blob container URI.
18
17
  attr_accessor :input_blob_container_uri
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Integer] The minimum number of units.
17
16
  attr_accessor :minimum
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::IotHub
8
8
  #
9
9
  # The description of the IoT hub.
10
10
  #
11
- class IotHubDescription < MsRestAzure::Resource
11
+ class IotHubDescription < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The subscription identifier.
17
16
  attr_accessor :subscriptionid
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] The value which indicates whether the provided name
17
16
  # is available.
18
17
  attr_accessor :name_available
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<SharedAccessSignatureAuthorizationRule>] The shared
17
16
  # access policies you can use to secure a connection to the IoT hub.
18
17
  attr_accessor :authorization_policies
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the quota metric.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The type of the resource.
17
16
  attr_accessor :resource_type
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [IotHubSku] The name of the SKU. Possible values include: 'F1',
17
16
  # 'S1', 'S2', 'S3'
18
17
  attr_accessor :name
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the IP filter rule.
17
16
  attr_accessor :filter_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The job identifier.
17
16
  attr_accessor :job_id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Duration] The lock duration. See:
17
16
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
18
17
  attr_accessor :lock_duration_as_iso8601
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Operation name: {provider}/{resource}/{read | write |
17
16
  # action | delete}
18
17
  attr_accessor :name
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Service provider: Microsoft Devices
17
16
  attr_accessor :provider
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the IoT hub to check.
17
16
  attr_accessor :name
18
17