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
data/lib/2019-03-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_extended_info.rb
ADDED
@@ -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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The extended Info of the Data Box Edge/Gateway device.
|
10
|
+
#
|
11
|
+
class DataBoxEdgeDeviceExtendedInfo < ARMBaseModel
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The Channel Integrity Key (CIK) of the device.
|
16
|
+
attr_accessor :integrity_key
|
17
|
+
|
18
|
+
# @return [String] The certificate thumbprint that was used to encrypt
|
19
|
+
# the Channel Integrity Key (CIK).
|
20
|
+
attr_accessor :encryption_key_thumbprint
|
21
|
+
|
22
|
+
# @return [String] The Channel Integrity Key (CIK) of the device.
|
23
|
+
attr_accessor :encryption_key
|
24
|
+
|
25
|
+
# @return [String] The Resource ID of the Resource.
|
26
|
+
attr_accessor :resource_key
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for DataBoxEdgeDeviceExtendedInfo class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'DataBoxEdgeDeviceExtendedInfo',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'DataBoxEdgeDeviceExtendedInfo',
|
41
|
+
model_properties: {
|
42
|
+
id: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'id',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
name: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
type: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'type',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
integrity_key: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: true,
|
72
|
+
serialized_name: 'properties.integrityKey',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
encryption_key_thumbprint: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'properties.encryptionKeyThumbprint',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
encryption_key: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'properties.encryptionKey',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
resource_key: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'properties.resourceKey',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The collection of Data Box Edge/Gateway devices.
|
10
|
+
#
|
11
|
+
class DataBoxEdgeDeviceList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<DataBoxEdgeDevice>] The list of Data Box Edge/Gateway
|
17
|
+
# devices.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next set of results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<DataBoxEdgeDevice>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [DataBoxEdgeDeviceList] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for DataBoxEdgeDeviceList class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'DataBoxEdgeDeviceList',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'DataBoxEdgeDeviceList',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'DataBoxEdgeDeviceElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'DataBoxEdgeDevice'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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 Data Box Edge/Gateway device patch.
|
10
|
+
#
|
11
|
+
class DataBoxEdgeDevicePatch
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] The tags attached to the Data Box
|
16
|
+
# Edge/Gateway resource.
|
17
|
+
attr_accessor :tags
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for DataBoxEdgeDevicePatch 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: 'DataBoxEdgeDevicePatch',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'DataBoxEdgeDevicePatch',
|
32
|
+
model_properties: {
|
33
|
+
tags: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'tags',
|
37
|
+
type: {
|
38
|
+
name: 'Dictionary',
|
39
|
+
value: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'StringElementType',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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 DataBoxEdgeDeviceStatus
|
10
|
+
#
|
11
|
+
module DataBoxEdgeDeviceStatus
|
12
|
+
ReadyToSetup = "ReadyToSetup"
|
13
|
+
Online = "Online"
|
14
|
+
Offline = "Offline"
|
15
|
+
NeedsAttention = "NeedsAttention"
|
16
|
+
Disconnected = "Disconnected"
|
17
|
+
PartiallyDisconnected = "PartiallyDisconnected"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
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 DataPolicy
|
10
|
+
#
|
11
|
+
module DataPolicy
|
12
|
+
Cloud = "Cloud"
|
13
|
+
Local = "Local"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,21 @@
|
|
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 DayOfWeek
|
10
|
+
#
|
11
|
+
module DayOfWeek
|
12
|
+
Sunday = "Sunday"
|
13
|
+
Monday = "Monday"
|
14
|
+
Tuesday = "Tuesday"
|
15
|
+
Wednesday = "Wednesday"
|
16
|
+
Thursday = "Thursday"
|
17
|
+
Friday = "Friday"
|
18
|
+
Saturday = "Saturday"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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 DeviceType
|
10
|
+
#
|
11
|
+
module DeviceType
|
12
|
+
DataBoxEdgeDevice = "DataBoxEdgeDevice"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
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 DownloadPhase
|
10
|
+
#
|
11
|
+
module DownloadPhase
|
12
|
+
Unknown = "Unknown"
|
13
|
+
Initializing = "Initializing"
|
14
|
+
Downloading = "Downloading"
|
15
|
+
Verifying = "Verifying"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
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::EdgeGateway::Mgmt::V2019_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EncryptionAlgorithm
|
10
|
+
#
|
11
|
+
module EncryptionAlgorithm
|
12
|
+
None = "None"
|
13
|
+
AES256 = "AES256"
|
14
|
+
RSAESPKCS1V15 = "RSAES_PKCS1_v_1_5"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,115 @@
|
|
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
|
+
# Trigger details.
|
10
|
+
#
|
11
|
+
class FileEventTrigger < Trigger
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "FileEvent"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [FileSourceInfo] File event source details.
|
23
|
+
attr_accessor :source_info
|
24
|
+
|
25
|
+
# @return [RoleSinkInfo] Role sink info.
|
26
|
+
attr_accessor :sink_info
|
27
|
+
|
28
|
+
# @return [String] A custom context tag typically used to correlate the
|
29
|
+
# trigger against its usage. For example, if a periodic timer trigger is
|
30
|
+
# intended for certain specific IoT modules in the device, the tag can be
|
31
|
+
# the name or the image URL of the module.
|
32
|
+
attr_accessor :custom_context_tag
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for FileEventTrigger 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: 'FileEvent',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'FileEventTrigger',
|
47
|
+
model_properties: {
|
48
|
+
id: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'id',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
name: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'name',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
type: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'type',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
kind: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: true,
|
78
|
+
serialized_name: 'kind',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
source_info: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: true,
|
86
|
+
serialized_name: 'properties.sourceInfo',
|
87
|
+
type: {
|
88
|
+
name: 'Composite',
|
89
|
+
class_name: 'FileSourceInfo'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
sink_info: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: true,
|
95
|
+
serialized_name: 'properties.sinkInfo',
|
96
|
+
type: {
|
97
|
+
name: 'Composite',
|
98
|
+
class_name: 'RoleSinkInfo'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
custom_context_tag: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'properties.customContextTag',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|