azure_mgmt_netapp 0.22.0 → 0.23.0
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/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-09-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-11-01/generated/azure_mgmt_netapp.rb +108 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/accounts.rb +828 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/backup_policies.rb +701 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/backups.rb +811 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/account_encryption.rb +47 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory.rb +288 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup.rb +170 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_patch.rb +142 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/created_by_type.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/key_source.rb +15 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account.rb +158 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +145 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/system_data.rb +105 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume.rb +427 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_list.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/pools.rb +857 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshot_policies.rb +758 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/volumes.rb +2143 -0
- data/lib/azure_mgmt_netapp.rb +1 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +187 -171
- data/lib/version.rb +1 -1
- metadata +86 -2
@@ -0,0 +1,142 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Backup patch
|
10
|
+
#
|
11
|
+
class BackupPatch
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] backupId. UUID v4 used to identify the Backup
|
19
|
+
attr_accessor :backup_id
|
20
|
+
|
21
|
+
# @return [DateTime] name. The creation date of the backup
|
22
|
+
attr_accessor :creation_date
|
23
|
+
|
24
|
+
# @return [String] Azure lifecycle management
|
25
|
+
attr_accessor :provisioning_state
|
26
|
+
|
27
|
+
# @return [Integer] Size of backup
|
28
|
+
attr_accessor :size
|
29
|
+
|
30
|
+
# @return [String] Label for backup
|
31
|
+
attr_accessor :label
|
32
|
+
|
33
|
+
# @return [String] Type of backup adhoc or scheduled
|
34
|
+
attr_accessor :backup_type
|
35
|
+
|
36
|
+
# @return [String] Failure reason
|
37
|
+
attr_accessor :failure_reason
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for BackupPatch 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: 'backupPatch',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'BackupPatch',
|
52
|
+
model_properties: {
|
53
|
+
tags: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'tags',
|
57
|
+
type: {
|
58
|
+
name: 'Dictionary',
|
59
|
+
value: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'StringElementType',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
backup_id: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'properties.backupId',
|
74
|
+
constraints: {
|
75
|
+
MaxLength: 36,
|
76
|
+
MinLength: 36,
|
77
|
+
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}$'
|
78
|
+
},
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
creation_date: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'properties.creationDate',
|
88
|
+
type: {
|
89
|
+
name: 'DateTime'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
provisioning_state: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'properties.provisioningState',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
size: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
read_only: true,
|
105
|
+
serialized_name: 'properties.size',
|
106
|
+
type: {
|
107
|
+
name: 'Number'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
label: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'properties.label',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
backup_type: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
read_only: true,
|
122
|
+
serialized_name: 'properties.backupType',
|
123
|
+
type: {
|
124
|
+
name: 'String'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
failure_reason: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
read_only: true,
|
131
|
+
serialized_name: 'properties.failureReason',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of Backup Policies
|
10
|
+
#
|
11
|
+
class BackupPoliciesList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<BackupPolicy>] A list of backup policies
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for BackupPoliciesList 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: 'backupPoliciesList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'BackupPoliciesList',
|
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: 'BackupPolicyElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'BackupPolicy'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,212 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Backup policy information
|
10
|
+
#
|
11
|
+
class BackupPolicy
|
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] Name of backup policy
|
31
|
+
attr_accessor :name1
|
32
|
+
|
33
|
+
# @return [String] Azure lifecycle management
|
34
|
+
attr_accessor :provisioning_state
|
35
|
+
|
36
|
+
# @return [Integer] Daily backups count to keep
|
37
|
+
attr_accessor :daily_backups_to_keep
|
38
|
+
|
39
|
+
# @return [Integer] Weekly backups count to keep
|
40
|
+
attr_accessor :weekly_backups_to_keep
|
41
|
+
|
42
|
+
# @return [Integer] Monthly backups count to keep
|
43
|
+
attr_accessor :monthly_backups_to_keep
|
44
|
+
|
45
|
+
# @return [Integer] Yearly backups count to keep
|
46
|
+
attr_accessor :yearly_backups_to_keep
|
47
|
+
|
48
|
+
# @return [Integer] Volumes using current backup policy
|
49
|
+
attr_accessor :volumes_assigned
|
50
|
+
|
51
|
+
# @return [Boolean] The property to decide policy is enabled or not
|
52
|
+
attr_accessor :enabled
|
53
|
+
|
54
|
+
# @return [Array<VolumeBackups>] A list of volumes assigned to this
|
55
|
+
# policy
|
56
|
+
attr_accessor :volume_backups
|
57
|
+
|
58
|
+
|
59
|
+
#
|
60
|
+
# Mapper for BackupPolicy class as Ruby Hash.
|
61
|
+
# This will be used for serialization/deserialization.
|
62
|
+
#
|
63
|
+
def self.mapper()
|
64
|
+
{
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'backupPolicy',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'BackupPolicy',
|
71
|
+
model_properties: {
|
72
|
+
location: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: true,
|
75
|
+
serialized_name: 'location',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
id: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'id',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
name: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
read_only: true,
|
93
|
+
serialized_name: 'name',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
type: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'type',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
tags: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'tags',
|
111
|
+
type: {
|
112
|
+
name: 'Dictionary',
|
113
|
+
value: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'StringElementType',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
name1: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.name',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
provisioning_state: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
read_only: true,
|
136
|
+
serialized_name: 'properties.provisioningState',
|
137
|
+
type: {
|
138
|
+
name: 'String'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
daily_backups_to_keep: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'properties.dailyBackupsToKeep',
|
145
|
+
type: {
|
146
|
+
name: 'Number'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
weekly_backups_to_keep: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.weeklyBackupsToKeep',
|
153
|
+
type: {
|
154
|
+
name: 'Number'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
monthly_backups_to_keep: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'properties.monthlyBackupsToKeep',
|
161
|
+
type: {
|
162
|
+
name: 'Number'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
yearly_backups_to_keep: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'properties.yearlyBackupsToKeep',
|
169
|
+
type: {
|
170
|
+
name: 'Number'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
volumes_assigned: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
serialized_name: 'properties.volumesAssigned',
|
177
|
+
type: {
|
178
|
+
name: 'Number'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
enabled: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
serialized_name: 'properties.enabled',
|
185
|
+
type: {
|
186
|
+
name: 'Boolean'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
volume_backups: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
serialized_name: 'properties.volumeBackups',
|
193
|
+
type: {
|
194
|
+
name: 'Sequence',
|
195
|
+
element: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
serialized_name: 'VolumeBackupsElementType',
|
199
|
+
type: {
|
200
|
+
name: 'Composite',
|
201
|
+
class_name: 'VolumeBackups'
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
@@ -0,0 +1,212 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Backup policy properties
|
10
|
+
#
|
11
|
+
class BackupPolicyDetails
|
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] Name of backup policy
|
31
|
+
attr_accessor :name1
|
32
|
+
|
33
|
+
# @return [String] Azure lifecycle management
|
34
|
+
attr_accessor :provisioning_state
|
35
|
+
|
36
|
+
# @return [Integer] Daily backups count to keep
|
37
|
+
attr_accessor :daily_backups_to_keep
|
38
|
+
|
39
|
+
# @return [Integer] Weekly backups count to keep
|
40
|
+
attr_accessor :weekly_backups_to_keep
|
41
|
+
|
42
|
+
# @return [Integer] Monthly backups count to keep
|
43
|
+
attr_accessor :monthly_backups_to_keep
|
44
|
+
|
45
|
+
# @return [Integer] Yearly backups count to keep
|
46
|
+
attr_accessor :yearly_backups_to_keep
|
47
|
+
|
48
|
+
# @return [Integer] Volumes using current backup policy
|
49
|
+
attr_accessor :volumes_assigned
|
50
|
+
|
51
|
+
# @return [Boolean] The property to decide policy is enabled or not
|
52
|
+
attr_accessor :enabled
|
53
|
+
|
54
|
+
# @return [Array<VolumeBackups>] A list of volumes assigned to this
|
55
|
+
# policy
|
56
|
+
attr_accessor :volume_backups
|
57
|
+
|
58
|
+
|
59
|
+
#
|
60
|
+
# Mapper for BackupPolicyDetails class as Ruby Hash.
|
61
|
+
# This will be used for serialization/deserialization.
|
62
|
+
#
|
63
|
+
def self.mapper()
|
64
|
+
{
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'backupPolicyDetails',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'BackupPolicyDetails',
|
71
|
+
model_properties: {
|
72
|
+
location: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'location',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
id: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'id',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
name: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
read_only: true,
|
93
|
+
serialized_name: 'name',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
type: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'type',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
tags: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'tags',
|
111
|
+
type: {
|
112
|
+
name: 'Dictionary',
|
113
|
+
value: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'StringElementType',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
name1: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.name',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
provisioning_state: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
read_only: true,
|
136
|
+
serialized_name: 'properties.provisioningState',
|
137
|
+
type: {
|
138
|
+
name: 'String'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
daily_backups_to_keep: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'properties.dailyBackupsToKeep',
|
145
|
+
type: {
|
146
|
+
name: 'Number'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
weekly_backups_to_keep: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.weeklyBackupsToKeep',
|
153
|
+
type: {
|
154
|
+
name: 'Number'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
monthly_backups_to_keep: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'properties.monthlyBackupsToKeep',
|
161
|
+
type: {
|
162
|
+
name: 'Number'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
yearly_backups_to_keep: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'properties.yearlyBackupsToKeep',
|
169
|
+
type: {
|
170
|
+
name: 'Number'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
volumes_assigned: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
serialized_name: 'properties.volumesAssigned',
|
177
|
+
type: {
|
178
|
+
name: 'Number'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
enabled: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
serialized_name: 'properties.enabled',
|
185
|
+
type: {
|
186
|
+
name: 'Boolean'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
volume_backups: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
serialized_name: 'properties.volumeBackups',
|
193
|
+
type: {
|
194
|
+
name: 'Sequence',
|
195
|
+
element: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
serialized_name: 'VolumeBackupsElementType',
|
199
|
+
type: {
|
200
|
+
name: 'Composite',
|
201
|
+
class_name: 'VolumeBackups'
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|