azure_mgmt_netapp 0.17.3 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb +10 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/mount_targets.rb +2 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/operations.rb +2 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/pools.rb +10 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/snapshots.rb +10 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/accounts.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +29 -25
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +2 -2
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +4 -4
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +4 -4
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume.rb +35 -5
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume_patch.rb +2 -2
- data/lib/2019-05-01/generated/azure_mgmt_netapp/mount_targets.rb +2 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/operations.rb +2 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/pools.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/snapshots.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/volumes.rb +10 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +419 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/active_directory.rb +127 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +153 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +125 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/mount_target.rb +210 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/net_app_account.rb +125 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +125 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/snapshot.rb +150 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/snapshot_patch.rb +46 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume.rb +257 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_patch.rb +139 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/mount_targets.rb +136 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/pools.rb +675 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/snapshots.rb +708 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/volumes.rb +694 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp.rb +62 -0
- data/lib/azure_mgmt_netapp.rb +1 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +65 -65
- data/lib/version.rb +1 -1
- metadata +43 -5
@@ -0,0 +1,210 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Mount Target
|
10
|
+
#
|
11
|
+
class MountTarget
|
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 Resource tags
|
25
|
+
attr_accessor :tags
|
26
|
+
|
27
|
+
# @return [String] mountTargetId. UUID v4 used to identify the
|
28
|
+
# MountTarget
|
29
|
+
attr_accessor :mount_target_id
|
30
|
+
|
31
|
+
# @return [String] fileSystemId. UUID v4 used to identify the MountTarget
|
32
|
+
attr_accessor :file_system_id
|
33
|
+
|
34
|
+
# @return [String] ipAddress. The mount target's IPv4 address
|
35
|
+
attr_accessor :ip_address
|
36
|
+
|
37
|
+
# @return [String] subnet. The subnet
|
38
|
+
attr_accessor :subnet
|
39
|
+
|
40
|
+
# @return [String] startIp. The start of IPv4 address range to use when
|
41
|
+
# creating a new mount target
|
42
|
+
attr_accessor :start_ip
|
43
|
+
|
44
|
+
# @return [String] endIp. The end of IPv4 address range to use when
|
45
|
+
# creating a new mount target
|
46
|
+
attr_accessor :end_ip
|
47
|
+
|
48
|
+
# @return [String] gateway. The gateway of the IPv4 address range to use
|
49
|
+
# when creating a new mount target
|
50
|
+
attr_accessor :gateway
|
51
|
+
|
52
|
+
# @return [String] netmask. The netmask of the IPv4 address range to use
|
53
|
+
# when creating a new mount target
|
54
|
+
attr_accessor :netmask
|
55
|
+
|
56
|
+
# @return [String] smbServerFQDN. The SMB server's Fully Qualified Domain
|
57
|
+
# Name, FQDN
|
58
|
+
attr_accessor :smb_server_fqdn
|
59
|
+
|
60
|
+
# @return [String] Azure lifecycle management
|
61
|
+
attr_accessor :provisioning_state
|
62
|
+
|
63
|
+
|
64
|
+
#
|
65
|
+
# Mapper for MountTarget class as Ruby Hash.
|
66
|
+
# This will be used for serialization/deserialization.
|
67
|
+
#
|
68
|
+
def self.mapper()
|
69
|
+
{
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'mountTarget',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'MountTarget',
|
76
|
+
model_properties: {
|
77
|
+
location: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: true,
|
80
|
+
serialized_name: 'location',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
id: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'id',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
name: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
read_only: true,
|
98
|
+
serialized_name: 'name',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
tags: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'tags',
|
107
|
+
type: {
|
108
|
+
name: 'Object'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
mount_target_id: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
read_only: true,
|
115
|
+
serialized_name: 'properties.mountTargetId',
|
116
|
+
constraints: {
|
117
|
+
MaxLength: 36,
|
118
|
+
MinLength: 36,
|
119
|
+
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}$'
|
120
|
+
},
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
file_system_id: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: true,
|
128
|
+
serialized_name: 'properties.fileSystemId',
|
129
|
+
constraints: {
|
130
|
+
MaxLength: 36,
|
131
|
+
MinLength: 36,
|
132
|
+
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}$'
|
133
|
+
},
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
ip_address: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
read_only: true,
|
142
|
+
serialized_name: 'properties.ipAddress',
|
143
|
+
type: {
|
144
|
+
name: 'String'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
subnet: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'properties.subnet',
|
151
|
+
type: {
|
152
|
+
name: 'String'
|
153
|
+
}
|
154
|
+
},
|
155
|
+
start_ip: {
|
156
|
+
client_side_validation: true,
|
157
|
+
required: false,
|
158
|
+
serialized_name: 'properties.startIp',
|
159
|
+
type: {
|
160
|
+
name: 'String'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
end_ip: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'properties.endIp',
|
167
|
+
type: {
|
168
|
+
name: 'String'
|
169
|
+
}
|
170
|
+
},
|
171
|
+
gateway: {
|
172
|
+
client_side_validation: true,
|
173
|
+
required: false,
|
174
|
+
serialized_name: 'properties.gateway',
|
175
|
+
type: {
|
176
|
+
name: 'String'
|
177
|
+
}
|
178
|
+
},
|
179
|
+
netmask: {
|
180
|
+
client_side_validation: true,
|
181
|
+
required: false,
|
182
|
+
serialized_name: 'properties.netmask',
|
183
|
+
type: {
|
184
|
+
name: 'String'
|
185
|
+
}
|
186
|
+
},
|
187
|
+
smb_server_fqdn: {
|
188
|
+
client_side_validation: true,
|
189
|
+
required: false,
|
190
|
+
serialized_name: 'properties.smbServerFqdn',
|
191
|
+
type: {
|
192
|
+
name: 'String'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
provisioning_state: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
read_only: true,
|
199
|
+
serialized_name: 'properties.provisioningState',
|
200
|
+
type: {
|
201
|
+
name: 'String'
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
210
|
+
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of Mount Targets
|
10
|
+
#
|
11
|
+
class MountTargetList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<MountTarget>] A list of Mount targets
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for MountTargetList 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: 'mountTargetList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'MountTargetList',
|
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: 'MountTargetElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'MountTarget'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,125 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# NetApp account resource
|
10
|
+
#
|
11
|
+
class NetAppAccount
|
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 Resource tags
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
# @return [String] Azure lifecycle management
|
31
|
+
attr_accessor :provisioning_state
|
32
|
+
|
33
|
+
# @return [Array<ActiveDirectory>] Active Directories
|
34
|
+
attr_accessor :active_directories
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for NetAppAccount class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'netAppAccount',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'NetAppAccount',
|
49
|
+
model_properties: {
|
50
|
+
location: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'location',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
id: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'id',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
name: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'name',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
type: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'type',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
tags: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'tags',
|
89
|
+
type: {
|
90
|
+
name: 'Object'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
provisioning_state: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'properties.provisioningState',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
active_directories: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'properties.activeDirectories',
|
106
|
+
type: {
|
107
|
+
name: 'Sequence',
|
108
|
+
element: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'ActiveDirectoryElementType',
|
112
|
+
type: {
|
113
|
+
name: 'Composite',
|
114
|
+
class_name: 'ActiveDirectory'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of NetApp account resources
|
10
|
+
#
|
11
|
+
class NetAppAccountList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<NetAppAccount>] Multiple NetApp accounts
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for NetAppAccountList 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: 'netAppAccountList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'NetAppAccountList',
|
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: 'NetAppAccountElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'NetAppAccount'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,125 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# NetApp account patch resource
|
10
|
+
#
|
11
|
+
class NetAppAccountPatch
|
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 Resource tags
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
# @return [String] Azure lifecycle management
|
31
|
+
attr_accessor :provisioning_state
|
32
|
+
|
33
|
+
# @return [Array<ActiveDirectory>] Active Directories
|
34
|
+
attr_accessor :active_directories
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for NetAppAccountPatch class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'netAppAccountPatch',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'NetAppAccountPatch',
|
49
|
+
model_properties: {
|
50
|
+
location: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'location',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
id: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'id',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
name: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'name',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
type: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'type',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
tags: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'tags',
|
89
|
+
type: {
|
90
|
+
name: 'Object'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
provisioning_state: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'properties.provisioningState',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
active_directories: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'properties.activeDirectories',
|
106
|
+
type: {
|
107
|
+
name: 'Sequence',
|
108
|
+
element: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'ActiveDirectoryElementType',
|
112
|
+
type: {
|
113
|
+
name: 'Composite',
|
114
|
+
class_name: 'ActiveDirectory'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Microsoft.NetApp REST API operation definition.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] Display metadata associated with the
|
19
|
+
# operation.
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
# @return [String] The origin of operations.
|
23
|
+
attr_accessor :origin
|
24
|
+
|
25
|
+
# @return [ServiceSpecification] One property of operation, include
|
26
|
+
# metric specifications.
|
27
|
+
attr_accessor :service_specification
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for Operation class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'Operation',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'Operation',
|
42
|
+
model_properties: {
|
43
|
+
name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
display: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'display',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'OperationDisplay'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
origin: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'origin',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
service_specification: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'properties.serviceSpecification',
|
72
|
+
type: {
|
73
|
+
name: 'Composite',
|
74
|
+
class_name: 'ServiceSpecification'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|