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,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
|
+
# Details related to the IPv4 address configuration.
|
10
|
+
#
|
11
|
+
class Ipv4Config
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The IPv4 address of the network adapter.
|
16
|
+
attr_accessor :ip_address
|
17
|
+
|
18
|
+
# @return [String] The IPv4 subnet of the network adapter.
|
19
|
+
attr_accessor :subnet
|
20
|
+
|
21
|
+
# @return [String] The IPv4 gateway of the network adapter.
|
22
|
+
attr_accessor :gateway
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for Ipv4Config 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: 'Ipv4Config',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'Ipv4Config',
|
37
|
+
model_properties: {
|
38
|
+
ip_address: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'ipAddress',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
subnet: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'subnet',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
gateway: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'gateway',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
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
|
+
# Details related to the IPv6 address configuration.
|
10
|
+
#
|
11
|
+
class Ipv6Config
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The IPv6 address of the network adapter.
|
16
|
+
attr_accessor :ip_address
|
17
|
+
|
18
|
+
# @return [Integer] The IPv6 prefix of the network adapter.
|
19
|
+
attr_accessor :prefix_length
|
20
|
+
|
21
|
+
# @return [String] The IPv6 gateway of the network adapter.
|
22
|
+
attr_accessor :gateway
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for Ipv6Config 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: 'Ipv6Config',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'Ipv6Config',
|
37
|
+
model_properties: {
|
38
|
+
ip_address: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'ipAddress',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
prefix_length: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'prefixLength',
|
52
|
+
type: {
|
53
|
+
name: 'Number'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
gateway: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'gateway',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,242 @@
|
|
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
|
+
# A device job.
|
10
|
+
#
|
11
|
+
class Job
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The path ID that uniquely identifies the object.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The name of the object.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The hierarchical type of the object.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [JobStatus] The current status of the job. Possible values
|
25
|
+
# include: 'Invalid', 'Running', 'Succeeded', 'Failed', 'Canceled',
|
26
|
+
# 'Paused', 'Scheduled'
|
27
|
+
attr_accessor :status
|
28
|
+
|
29
|
+
# @return [DateTime] The UTC date and time at which the job started.
|
30
|
+
attr_accessor :start_time
|
31
|
+
|
32
|
+
# @return [DateTime] The UTC date and time at which the job completed.
|
33
|
+
attr_accessor :end_time
|
34
|
+
|
35
|
+
# @return [Integer] The percentage of the job that is complete.
|
36
|
+
attr_accessor :percent_complete
|
37
|
+
|
38
|
+
# @return [JobErrorDetails] The error details.
|
39
|
+
attr_accessor :error
|
40
|
+
|
41
|
+
# @return [JobType] The type of the job. Possible values include:
|
42
|
+
# 'Invalid', 'ScanForUpdates', 'DownloadUpdates', 'InstallUpdates',
|
43
|
+
# 'RefreshShare', 'RefreshContainer'
|
44
|
+
attr_accessor :job_type
|
45
|
+
|
46
|
+
# @return [UpdateOperationStage] Current stage of the update operation.
|
47
|
+
# Possible values include: 'Unknown', 'Initial', 'ScanStarted',
|
48
|
+
# 'ScanComplete', 'ScanFailed', 'DownloadStarted', 'DownloadComplete',
|
49
|
+
# 'DownloadFailed', 'InstallStarted', 'InstallComplete', 'InstallFailed',
|
50
|
+
# 'RebootInitiated', 'Success', 'Failure', 'RescanStarted',
|
51
|
+
# 'RescanComplete', 'RescanFailed'
|
52
|
+
attr_accessor :current_stage
|
53
|
+
|
54
|
+
# @return [UpdateDownloadProgress] The download progress.
|
55
|
+
attr_accessor :download_progress
|
56
|
+
|
57
|
+
# @return [UpdateInstallProgress] The install progress.
|
58
|
+
attr_accessor :install_progress
|
59
|
+
|
60
|
+
# @return [Integer] Total number of errors encountered during the refresh
|
61
|
+
# process.
|
62
|
+
attr_accessor :total_refresh_errors
|
63
|
+
|
64
|
+
# @return [String] Local share/remote container relative path to the
|
65
|
+
# error manifest file of the refresh.
|
66
|
+
attr_accessor :error_manifest_file
|
67
|
+
|
68
|
+
# @return [String] ARM ID of the entity that was refreshed.
|
69
|
+
attr_accessor :refreshed_entity_id
|
70
|
+
|
71
|
+
# @return [String] If only subfolders need to be refreshed, then the
|
72
|
+
# subfolder path inside the share or container. (The path is empty if
|
73
|
+
# there are no subfolders.)
|
74
|
+
attr_accessor :folder
|
75
|
+
|
76
|
+
|
77
|
+
#
|
78
|
+
# Mapper for Job class as Ruby Hash.
|
79
|
+
# This will be used for serialization/deserialization.
|
80
|
+
#
|
81
|
+
def self.mapper()
|
82
|
+
{
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'Job',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'Job',
|
89
|
+
model_properties: {
|
90
|
+
id: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'id',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
name: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'name',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
type: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
read_only: true,
|
112
|
+
serialized_name: 'type',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
status: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
read_only: true,
|
121
|
+
serialized_name: 'status',
|
122
|
+
type: {
|
123
|
+
name: 'String'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
start_time: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
read_only: true,
|
130
|
+
serialized_name: 'startTime',
|
131
|
+
type: {
|
132
|
+
name: 'DateTime'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
end_time: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
read_only: true,
|
139
|
+
serialized_name: 'endTime',
|
140
|
+
type: {
|
141
|
+
name: 'DateTime'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
percent_complete: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
read_only: true,
|
148
|
+
serialized_name: 'percentComplete',
|
149
|
+
type: {
|
150
|
+
name: 'Number'
|
151
|
+
}
|
152
|
+
},
|
153
|
+
error: {
|
154
|
+
client_side_validation: true,
|
155
|
+
required: false,
|
156
|
+
read_only: true,
|
157
|
+
serialized_name: 'error',
|
158
|
+
type: {
|
159
|
+
name: 'Composite',
|
160
|
+
class_name: 'JobErrorDetails'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
job_type: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
read_only: true,
|
167
|
+
serialized_name: 'properties.jobType',
|
168
|
+
type: {
|
169
|
+
name: 'String'
|
170
|
+
}
|
171
|
+
},
|
172
|
+
current_stage: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
read_only: true,
|
176
|
+
serialized_name: 'properties.currentStage',
|
177
|
+
type: {
|
178
|
+
name: 'String'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
download_progress: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
read_only: true,
|
185
|
+
serialized_name: 'properties.downloadProgress',
|
186
|
+
type: {
|
187
|
+
name: 'Composite',
|
188
|
+
class_name: 'UpdateDownloadProgress'
|
189
|
+
}
|
190
|
+
},
|
191
|
+
install_progress: {
|
192
|
+
client_side_validation: true,
|
193
|
+
required: false,
|
194
|
+
read_only: true,
|
195
|
+
serialized_name: 'properties.installProgress',
|
196
|
+
type: {
|
197
|
+
name: 'Composite',
|
198
|
+
class_name: 'UpdateInstallProgress'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
total_refresh_errors: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
read_only: true,
|
205
|
+
serialized_name: 'properties.totalRefreshErrors',
|
206
|
+
type: {
|
207
|
+
name: 'Number'
|
208
|
+
}
|
209
|
+
},
|
210
|
+
error_manifest_file: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
read_only: true,
|
214
|
+
serialized_name: 'properties.errorManifestFile',
|
215
|
+
type: {
|
216
|
+
name: 'String'
|
217
|
+
}
|
218
|
+
},
|
219
|
+
refreshed_entity_id: {
|
220
|
+
client_side_validation: true,
|
221
|
+
required: false,
|
222
|
+
read_only: true,
|
223
|
+
serialized_name: 'properties.refreshedEntityId',
|
224
|
+
type: {
|
225
|
+
name: 'String'
|
226
|
+
}
|
227
|
+
},
|
228
|
+
folder: {
|
229
|
+
client_side_validation: true,
|
230
|
+
required: false,
|
231
|
+
serialized_name: 'properties.folder',
|
232
|
+
type: {
|
233
|
+
name: 'String'
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
end
|
240
|
+
end
|
241
|
+
end
|
242
|
+
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
|
+
# The job error information containing the list of job errors.
|
10
|
+
#
|
11
|
+
class JobErrorDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<JobErrorItem>] The error details.
|
16
|
+
attr_accessor :error_details
|
17
|
+
|
18
|
+
# @return [String] The code intended for programmatic access.
|
19
|
+
attr_accessor :code
|
20
|
+
|
21
|
+
# @return [String] The message that describes the error in detail.
|
22
|
+
attr_accessor :message
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for JobErrorDetails 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: 'JobErrorDetails',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'JobErrorDetails',
|
37
|
+
model_properties: {
|
38
|
+
error_details: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'errorDetails',
|
43
|
+
type: {
|
44
|
+
name: 'Sequence',
|
45
|
+
element: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'JobErrorItemElementType',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'JobErrorItem'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
},
|
56
|
+
code: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'code',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
message: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'message',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|