Class: Azure::NetApp::Mgmt::V2020_07_01::Models::ReplicationObject
- Inherits:
-
Object
- Object
- Azure::NetApp::Mgmt::V2020_07_01::Models::ReplicationObject
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb
Overview
Replication properties
Instance Attribute Summary collapse
-
#endpoint_type ⇒ EndpointType
or destination for the Volume Replication.
-
#remote_volume_region ⇒ String
Replication.
-
#remote_volume_resource_id ⇒ String
The resource ID of the remote volume.
-
#replication_id ⇒ String
Id.
-
#replication_schedule ⇒ ReplicationSchedule
‘_10minutely’, ‘hourly’, ‘daily’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReplicationObject class as Ruby Hash.
Instance Attribute Details
#endpoint_type ⇒ EndpointType
or destination for the Volume Replication. Possible values include: ‘src’, ‘dst’
21 22 23 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 21 def endpoint_type @endpoint_type end |
#remote_volume_region ⇒ String
Replication.
32 33 34 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 32 def remote_volume_region @remote_volume_region end |
#remote_volume_resource_id ⇒ String
Returns The resource ID of the remote volume.
28 29 30 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 28 def remote_volume_resource_id @remote_volume_resource_id end |
#replication_id ⇒ String
Returns Id.
16 17 18 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 16 def replication_id @replication_id end |
#replication_schedule ⇒ ReplicationSchedule
‘_10minutely’, ‘hourly’, ‘daily’
25 26 27 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 25 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.
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 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb', line 39 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: false, 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' } }, remote_volume_region: { client_side_validation: true, required: false, serialized_name: 'remoteVolumeRegion', type: { name: 'String' } } } } } end |