azure_mgmt_netapp 0.18.2 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-10-01/generated/azure_mgmt_netapp.rb +71 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +157 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/active_directory.rb +127 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/mount_target.rb +230 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/snapshot.rb +158 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/snapshot_patch.rb +54 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume.rb +300 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +50 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/mount_targets.rb +136 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/pools.rb +675 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/snapshots.rb +708 -0
- data/lib/2019-10-01/generated/azure_mgmt_netapp/volumes.rb +1228 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp.rb +70 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +153 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/active_directory.rb +139 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/mount_target.rb +218 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +152 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/snapshot.rb +139 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume.rb +315 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +50 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/pools.rb +737 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2019-11-01/generated/azure_mgmt_netapp/volumes.rb +1688 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp.rb +71 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +153 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/active_directory.rb +160 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +115 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mount_target.rb +218 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +152 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume.rb +328 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +62 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/pools.rb +737 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2020-02-01/generated/azure_mgmt_netapp/volumes.rb +1688 -0
- data/lib/azure_mgmt_netapp.rb +3 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +120 -94
- data/lib/version.rb +1 -1
- metadata +144 -4
@@ -0,0 +1,54 @@
|
|
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::NetApp::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Snapshot patch
|
10
|
+
#
|
11
|
+
class SnapshotPatch
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for SnapshotPatch 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: 'snapshotPatch',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'SnapshotPatch',
|
31
|
+
model_properties: {
|
32
|
+
tags: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'tags',
|
36
|
+
type: {
|
37
|
+
name: 'Dictionary',
|
38
|
+
value: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'StringElementType',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
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::NetApp::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of Snapshots
|
10
|
+
#
|
11
|
+
class SnapshotsList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Snapshot>] A list of Snapshots
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for SnapshotsList 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: 'snapshotsList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'SnapshotsList',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'SnapshotElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'Snapshot'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,300 @@
|
|
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::NetApp::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Volume resource
|
10
|
+
#
|
11
|
+
class Volume
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource location
|
16
|
+
attr_accessor :location
|
17
|
+
|
18
|
+
# @return [String] Resource Id
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [String] Resource name
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
|
+
# @return [String] Resource type
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] Resource tags
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
# @return [String] FileSystem ID. Unique FileSystem Identifier.
|
31
|
+
attr_accessor :file_system_id
|
32
|
+
|
33
|
+
# @return [String] Creation Token or File Path. A unique file path for
|
34
|
+
# the volume. Used when creating mount targets
|
35
|
+
attr_accessor :creation_token
|
36
|
+
|
37
|
+
# @return [ServiceLevel] serviceLevel. The service level of the file
|
38
|
+
# system. Possible values include: 'Standard', 'Premium', 'Ultra'.
|
39
|
+
# Default value: 'Premium' .
|
40
|
+
attr_accessor :service_level
|
41
|
+
|
42
|
+
# @return [Integer] usageThreshold. Maximum storage quota allowed for a
|
43
|
+
# file system in bytes. This is a soft quota used for alerting only.
|
44
|
+
# Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
|
45
|
+
# Default value: 107374182400 .
|
46
|
+
attr_accessor :usage_threshold
|
47
|
+
|
48
|
+
# @return [VolumePropertiesExportPolicy] exportPolicy. Set of export
|
49
|
+
# policy rules
|
50
|
+
attr_accessor :export_policy
|
51
|
+
|
52
|
+
# @return [Array<String>] protocolTypes. Set of protocol types
|
53
|
+
attr_accessor :protocol_types
|
54
|
+
|
55
|
+
# @return [String] Azure lifecycle management
|
56
|
+
attr_accessor :provisioning_state
|
57
|
+
|
58
|
+
# @return [String] Snapshot ID. UUID v4 or resource identifier used to
|
59
|
+
# identify the Snapshot.
|
60
|
+
attr_accessor :snapshot_id
|
61
|
+
|
62
|
+
# @return [String] Baremetal Tenant ID. Unique Baremetal Tenant
|
63
|
+
# Identifier.
|
64
|
+
attr_accessor :baremetal_tenant_id
|
65
|
+
|
66
|
+
# @return [String] The Azure Resource URI for a delegated subnet. Must
|
67
|
+
# have the delegation Microsoft.NetApp/volumes
|
68
|
+
attr_accessor :subnet_id
|
69
|
+
|
70
|
+
# @return mountTargets. List of mount targets
|
71
|
+
attr_accessor :mount_targets
|
72
|
+
|
73
|
+
# @return [String] What type of volume is this
|
74
|
+
attr_accessor :volume_type
|
75
|
+
|
76
|
+
# @return [VolumePropertiesDataProtection] DataProtection. DataProtection
|
77
|
+
# type volumes include an object containing details of the replication
|
78
|
+
attr_accessor :data_protection
|
79
|
+
|
80
|
+
# @return [Boolean] Restoring
|
81
|
+
attr_accessor :is_restoring
|
82
|
+
|
83
|
+
|
84
|
+
#
|
85
|
+
# Mapper for Volume class as Ruby Hash.
|
86
|
+
# This will be used for serialization/deserialization.
|
87
|
+
#
|
88
|
+
def self.mapper()
|
89
|
+
{
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'volume',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'Volume',
|
96
|
+
model_properties: {
|
97
|
+
location: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: true,
|
100
|
+
serialized_name: 'location',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
id: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
read_only: true,
|
109
|
+
serialized_name: 'id',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
name: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'name',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
type: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'type',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
tags: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
serialized_name: 'tags',
|
136
|
+
type: {
|
137
|
+
name: 'Dictionary',
|
138
|
+
value: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
serialized_name: 'StringElementType',
|
142
|
+
type: {
|
143
|
+
name: 'String'
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
},
|
148
|
+
file_system_id: {
|
149
|
+
client_side_validation: true,
|
150
|
+
required: false,
|
151
|
+
read_only: true,
|
152
|
+
serialized_name: 'properties.fileSystemId',
|
153
|
+
constraints: {
|
154
|
+
MaxLength: 36,
|
155
|
+
MinLength: 36,
|
156
|
+
Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'
|
157
|
+
},
|
158
|
+
type: {
|
159
|
+
name: 'String'
|
160
|
+
}
|
161
|
+
},
|
162
|
+
creation_token: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: true,
|
165
|
+
serialized_name: 'properties.creationToken',
|
166
|
+
type: {
|
167
|
+
name: 'String'
|
168
|
+
}
|
169
|
+
},
|
170
|
+
service_level: {
|
171
|
+
client_side_validation: true,
|
172
|
+
required: false,
|
173
|
+
serialized_name: 'properties.serviceLevel',
|
174
|
+
default_value: 'Premium',
|
175
|
+
type: {
|
176
|
+
name: 'String'
|
177
|
+
}
|
178
|
+
},
|
179
|
+
usage_threshold: {
|
180
|
+
client_side_validation: true,
|
181
|
+
required: true,
|
182
|
+
serialized_name: 'properties.usageThreshold',
|
183
|
+
default_value: 107374182400,
|
184
|
+
constraints: {
|
185
|
+
InclusiveMaximum: 109951162777600,
|
186
|
+
InclusiveMinimum: 107374182400
|
187
|
+
},
|
188
|
+
type: {
|
189
|
+
name: 'Number'
|
190
|
+
}
|
191
|
+
},
|
192
|
+
export_policy: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
serialized_name: 'properties.exportPolicy',
|
196
|
+
type: {
|
197
|
+
name: 'Composite',
|
198
|
+
class_name: 'VolumePropertiesExportPolicy'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
protocol_types: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
serialized_name: 'properties.protocolTypes',
|
205
|
+
type: {
|
206
|
+
name: 'Sequence',
|
207
|
+
element: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
serialized_name: 'StringElementType',
|
211
|
+
type: {
|
212
|
+
name: 'String'
|
213
|
+
}
|
214
|
+
}
|
215
|
+
}
|
216
|
+
},
|
217
|
+
provisioning_state: {
|
218
|
+
client_side_validation: true,
|
219
|
+
required: false,
|
220
|
+
read_only: true,
|
221
|
+
serialized_name: 'properties.provisioningState',
|
222
|
+
type: {
|
223
|
+
name: 'String'
|
224
|
+
}
|
225
|
+
},
|
226
|
+
snapshot_id: {
|
227
|
+
client_side_validation: true,
|
228
|
+
required: false,
|
229
|
+
serialized_name: 'properties.snapshotId',
|
230
|
+
constraints: {
|
231
|
+
MaxLength: 36,
|
232
|
+
MinLength: 36,
|
233
|
+
Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$'
|
234
|
+
},
|
235
|
+
type: {
|
236
|
+
name: 'String'
|
237
|
+
}
|
238
|
+
},
|
239
|
+
baremetal_tenant_id: {
|
240
|
+
client_side_validation: true,
|
241
|
+
required: false,
|
242
|
+
read_only: true,
|
243
|
+
serialized_name: 'properties.baremetalTenantId',
|
244
|
+
constraints: {
|
245
|
+
MaxLength: 36,
|
246
|
+
MinLength: 36,
|
247
|
+
Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'
|
248
|
+
},
|
249
|
+
type: {
|
250
|
+
name: 'String'
|
251
|
+
}
|
252
|
+
},
|
253
|
+
subnet_id: {
|
254
|
+
client_side_validation: true,
|
255
|
+
required: true,
|
256
|
+
serialized_name: 'properties.subnetId',
|
257
|
+
type: {
|
258
|
+
name: 'String'
|
259
|
+
}
|
260
|
+
},
|
261
|
+
mount_targets: {
|
262
|
+
client_side_validation: true,
|
263
|
+
required: false,
|
264
|
+
serialized_name: 'properties.mountTargets',
|
265
|
+
type: {
|
266
|
+
name: 'Object'
|
267
|
+
}
|
268
|
+
},
|
269
|
+
volume_type: {
|
270
|
+
client_side_validation: true,
|
271
|
+
required: false,
|
272
|
+
serialized_name: 'properties.volumeType',
|
273
|
+
type: {
|
274
|
+
name: 'String'
|
275
|
+
}
|
276
|
+
},
|
277
|
+
data_protection: {
|
278
|
+
client_side_validation: true,
|
279
|
+
required: false,
|
280
|
+
serialized_name: 'properties.dataProtection',
|
281
|
+
type: {
|
282
|
+
name: 'Composite',
|
283
|
+
class_name: 'VolumePropertiesDataProtection'
|
284
|
+
}
|
285
|
+
},
|
286
|
+
is_restoring: {
|
287
|
+
client_side_validation: true,
|
288
|
+
required: false,
|
289
|
+
serialized_name: 'properties.isRestoring',
|
290
|
+
type: {
|
291
|
+
name: 'Boolean'
|
292
|
+
}
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
end
|
298
|
+
end
|
299
|
+
end
|
300
|
+
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::NetApp::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of volume resources
|
10
|
+
#
|
11
|
+
class VolumeList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Volume>] List of volumes
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for VolumeList 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: 'volumeList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'VolumeList',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'VolumeElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'Volume'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|