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,100 @@
|
|
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 bandwidth schedules.
|
10
|
+
#
|
11
|
+
class BandwidthSchedulesList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<BandwidthSchedule>] The list of bandwidth schedules.
|
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<BandwidthSchedule>] 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 [BandwidthSchedulesList] 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 BandwidthSchedulesList 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: 'BandwidthSchedulesList',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'BandwidthSchedulesList',
|
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: 'BandwidthScheduleElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'BandwidthSchedule'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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 mapping between a particular client IP and the type of access client
|
10
|
+
# has on the NFS share.
|
11
|
+
#
|
12
|
+
class ClientAccessRight
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] IP of the client.
|
17
|
+
attr_accessor :client
|
18
|
+
|
19
|
+
# @return [ClientPermissionType] Type of access to be allowed for the
|
20
|
+
# client. Possible values include: 'NoAccess', 'ReadOnly', 'ReadWrite'
|
21
|
+
attr_accessor :access_permission
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ClientAccessRight class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'ClientAccessRight',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ClientAccessRight',
|
36
|
+
model_properties: {
|
37
|
+
client: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'client',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
access_permission: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'accessPermission',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
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 ClientPermissionType
|
10
|
+
#
|
11
|
+
module ClientPermissionType
|
12
|
+
NoAccess = "NoAccess"
|
13
|
+
ReadOnly = "ReadOnly"
|
14
|
+
ReadWrite = "ReadWrite"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,87 @@
|
|
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
|
+
# Contains all the contact details of the customer.
|
10
|
+
#
|
11
|
+
class ContactDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The contact person name.
|
16
|
+
attr_accessor :contact_person
|
17
|
+
|
18
|
+
# @return [String] The name of the company.
|
19
|
+
attr_accessor :company_name
|
20
|
+
|
21
|
+
# @return [String] The phone number.
|
22
|
+
attr_accessor :phone
|
23
|
+
|
24
|
+
# @return [Array<String>] The email list.
|
25
|
+
attr_accessor :email_list
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for ContactDetails 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: 'ContactDetails',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ContactDetails',
|
40
|
+
model_properties: {
|
41
|
+
contact_person: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: true,
|
44
|
+
serialized_name: 'contactPerson',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
company_name: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: true,
|
52
|
+
serialized_name: 'companyName',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
phone: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: true,
|
60
|
+
serialized_name: 'phone',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
email_list: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: true,
|
68
|
+
serialized_name: 'emailList',
|
69
|
+
type: {
|
70
|
+
name: 'Sequence',
|
71
|
+
element: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'StringElementType',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,113 @@
|
|
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
|
+
# Represents a container on the Data Box Edge/Gateway device.
|
10
|
+
#
|
11
|
+
class Container < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ContainerStatus] Current status of the container. Possible
|
16
|
+
# values include: 'OK', 'Offline', 'Unknown', 'Updating',
|
17
|
+
# 'NeedsAttention'
|
18
|
+
attr_accessor :container_status
|
19
|
+
|
20
|
+
# @return [AzureContainerDataFormat] DataFormat for Container. Possible
|
21
|
+
# values include: 'BlockBlob', 'PageBlob', 'AzureFile'
|
22
|
+
attr_accessor :data_format
|
23
|
+
|
24
|
+
# @return [RefreshDetails] Details of the refresh job on this container.
|
25
|
+
attr_accessor :refresh_details
|
26
|
+
|
27
|
+
# @return [DateTime] The UTC time when container got created.
|
28
|
+
attr_accessor :created_date_time
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for Container class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'Container',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'Container',
|
43
|
+
model_properties: {
|
44
|
+
id: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'id',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
name: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'name',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
type: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'type',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
container_status: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'properties.containerStatus',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
data_format: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'properties.dataFormat',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
refresh_details: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'properties.refreshDetails',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'RefreshDetails'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
created_date_time: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'properties.createdDateTime',
|
103
|
+
type: {
|
104
|
+
name: 'DateTime'
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,100 @@
|
|
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 the containers on the Data Box Edge/Gateway device.
|
10
|
+
#
|
11
|
+
class ContainerList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Container>] The list of containers.
|
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<Container>] 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 [ContainerList] 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 ContainerList 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: 'ContainerList',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ContainerList',
|
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: 'ContainerElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Container'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|