SMB

List smb shares

    List all smb shares or all shares for a given cluster

    :param cluster_id: Dict containing cluster information
    :return: Returns list of shares.
    :rtype: List[Dict]
    
get/api/smb/share

Query parameters

cluster_idstring

Unique identifier for the cluster

Response

OK

browseableboolean required

Indicates if the share is browseable

cluster_idstring required

Unique identifier for the cluster

intentstring required

Desired state of the resource, e.g., 'present' or 'removed'

namestring required

Name of the share

readonlyboolean required

Indicates if the share is read-only

resource_typestring required

ceph.smb.share

share_idstring required

Unique identifier for the share

Changes