Class: Azure::NetApp::Mgmt::V2019_08_01::Models::ReplicationObject
- Inherits:
-
Object
- Object
- Azure::NetApp::Mgmt::V2019_08_01::Models::ReplicationObject
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb
Overview
Replication properties
Instance Attribute Summary collapse
-
#endpoint_type ⇒ String
the source or destination for the Volume Replication.
-
#remote_volume_resource_id ⇒ String
volume.
-
#replication_id ⇒ String
ReplicationId.
-
#replication_schedule ⇒ String
ReplicationSchedule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReplicationObject class as Ruby Hash.
Instance Attribute Details
#endpoint_type ⇒ String
the source or destination for the Volume Replication
20 21 22 |
# File 'lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 20 def endpoint_type @endpoint_type end |
#remote_volume_resource_id ⇒ String
volume.
27 28 29 |
# File 'lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 27 def remote_volume_resource_id @remote_volume_resource_id end |
#replication_id ⇒ String
Returns replicationId. Id.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 16 def replication_id @replication_id end |
#replication_schedule ⇒ String
Returns replicationSchedule. Schedule.
23 24 25 |
# File 'lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 23 def replication_schedule @replication_schedule end |
Class Method Details
.mapper ⇒ Object
Mapper for ReplicationObject class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'replicationObject', type: { name: 'Composite', class_name: 'ReplicationObject', model_properties: { replication_id: { client_side_validation: true, required: false, serialized_name: 'replicationId', type: { name: 'String' } }, endpoint_type: { client_side_validation: true, required: true, serialized_name: 'endpointType', type: { name: 'String' } }, replication_schedule: { client_side_validation: true, required: true, serialized_name: 'replicationSchedule', type: { name: 'String' } }, remote_volume_resource_id: { client_side_validation: true, required: true, serialized_name: 'remoteVolumeResourceId', type: { name: 'String' } } } } } end |