azure_mgmt_iot_hub 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub.rb +89 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/certificates.rb +711 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_client.rb +139 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3242 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +107 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +121 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +18 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/resource.rb +104 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_source.rb +18 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/operations.rb +215 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub.rb +108 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/certificates.rb +711 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +143 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3676 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/resource.rb +104 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_input.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/operations.rb +215 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/resource_provider_common.rb +115 -0
- data/lib/azure_mgmt_iot_hub.rb +3 -1
- data/lib/profiles/latest/modules/iothub_profile_module.rb +240 -162
- data/lib/version.rb +1 -1
- metadata +154 -5
@@ -0,0 +1,29 @@
|
|
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::V2018_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AccessRights
|
10
|
+
#
|
11
|
+
module AccessRights
|
12
|
+
RegistryRead = "RegistryRead"
|
13
|
+
RegistryWrite = "RegistryWrite"
|
14
|
+
ServiceConnect = "ServiceConnect"
|
15
|
+
DeviceConnect = "DeviceConnect"
|
16
|
+
RegistryReadRegistryWrite = "RegistryRead, RegistryWrite"
|
17
|
+
RegistryReadServiceConnect = "RegistryRead, ServiceConnect"
|
18
|
+
RegistryReadDeviceConnect = "RegistryRead, DeviceConnect"
|
19
|
+
RegistryWriteServiceConnect = "RegistryWrite, ServiceConnect"
|
20
|
+
RegistryWriteDeviceConnect = "RegistryWrite, DeviceConnect"
|
21
|
+
ServiceConnectDeviceConnect = "ServiceConnect, DeviceConnect"
|
22
|
+
RegistryReadRegistryWriteServiceConnect = "RegistryRead, RegistryWrite, ServiceConnect"
|
23
|
+
RegistryReadRegistryWriteDeviceConnect = "RegistryRead, RegistryWrite, DeviceConnect"
|
24
|
+
RegistryReadServiceConnectDeviceConnect = "RegistryRead, ServiceConnect, DeviceConnect"
|
25
|
+
RegistryWriteServiceConnectDeviceConnect = "RegistryWrite, ServiceConnect, DeviceConnect"
|
26
|
+
RegistryReadRegistryWriteServiceConnectDeviceConnect = "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
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::V2018_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for Capabilities
|
10
|
+
#
|
11
|
+
module Capabilities
|
12
|
+
None = "None"
|
13
|
+
DeviceManagement = "DeviceManagement"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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::V2018_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The JSON-serialized X509 Certificate.
|
10
|
+
#
|
11
|
+
class CertificateBodyDescription
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] base-64 representation of the X509 leaf certificate
|
16
|
+
# .cer file or just .pem file content.
|
17
|
+
attr_accessor :certificate
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for CertificateBodyDescription class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'CertificateBodyDescription',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'CertificateBodyDescription',
|
32
|
+
model_properties: {
|
33
|
+
certificate: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'certificate',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,95 @@
|
|
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::V2018_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The X509 Certificate.
|
10
|
+
#
|
11
|
+
class CertificateDescription
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [CertificateProperties]
|
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 CertificateDescription class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'CertificateDescription',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'CertificateDescription',
|
43
|
+
model_properties: {
|
44
|
+
properties: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'properties',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'CertificateProperties'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
id: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
name: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
etag: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'etag',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
type: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'type',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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::V2018_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The JSON-serialized array of Certificate objects.
|
10
|
+
#
|
11
|
+
class CertificateListDescription
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<CertificateDescription>] The array of Certificate
|
16
|
+
# objects.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for CertificateListDescription class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'CertificateListDescription',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'CertificateListDescription',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'CertificateDescriptionElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'CertificateDescription'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,118 @@
|
|
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::V2018_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The description of an X509 CA Certificate.
|
10
|
+
#
|
11
|
+
class CertificateProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The certificate's subject name.
|
16
|
+
attr_accessor :subject
|
17
|
+
|
18
|
+
# @return [DateTime] The certificate's expiration date and time.
|
19
|
+
attr_accessor :expiry
|
20
|
+
|
21
|
+
# @return [String] The certificate's thumbprint.
|
22
|
+
attr_accessor :thumbprint
|
23
|
+
|
24
|
+
# @return [Boolean] Determines whether certificate has been verified.
|
25
|
+
attr_accessor :is_verified
|
26
|
+
|
27
|
+
# @return [DateTime] The certificate's create date and time.
|
28
|
+
attr_accessor :created
|
29
|
+
|
30
|
+
# @return [DateTime] The certificate's last update date and time.
|
31
|
+
attr_accessor :updated
|
32
|
+
|
33
|
+
# @return [String] The certificate content
|
34
|
+
attr_accessor :certificate
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for CertificateProperties class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'CertificateProperties',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'CertificateProperties',
|
49
|
+
model_properties: {
|
50
|
+
subject: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'subject',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
expiry: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'expiry',
|
64
|
+
type: {
|
65
|
+
name: 'DateTimeRfc1123'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
thumbprint: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'thumbprint',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
is_verified: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
read_only: true,
|
81
|
+
serialized_name: 'isVerified',
|
82
|
+
type: {
|
83
|
+
name: 'Boolean'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
created: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'created',
|
91
|
+
type: {
|
92
|
+
name: 'DateTimeRfc1123'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
updated: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
read_only: true,
|
99
|
+
serialized_name: 'updated',
|
100
|
+
type: {
|
101
|
+
name: 'DateTimeRfc1123'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
certificate: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'certificate',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
@@ -0,0 +1,133 @@
|
|
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::V2018_04_01
|
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
|
+
# @return [String] The certificate content
|
39
|
+
attr_accessor :certificate
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for CertificatePropertiesWithNonce class as Ruby Hash.
|
44
|
+
# This will be used for serialization/deserialization.
|
45
|
+
#
|
46
|
+
def self.mapper()
|
47
|
+
{
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'CertificatePropertiesWithNonce',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'CertificatePropertiesWithNonce',
|
54
|
+
model_properties: {
|
55
|
+
subject: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'subject',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
expiry: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'expiry',
|
69
|
+
type: {
|
70
|
+
name: 'DateTimeRfc1123'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
thumbprint: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'thumbprint',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
is_verified: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'isVerified',
|
87
|
+
type: {
|
88
|
+
name: 'Boolean'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
created: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
read_only: true,
|
95
|
+
serialized_name: 'created',
|
96
|
+
type: {
|
97
|
+
name: 'DateTimeRfc1123'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
updated: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
read_only: true,
|
104
|
+
serialized_name: 'updated',
|
105
|
+
type: {
|
106
|
+
name: 'DateTimeRfc1123'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
verification_code: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
read_only: true,
|
113
|
+
serialized_name: 'verificationCode',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
certificate: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
read_only: true,
|
122
|
+
serialized_name: 'certificate',
|
123
|
+
type: {
|
124
|
+
name: 'String'
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|