code: func (as AgentSettings) DetachPersistentDisk(diskID string) AgentSettings {
  	persistenDiskSettings := as.Disks.Persistent
  	delete(persistenDiskSettings, diskID)
  	as.Disks.Persistent = persistenDiskSettings
  
  	return as
  }
docs: // DetachPersistentDisk updates the agent settings in order to delete an attached persistent disk.