# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10 module Models # # A2A protected managed disk details. # class A2AProtectedManagedDiskDetails include MsRestAzure # @return [String] The managed disk Arm id. attr_accessor :disk_id # @return [String] The recovery disk resource group Arm Id. attr_accessor :recovery_azure_resource_group_id # @return [String] Recovery disk Arm Id. attr_accessor :recovery_disk_id # @return [String] The disk name. attr_accessor :disk_name # @return [Integer] The disk capacity in bytes. attr_accessor :disk_capacity_in_bytes # @return [String] The primary staging storage account. attr_accessor :primary_staging_azure_storage_account_id # @return [String] The type of disk. attr_accessor :disk_type # @return [Boolean] A value indicating whether resync is required for # this disk. attr_accessor :resync_required # @return [Integer] The percentage of the monitoring job. The type of the # monitoring job is defined by MonitoringJobType property. attr_accessor :monitoring_percentage_completion # @return [String] The type of the monitoring job. The progress is # contained in MonitoringPercentageCompletion property. attr_accessor :monitoring_job_type # @return [Float] The data pending for replication in MB at staging # account. attr_accessor :data_pending_in_staging_storage_account_in_mb # @return [Float] The data pending at source virtual machine in MB. attr_accessor :data_pending_at_source_agent_in_mb # # Mapper for A2AProtectedManagedDiskDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'A2AProtectedManagedDiskDetails', type: { name: 'Composite', class_name: 'A2AProtectedManagedDiskDetails', model_properties: { disk_id: { required: false, serialized_name: 'diskId', type: { name: 'String' } }, recovery_azure_resource_group_id: { required: false, serialized_name: 'recoveryAzureResourceGroupId', type: { name: 'String' } }, recovery_disk_id: { required: false, serialized_name: 'recoveryDiskId', type: { name: 'String' } }, disk_name: { required: false, serialized_name: 'diskName', type: { name: 'String' } }, disk_capacity_in_bytes: { required: false, serialized_name: 'diskCapacityInBytes', type: { name: 'Number' } }, primary_staging_azure_storage_account_id: { required: false, serialized_name: 'primaryStagingAzureStorageAccountId', type: { name: 'String' } }, disk_type: { required: false, serialized_name: 'diskType', type: { name: 'String' } }, resync_required: { required: false, serialized_name: 'resyncRequired', type: { name: 'Boolean' } }, monitoring_percentage_completion: { required: false, serialized_name: 'monitoringPercentageCompletion', type: { name: 'Number' } }, monitoring_job_type: { required: false, serialized_name: 'monitoringJobType', type: { name: 'String' } }, data_pending_in_staging_storage_account_in_mb: { required: false, serialized_name: 'dataPendingInStagingStorageAccountInMB', type: { name: 'Double' } }, data_pending_at_source_agent_in_mb: { required: false, serialized_name: 'dataPendingAtSourceAgentInMB', type: { name: 'Double' } } } } } end end end end