azure_mgmt_databoxedge 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-08-01/generated/azure_mgmt_databoxedge.rb +158 -0
  4. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/alerts.rb +328 -0
  5. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/bandwidth_schedules.rb +621 -0
  6. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/containers.rb +771 -0
  7. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/data_box_edge_management_client.rb +191 -0
  8. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/devices.rb +1811 -0
  9. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/jobs.rb +126 -0
  10. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/account_type.rb +16 -0
  11. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/address.rb +112 -0
  12. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert.rb +156 -0
  13. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert_error_details.rb +71 -0
  14. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert_list.rb +100 -0
  15. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert_severity.rb +17 -0
  16. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/armbase_model.rb +71 -0
  17. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/asymmetric_encrypted_secret.rb +70 -0
  18. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/authentication.rb +47 -0
  19. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/authentication_type.rb +16 -0
  20. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_data_format.rb +17 -0
  21. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_info.rb +72 -0
  22. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/bandwidth_schedule.rb +115 -0
  23. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/bandwidth_schedules_list.rb +100 -0
  24. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/client_access_right.rb +59 -0
  25. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/client_permission_type.rb +17 -0
  26. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb +87 -0
  27. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/container.rb +113 -0
  28. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/container_list.rb +100 -0
  29. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/container_status.rb +19 -0
  30. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device.rb +300 -0
  31. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_extended_info.rb +97 -0
  32. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_list.rb +101 -0
  33. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_patch.rb +55 -0
  34. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_status.rb +21 -0
  35. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_policy.rb +16 -0
  36. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/day_of_week.rb +21 -0
  37. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/device_type.rb +15 -0
  38. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/download_phase.rb +18 -0
  39. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/encryption_algorithm.rb +17 -0
  40. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb +115 -0
  41. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_source_info.rb +46 -0
  42. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/install_reboot_behavior.rb +17 -0
  43. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_tdevice_info.rb +80 -0
  44. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb +147 -0
  45. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv4config.rb +71 -0
  46. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv6config.rb +71 -0
  47. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job.rb +242 -0
  48. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_error_details.rb +80 -0
  49. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_error_item.rb +79 -0
  50. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_status.rb +21 -0
  51. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_type.rb +20 -0
  52. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_aggregation_type.rb +21 -0
  53. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_category.rb +16 -0
  54. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_dimension_v1.rb +68 -0
  55. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_specification_v1.rb +187 -0
  56. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_unit.rb +22 -0
  57. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/monitoring_status.rb +16 -0
  58. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb +83 -0
  59. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter.rb +229 -0
  60. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_dhcpstatus.rb +16 -0
  61. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_position.rb +60 -0
  62. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_rdmastatus.rb +16 -0
  63. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_status.rb +16 -0
  64. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_group.rb +17 -0
  65. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_settings.rb +83 -0
  66. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/node.rb +152 -0
  67. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/node_list.rb +56 -0
  68. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/node_status.rb +19 -0
  69. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/operation.rb +81 -0
  70. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/operation_display.rb +80 -0
  71. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/operations_list.rb +99 -0
  72. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb +177 -0
  73. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order_list.rb +100 -0
  74. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order_state.rb +28 -0
  75. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order_status.rb +96 -0
  76. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_event_trigger.rb +115 -0
  77. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_source_info.rb +73 -0
  78. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/platform_type.rb +16 -0
  79. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/refresh_details.rb +87 -0
  80. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/resource_type_sku.rb +202 -0
  81. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role.rb +71 -0
  82. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_list.rb +102 -0
  83. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_sink_info.rb +46 -0
  84. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_status.rb +16 -0
  85. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_types.rb +18 -0
  86. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/security_settings.rb +78 -0
  87. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/service_specification.rb +56 -0
  88. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share.rb +208 -0
  89. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_access_protocol.rb +16 -0
  90. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_access_right.rb +59 -0
  91. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_access_type.rb +17 -0
  92. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_list.rb +100 -0
  93. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_status.rb +19 -0
  94. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku.rb +61 -0
  95. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_cost.rb +71 -0
  96. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_information_list.rb +68 -0
  97. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_location_info.rb +87 -0
  98. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_name.rb +23 -0
  99. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_restriction.rb +94 -0
  100. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_restriction_info.rb +75 -0
  101. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_restriction_reason_code.rb +16 -0
  102. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_tier.rb +15 -0
  103. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sslstatus.rb +16 -0
  104. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb +134 -0
  105. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential.rb +154 -0
  106. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential_list.rb +100 -0
  107. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_list.rb +101 -0
  108. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_status.rb +19 -0
  109. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/symmetric_key.rb +48 -0
  110. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/time_grain.rb +22 -0
  111. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/tracking_info.rb +79 -0
  112. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger.rb +71 -0
  113. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger_list.rb +102 -0
  114. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_download_progress.rb +108 -0
  115. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_install_progress.rb +71 -0
  116. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_operation.rb +18 -0
  117. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_operation_stage.rb +31 -0
  118. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb +281 -0
  119. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_request.rb +58 -0
  120. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_response.rb +132 -0
  121. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user.rb +108 -0
  122. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_access_right.rb +59 -0
  123. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_list.rb +100 -0
  124. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_type.rb +17 -0
  125. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/module_definition.rb +9 -0
  126. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/nodes.rb +119 -0
  127. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/operations.rb +218 -0
  128. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/operations_status.rb +126 -0
  129. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/orders.rb +594 -0
  130. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/roles.rb +610 -0
  131. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/shares.rb +737 -0
  132. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/skus.rb +117 -0
  133. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/storage_account_credentials.rb +623 -0
  134. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/storage_accounts.rb +615 -0
  135. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/triggers.rb +618 -0
  136. data/lib/2019-08-01/generated/azure_mgmt_databoxedge/users.rb +622 -0
  137. data/lib/azure_mgmt_databoxedge.rb +6 -0
  138. data/lib/module_definition.rb +7 -0
  139. data/lib/profiles/latest/databoxedge_latest_profile_client.rb +40 -0
  140. data/lib/profiles/latest/databoxedge_module_definition.rb +8 -0
  141. data/lib/profiles/latest/modules/databoxedge_profile_module.rb +551 -0
  142. data/lib/version.rb +7 -0
  143. metadata +258 -0
@@ -0,0 +1,55 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # The Data Box Edge/Gateway device patch.
10
+ #
11
+ class DataBoxEdgeDevicePatch
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] The tags attached to the Data Box
16
+ # Edge/Gateway resource.
17
+ attr_accessor :tags
18
+
19
+
20
+ #
21
+ # Mapper for DataBoxEdgeDevicePatch 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: 'DataBoxEdgeDevicePatch',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DataBoxEdgeDevicePatch',
32
+ model_properties: {
33
+ tags: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'tags',
37
+ type: {
38
+ name: 'Dictionary',
39
+ value: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'StringElementType',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,21 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Defines values for DataBoxEdgeDeviceStatus
10
+ #
11
+ module DataBoxEdgeDeviceStatus
12
+ ReadyToSetup = "ReadyToSetup"
13
+ Online = "Online"
14
+ Offline = "Offline"
15
+ NeedsAttention = "NeedsAttention"
16
+ Disconnected = "Disconnected"
17
+ PartiallyDisconnected = "PartiallyDisconnected"
18
+ Maintenance = "Maintenance"
19
+ end
20
+ end
21
+ 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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Defines values for DataPolicy
10
+ #
11
+ module DataPolicy
12
+ Cloud = "Cloud"
13
+ Local = "Local"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,21 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Defines values for DayOfWeek
10
+ #
11
+ module DayOfWeek
12
+ Sunday = "Sunday"
13
+ Monday = "Monday"
14
+ Tuesday = "Tuesday"
15
+ Wednesday = "Wednesday"
16
+ Thursday = "Thursday"
17
+ Friday = "Friday"
18
+ Saturday = "Saturday"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,15 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Defines values for DeviceType
10
+ #
11
+ module DeviceType
12
+ DataBoxEdgeDevice = "DataBoxEdgeDevice"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,18 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Defines values for DownloadPhase
10
+ #
11
+ module DownloadPhase
12
+ Unknown = "Unknown"
13
+ Initializing = "Initializing"
14
+ Downloading = "Downloading"
15
+ Verifying = "Verifying"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Defines values for EncryptionAlgorithm
10
+ #
11
+ module EncryptionAlgorithm
12
+ None = "None"
13
+ AES256 = "AES256"
14
+ RSAESPKCS1V15 = "RSAES_PKCS1_v_1_5"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,115 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Trigger details.
10
+ #
11
+ class FileEventTrigger < Trigger
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @kind = "FileEvent"
18
+ end
19
+
20
+ attr_accessor :kind
21
+
22
+ # @return [FileSourceInfo] File event source details.
23
+ attr_accessor :source_info
24
+
25
+ # @return [RoleSinkInfo] Role sink info.
26
+ attr_accessor :sink_info
27
+
28
+ # @return [String] A custom context tag typically used to correlate the
29
+ # trigger against its usage. For example, if a periodic timer trigger is
30
+ # intended for certain specific IoT modules in the device, the tag can be
31
+ # the name or the image URL of the module.
32
+ attr_accessor :custom_context_tag
33
+
34
+
35
+ #
36
+ # Mapper for FileEventTrigger class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'FileEvent',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'FileEventTrigger',
47
+ model_properties: {
48
+ id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'id',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ name: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ type: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'type',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ kind: {
76
+ client_side_validation: true,
77
+ required: true,
78
+ serialized_name: 'kind',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ source_info: {
84
+ client_side_validation: true,
85
+ required: true,
86
+ serialized_name: 'properties.sourceInfo',
87
+ type: {
88
+ name: 'Composite',
89
+ class_name: 'FileSourceInfo'
90
+ }
91
+ },
92
+ sink_info: {
93
+ client_side_validation: true,
94
+ required: true,
95
+ serialized_name: 'properties.sinkInfo',
96
+ type: {
97
+ name: 'Composite',
98
+ class_name: 'RoleSinkInfo'
99
+ }
100
+ },
101
+ custom_context_tag: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'properties.customContextTag',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,46 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # File source details.
10
+ #
11
+ class FileSourceInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] File share ID.
16
+ attr_accessor :share_id
17
+
18
+
19
+ #
20
+ # Mapper for FileSourceInfo class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'FileSourceInfo',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'FileSourceInfo',
31
+ model_properties: {
32
+ share_id: {
33
+ client_side_validation: true,
34
+ required: true,
35
+ serialized_name: 'shareId',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,17 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Defines values for InstallRebootBehavior
10
+ #
11
+ module InstallRebootBehavior
12
+ NeverReboots = "NeverReboots"
13
+ RequiresReboot = "RequiresReboot"
14
+ RequestReboot = "RequestReboot"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,80 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Metadata of IoT device/IoT Edge device to be configured.
10
+ #
11
+ class IoTDeviceInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] ID of the IoT device/edge device.
16
+ attr_accessor :device_id
17
+
18
+ # @return [String] Host name for the IoT hub associated to the device.
19
+ attr_accessor :io_thost_hub
20
+
21
+ # @return [String] Id for the IoT hub associated to the device.
22
+ attr_accessor :io_thost_hub_id
23
+
24
+ # @return [Authentication] IoT device authentication info.
25
+ attr_accessor :authentication
26
+
27
+
28
+ #
29
+ # Mapper for IoTDeviceInfo class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'IoTDeviceInfo',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'IoTDeviceInfo',
40
+ model_properties: {
41
+ device_id: {
42
+ client_side_validation: true,
43
+ required: true,
44
+ serialized_name: 'deviceId',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ io_thost_hub: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'ioTHostHub',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ io_thost_hub_id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'ioTHostHubId',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ authentication: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'authentication',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'Authentication'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,147 @@
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::DataBoxEdge::Mgmt::V2019_08_01
7
+ module Models
8
+ #
9
+ # Compute role.
10
+ #
11
+ class IoTRole < Role
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @kind = "IOT"
18
+ end
19
+
20
+ attr_accessor :kind
21
+
22
+ # @return [PlatformType] Host OS supported by the IoT role. Possible
23
+ # values include: 'Windows', 'Linux'
24
+ attr_accessor :host_platform
25
+
26
+ # @return [IoTDeviceInfo] IoT device metadata to which data box edge
27
+ # device needs to be connected.
28
+ attr_accessor :io_tdevice_details
29
+
30
+ # @return [IoTDeviceInfo] IoT edge device to which the IoT role needs to
31
+ # be configured.
32
+ attr_accessor :io_tedge_device_details
33
+
34
+ # @return [Array<MountPointMap>] Mount points of shares in role(s).
35
+ attr_accessor :share_mappings
36
+
37
+ # @return [RoleStatus] Role status. Possible values include: 'Enabled',
38
+ # 'Disabled'
39
+ attr_accessor :role_status
40
+
41
+
42
+ #
43
+ # Mapper for IoTRole 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: 'IOT',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'IoTRole',
54
+ model_properties: {
55
+ id: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'id',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ name: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'name',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ type: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'type',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ kind: {
83
+ client_side_validation: true,
84
+ required: true,
85
+ serialized_name: 'kind',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ host_platform: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'properties.hostPlatform',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ io_tdevice_details: {
99
+ client_side_validation: true,
100
+ required: true,
101
+ serialized_name: 'properties.ioTDeviceDetails',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'IoTDeviceInfo'
105
+ }
106
+ },
107
+ io_tedge_device_details: {
108
+ client_side_validation: true,
109
+ required: true,
110
+ serialized_name: 'properties.ioTEdgeDeviceDetails',
111
+ type: {
112
+ name: 'Composite',
113
+ class_name: 'IoTDeviceInfo'
114
+ }
115
+ },
116
+ share_mappings: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'properties.shareMappings',
120
+ type: {
121
+ name: 'Sequence',
122
+ element: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'MountPointMapElementType',
126
+ type: {
127
+ name: 'Composite',
128
+ class_name: 'MountPointMap'
129
+ }
130
+ }
131
+ }
132
+ },
133
+ role_status: {
134
+ client_side_validation: true,
135
+ required: true,
136
+ serialized_name: 'properties.roleStatus',
137
+ type: {
138
+ name: 'String'
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ end
145
+ end
146
+ end
147
+ end