Class: Azure::NetApp::Mgmt::V2019_08_01::Models::ReplicationObject

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb

Overview

Replication properties

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#endpoint_typeString

the source or destination for the Volume Replication

Returns:

  • (String)

    endpointType. Indicates whether the local volume is



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_idString

volume.

Returns:

  • (String)

    remoteVolumeResourceId. The resource ID of the remote



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_idString

Returns replicationId. Id.

Returns:

  • (String)

    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_scheduleString

Returns replicationSchedule. Schedule.

Returns:

  • (String)

    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

.mapperObject

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