public class AutoTieringPolicies extends AbstractCoreBulkResources<AutoTieringPolicyRestRep> implements TopLevelResources<AutoTieringPolicyRestRep>
Base URL: /vdc/auto-tier-policies
AutoTieringPolicyRestRep| Constructor and Description |
|---|
AutoTieringPolicies(ViPRCoreClient parent,
RestClient client) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AutoTieringPolicyRestRep> |
getAll()
Gets all resources for this resource type.
|
java.util.List<AutoTieringPolicyRestRep> |
getAll(ResourceFilter<AutoTieringPolicyRestRep> filter)
Gets all resources for this resource type.
|
java.util.List<AutoTieringPolicyRestRep> |
getByStorageSystem(java.net.URI storageSystemId)
Gets all auto tier policies for a given storage system.
|
java.util.List<AutoTieringPolicyRestRep> |
getByVirtualArray(java.net.URI virtualArrayId)
Gets all auto tier policies for a given virtual array.
|
java.util.List<AutoTieringPolicyRestRep> |
getByVirtualArray(java.net.URI virtualArrayId,
java.lang.String provisioningType,
java.lang.Boolean uniqueNames)
Gets all auto tier policies for a given virtual array.
|
java.util.List<AutoTieringPolicyRestRep> |
getByVirtualArray(java.net.URI virtualArrayId,
java.lang.String provisioningType,
java.lang.Boolean uniqueNames,
ResourceFilter<AutoTieringPolicyRestRep> filter)
Gets all auto tier policies for a given virtual array.
|
java.util.List<AutoTieringPolicyRestRep> |
getByVirtualArrays(java.util.Collection<java.net.URI> virtualArrayIds,
java.lang.String provisioningType,
java.lang.Boolean uniqueNames,
ResourceFilter<AutoTieringPolicyRestRep> filter)
Gets all auto tier policies for all virtual arrays.
|
java.util.List<NamedRelatedResourceRep> |
list()
Lists all auto tier policies.
|
java.util.List<NamedRelatedResourceRep> |
list(java.lang.String provisioningType,
java.lang.Boolean uniqueNames)
Lists the auto tier policies, with the ability to limit by provisioning type or unique policy name.
|
java.util.List<NamedRelatedResourceRep> |
listByStorageSystem(java.net.URI storageSystemId)
Lists all auto tier policies for a given storage system.
|
java.util.List<NamedRelatedResourceRep> |
listByStorageSystem(java.net.URI storageSystemId,
java.lang.Boolean uniqueNames)
Lists all auto tier policies for a given storage system.
|
java.util.List<NamedRelatedResourceRep> |
listByVirtualArray(java.net.URI virtualArrayId)
Lists all auto tier policies for a given virtual array.
|
java.util.List<NamedRelatedResourceRep> |
listByVirtualArray(java.net.URI virtualArrayId,
java.lang.String provisioningType,
java.lang.Boolean uniqueNames)
Lists all auto tier policies for a given virtual array.
|
AutoTieringPolicies |
withInactive(boolean inactive)
Configures the fetch operations to include inactive resources.
|
AutoTieringPolicies |
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 AutoTieringPolicies(ViPRCoreClient parent, RestClient client)
public AutoTieringPolicies withInactive(boolean inactive)
AbstractResourceswithInactive in class AbstractResources<AutoTieringPolicyRestRep>inactive - whether to include inactive resources.public AutoTieringPolicies withInternal(boolean internal)
AbstractResourceswithInternal in class AbstractResources<AutoTieringPolicyRestRep>internal - whether to include internal resources.public java.util.List<NamedRelatedResourceRep> list()
API Call: GET /vdc/auto-tier-policies
list in interface TopLevelResources<AutoTieringPolicyRestRep>public java.util.List<NamedRelatedResourceRep> list(java.lang.String provisioningType, java.lang.Boolean uniqueNames)
API Call: GET /vdc/auto-tier-policies?provisioning_type={provisioningType} unique_auto_tier_policy_names={uniqueNames}
provisioningType - the provisioning type, if null matches any provisioning type.uniqueNames - when true duplicate named policies will be ignored.public java.util.List<AutoTieringPolicyRestRep> getAll()
TopLevelResourcesGets all resources for this resource type. This is combination of the list() call combined with a bulk query to retrieve the resources.
API Call: GET /RESOURCE_PATH
getAll in interface TopLevelResources<AutoTieringPolicyRestRep>TopLevelResources.list(),
Resources.getByRefs(java.util.Collection)public java.util.List<AutoTieringPolicyRestRep> getAll(ResourceFilter<AutoTieringPolicyRestRep> filter)
TopLevelResourcesGets all resources for this resource type. This is combination of the list() call combined with a bulk query to retrieve the resources. This optionally filters the results by the filter specified.
API Call: GET /RESOURCE_PATH
getAll in interface TopLevelResources<AutoTieringPolicyRestRep>filter - the resource filter to apply to the results as they are returned (optional).TopLevelResources.list(),
Resources.getByRefs(java.util.Collection, ResourceFilter)public java.util.List<NamedRelatedResourceRep> listByStorageSystem(java.net.URI storageSystemId)
API Call: GET /vdc/storage-systems/{storageSystemId}/auto-tier-policies
storageSystemId - the ID of the storage system.StorageSystemspublic java.util.List<NamedRelatedResourceRep> listByStorageSystem(java.net.URI storageSystemId, java.lang.Boolean uniqueNames)
API Call: GET /vdc/storage-systems/{storageSystemId}/auto-tier-policies?unique_policy_names={uniqueNames}
storageSystemId - the ID of the storage system.uniqueNames - when true duplicate named policies will be ignored.StorageSystemspublic java.util.List<AutoTieringPolicyRestRep> getByStorageSystem(java.net.URI storageSystemId)
storageSystemId - the ID of the storage system.listByStorageSystem(URI),
AbstractResources.getByRefs(java.util.Collection),
StorageSystemspublic java.util.List<NamedRelatedResourceRep> listByVirtualArray(java.net.URI virtualArrayId)
API Call: GET /vdc/varrays/{virtualArrayId}/auto-tier-policies
virtualArrayId - the ID of the virtual array.VirtualArrayspublic java.util.List<NamedRelatedResourceRep> listByVirtualArray(java.net.URI virtualArrayId, java.lang.String provisioningType, java.lang.Boolean uniqueNames)
API Call: GET /vdc/varrays/{virtualArrayId}/auto-tier-policies?provisioning_type={provisioningType} unique_auto_tier_policy_names={uniqueNames}
virtualArrayId - the ID of the virtual array.provisioningType - the provisioning type, if null matches any provisioning type.uniqueNames - when true duplicate named policies will be ignored.VirtualArrayspublic java.util.List<AutoTieringPolicyRestRep> getByVirtualArray(java.net.URI virtualArrayId, java.lang.String provisioningType, java.lang.Boolean uniqueNames, ResourceFilter<AutoTieringPolicyRestRep> filter)
virtualArrayId - the ID of the virtual array.provisioningType - the provisioning type, if null matches any provisioning type.uniqueNames - when true duplicate named policies will be ignored.filter - filter used to filter resultslistByVirtualArray(URI, String, Boolean),
AbstractResources.getByRefs(java.util.Collection),
VirtualArrayspublic java.util.List<AutoTieringPolicyRestRep> getByVirtualArrays(java.util.Collection<java.net.URI> virtualArrayIds, java.lang.String provisioningType, java.lang.Boolean uniqueNames, ResourceFilter<AutoTieringPolicyRestRep> filter)
virtualArrayIds - the ID of the virtual array.provisioningType - the provisioning type, if null matches any provisioning type.uniqueNames - when true duplicate named policies will be ignored.filter - AbstractResources.getByRefs(java.util.Collection),
VirtualArrayspublic java.util.List<AutoTieringPolicyRestRep> getByVirtualArray(java.net.URI virtualArrayId, java.lang.String provisioningType, java.lang.Boolean uniqueNames)
virtualArrayId - the ID of the virtual array.provisioningType - the provisioning type, if null matches any provisioning type.uniqueNames - when true duplicate named policies will be ignored.getByVirtualArray(URI, String, Boolean, ResourceFilter),
VirtualArrayspublic java.util.List<AutoTieringPolicyRestRep> getByVirtualArray(java.net.URI virtualArrayId)
virtualArrayId - the ID of the virtual array.listByVirtualArray(URI),
AbstractResources.getByRefs(java.util.Collection),
VirtualArrays