azure_mgmt_netapp 0.17.2 → 0.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- 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/accounts.rb +641 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +415 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/active_directory.rb +127 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +154 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +125 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/mount_target.rb +210 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/net_app_account.rb +125 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +125 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/snapshot.rb +150 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/snapshot_patch.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume.rb +226 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume_patch.rb +139 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/mount_targets.rb +134 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/operations.rb +113 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/pools.rb +665 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/snapshots.rb +698 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/volumes.rb +684 -0
- data/lib/2019-05-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 +84 -72
- data/lib/version.rb +1 -1
- metadata +41 -3
@@ -0,0 +1,79 @@
|
|
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_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Display metadata associated with the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Service provider: Microsoft NetApp.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource on which the operation is performed etc.
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] Type of operation: get, read, delete, etc.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] Operation description.
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Operation_display',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'OperationDisplay',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to list Cloud Volume operations. It contains a list
|
10
|
+
# of operations and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class OperationListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<Operation>] List of Storage operations supported by the
|
17
|
+
# Storage resource provider.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'OperationListResult',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'OperationListResult',
|
33
|
+
model_properties: {
|
34
|
+
value: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'OperationElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'Operation'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,78 @@
|
|
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_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information regarding availability of a resource name.
|
10
|
+
#
|
11
|
+
class ResourceNameAvailability
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] <code>true</code> indicates name is valid and
|
16
|
+
# available. <code>false</code> indicates the name is invalid,
|
17
|
+
# unavailable, or both.
|
18
|
+
attr_accessor :is_available
|
19
|
+
|
20
|
+
# @return [InAvailabilityReasonType] <code>Invalid</code> indicates the
|
21
|
+
# name provided does not match Azure App Service naming requirements.
|
22
|
+
# <code>AlreadyExists</code> indicates that the name is already in use
|
23
|
+
# and is therefore unavailable. Possible values include: 'Invalid',
|
24
|
+
# 'AlreadyExists'
|
25
|
+
attr_accessor :reason
|
26
|
+
|
27
|
+
# @return [String] If reason == invalid, provide the user with the reason
|
28
|
+
# why the given name is invalid, and provide the resource naming
|
29
|
+
# requirements so that the user can select a valid name. If reason ==
|
30
|
+
# AlreadyExists, explain that resource name is already in use, and direct
|
31
|
+
# them to select a different name.
|
32
|
+
attr_accessor :message
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for ResourceNameAvailability 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: 'ResourceNameAvailability',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'ResourceNameAvailability',
|
47
|
+
model_properties: {
|
48
|
+
is_available: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'isAvailable',
|
52
|
+
type: {
|
53
|
+
name: 'Boolean'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
reason: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'reason',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
message: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'message',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -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_05_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/netAppAccount',
|
20
|
+
# 'Microsoft.NetApp/netAppAccount/capacityPools',
|
21
|
+
# 'Microsoft.NetApp/netAppAccount/capacityPools/volumes',
|
22
|
+
# 'Microsoft.NetApp/netAppAccount/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_05_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_05_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,150 @@
|
|
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_05_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 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 :creation_date
|
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: 'Object'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
snapshot_id: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'properties.snapshotId',
|
104
|
+
constraints: {
|
105
|
+
MaxLength: 36,
|
106
|
+
MinLength: 36,
|
107
|
+
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}$'
|
108
|
+
},
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
file_system_id: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'properties.fileSystemId',
|
117
|
+
constraints: {
|
118
|
+
MaxLength: 36,
|
119
|
+
MinLength: 36,
|
120
|
+
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}$'
|
121
|
+
},
|
122
|
+
type: {
|
123
|
+
name: 'String'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
creation_date: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
read_only: true,
|
130
|
+
serialized_name: 'properties.creationDate',
|
131
|
+
type: {
|
132
|
+
name: 'DateTime'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
provisioning_state: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
read_only: true,
|
139
|
+
serialized_name: 'properties.provisioningState',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Snapshot patch
|
10
|
+
#
|
11
|
+
class SnapshotPatch
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return 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: 'Object'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
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_05_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
|