public class UnManagedVolumes extends AbstractCoreBulkResources<UnManagedVolumeRestRep>
Base URL: /vdc/unmanaged/volumes
Constructor and Description |
---|
UnManagedVolumes(ViPRCoreClient parent,
RestClient client) |
Modifier and Type | Method and Description |
---|---|
java.util.List<UnManagedVolumeRestRep> |
getByCluster(java.net.URI clusterId)
Gets the list of unmanaged volumes for the given cluster by ID.
|
java.util.List<UnManagedVolumeRestRep> |
getByCluster(java.net.URI clusterId,
ResourceFilter<UnManagedVolumeRestRep> filter)
Gets the list of unmanaged volumes for the given cluster by ID.
|
java.util.List<UnManagedVolumeRestRep> |
getByHost(java.net.URI hostId)
Gets the list of unmanaged volumes for the given host by ID.
|
java.util.List<UnManagedVolumeRestRep> |
getByHost(java.net.URI hostId,
ResourceFilter<UnManagedVolumeRestRep> filter)
Gets the list of unmanaged volumes for the given host by ID.
|
java.util.List<UnManagedVolumeRestRep> |
getByStorageSystem(java.net.URI storageSystemId)
Gets the list of unmanaged volumes for the given storage system by ID.
|
java.util.List<UnManagedVolumeRestRep> |
getByStorageSystem(java.net.URI storageSystemId,
ResourceFilter<UnManagedVolumeRestRep> filter)
Gets the list of unmanaged volumes for the given storage system by ID.
|
java.util.List<UnManagedVolumeRestRep> |
getByStorageSystemVirtualPool(java.net.URI storageSystemId,
java.net.URI virtualPoolId)
Gets the list of unmanaged volumes for the given storage system and virtual pool by ID.
|
java.util.List<UnManagedVolumeRestRep> |
getByStorageSystemVirtualPool(java.net.URI storageSystemId,
java.net.URI virtualPoolId,
ResourceFilter<UnManagedVolumeRestRep> filter)
Gets the list of unmanaged volumes for the given storage system and virtual pool by ID.
|
Tasks<UnManagedVolumeRestRep> |
ingest(VolumeIngest input)
Ingests unmanaged volumes.
|
Tasks<UnManagedVolumeRestRep> |
ingestExported(VolumeExportIngestParam input)
Ingests unmanaged volumes.
|
java.util.List<RelatedResourceRep> |
listByCluster(java.net.URI clusterId)
Gets the list of unmanaged volumes for the given cluster by ID.
|
java.util.List<RelatedResourceRep> |
listByHost(java.net.URI hostId)
Gets the list of unmanaged volumes for the given host by ID.
|
java.util.List<RelatedResourceRep> |
listByStorageSystem(java.net.URI storageSystemId)
Gets the list of unmanaged volumes for the given storage system by ID.
|
java.util.List<NamedRelatedResourceRep> |
listByStorageSystemVirtualPool(java.net.URI storageSystemId,
java.net.URI virtualPoolId)
Gets the list of unmanaged volumes for the given storage system and virtual pool by ID.
|
UnManagedVolumes |
withInactive(boolean inactive)
Configures the fetch operations to include inactive resources.
|
UnManagedVolumes |
withInternal(boolean internal)
Configures the fetch operations to include internal resources.
|
getByIds, getByRefs, listBulkIds
addTags, get, get, getByIds, getByRefs, getTags, performSearch, performSearchBy, removeTags, search, updateTags
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getByIds, getByRefs
addTags, get, get, getTags, removeTags, search, updateTags
public UnManagedVolumes(ViPRCoreClient parent, RestClient client)
public UnManagedVolumes withInactive(boolean inactive)
AbstractResources
withInactive
in class AbstractResources<UnManagedVolumeRestRep>
inactive
- whether to include inactive resources.public UnManagedVolumes withInternal(boolean internal)
AbstractResources
withInternal
in class AbstractResources<UnManagedVolumeRestRep>
internal
- whether to include internal resources.public java.util.List<RelatedResourceRep> listByStorageSystem(java.net.URI storageSystemId)
API Call: GET /vdc/storage-systems/{storageSystemId}/unmanaged/volumes
storageSystemId
- the ID of the storage system.public java.util.List<NamedRelatedResourceRep> listByStorageSystemVirtualPool(java.net.URI storageSystemId, java.net.URI virtualPoolId)
API Call: GET /vdc/storage-systems/{storageSystemId}/unmanaged/{virtualPoolId}/volumes
storageSystemId
- the ID of the storage system.virtualPoolId
- the ID of the virtual pool.public java.util.List<UnManagedVolumeRestRep> getByStorageSystemVirtualPool(java.net.URI storageSystemId, java.net.URI virtualPoolId)
storageSystemId
- the ID of the storage system.virtualPoolId
- the ID of the virtual pool.public java.util.List<UnManagedVolumeRestRep> getByStorageSystem(java.net.URI storageSystemId)
storageSystemId
- the ID of the storage system.public java.util.List<UnManagedVolumeRestRep> getByStorageSystemVirtualPool(java.net.URI storageSystemId, java.net.URI virtualPoolId, ResourceFilter<UnManagedVolumeRestRep> filter)
storageSystemId
- the ID of the storage system.virtualPoolId
- the ID of the virtual pool.filter
- the resource filter to apply to the results as they are returned (optional).public java.util.List<UnManagedVolumeRestRep> getByStorageSystem(java.net.URI storageSystemId, ResourceFilter<UnManagedVolumeRestRep> filter)
storageSystemId
- the ID of the storage system.filter
- the resource filter to apply to the results as they are returned (optional).public java.util.List<RelatedResourceRep> listByHost(java.net.URI hostId)
API Call: GET /compute/hosts/{hostId}/unmanaged-volumes
hostId
- the ID of the host.public java.util.List<UnManagedVolumeRestRep> getByHost(java.net.URI hostId)
hostId
- the ID of the host.public java.util.List<UnManagedVolumeRestRep> getByHost(java.net.URI hostId, ResourceFilter<UnManagedVolumeRestRep> filter)
hostId
- the ID of the host.filter
- the resource filter to apply to the results as they are returned (optional).public java.util.List<RelatedResourceRep> listByCluster(java.net.URI clusterId)
API Call: GET /compute/clusters/{clusterId}/unmanaged-volumes
clusterId
- the ID of the cluster.public java.util.List<UnManagedVolumeRestRep> getByCluster(java.net.URI clusterId)
clusterId
- the ID of the cluster.public java.util.List<UnManagedVolumeRestRep> getByCluster(java.net.URI clusterId, ResourceFilter<UnManagedVolumeRestRep> filter)
clusterId
- the ID of the cluster.filter
- the resource filter to apply to the results as they are returned (optional).public Tasks<UnManagedVolumeRestRep> ingest(VolumeIngest input)
API Call: POST /vdc/unmanaged/volumes/ingest
input
- the ingest configuration.public Tasks<UnManagedVolumeRestRep> ingestExported(VolumeExportIngestParam input)
API Call: POST /vdc/unmanaged/volumes/ingest-exported
input
- the ingest configuration.