azure_mgmt_netapp 0.18.1 → 0.18.2
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.rb +65 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +157 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/active_directory.rb +127 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/mount_target.rb +230 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb +81 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/snapshot.rb +158 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/snapshot_patch.rb +54 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume.rb +289 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +49 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/mount_targets.rb +136 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/pools.rb +675 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/snapshots.rb +708 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/volumes.rb +694 -0
- data/lib/azure_mgmt_netapp.rb +1 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +89 -79
- data/lib/version.rb +1 -1
- metadata +43 -2
@@ -0,0 +1,72 @@
|
|
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_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Resource name availability request content.
|
10
|
+
#
|
11
|
+
class ResourceNameAvailabilityRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource name to verify.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [CheckNameResourceTypes] Resource type used for verification.
|
19
|
+
# Possible values include: 'Microsoft.NetApp/netAppAccounts',
|
20
|
+
# 'Microsoft.NetApp/netAppAccounts/capacityPools',
|
21
|
+
# 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
|
22
|
+
# 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
|
23
|
+
attr_accessor :type
|
24
|
+
|
25
|
+
# @return [String] Resource group name.
|
26
|
+
attr_accessor :resource_group
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ResourceNameAvailabilityRequest 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: 'ResourceNameAvailabilityRequest',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'ResourceNameAvailabilityRequest',
|
41
|
+
model_properties: {
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
type: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'type',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
resource_group: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: true,
|
61
|
+
serialized_name: 'resourceGroup',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
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::NetApp::Mgmt::V2019_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ServiceLevel
|
10
|
+
#
|
11
|
+
module ServiceLevel
|
12
|
+
Standard = "Standard"
|
13
|
+
Premium = "Premium"
|
14
|
+
Ultra = "Ultra"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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::NetApp::Mgmt::V2019_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# One property of operation, include metric specifications.
|
10
|
+
#
|
11
|
+
class ServiceSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<MetricSpecification>] Metric specifications of
|
16
|
+
# operation.
|
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: 'MetricSpecificationElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'MetricSpecification'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,158 @@
|
|
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_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Snapshot of a Volume
|
10
|
+
#
|
11
|
+
class Snapshot
|
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] snapshotId. UUID v4 used to identify the Snapshot
|
31
|
+
attr_accessor :snapshot_id
|
32
|
+
|
33
|
+
# @return [String] fileSystemId. UUID v4 used to identify the FileSystem
|
34
|
+
attr_accessor :file_system_id
|
35
|
+
|
36
|
+
# @return [DateTime] name. The creation date of the snapshot
|
37
|
+
attr_accessor :created
|
38
|
+
|
39
|
+
# @return [String] Azure lifecycle management
|
40
|
+
attr_accessor :provisioning_state
|
41
|
+
|
42
|
+
|
43
|
+
#
|
44
|
+
# Mapper for Snapshot class as Ruby Hash.
|
45
|
+
# This will be used for serialization/deserialization.
|
46
|
+
#
|
47
|
+
def self.mapper()
|
48
|
+
{
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'snapshot',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'Snapshot',
|
55
|
+
model_properties: {
|
56
|
+
location: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: true,
|
59
|
+
serialized_name: 'location',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
id: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'id',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
name: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'name',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
type: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'type',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
tags: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'tags',
|
95
|
+
type: {
|
96
|
+
name: 'Dictionary',
|
97
|
+
value: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'StringElementType',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
},
|
107
|
+
snapshot_id: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
read_only: true,
|
111
|
+
serialized_name: 'properties.snapshotId',
|
112
|
+
constraints: {
|
113
|
+
MaxLength: 36,
|
114
|
+
MinLength: 36,
|
115
|
+
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}$'
|
116
|
+
},
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
file_system_id: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'properties.fileSystemId',
|
125
|
+
constraints: {
|
126
|
+
MaxLength: 36,
|
127
|
+
MinLength: 36,
|
128
|
+
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}$'
|
129
|
+
},
|
130
|
+
type: {
|
131
|
+
name: 'String'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
created: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
read_only: true,
|
138
|
+
serialized_name: 'properties.created',
|
139
|
+
type: {
|
140
|
+
name: 'DateTime'
|
141
|
+
}
|
142
|
+
},
|
143
|
+
provisioning_state: {
|
144
|
+
client_side_validation: true,
|
145
|
+
required: false,
|
146
|
+
read_only: true,
|
147
|
+
serialized_name: 'properties.provisioningState',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
@@ -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_08_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_08_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,289 @@
|
|
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_08_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
|
+
# volume, can have a replication object
|
78
|
+
attr_accessor :data_protection
|
79
|
+
|
80
|
+
|
81
|
+
#
|
82
|
+
# Mapper for Volume class as Ruby Hash.
|
83
|
+
# This will be used for serialization/deserialization.
|
84
|
+
#
|
85
|
+
def self.mapper()
|
86
|
+
{
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'volume',
|
90
|
+
type: {
|
91
|
+
name: 'Composite',
|
92
|
+
class_name: 'Volume',
|
93
|
+
model_properties: {
|
94
|
+
location: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: true,
|
97
|
+
serialized_name: 'location',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
id: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'id',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
name: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
read_only: true,
|
115
|
+
serialized_name: 'name',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
type: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'type',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
tags: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
serialized_name: 'tags',
|
133
|
+
type: {
|
134
|
+
name: 'Dictionary',
|
135
|
+
value: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'StringElementType',
|
139
|
+
type: {
|
140
|
+
name: 'String'
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
},
|
145
|
+
file_system_id: {
|
146
|
+
client_side_validation: true,
|
147
|
+
required: false,
|
148
|
+
read_only: true,
|
149
|
+
serialized_name: 'properties.fileSystemId',
|
150
|
+
constraints: {
|
151
|
+
MaxLength: 36,
|
152
|
+
MinLength: 36,
|
153
|
+
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}$'
|
154
|
+
},
|
155
|
+
type: {
|
156
|
+
name: 'String'
|
157
|
+
}
|
158
|
+
},
|
159
|
+
creation_token: {
|
160
|
+
client_side_validation: true,
|
161
|
+
required: true,
|
162
|
+
serialized_name: 'properties.creationToken',
|
163
|
+
type: {
|
164
|
+
name: 'String'
|
165
|
+
}
|
166
|
+
},
|
167
|
+
service_level: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'properties.serviceLevel',
|
171
|
+
default_value: 'Premium',
|
172
|
+
type: {
|
173
|
+
name: 'String'
|
174
|
+
}
|
175
|
+
},
|
176
|
+
usage_threshold: {
|
177
|
+
client_side_validation: true,
|
178
|
+
required: true,
|
179
|
+
serialized_name: 'properties.usageThreshold',
|
180
|
+
default_value: 107374182400,
|
181
|
+
constraints: {
|
182
|
+
InclusiveMaximum: 109951162777600,
|
183
|
+
InclusiveMinimum: 107374182400
|
184
|
+
},
|
185
|
+
type: {
|
186
|
+
name: 'Number'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
export_policy: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
serialized_name: 'properties.exportPolicy',
|
193
|
+
type: {
|
194
|
+
name: 'Composite',
|
195
|
+
class_name: 'VolumePropertiesExportPolicy'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
protocol_types: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
serialized_name: 'properties.protocolTypes',
|
202
|
+
type: {
|
203
|
+
name: 'Sequence',
|
204
|
+
element: {
|
205
|
+
client_side_validation: true,
|
206
|
+
required: false,
|
207
|
+
serialized_name: 'StringElementType',
|
208
|
+
type: {
|
209
|
+
name: 'String'
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
},
|
214
|
+
provisioning_state: {
|
215
|
+
client_side_validation: true,
|
216
|
+
required: false,
|
217
|
+
read_only: true,
|
218
|
+
serialized_name: 'properties.provisioningState',
|
219
|
+
type: {
|
220
|
+
name: 'String'
|
221
|
+
}
|
222
|
+
},
|
223
|
+
snapshot_id: {
|
224
|
+
client_side_validation: true,
|
225
|
+
required: false,
|
226
|
+
serialized_name: 'properties.snapshotId',
|
227
|
+
constraints: {
|
228
|
+
MaxLength: 36,
|
229
|
+
MinLength: 36,
|
230
|
+
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}|(\\?([^\/]*[\/])*)([^\/]+)$'
|
231
|
+
},
|
232
|
+
type: {
|
233
|
+
name: 'String'
|
234
|
+
}
|
235
|
+
},
|
236
|
+
baremetal_tenant_id: {
|
237
|
+
client_side_validation: true,
|
238
|
+
required: false,
|
239
|
+
read_only: true,
|
240
|
+
serialized_name: 'properties.baremetalTenantId',
|
241
|
+
constraints: {
|
242
|
+
MaxLength: 36,
|
243
|
+
MinLength: 36,
|
244
|
+
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}$'
|
245
|
+
},
|
246
|
+
type: {
|
247
|
+
name: 'String'
|
248
|
+
}
|
249
|
+
},
|
250
|
+
subnet_id: {
|
251
|
+
client_side_validation: true,
|
252
|
+
required: true,
|
253
|
+
serialized_name: 'properties.subnetId',
|
254
|
+
type: {
|
255
|
+
name: 'String'
|
256
|
+
}
|
257
|
+
},
|
258
|
+
mount_targets: {
|
259
|
+
client_side_validation: true,
|
260
|
+
required: false,
|
261
|
+
serialized_name: 'properties.mountTargets',
|
262
|
+
type: {
|
263
|
+
name: 'Object'
|
264
|
+
}
|
265
|
+
},
|
266
|
+
volume_type: {
|
267
|
+
client_side_validation: true,
|
268
|
+
required: false,
|
269
|
+
serialized_name: 'properties.volumeType',
|
270
|
+
type: {
|
271
|
+
name: 'String'
|
272
|
+
}
|
273
|
+
},
|
274
|
+
data_protection: {
|
275
|
+
client_side_validation: true,
|
276
|
+
required: false,
|
277
|
+
serialized_name: 'properties.dataProtection',
|
278
|
+
type: {
|
279
|
+
name: 'Composite',
|
280
|
+
class_name: 'VolumePropertiesDataProtection'
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
}
|
285
|
+
}
|
286
|
+
end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
end
|