azure_mgmt_netapp 0.18.4 → 0.21.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.rb +2 -2
- data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_netapp/models/mount_target.rb +59 -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/volume.rb +4 -3
- 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/{2019-11-01/generated/azure_mgmt_netapp/models/mount_target_list.rb → 2020-02-01/generated/azure_mgmt_netapp/models/snapshots_list.rb} +9 -9
- 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/2020-06-01/generated/azure_mgmt_netapp.rb +104 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/backups.rb +747 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/active_directory.rb +229 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup.rb +141 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_patch.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +157 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +204 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +156 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +156 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +156 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume.rb +387 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/pools.rb +737 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
- data/lib/2020-06-01/generated/azure_mgmt_netapp/volumes.rb +2023 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp.rb +104 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/backups.rb +747 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory.rb +253 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup.rb +158 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_patch.rb +130 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb +382 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/pools.rb +737 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/volumes.rb +2023 -0
- data/lib/azure_mgmt_netapp.rb +7 -4
- data/lib/profiles/latest/modules/netapp_profile_module.rb +231 -105
- data/lib/version.rb +1 -1
- metadata +213 -6
@@ -0,0 +1,123 @@
|
|
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_06_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 [DateTime] name. The creation date of the snapshot
|
31
|
+
attr_accessor :created
|
32
|
+
|
33
|
+
# @return [String] Azure lifecycle management
|
34
|
+
attr_accessor :provisioning_state
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for Snapshot 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: 'snapshot',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'Snapshot',
|
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
|
+
snapshot_id: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'properties.snapshotId',
|
90
|
+
constraints: {
|
91
|
+
MaxLength: 36,
|
92
|
+
MinLength: 36,
|
93
|
+
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}$'
|
94
|
+
},
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
created: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'properties.created',
|
104
|
+
type: {
|
105
|
+
name: 'DateTime'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
provisioning_state: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
read_only: true,
|
112
|
+
serialized_name: 'properties.provisioningState',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of Snapshot Policies
|
10
|
+
#
|
11
|
+
class SnapshotPoliciesList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<SnapshotPolicy>] A list of snapshot policies
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for SnapshotPoliciesList 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: 'snapshotPoliciesList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'SnapshotPoliciesList',
|
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: 'SnapshotPolicyElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'SnapshotPolicy'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,156 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Snapshot policy information
|
10
|
+
#
|
11
|
+
class SnapshotPolicy
|
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 hourlySchedule. Schedule for hourly snapshots
|
31
|
+
attr_accessor :hourly_schedule
|
32
|
+
|
33
|
+
# @return dailySchedule. Schedule for daily snapshots
|
34
|
+
attr_accessor :daily_schedule
|
35
|
+
|
36
|
+
# @return weeklySchedule. Schedule for weekly snapshots
|
37
|
+
attr_accessor :weekly_schedule
|
38
|
+
|
39
|
+
# @return monthlySchedule. Schedule for monthly snapshots
|
40
|
+
attr_accessor :monthly_schedule
|
41
|
+
|
42
|
+
# @return [Boolean] The property to decide policy is enabled or not
|
43
|
+
attr_accessor :enabled
|
44
|
+
|
45
|
+
|
46
|
+
#
|
47
|
+
# Mapper for SnapshotPolicy class as Ruby Hash.
|
48
|
+
# This will be used for serialization/deserialization.
|
49
|
+
#
|
50
|
+
def self.mapper()
|
51
|
+
{
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'snapshotPolicy',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'SnapshotPolicy',
|
58
|
+
model_properties: {
|
59
|
+
location: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: true,
|
62
|
+
serialized_name: 'location',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
id: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'id',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
name: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'name',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
type: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'type',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
tags: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'tags',
|
98
|
+
type: {
|
99
|
+
name: 'Dictionary',
|
100
|
+
value: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'StringElementType',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
},
|
110
|
+
hourly_schedule: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'properties.hourlySchedule',
|
114
|
+
type: {
|
115
|
+
name: 'Object'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
daily_schedule: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'properties.dailySchedule',
|
122
|
+
type: {
|
123
|
+
name: 'Object'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
weekly_schedule: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'properties.weeklySchedule',
|
130
|
+
type: {
|
131
|
+
name: 'Object'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
monthly_schedule: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'properties.monthlySchedule',
|
138
|
+
type: {
|
139
|
+
name: 'Object'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
enabled: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.enabled',
|
146
|
+
type: {
|
147
|
+
name: 'Boolean'
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
@@ -0,0 +1,156 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Snapshot policy properties
|
10
|
+
#
|
11
|
+
class SnapshotPolicyDetails
|
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 hourlySchedule. Schedule for hourly snapshots
|
31
|
+
attr_accessor :hourly_schedule
|
32
|
+
|
33
|
+
# @return dailySchedule. Schedule for daily snapshots
|
34
|
+
attr_accessor :daily_schedule
|
35
|
+
|
36
|
+
# @return weeklySchedule. Schedule for weekly snapshots
|
37
|
+
attr_accessor :weekly_schedule
|
38
|
+
|
39
|
+
# @return monthlySchedule. Schedule for monthly snapshots
|
40
|
+
attr_accessor :monthly_schedule
|
41
|
+
|
42
|
+
# @return [Boolean] The property to decide policy is enabled or not
|
43
|
+
attr_accessor :enabled
|
44
|
+
|
45
|
+
|
46
|
+
#
|
47
|
+
# Mapper for SnapshotPolicyDetails class as Ruby Hash.
|
48
|
+
# This will be used for serialization/deserialization.
|
49
|
+
#
|
50
|
+
def self.mapper()
|
51
|
+
{
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'snapshotPolicyDetails',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'SnapshotPolicyDetails',
|
58
|
+
model_properties: {
|
59
|
+
location: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'location',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
id: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'id',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
name: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'name',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
type: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'type',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
tags: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'tags',
|
98
|
+
type: {
|
99
|
+
name: 'Dictionary',
|
100
|
+
value: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'StringElementType',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
},
|
110
|
+
hourly_schedule: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'properties.hourlySchedule',
|
114
|
+
type: {
|
115
|
+
name: 'Object'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
daily_schedule: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'properties.dailySchedule',
|
122
|
+
type: {
|
123
|
+
name: 'Object'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
weekly_schedule: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'properties.weeklySchedule',
|
130
|
+
type: {
|
131
|
+
name: 'Object'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
monthly_schedule: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'properties.monthlySchedule',
|
138
|
+
type: {
|
139
|
+
name: 'Object'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
enabled: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.enabled',
|
146
|
+
type: {
|
147
|
+
name: 'Boolean'
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|