configure_replication_private

Configure replication partner as specified by user using PRIVATE NETWORK (direct connection).

def configure_replication_private(username, password, target_ip, ca_certificate=None, timeout)

Arguments

Name

Type

Description

Choices

target_ip

str

The IP address or FQDN of the target Rubrik Cluster to add.

username

str

The target Rubrik Cluster username used for authentication.

password

str

The target Rubrik Cluster password used for authentication.

Keyword Arguments

Name

Type

Description

Choices

Default

ca_certificate

str

CA certificiate used to perform TLS certificate validation

None

timeout

int

The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error.

30

Returns

Type

Return Value

tuple

The full API response for POST /internal/replication/target"

Example

import rubrik_cdm

rubrik = rubrik_cdm.Connect()

remote_cluster_user = "testuser"
remote_cluster_password = "testpassword"
remote_cluster_ip = "1.2.3.4"

new_replication = rubrik.configure_replication_private(remote_cluster_user, remote_cluster_password, remote_cluster_ip)

Last updated