Class: Azure::NetApp::Mgmt::V2020_07_01::Models::ReplicationObject

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

Overview

Replication properties

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#endpoint_typeEndpointType

or destination for the Volume Replication. Possible values include: ‘src’, ‘dst’

Returns:

  • (EndpointType)

    Indicates whether the local volume is the source



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_regionString

Replication.

Returns:

  • (String)

    The remote region for the other end of the Volume



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_idString

Returns The resource ID of the remote volume.

Returns:

  • (String)

    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_idString

Returns Id.

Returns:

  • (String)

    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_scheduleReplicationSchedule

‘_10minutely’, ‘hourly’, ‘daily’

Returns:



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

.mapperObject

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