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,19 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ReplicationSchedule
|
10
|
+
#
|
11
|
+
module ReplicationSchedule
|
12
|
+
_10minutely = "_10minutely"
|
13
|
+
Hourly = "hourly"
|
14
|
+
Daily = "daily"
|
15
|
+
Weekly = "weekly"
|
16
|
+
Monthly = "monthly"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,93 @@
|
|
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_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Replication status
|
10
|
+
#
|
11
|
+
class ReplicationStatus
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Replication health check
|
16
|
+
attr_accessor :healthy
|
17
|
+
|
18
|
+
# @return [RelationshipStatus] Status of the mirror relationship.
|
19
|
+
# Possible values include: 'Idle', 'Transferring'
|
20
|
+
attr_accessor :relationship_status
|
21
|
+
|
22
|
+
# @return [MirrorState] The status of the replication. Possible values
|
23
|
+
# include: 'Uninitialized', 'Mirrored', 'Broken'
|
24
|
+
attr_accessor :mirror_state
|
25
|
+
|
26
|
+
# @return [String] The progress of the replication
|
27
|
+
attr_accessor :total_progress
|
28
|
+
|
29
|
+
# @return [String] Displays error message if the replication is in an
|
30
|
+
# error state
|
31
|
+
attr_accessor :error_message
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for ReplicationStatus class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'replicationStatus',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ReplicationStatus',
|
46
|
+
model_properties: {
|
47
|
+
healthy: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'healthy',
|
51
|
+
type: {
|
52
|
+
name: 'Boolean'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
relationship_status: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'relationshipStatus',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
mirror_state: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'mirrorState',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
total_progress: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'totalProgress',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
error_message: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'errorMessage',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
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_11_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_11_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_11_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_11_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,139 @@
|
|
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_11_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 [String] snapshotId. UUID v4 used to identify the Snapshot
|
28
|
+
attr_accessor :snapshot_id
|
29
|
+
|
30
|
+
# @return [String] fileSystemId. UUID v4 used to identify the FileSystem
|
31
|
+
attr_accessor :file_system_id
|
32
|
+
|
33
|
+
# @return [DateTime] name. The creation date of the snapshot
|
34
|
+
attr_accessor :created
|
35
|
+
|
36
|
+
# @return [String] Azure lifecycle management
|
37
|
+
attr_accessor :provisioning_state
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for Snapshot class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'snapshot',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'Snapshot',
|
52
|
+
model_properties: {
|
53
|
+
location: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: true,
|
56
|
+
serialized_name: 'location',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
id: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'id',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
name: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'name',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
type: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
read_only: true,
|
83
|
+
serialized_name: 'type',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
snapshot_id: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'properties.snapshotId',
|
93
|
+
constraints: {
|
94
|
+
MaxLength: 36,
|
95
|
+
MinLength: 36,
|
96
|
+
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}$'
|
97
|
+
},
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
file_system_id: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'properties.fileSystemId',
|
106
|
+
constraints: {
|
107
|
+
MaxLength: 36,
|
108
|
+
MinLength: 36,
|
109
|
+
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}$'
|
110
|
+
},
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
created: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
read_only: true,
|
119
|
+
serialized_name: 'properties.created',
|
120
|
+
type: {
|
121
|
+
name: 'DateTime'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
provisioning_state: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
read_only: true,
|
128
|
+
serialized_name: 'properties.provisioningState',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|