azure_mgmt_databoxedge 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge.rb +158 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/alerts.rb +328 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/bandwidth_schedules.rb +621 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/containers.rb +771 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/data_box_edge_management_client.rb +191 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/devices.rb +1811 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/jobs.rb +126 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/account_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/address.rb +112 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert.rb +156 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert_error_details.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/alert_severity.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/armbase_model.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/asymmetric_encrypted_secret.rb +70 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/authentication.rb +47 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/authentication_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_data_format.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/azure_container_info.rb +72 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/bandwidth_schedule.rb +115 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/bandwidth_schedules_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/client_access_right.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/client_permission_type.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb +87 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/container.rb +113 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/container_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/container_status.rb +19 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device.rb +300 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_extended_info.rb +97 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_list.rb +101 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_patch.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_status.rb +21 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_policy.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/day_of_week.rb +21 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/device_type.rb +15 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/download_phase.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/encryption_algorithm.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb +115 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_source_info.rb +46 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/install_reboot_behavior.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_tdevice_info.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb +147 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv4config.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv6config.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job.rb +242 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_error_details.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_error_item.rb +79 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_status.rb +21 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/job_type.rb +20 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_aggregation_type.rb +21 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_category.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_dimension_v1.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_specification_v1.rb +187 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_unit.rb +22 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/monitoring_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb +83 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter.rb +229 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_dhcpstatus.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_position.rb +60 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_rdmastatus.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_adapter_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_group.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/network_settings.rb +83 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/node.rb +152 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/node_list.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/node_status.rb +19 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/operation.rb +81 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/operation_display.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/operations_list.rb +99 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb +177 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order_state.rb +28 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order_status.rb +96 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_event_trigger.rb +115 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/periodic_timer_source_info.rb +73 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/platform_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/refresh_details.rb +87 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/resource_type_sku.rb +202 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_list.rb +102 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_sink_info.rb +46 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/role_types.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/security_settings.rb +78 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/service_specification.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share.rb +208 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_access_protocol.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_access_right.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_access_type.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/share_status.rb +19 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku.rb +61 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_cost.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_information_list.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_location_info.rb +87 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_name.rb +23 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_restriction.rb +94 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_restriction_info.rb +75 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_restriction_reason_code.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_tier.rb +15 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sslstatus.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb +134 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential.rb +154 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_credential_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_list.rb +101 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account_status.rb +19 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/symmetric_key.rb +48 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/time_grain.rb +22 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/tracking_info.rb +79 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger_list.rb +102 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_download_progress.rb +108 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_install_progress.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_operation.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_operation_stage.rb +31 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb +281 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_request.rb +58 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_response.rb +132 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user.rb +108 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_access_right.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_type.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/module_definition.rb +9 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/nodes.rb +119 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/operations.rb +218 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/operations_status.rb +126 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/orders.rb +594 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/roles.rb +610 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/shares.rb +737 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/skus.rb +117 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/storage_account_credentials.rb +623 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/storage_accounts.rb +615 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/triggers.rb +618 -0
- data/lib/2019-08-01/generated/azure_mgmt_databoxedge/users.rb +622 -0
- data/lib/azure_mgmt_databoxedge.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/databoxedge_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/databoxedge_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/databoxedge_profile_module.rb +551 -0
- data/lib/version.rb +7 -0
- metadata +258 -0
@@ -0,0 +1,19 @@
|
|
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 ContainerStatus
|
10
|
+
#
|
11
|
+
module ContainerStatus
|
12
|
+
OK = "OK"
|
13
|
+
Offline = "Offline"
|
14
|
+
Unknown = "Unknown"
|
15
|
+
Updating = "Updating"
|
16
|
+
NeedsAttention = "NeedsAttention"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,300 @@
|
|
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.
|
10
|
+
#
|
11
|
+
class DataBoxEdgeDevice < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The location of the device. This is a supported and
|
16
|
+
# registered Azure geographical region (for example, West US, East US, or
|
17
|
+
# Southeast Asia). The geographical region of a device cannot be changed
|
18
|
+
# once it is created, but if an identical geographical region is
|
19
|
+
# specified on update, the request will succeed.
|
20
|
+
attr_accessor :location
|
21
|
+
|
22
|
+
# @return [Hash{String => String}] The list of tags that describe the
|
23
|
+
# device. These tags can be used to view and group this device (across
|
24
|
+
# resource groups).
|
25
|
+
attr_accessor :tags
|
26
|
+
|
27
|
+
# @return [Sku] The SKU type.
|
28
|
+
attr_accessor :sku
|
29
|
+
|
30
|
+
# @return [String] The etag for the devices.
|
31
|
+
attr_accessor :etag
|
32
|
+
|
33
|
+
# @return [DataBoxEdgeDeviceStatus] The status of the Data Box
|
34
|
+
# Edge/Gateway device. Possible values include: 'ReadyToSetup', 'Online',
|
35
|
+
# 'Offline', 'NeedsAttention', 'Disconnected', 'PartiallyDisconnected',
|
36
|
+
# 'Maintenance'
|
37
|
+
attr_accessor :data_box_edge_device_status
|
38
|
+
|
39
|
+
# @return [String] The Serial Number of Data Box Edge/Gateway device.
|
40
|
+
attr_accessor :serial_number
|
41
|
+
|
42
|
+
# @return [String] The Description of the Data Box Edge/Gateway device.
|
43
|
+
attr_accessor :description
|
44
|
+
|
45
|
+
# @return [String] The description of the Data Box Edge/Gateway device
|
46
|
+
# model.
|
47
|
+
attr_accessor :model_description
|
48
|
+
|
49
|
+
# @return [DeviceType] The type of the Data Box Edge/Gateway device.
|
50
|
+
# Possible values include: 'DataBoxEdgeDevice'
|
51
|
+
attr_accessor :device_type
|
52
|
+
|
53
|
+
# @return [String] The Data Box Edge/Gateway device name.
|
54
|
+
attr_accessor :friendly_name
|
55
|
+
|
56
|
+
# @return [String] The Data Box Edge/Gateway device culture.
|
57
|
+
attr_accessor :culture
|
58
|
+
|
59
|
+
# @return [String] The Data Box Edge/Gateway device model.
|
60
|
+
attr_accessor :device_model
|
61
|
+
|
62
|
+
# @return [String] The Data Box Edge/Gateway device software version.
|
63
|
+
attr_accessor :device_software_version
|
64
|
+
|
65
|
+
# @return [Integer] The Data Box Edge/Gateway device local capacity in
|
66
|
+
# MB.
|
67
|
+
attr_accessor :device_local_capacity
|
68
|
+
|
69
|
+
# @return [String] The Data Box Edge/Gateway device timezone.
|
70
|
+
attr_accessor :time_zone
|
71
|
+
|
72
|
+
# @return [String] The device software version number of the device (eg:
|
73
|
+
# 1.2.18105.6).
|
74
|
+
attr_accessor :device_hcs_version
|
75
|
+
|
76
|
+
# @return [Array<RoleTypes>] Type of compute roles configured.
|
77
|
+
attr_accessor :configured_role_types
|
78
|
+
|
79
|
+
# @return [Integer] The number of nodes in the cluster.
|
80
|
+
attr_accessor :node_count
|
81
|
+
|
82
|
+
|
83
|
+
#
|
84
|
+
# Mapper for DataBoxEdgeDevice class as Ruby Hash.
|
85
|
+
# This will be used for serialization/deserialization.
|
86
|
+
#
|
87
|
+
def self.mapper()
|
88
|
+
{
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'DataBoxEdgeDevice',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'DataBoxEdgeDevice',
|
95
|
+
model_properties: {
|
96
|
+
id: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
read_only: true,
|
100
|
+
serialized_name: 'id',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
name: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
read_only: true,
|
109
|
+
serialized_name: 'name',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
type: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'type',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
location: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: true,
|
126
|
+
serialized_name: 'location',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
tags: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'tags',
|
135
|
+
type: {
|
136
|
+
name: 'Dictionary',
|
137
|
+
value: {
|
138
|
+
client_side_validation: true,
|
139
|
+
required: false,
|
140
|
+
serialized_name: 'StringElementType',
|
141
|
+
type: {
|
142
|
+
name: 'String'
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
},
|
147
|
+
sku: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'sku',
|
151
|
+
type: {
|
152
|
+
name: 'Composite',
|
153
|
+
class_name: 'Sku'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
etag: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'etag',
|
160
|
+
type: {
|
161
|
+
name: 'String'
|
162
|
+
}
|
163
|
+
},
|
164
|
+
data_box_edge_device_status: {
|
165
|
+
client_side_validation: true,
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'properties.dataBoxEdgeDeviceStatus',
|
168
|
+
type: {
|
169
|
+
name: 'String'
|
170
|
+
}
|
171
|
+
},
|
172
|
+
serial_number: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
read_only: true,
|
176
|
+
serialized_name: 'properties.serialNumber',
|
177
|
+
type: {
|
178
|
+
name: 'String'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
description: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
serialized_name: 'properties.description',
|
185
|
+
type: {
|
186
|
+
name: 'String'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
model_description: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
serialized_name: 'properties.modelDescription',
|
193
|
+
type: {
|
194
|
+
name: 'String'
|
195
|
+
}
|
196
|
+
},
|
197
|
+
device_type: {
|
198
|
+
client_side_validation: true,
|
199
|
+
required: false,
|
200
|
+
read_only: true,
|
201
|
+
serialized_name: 'properties.deviceType',
|
202
|
+
type: {
|
203
|
+
name: 'String'
|
204
|
+
}
|
205
|
+
},
|
206
|
+
friendly_name: {
|
207
|
+
client_side_validation: true,
|
208
|
+
required: false,
|
209
|
+
serialized_name: 'properties.friendlyName',
|
210
|
+
type: {
|
211
|
+
name: 'String'
|
212
|
+
}
|
213
|
+
},
|
214
|
+
culture: {
|
215
|
+
client_side_validation: true,
|
216
|
+
required: false,
|
217
|
+
read_only: true,
|
218
|
+
serialized_name: 'properties.culture',
|
219
|
+
type: {
|
220
|
+
name: 'String'
|
221
|
+
}
|
222
|
+
},
|
223
|
+
device_model: {
|
224
|
+
client_side_validation: true,
|
225
|
+
required: false,
|
226
|
+
read_only: true,
|
227
|
+
serialized_name: 'properties.deviceModel',
|
228
|
+
type: {
|
229
|
+
name: 'String'
|
230
|
+
}
|
231
|
+
},
|
232
|
+
device_software_version: {
|
233
|
+
client_side_validation: true,
|
234
|
+
required: false,
|
235
|
+
read_only: true,
|
236
|
+
serialized_name: 'properties.deviceSoftwareVersion',
|
237
|
+
type: {
|
238
|
+
name: 'String'
|
239
|
+
}
|
240
|
+
},
|
241
|
+
device_local_capacity: {
|
242
|
+
client_side_validation: true,
|
243
|
+
required: false,
|
244
|
+
read_only: true,
|
245
|
+
serialized_name: 'properties.deviceLocalCapacity',
|
246
|
+
type: {
|
247
|
+
name: 'Number'
|
248
|
+
}
|
249
|
+
},
|
250
|
+
time_zone: {
|
251
|
+
client_side_validation: true,
|
252
|
+
required: false,
|
253
|
+
read_only: true,
|
254
|
+
serialized_name: 'properties.timeZone',
|
255
|
+
type: {
|
256
|
+
name: 'String'
|
257
|
+
}
|
258
|
+
},
|
259
|
+
device_hcs_version: {
|
260
|
+
client_side_validation: true,
|
261
|
+
required: false,
|
262
|
+
read_only: true,
|
263
|
+
serialized_name: 'properties.deviceHcsVersion',
|
264
|
+
type: {
|
265
|
+
name: 'String'
|
266
|
+
}
|
267
|
+
},
|
268
|
+
configured_role_types: {
|
269
|
+
client_side_validation: true,
|
270
|
+
required: false,
|
271
|
+
read_only: true,
|
272
|
+
serialized_name: 'properties.configuredRoleTypes',
|
273
|
+
type: {
|
274
|
+
name: 'Sequence',
|
275
|
+
element: {
|
276
|
+
client_side_validation: true,
|
277
|
+
required: false,
|
278
|
+
serialized_name: 'RoleTypesElementType',
|
279
|
+
type: {
|
280
|
+
name: 'String'
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
},
|
285
|
+
node_count: {
|
286
|
+
client_side_validation: true,
|
287
|
+
required: false,
|
288
|
+
read_only: true,
|
289
|
+
serialized_name: 'properties.nodeCount',
|
290
|
+
type: {
|
291
|
+
name: 'Number'
|
292
|
+
}
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
end
|
298
|
+
end
|
299
|
+
end
|
300
|
+
end
|
data/lib/2019-08-01/generated/azure_mgmt_databoxedge/models/data_box_edge_device_extended_info.rb
ADDED
@@ -0,0 +1,97 @@
|
|
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 extended Info of the Data Box Edge/Gateway device.
|
10
|
+
#
|
11
|
+
class DataBoxEdgeDeviceExtendedInfo < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The digital signature of encrypted certificate.
|
16
|
+
attr_accessor :encryption_key_thumbprint
|
17
|
+
|
18
|
+
# @return [String] The public part of the encryption certificate. Client
|
19
|
+
# uses this to encrypt any secret.
|
20
|
+
attr_accessor :encryption_key
|
21
|
+
|
22
|
+
# @return [String] The Resource ID of the Resource.
|
23
|
+
attr_accessor :resource_key
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for DataBoxEdgeDeviceExtendedInfo class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'DataBoxEdgeDeviceExtendedInfo',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'DataBoxEdgeDeviceExtendedInfo',
|
38
|
+
model_properties: {
|
39
|
+
id: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'id',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
name: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'name',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
type: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
encryption_key_thumbprint: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'properties.encryptionKeyThumbprint',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
encryption_key: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'properties.encryptionKey',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
resource_key: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'properties.resourceKey',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,101 @@
|
|
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 collection of Data Box Edge/Gateway devices.
|
10
|
+
#
|
11
|
+
class DataBoxEdgeDeviceList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<DataBoxEdgeDevice>] The list of Data Box Edge/Gateway
|
17
|
+
# devices.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next set of results.
|
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<DataBoxEdgeDevice>] 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 [DataBoxEdgeDeviceList] 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 DataBoxEdgeDeviceList 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: 'DataBoxEdgeDeviceList',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'DataBoxEdgeDeviceList',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'DataBoxEdgeDeviceElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'DataBoxEdgeDevice'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|