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,102 @@
|
|
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
|
+
# Collection of all trigger on the data box edge device.
|
10
|
+
#
|
11
|
+
class TriggerList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Trigger>] The list of triggers.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] Link to the next set of results.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<Trigger>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [TriggerList] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for TriggerList class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'TriggerList',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'TriggerList',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'TriggerElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
polymorphic_discriminator: 'kind',
|
81
|
+
uber_parent: 'ARMBaseModel',
|
82
|
+
class_name: 'Trigger'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
},
|
87
|
+
next_link: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
read_only: true,
|
91
|
+
serialized_name: 'nextLink',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,108 @@
|
|
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
|
+
# Details about the download progress of update.
|
10
|
+
#
|
11
|
+
class UpdateDownloadProgress
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DownloadPhase] The download phase. Possible values include:
|
16
|
+
# 'Unknown', 'Initializing', 'Downloading', 'Verifying'
|
17
|
+
attr_accessor :download_phase
|
18
|
+
|
19
|
+
# @return [Integer] Percentage of completion.
|
20
|
+
attr_accessor :percent_complete
|
21
|
+
|
22
|
+
# @return [Float] Total bytes to download.
|
23
|
+
attr_accessor :total_bytes_to_download
|
24
|
+
|
25
|
+
# @return [Float] Total bytes downloaded.
|
26
|
+
attr_accessor :total_bytes_downloaded
|
27
|
+
|
28
|
+
# @return [Integer] Number of updates to download.
|
29
|
+
attr_accessor :number_of_updates_to_download
|
30
|
+
|
31
|
+
# @return [Integer] Number of updates downloaded.
|
32
|
+
attr_accessor :number_of_updates_downloaded
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for UpdateDownloadProgress 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: 'UpdateDownloadProgress',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'UpdateDownloadProgress',
|
47
|
+
model_properties: {
|
48
|
+
download_phase: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'downloadPhase',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
percent_complete: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'percentComplete',
|
62
|
+
type: {
|
63
|
+
name: 'Number'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
total_bytes_to_download: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'totalBytesToDownload',
|
71
|
+
type: {
|
72
|
+
name: 'Double'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
total_bytes_downloaded: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'totalBytesDownloaded',
|
80
|
+
type: {
|
81
|
+
name: 'Double'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
number_of_updates_to_download: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'numberOfUpdatesToDownload',
|
89
|
+
type: {
|
90
|
+
name: 'Number'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
number_of_updates_downloaded: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'numberOfUpdatesDownloaded',
|
98
|
+
type: {
|
99
|
+
name: 'Number'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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
|
+
# Progress details during installation of updates.
|
10
|
+
#
|
11
|
+
class UpdateInstallProgress
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Percentage completed.
|
16
|
+
attr_accessor :percent_complete
|
17
|
+
|
18
|
+
# @return [Integer] Number of updates to install.
|
19
|
+
attr_accessor :number_of_updates_to_install
|
20
|
+
|
21
|
+
# @return [Integer] Number of updates installed.
|
22
|
+
attr_accessor :number_of_updates_installed
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for UpdateInstallProgress class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'UpdateInstallProgress',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'UpdateInstallProgress',
|
37
|
+
model_properties: {
|
38
|
+
percent_complete: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'percentComplete',
|
43
|
+
type: {
|
44
|
+
name: 'Number'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
number_of_updates_to_install: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'numberOfUpdatesToInstall',
|
52
|
+
type: {
|
53
|
+
name: 'Number'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
number_of_updates_installed: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'numberOfUpdatesInstalled',
|
61
|
+
type: {
|
62
|
+
name: 'Number'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
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 UpdateOperation
|
10
|
+
#
|
11
|
+
module UpdateOperation
|
12
|
+
None = "None"
|
13
|
+
Scan = "Scan"
|
14
|
+
Download = "Download"
|
15
|
+
Install = "Install"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,31 @@
|
|
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 UpdateOperationStage
|
10
|
+
#
|
11
|
+
module UpdateOperationStage
|
12
|
+
Unknown = "Unknown"
|
13
|
+
Initial = "Initial"
|
14
|
+
ScanStarted = "ScanStarted"
|
15
|
+
ScanComplete = "ScanComplete"
|
16
|
+
ScanFailed = "ScanFailed"
|
17
|
+
DownloadStarted = "DownloadStarted"
|
18
|
+
DownloadComplete = "DownloadComplete"
|
19
|
+
DownloadFailed = "DownloadFailed"
|
20
|
+
InstallStarted = "InstallStarted"
|
21
|
+
InstallComplete = "InstallComplete"
|
22
|
+
InstallFailed = "InstallFailed"
|
23
|
+
RebootInitiated = "RebootInitiated"
|
24
|
+
Success = "Success"
|
25
|
+
Failure = "Failure"
|
26
|
+
RescanStarted = "RescanStarted"
|
27
|
+
RescanComplete = "RescanComplete"
|
28
|
+
RescanFailed = "RescanFailed"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,281 @@
|
|
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
|
+
# Details about ongoing updates and availability of updates on the device.
|
10
|
+
#
|
11
|
+
class UpdateSummary < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The current version of the device in format:
|
16
|
+
# 1.2.17312.13.",
|
17
|
+
attr_accessor :device_version_number
|
18
|
+
|
19
|
+
# @return [String] The current version of the device in text format.
|
20
|
+
attr_accessor :friendly_device_version_name
|
21
|
+
|
22
|
+
# @return [DateTime] The last time when a scan was done on the device.
|
23
|
+
attr_accessor :device_last_scanned_date_time
|
24
|
+
|
25
|
+
# @return [DateTime] The time when the last scan job was completed
|
26
|
+
# (success/cancelled/failed) on the appliance.
|
27
|
+
attr_accessor :last_completed_scan_job_date_time
|
28
|
+
|
29
|
+
# @return [DateTime] The time when the last Download job was completed
|
30
|
+
# (success/cancelled/failed) on the appliance.
|
31
|
+
attr_accessor :last_completed_download_job_date_time
|
32
|
+
|
33
|
+
# @return [DateTime] The time when the last Install job was completed
|
34
|
+
# (success/cancelled/failed) on the appliance.
|
35
|
+
attr_accessor :last_completed_install_job_date_time
|
36
|
+
|
37
|
+
# @return [Integer] The number of updates available for the current
|
38
|
+
# device version as per the last device scan.
|
39
|
+
attr_accessor :total_number_of_updates_available
|
40
|
+
|
41
|
+
# @return [Integer] The total number of items pending download.
|
42
|
+
attr_accessor :total_number_of_updates_pending_download
|
43
|
+
|
44
|
+
# @return [Integer] The total number of items pending install.
|
45
|
+
attr_accessor :total_number_of_updates_pending_install
|
46
|
+
|
47
|
+
# @return [InstallRebootBehavior] Indicates if updates are available and
|
48
|
+
# at least one of the updates needs a reboot. Possible values include:
|
49
|
+
# 'NeverReboots', 'RequiresReboot', 'RequestReboot'
|
50
|
+
attr_accessor :reboot_behavior
|
51
|
+
|
52
|
+
# @return [UpdateOperation] The current update operation. Possible values
|
53
|
+
# include: 'None', 'Scan', 'Download', 'Install'
|
54
|
+
attr_accessor :ongoing_update_operation
|
55
|
+
|
56
|
+
# @return [String] The job ID of the download job in progress.
|
57
|
+
attr_accessor :in_progress_download_job_id
|
58
|
+
|
59
|
+
# @return [String] The job ID of the install job in progress.
|
60
|
+
attr_accessor :in_progress_install_job_id
|
61
|
+
|
62
|
+
# @return [DateTime] The time when the currently running download (if
|
63
|
+
# any) started.
|
64
|
+
attr_accessor :in_progress_download_job_started_date_time
|
65
|
+
|
66
|
+
# @return [DateTime] The time when the currently running install (if any)
|
67
|
+
# started.
|
68
|
+
attr_accessor :in_progress_install_job_started_date_time
|
69
|
+
|
70
|
+
# @return [Array<String>] The list of updates available for install.
|
71
|
+
attr_accessor :update_titles
|
72
|
+
|
73
|
+
# @return [Float] The total size of updates available for download in
|
74
|
+
# bytes.
|
75
|
+
attr_accessor :total_update_size_in_bytes
|
76
|
+
|
77
|
+
|
78
|
+
#
|
79
|
+
# Mapper for UpdateSummary class as Ruby Hash.
|
80
|
+
# This will be used for serialization/deserialization.
|
81
|
+
#
|
82
|
+
def self.mapper()
|
83
|
+
{
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'UpdateSummary',
|
87
|
+
type: {
|
88
|
+
name: 'Composite',
|
89
|
+
class_name: 'UpdateSummary',
|
90
|
+
model_properties: {
|
91
|
+
id: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
read_only: true,
|
95
|
+
serialized_name: 'id',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
name: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
read_only: true,
|
104
|
+
serialized_name: 'name',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
type: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
read_only: true,
|
113
|
+
serialized_name: 'type',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
device_version_number: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'properties.deviceVersionNumber',
|
122
|
+
type: {
|
123
|
+
name: 'String'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
friendly_device_version_name: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'properties.friendlyDeviceVersionName',
|
130
|
+
type: {
|
131
|
+
name: 'String'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
device_last_scanned_date_time: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'properties.deviceLastScannedDateTime',
|
138
|
+
type: {
|
139
|
+
name: 'DateTime'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
last_completed_scan_job_date_time: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.lastCompletedScanJobDateTime',
|
146
|
+
type: {
|
147
|
+
name: 'DateTime'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
last_completed_download_job_date_time: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
read_only: true,
|
154
|
+
serialized_name: 'properties.lastCompletedDownloadJobDateTime',
|
155
|
+
type: {
|
156
|
+
name: 'DateTime'
|
157
|
+
}
|
158
|
+
},
|
159
|
+
last_completed_install_job_date_time: {
|
160
|
+
client_side_validation: true,
|
161
|
+
required: false,
|
162
|
+
read_only: true,
|
163
|
+
serialized_name: 'properties.lastCompletedInstallJobDateTime',
|
164
|
+
type: {
|
165
|
+
name: 'DateTime'
|
166
|
+
}
|
167
|
+
},
|
168
|
+
total_number_of_updates_available: {
|
169
|
+
client_side_validation: true,
|
170
|
+
required: false,
|
171
|
+
read_only: true,
|
172
|
+
serialized_name: 'properties.totalNumberOfUpdatesAvailable',
|
173
|
+
type: {
|
174
|
+
name: 'Number'
|
175
|
+
}
|
176
|
+
},
|
177
|
+
total_number_of_updates_pending_download: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: false,
|
180
|
+
read_only: true,
|
181
|
+
serialized_name: 'properties.totalNumberOfUpdatesPendingDownload',
|
182
|
+
type: {
|
183
|
+
name: 'Number'
|
184
|
+
}
|
185
|
+
},
|
186
|
+
total_number_of_updates_pending_install: {
|
187
|
+
client_side_validation: true,
|
188
|
+
required: false,
|
189
|
+
read_only: true,
|
190
|
+
serialized_name: 'properties.totalNumberOfUpdatesPendingInstall',
|
191
|
+
type: {
|
192
|
+
name: 'Number'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
reboot_behavior: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
read_only: true,
|
199
|
+
serialized_name: 'properties.rebootBehavior',
|
200
|
+
type: {
|
201
|
+
name: 'String'
|
202
|
+
}
|
203
|
+
},
|
204
|
+
ongoing_update_operation: {
|
205
|
+
client_side_validation: true,
|
206
|
+
required: false,
|
207
|
+
read_only: true,
|
208
|
+
serialized_name: 'properties.ongoingUpdateOperation',
|
209
|
+
type: {
|
210
|
+
name: 'String'
|
211
|
+
}
|
212
|
+
},
|
213
|
+
in_progress_download_job_id: {
|
214
|
+
client_side_validation: true,
|
215
|
+
required: false,
|
216
|
+
read_only: true,
|
217
|
+
serialized_name: 'properties.inProgressDownloadJobId',
|
218
|
+
type: {
|
219
|
+
name: 'String'
|
220
|
+
}
|
221
|
+
},
|
222
|
+
in_progress_install_job_id: {
|
223
|
+
client_side_validation: true,
|
224
|
+
required: false,
|
225
|
+
read_only: true,
|
226
|
+
serialized_name: 'properties.inProgressInstallJobId',
|
227
|
+
type: {
|
228
|
+
name: 'String'
|
229
|
+
}
|
230
|
+
},
|
231
|
+
in_progress_download_job_started_date_time: {
|
232
|
+
client_side_validation: true,
|
233
|
+
required: false,
|
234
|
+
read_only: true,
|
235
|
+
serialized_name: 'properties.inProgressDownloadJobStartedDateTime',
|
236
|
+
type: {
|
237
|
+
name: 'DateTime'
|
238
|
+
}
|
239
|
+
},
|
240
|
+
in_progress_install_job_started_date_time: {
|
241
|
+
client_side_validation: true,
|
242
|
+
required: false,
|
243
|
+
read_only: true,
|
244
|
+
serialized_name: 'properties.inProgressInstallJobStartedDateTime',
|
245
|
+
type: {
|
246
|
+
name: 'DateTime'
|
247
|
+
}
|
248
|
+
},
|
249
|
+
update_titles: {
|
250
|
+
client_side_validation: true,
|
251
|
+
required: false,
|
252
|
+
read_only: true,
|
253
|
+
serialized_name: 'properties.updateTitles',
|
254
|
+
type: {
|
255
|
+
name: 'Sequence',
|
256
|
+
element: {
|
257
|
+
client_side_validation: true,
|
258
|
+
required: false,
|
259
|
+
serialized_name: 'StringElementType',
|
260
|
+
type: {
|
261
|
+
name: 'String'
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
},
|
266
|
+
total_update_size_in_bytes: {
|
267
|
+
client_side_validation: true,
|
268
|
+
required: false,
|
269
|
+
read_only: true,
|
270
|
+
serialized_name: 'properties.totalUpdateSizeInBytes',
|
271
|
+
type: {
|
272
|
+
name: 'Double'
|
273
|
+
}
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}
|
277
|
+
}
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
281
|
+
end
|