azure_mgmt_edgegateway 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-03-01/generated/azure_mgmt_edgegateway.rb +137 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/alerts.rb +322 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/bandwidth_schedules.rb +611 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/data_box_edge_management_client.rb +175 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/devices.rb +1879 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/jobs.rb +121 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/account_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/address.rb +112 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/alert.rb +156 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/alert_error_details.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/alert_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/alert_severity.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/armbase_model.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/asymmetric_encrypted_secret.rb +70 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/authentication.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/authentication_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/azure_container_data_format.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/azure_container_info.rb +72 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedule.rb +115 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedules_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/client_access_right.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/client_permission_type.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/contact_details.rb +87 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device.rb +287 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_extended_info.rb +108 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_list.rb +101 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_patch.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_status.rb +20 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/data_policy.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/day_of_week.rb +21 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/device_type.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/download_phase.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/encryption_algorithm.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/file_event_trigger.rb +115 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/file_source_info.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/install_reboot_behavior.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/io_tdevice_info.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/io_trole.rb +147 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/ipv4config.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/ipv6config.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/job.rb +242 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/job_error_details.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/job_error_item.rb +79 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/job_status.rb +21 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/job_type.rb +19 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/metric_aggregation_type.rb +21 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/metric_category.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/metric_dimension_v1.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/metric_specification_v1.rb +187 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/metric_unit.rb +22 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/monitoring_status.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/mount_point_map.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/network_adapter.rb +229 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/network_adapter_dhcpstatus.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/network_adapter_position.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/network_adapter_rdmastatus.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/network_adapter_status.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/network_group.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/network_settings.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/operation.rb +81 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/operation_display.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/operations_list.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/order.rb +177 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/order_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/order_state.rb +28 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/order_status.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/periodic_timer_event_trigger.rb +115 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/periodic_timer_source_info.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/platform_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/refresh_details.rb +87 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/role.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/role_list.rb +102 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/role_sink_info.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/role_status.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/role_types.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/security_settings.rb +78 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/service_specification.rb +56 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share.rb +208 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_access_protocol.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_access_type.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_status.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/sku.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/sku_name.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/sku_tier.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/sslstatus.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/storage_account_credential.rb +143 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/storage_account_credential_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/symmetric_key.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/time_grain.rb +22 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/tracking_info.rb +79 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/trigger.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/trigger_list.rb +102 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/update_download_progress.rb +108 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/update_install_progress.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/update_operation.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/update_operation_stage.rb +31 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/update_summary.rb +281 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/upload_certificate_request.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/upload_certificate_response.rb +113 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/user.rb +96 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/user_access_right.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/user_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/operations.rb +214 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/operations_status.rb +121 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/orders.rb +584 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/roles.rb +600 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/shares.rb +725 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/storage_account_credentials.rb +606 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/triggers.rb +600 -0
- data/lib/2019-03-01/generated/azure_mgmt_edgegateway/users.rb +604 -0
- data/lib/azure_mgmt_edgegateway.rb +6 -0
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/latest/edgegateway_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/edgegateway_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/edgegateway_profile_module.rb +475 -0
- data/lib/version.rb +7 -0
- metadata +238 -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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Compute role.
|
10
|
+
#
|
11
|
+
class Role < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "Role"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for Role class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'Role',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
polymorphic_discriminator: 'kind',
|
35
|
+
uber_parent: 'ARMBaseModel',
|
36
|
+
class_name: 'Role',
|
37
|
+
model_properties: {
|
38
|
+
id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'id',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
name: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'name',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'type',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Collection of all the roles on the Data Box Edge device.
|
10
|
+
#
|
11
|
+
class RoleList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Role>] The Value.
|
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<Role>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil 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 [RoleList] 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 RoleList 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: 'RoleList',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'RoleList',
|
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: 'RoleElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
polymorphic_discriminator: 'kind',
|
81
|
+
uber_parent: 'ARMBaseModel',
|
82
|
+
class_name: 'Role'
|
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,46 @@
|
|
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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Compute role against which events will be raised.
|
10
|
+
#
|
11
|
+
class RoleSinkInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Compute role ID.
|
16
|
+
attr_accessor :role_id
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for RoleSinkInfo class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'RoleSinkInfo',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'RoleSinkInfo',
|
31
|
+
model_properties: {
|
32
|
+
role_id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'roleId',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RoleStatus
|
10
|
+
#
|
11
|
+
module RoleStatus
|
12
|
+
Enabled = "Enabled"
|
13
|
+
Disabled = "Disabled"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RoleTypes
|
10
|
+
#
|
11
|
+
module RoleTypes
|
12
|
+
IOT = "IOT"
|
13
|
+
ASA = "ASA"
|
14
|
+
Functions = "Functions"
|
15
|
+
Cognitive = "Cognitive"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,78 @@
|
|
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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The security settings of a device.
|
10
|
+
#
|
11
|
+
class SecuritySettings < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AsymmetricEncryptedSecret] Device administrator password as an
|
16
|
+
# encrypted string (encrypted using RSA PKCS #1) is used to sign into the
|
17
|
+
# local web UI of the device. The Actual password should have at least 8
|
18
|
+
# characters that are a combination of uppercase, lowercase, numeric,
|
19
|
+
# and special characters.
|
20
|
+
attr_accessor :device_admin_password
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for SecuritySettings class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'SecuritySettings',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'SecuritySettings',
|
35
|
+
model_properties: {
|
36
|
+
id: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
read_only: true,
|
40
|
+
serialized_name: 'id',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
name: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'name',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
type: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'type',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
device_admin_password: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: true,
|
66
|
+
serialized_name: 'properties.deviceAdminPassword',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'AsymmetricEncryptedSecret'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Service specification.
|
10
|
+
#
|
11
|
+
class ServiceSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<MetricSpecificationV1>] Metric specification as defined
|
16
|
+
# by shoebox.
|
17
|
+
attr_accessor :metric_specifications
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ServiceSpecification class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ServiceSpecification',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ServiceSpecification',
|
32
|
+
model_properties: {
|
33
|
+
metric_specifications: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'metricSpecifications',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'MetricSpecificationV1ElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'MetricSpecificationV1'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,208 @@
|
|
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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents a share on the Data Box Edge/Gateway device.
|
10
|
+
#
|
11
|
+
class Share < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Description for the share.
|
16
|
+
attr_accessor :description
|
17
|
+
|
18
|
+
# @return [ShareStatus] Current status of the share. Possible values
|
19
|
+
# include: 'Online', 'Offline'
|
20
|
+
attr_accessor :share_status
|
21
|
+
|
22
|
+
# @return [MonitoringStatus] Current monitoring status of the share.
|
23
|
+
# Possible values include: 'Enabled', 'Disabled'
|
24
|
+
attr_accessor :monitoring_status
|
25
|
+
|
26
|
+
# @return [AzureContainerInfo] Azure container mapping for the share.
|
27
|
+
attr_accessor :azure_container_info
|
28
|
+
|
29
|
+
# @return [ShareAccessProtocol] Access protocol to be used by the share.
|
30
|
+
# Possible values include: 'SMB', 'NFS'
|
31
|
+
attr_accessor :access_protocol
|
32
|
+
|
33
|
+
# @return [Array<UserAccessRight>] Mapping of users and corresponding
|
34
|
+
# access rights on the share (required for SMB protocol).
|
35
|
+
attr_accessor :user_access_rights
|
36
|
+
|
37
|
+
# @return [Array<ClientAccessRight>] List of IP addresses and
|
38
|
+
# corresponding access rights on the share(required for NFS protocol).
|
39
|
+
attr_accessor :client_access_rights
|
40
|
+
|
41
|
+
# @return [RefreshDetails] Details of the refresh job on this share.
|
42
|
+
attr_accessor :refresh_details
|
43
|
+
|
44
|
+
# @return [Array<MountPointMap>] Share mount point to the role.
|
45
|
+
attr_accessor :share_mappings
|
46
|
+
|
47
|
+
# @return [DataPolicy] Data policy of the share. Possible values include:
|
48
|
+
# 'Cloud', 'Local'
|
49
|
+
attr_accessor :data_policy
|
50
|
+
|
51
|
+
|
52
|
+
#
|
53
|
+
# Mapper for Share class as Ruby Hash.
|
54
|
+
# This will be used for serialization/deserialization.
|
55
|
+
#
|
56
|
+
def self.mapper()
|
57
|
+
{
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'Share',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'Share',
|
64
|
+
model_properties: {
|
65
|
+
id: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'id',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
name: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'name',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
type: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'type',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
description: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'properties.description',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
share_status: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: true,
|
103
|
+
serialized_name: 'properties.shareStatus',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
monitoring_status: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: true,
|
111
|
+
serialized_name: 'properties.monitoringStatus',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
azure_container_info: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'properties.azureContainerInfo',
|
120
|
+
type: {
|
121
|
+
name: 'Composite',
|
122
|
+
class_name: 'AzureContainerInfo'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
access_protocol: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: true,
|
128
|
+
serialized_name: 'properties.accessProtocol',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
user_access_rights: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'properties.userAccessRights',
|
137
|
+
type: {
|
138
|
+
name: 'Sequence',
|
139
|
+
element: {
|
140
|
+
client_side_validation: true,
|
141
|
+
required: false,
|
142
|
+
serialized_name: 'UserAccessRightElementType',
|
143
|
+
type: {
|
144
|
+
name: 'Composite',
|
145
|
+
class_name: 'UserAccessRight'
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
},
|
150
|
+
client_access_rights: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'properties.clientAccessRights',
|
154
|
+
type: {
|
155
|
+
name: 'Sequence',
|
156
|
+
element: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'ClientAccessRightElementType',
|
160
|
+
type: {
|
161
|
+
name: 'Composite',
|
162
|
+
class_name: 'ClientAccessRight'
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
},
|
167
|
+
refresh_details: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'properties.refreshDetails',
|
171
|
+
type: {
|
172
|
+
name: 'Composite',
|
173
|
+
class_name: 'RefreshDetails'
|
174
|
+
}
|
175
|
+
},
|
176
|
+
share_mappings: {
|
177
|
+
client_side_validation: true,
|
178
|
+
required: false,
|
179
|
+
read_only: true,
|
180
|
+
serialized_name: 'properties.shareMappings',
|
181
|
+
type: {
|
182
|
+
name: 'Sequence',
|
183
|
+
element: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
serialized_name: 'MountPointMapElementType',
|
187
|
+
type: {
|
188
|
+
name: 'Composite',
|
189
|
+
class_name: 'MountPointMap'
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
},
|
194
|
+
data_policy: {
|
195
|
+
client_side_validation: true,
|
196
|
+
required: false,
|
197
|
+
serialized_name: 'properties.dataPolicy',
|
198
|
+
type: {
|
199
|
+
name: 'String'
|
200
|
+
}
|
201
|
+
}
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|