add_host_share
Add a network share object to a host.
Arguments
Name
Type
Description
Choices
hostname
str
The hostname or IP Address of the physical host you want to add to the Rubrik cluster.
share_type
str
The share object type to be added to the host. (choices: {NFS, SMB})
export_point
str
The NFS export path of the share.
Keyword Arguments
Name
Type
Description
Choices
Default
username
str
The username for the host.
None
password
str
The password for the host.
None
domain
str
The domain for the host
None
timeout
int
The number of seconds to wait to establish a connection with the Rubrik cluster before returning a timeout error.
60
Returns
Type
Return Value
dict
The full API response for POST /internal/host/share
Example
Last updated