Class: Azure::NetApp::Mgmt::V2020_07_01::Models::Volume

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb

Overview

Volume resource

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backup_idString

identify the Backup.

Returns:

  • (String)

    Backup ID. UUID v4 or resource identifier used to



64
65
66
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 64

def backup_id
  @backup_id
end

#baremetal_tenant_idString

Identifier.

Returns:

  • (String)

    Baremetal Tenant ID. Unique Baremetal Tenant



68
69
70
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 68

def baremetal_tenant_id
  @baremetal_tenant_id
end

#creation_tokenString

the volume. Used when creating mount targets

Returns:

  • (String)

    Creation Token or File Path. A unique file path for



35
36
37
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 35

def creation_token
  @creation_token
end

#data_protectionVolumePropertiesDataProtection

type volumes include an object containing details of the replication

Returns:



83
84
85
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 83

def data_protection
  @data_protection
end

#export_policyVolumePropertiesExportPolicy

policy rules

Returns:



50
51
52
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 50

def export_policy
  @export_policy
end

#file_system_idString

Returns FileSystem ID. Unique FileSystem Identifier.

Returns:

  • (String)

    FileSystem ID. Unique FileSystem Identifier.



31
32
33
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 31

def file_system_id
  @file_system_id
end

#idString

Returns Resource Id.

Returns:

  • (String)

    Resource Id



19
20
21
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 19

def id
  @id
end

#is_restoringBoolean

Returns Restoring.

Returns:

  • (Boolean)

    Restoring



86
87
88
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 86

def is_restoring
  @is_restoring
end

#kerberos_enabledBoolean

with swagger version 2020-05-01 or later. Default value: false .

Returns:

  • (Boolean)

    Describe if a volume is KerberosEnabled. To be use



95
96
97
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 95

def kerberos_enabled
  @kerberos_enabled
end

#locationString

Returns Resource location.

Returns:

  • (String)

    Resource location



16
17
18
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 16

def location
  @location
end

#mount_targetsArray<MountTargetProperties>

targets

Returns:



76
77
78
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 76

def mount_targets
  @mount_targets
end

#nameString

Returns Resource name.

Returns:

  • (String)

    Resource name



22
23
24
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 22

def name
  @name
end

#protocol_typesArray<String>

Returns protocolTypes. Set of protocol types.

Returns:

  • (Array<String>)

    protocolTypes. Set of protocol types



53
54
55
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 53

def protocol_types
  @protocol_types
end

#provisioning_stateString

Returns Azure lifecycle management.

Returns:

  • (String)

    Azure lifecycle management



56
57
58
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 56

def provisioning_state
  @provisioning_state
end

#security_styleSecurityStyle

include: ‘ntfs’, ‘unix’

Returns:

  • (SecurityStyle)

    The security style of volume. Possible values



99
100
101
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 99

def security_style
  @security_style
end

#service_levelServiceLevel

system. Possible values include: ‘Standard’, ‘Premium’, ‘Ultra’. Default value: ‘Premium’ .

Returns:

  • (ServiceLevel)

    serviceLevel. The service level of the file



40
41
42
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 40

def service_level
  @service_level
end

#snapshot_directory_visibleBoolean

.snapshot directory which provides access to each of the volume’s snapshots (default to true).

Returns:

  • (Boolean)

    If enabled (true) the volume will contain a read-only



91
92
93
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 91

def snapshot_directory_visible
  @snapshot_directory_visible
end

#snapshot_idString

identify the Snapshot.

Returns:

  • (String)

    Snapshot ID. UUID v4 or resource identifier used to



60
61
62
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 60

def snapshot_id
  @snapshot_id
end

#subnet_idString

have the delegation Microsoft.NetApp/volumes

Returns:

  • (String)

    The Azure Resource URI for a delegated subnet. Must



72
73
74
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 72

def subnet_id
  @subnet_id
end

#tagsHash{String => String}

Returns Resource tags.

Returns:

  • (Hash{String => String})

    Resource tags



28
29
30
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 28

def tags
  @tags
end

#throughput_mibpsFloat

this volume.

Returns:

  • (Float)

    Maximum throughput in Mibps that can be achieved by



103
104
105
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 103

def throughput_mibps
  @throughput_mibps
end

#typeString

Returns Resource type.

Returns:

  • (String)

    Resource type



25
26
27
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 25

def type
  @type
end

#usage_thresholdInteger

file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. Default value: 107374182400 .

Returns:

  • (Integer)

    usageThreshold. Maximum storage quota allowed for a



46
47
48
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 46

def usage_threshold
  @usage_threshold
end

#volume_typeString

Returns What type of volume is this.

Returns:

  • (String)

    What type of volume is this



79
80
81
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 79

def volume_type
  @volume_type
end

Class Method Details

.mapperObject

Mapper for Volume class as Ruby Hash. This will be used for serialization/deserialization.



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 110

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'volume',
    type: {
      name: 'Composite',
      class_name: 'Volume',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        file_system_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.fileSystemId',
          constraints: {
            MaxLength: 36,
            MinLength: 36,
            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}$'
          },
          type: {
            name: 'String'
          }
        },
        creation_token: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.creationToken',
          constraints: {
            MaxLength: 80,
            MinLength: 1,
            Pattern: '^[a-zA-Z][a-zA-Z0-9\-]{0,79}$'
          },
          type: {
            name: 'String'
          }
        },
        service_level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceLevel',
          default_value: 'Premium',
          type: {
            name: 'String'
          }
        },
        usage_threshold: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.usageThreshold',
          default_value: 107374182400,
          constraints: {
            InclusiveMaximum: 109951162777600,
            InclusiveMinimum: 107374182400
          },
          type: {
            name: 'Number'
          }
        },
        export_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.exportPolicy',
          type: {
            name: 'Composite',
            class_name: 'VolumePropertiesExportPolicy'
          }
        },
        protocol_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.protocolTypes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        snapshot_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.snapshotId',
          constraints: {
            MaxLength: 36,
            MinLength: 36,
            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}|(\\?([^\/]*[\/])*)([^\/]+)$'
          },
          type: {
            name: 'String'
          }
        },
        backup_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.backupId',
          constraints: {
            MaxLength: 36,
            MinLength: 36,
            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}|(\\?([^\/]*[\/])*)([^\/]+)$'
          },
          type: {
            name: 'String'
          }
        },
        baremetal_tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.baremetalTenantId',
          type: {
            name: 'String'
          }
        },
        subnet_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.subnetId',
          type: {
            name: 'String'
          }
        },
        mount_targets: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mountTargets',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'MountTargetPropertiesElementType',
                type: {
                  name: 'Composite',
                  class_name: 'MountTargetProperties'
                }
            }
          }
        },
        volume_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.volumeType',
          type: {
            name: 'String'
          }
        },
        data_protection: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataProtection',
          type: {
            name: 'Composite',
            class_name: 'VolumePropertiesDataProtection'
          }
        },
        is_restoring: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isRestoring',
          type: {
            name: 'Boolean'
          }
        },
        snapshot_directory_visible: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.snapshotDirectoryVisible',
          type: {
            name: 'Boolean'
          }
        },
        kerberos_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.kerberosEnabled',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        security_style: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.securityStyle',
          type: {
            name: 'String'
          }
        },
        throughput_mibps: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.throughputMibps',
          constraints: {
            InclusiveMaximum: 4500,
            InclusiveMinimum: 1,
            MultipleOf: 0.001
          },
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end