public class StorageSystems extends AbstractCoreBulkResources<StorageSystemRestRep> implements TopLevelResources<StorageSystemRestRep>, TaskResources<StorageSystemRestRep>
Base URL: /vdc/storage-systems
| Constructor and Description | 
|---|
StorageSystems(ViPRCoreClient parent,
              RestClient client)  | 
| Modifier and Type | Method and Description | 
|---|---|
Task<StorageSystemRestRep> | 
add(StorageSystemSMISCreateParam input)
Adds an SMI-S storage system. 
 | 
Task<StorageSystemRestRep> | 
create(StorageSystemRequestParam input)
Begins creating a storage system. 
 | 
Task<StorageSystemRestRep> | 
deactivate(java.net.URI id)
Begins deactivating the given storage system by ID. 
 | 
StorageSystemRestRep | 
deregister(java.net.URI id)
De-registers the given storage system by ID. 
 | 
Task<StorageSystemRestRep> | 
discover(java.net.URI id)
Begins discovery on the given storage system. 
 | 
Task<StorageSystemRestRep> | 
discover(java.net.URI id,
        java.lang.String type)
Begins discovery on the given storage system. 
 | 
Tasks<StorageSystemRestRep> | 
discoverAll()
Begins discovery on all storage systems. 
 | 
java.util.List<StorageSystemRestRep> | 
getAll()
Gets the list of all storage systems. 
 | 
java.util.List<StorageSystemRestRep> | 
getAll(ResourceFilter<StorageSystemRestRep> filter)
Gets the list of all storage systems, optionally filering the results. 
 | 
java.util.List<StorageSystemRestRep> | 
getBySmisProvider(java.net.URI smisProviderId)
Gets the list of storage systems for the given SMI-S provider by ID. 
 | 
java.util.List<StorageSystemConnectivityRestRep> | 
getConnectivity(java.net.URI id)
Gets the connectivity information for the given storage system by ID. 
 | 
Task<StorageSystemRestRep> | 
getTask(java.net.URI id,
       java.net.URI taskId)
Gets a single task associated with a given resource by ID. 
 | 
Tasks<StorageSystemRestRep> | 
getTasks(java.net.URI id)
Gets the tasks associated with a given resource by ID. 
 | 
java.util.List<NamedRelatedResourceRep> | 
list()
Lists all storage systems. 
 | 
java.util.List<NamedRelatedResourceRep> | 
listBySmisProvider(java.net.URI smisProviderId)
Lists the storage systems for the given SMI-S provider by ID. 
 | 
StorageSystemRestRep | 
register(java.net.URI id)
Registers the given storage system by ID. 
 | 
Task<StorageSystemRestRep> | 
update(java.net.URI id,
      StorageSystemUpdateRequestParam input)
Begins updating the given storage system by ID. 
 | 
StorageSystems | 
withInactive(boolean inactive)
Configures the fetch operations to include inactive resources. 
 | 
StorageSystems | 
withInternal(boolean internal)
Configures the fetch operations to include internal resources. 
 | 
getByIds, getByRefs, listBulkIdsaddTags, get, get, getByIds, getByRefs, getTags, performSearch, performSearchBy, removeTags, search, updateTagsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByIds, getByRefsaddTags, get, get, getTags, removeTags, search, updateTagspublic StorageSystems(ViPRCoreClient parent, RestClient client)
public StorageSystems withInactive(boolean inactive)
AbstractResourceswithInactive in class AbstractResources<StorageSystemRestRep>inactive - whether to include inactive resources.public StorageSystems withInternal(boolean internal)
AbstractResourceswithInternal in class AbstractResources<StorageSystemRestRep>internal - whether to include internal resources.public Tasks<StorageSystemRestRep> getTasks(java.net.URI id)
TaskResourcesAPI Call: GET baseUrl/{id}/tasks
getTasks in interface TaskResources<StorageSystemRestRep>id - the resource ID.public Task<StorageSystemRestRep> getTask(java.net.URI id, java.net.URI taskId)
TaskResourcesAPI Call: GET baseUrl/{id}/tasks/{taskId}
getTask in interface TaskResources<StorageSystemRestRep>id - the resource ID.taskId - the task ID.public java.util.List<NamedRelatedResourceRep> list()
API Call: GET /vdc/storage-systems
list in interface TopLevelResources<StorageSystemRestRep>public java.util.List<StorageSystemRestRep> getAll()
getAll in interface TopLevelResources<StorageSystemRestRep>TopLevelResources.list(), 
Resources.getByRefs(java.util.Collection)public java.util.List<StorageSystemRestRep> getAll(ResourceFilter<StorageSystemRestRep> filter)
getAll in interface TopLevelResources<StorageSystemRestRep>filter - the resource filter to apply to the results as they are returned (optional).TopLevelResources.list(), 
Resources.getByRefs(java.util.Collection, ResourceFilter)public Task<StorageSystemRestRep> create(StorageSystemRequestParam input)
API Call: POST /vdc/storage-systems
input - the create configuration.public Task<StorageSystemRestRep> update(java.net.URI id, StorageSystemUpdateRequestParam input)
API Call: PUT /vdc/storage-systems/{id}
id - the ID of the storage system.input - the update configuration.public Task<StorageSystemRestRep> deactivate(java.net.URI id)
API Call: POST /vdc/storage-systems/{id}/deactivate
id - the ID of the storage system.public Task<StorageSystemRestRep> add(StorageSystemSMISCreateParam input)
API Call: POST /vdc/storage-providers/storage-systems
input - the SMI-S storage system configuration.public Tasks<StorageSystemRestRep> discoverAll()
API Call: POST /vdc/storage-systems/discover
public Task<StorageSystemRestRep> discover(java.net.URI id)
API Call: POST /vdc/storage-systems/{id}/discover
id - the ID of the storage system.public Task<StorageSystemRestRep> discover(java.net.URI id, java.lang.String type)
API Call: POST /vdc/storage-systems/{id}/discover
id - the ID of the storage system.type - the type of discovery to perform.public StorageSystemRestRep register(java.net.URI id)
API Call: POST /vdc/storage-systems/{id}/register
id - the ID of the storage system.public StorageSystemRestRep deregister(java.net.URI id)
API Call: POST /vdc/storage-systems/{id}/deregister
id - the ID of the storage system.public java.util.List<StorageSystemConnectivityRestRep> getConnectivity(java.net.URI id)
API Call: GET /vdc/storage-systems/{id}/connectivity
id - the ID of the storage system.public java.util.List<NamedRelatedResourceRep> listBySmisProvider(java.net.URI smisProviderId)
API Call: GET /vdc/storage-providers/{smisProviderId}/storage-systems
smisProviderId - the ID of the SMI-S provider.public java.util.List<StorageSystemRestRep> getBySmisProvider(java.net.URI smisProviderId)
smisProviderId - the ID of the SMI-S provider.AbstractResources.getByRefs(java.util.Collection), 
listBySmisProvider(URI)