public class UnManagedCGs extends AbstractCoreBulkResources<UnManagedCGRestRep>
Base URL: /vdc/unmanaged/cgs
Constructor and Description |
---|
UnManagedCGs(ViPRCoreClient parent,
RestClient client) |
Modifier and Type | Method and Description |
---|---|
java.util.List<UnManagedCGRestRep> |
getByProtectionSystem(java.net.URI protectionSystemId)
Gets the list of unmanaged CGs for the given protection system by ID.
|
java.util.List<RelatedResourceRep> |
listByProtectionSystem(java.net.URI protectionSystemId)
Gets the list of unmanaged CGs for the given protection system by ID.
|
UnManagedCGs |
withInactive(boolean inactive)
Configures the fetch operations to include inactive resources.
|
UnManagedCGs |
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 UnManagedCGs(ViPRCoreClient parent, RestClient client)
public UnManagedCGs withInactive(boolean inactive)
AbstractResources
withInactive
in class AbstractResources<UnManagedCGRestRep>
inactive
- whether to include inactive resources.public UnManagedCGs withInternal(boolean internal)
AbstractResources
withInternal
in class AbstractResources<UnManagedCGRestRep>
internal
- whether to include internal resources.public java.util.List<RelatedResourceRep> listByProtectionSystem(java.net.URI protectionSystemId)
API Call: GET /vdc/protection-systems/{protectionSystemId}/unmanaged/cgs
protectionSystemId
- the ID of the protection system.public java.util.List<UnManagedCGRestRep> getByProtectionSystem(java.net.URI protectionSystemId)
protectionSystemId
- the ID of the protection system.