Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::IoTRole
- Inherits:
-
Role
- Object
- ARMBaseModel
- Role
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::IoTRole
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb
Overview
Compute role.
Instance Attribute Summary collapse
-
#host_platform ⇒ PlatformType
values include: ‘Windows’, ‘Linux’.
-
#io_tdevice_details ⇒ IoTDeviceInfo
device needs to be connected.
-
#io_tedge_device_details ⇒ IoTDeviceInfo
be configured.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#role_status ⇒ RoleStatus
‘Disabled’.
-
#share_mappings ⇒ Array<MountPointMap>
Mount points of shares in role(s).
Attributes inherited from ARMBaseModel
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IoTRole class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ IoTRole
constructor
A new instance of IoTRole.
Constructor Details
#initialize ⇒ IoTRole
Returns a new instance of IoTRole.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 16 def initialize @kind = "IOT" end |
Instance Attribute Details
#host_platform ⇒ PlatformType
values include: ‘Windows’, ‘Linux’
24 25 26 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 24 def host_platform @host_platform end |
#io_tdevice_details ⇒ IoTDeviceInfo
device needs to be connected.
28 29 30 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 28 def io_tdevice_details @io_tdevice_details end |
#io_tedge_device_details ⇒ IoTDeviceInfo
be configured.
32 33 34 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 32 def io_tedge_device_details @io_tedge_device_details end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 20 def kind @kind end |
#role_status ⇒ RoleStatus
‘Disabled’
39 40 41 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 39 def role_status @role_status end |
#share_mappings ⇒ Array<MountPointMap>
Returns Mount points of shares in role(s).
35 36 37 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 35 def share_mappings @share_mappings end |
Class Method Details
.mapper ⇒ Object
Mapper for IoTRole class as Ruby Hash. This will be used for serialization/deserialization.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IOT', type: { name: 'Composite', class_name: 'IoTRole', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, host_platform: { client_side_validation: true, required: true, serialized_name: 'properties.hostPlatform', type: { name: 'String' } }, io_tdevice_details: { client_side_validation: true, required: true, serialized_name: 'properties.ioTDeviceDetails', type: { name: 'Composite', class_name: 'IoTDeviceInfo' } }, io_tedge_device_details: { client_side_validation: true, required: true, serialized_name: 'properties.ioTEdgeDeviceDetails', type: { name: 'Composite', class_name: 'IoTDeviceInfo' } }, share_mappings: { client_side_validation: true, required: false, serialized_name: 'properties.shareMappings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MountPointMapElementType', type: { name: 'Composite', class_name: 'MountPointMap' } } } }, role_status: { client_side_validation: true, required: true, serialized_name: 'properties.roleStatus', type: { name: 'String' } } } } } end |