class Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationObject

Replication properties

Attributes

endpoint_type[RW]

@return [EndpointType] Indicates whether the local volume is the source or destination for the Volume Replication. Possible values include: 'src', 'dst'

remote_volume_region[RW]

@return [String] The remote region for the other end of the Volume Replication.

remote_volume_resource_id[RW]

@return [String] The resource ID of the remote volume.

replication_id[RW]

@return [String] Id

replication_schedule[RW]

@return [ReplicationSchedule] Schedule. Possible values include: '_10minutely', 'hourly', 'daily', 'weekly', 'monthly'

Public Class Methods

mapper() click to toggle source

Mapper for ReplicationObject class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-06-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