Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- User API
- List service requests for subscription
- List active requests for user
- Get count of requests for user
- Cancel multiple service requests
- Delete multiple service requests
- List approvals for approver
- Get count of approvals for user
- Delete multiple approval requests
- List subscriptions for user
- Get count of subscriptions for user
- Get list of recent or expiring soon subscriptions for user
- Get list of all components of a specific type for a specific user
- Delete multiple subscriptions
- List instances for user
Get all components of a specific type for a specific user
Details
URI | /user/mycomponents?userIdentifier=<userId>&componentType=<comma-separated values of a componentType>&componentTypeWildcard=<comma-separated values of type that are treated with wild card>&creationDateBegin=<creationDateBegin>&creationDateEnd=<creationDateEnd>&updatedDateBegin=< updatedDateBegin>&updatedDateEnd=< updatedDateEnd>&returnActiveOnly=<true|false>&GMT=<true/false>
|
---|---|
Method | GET |
Parameters |
Required; the user ID you want to use as credentials for this API call. This user should be a consumer user with the necessary permissions for the data you want to work with. See Get userIdentifier" for the steps required to retrieve the userIdentifier value.
Optional; Specify the component name to retrieve. This parameter takes comma-separated values such as SERVER,INFRASTRUCTURE.
Optional; use this parameter to specify the component name to retrieve. This parameter takes comma-separated values. The names are appended with wildcard characters and should not be specified. For example, the value Server retrieves all components of type SERVER, SERVER_GROUP, or Server. Using this parameter may affect the performance of the API. You should use the
Optional; subscriptions created on or after the start date and time are included in the return.
Optional; subscriptions created before the end date and time are included in the return. Note that the
Optional; subscriptions updated on or after the specified start date and time are included in the return.
Optional; subscriptions updated before the specified end date and time are included in the return. Note that the
Optional; specifying true for this parameter returns only subscriptions that are not in retired state.
Optional; specifying true for this parameter configures CSA to interpret date-related parameters in GMT. This is important if the application communicating to CSA is not in the same time zone. Note: In all date parameters,
T serves as a separator between date and time and time defaults to 00:00:00:00 if not specified. |
Returns | 200 - Ok 401 - Not authorized 404 - Not found 500 - Server exception |
Example
The following URL was sent:
https://<host>:<port>/csa/rest/user/mycomponents?userIdentifier=90s96588670da0c701360da0f1d540a1&componentType=Server
The following XML was returned:
<UserSubscriptionComponentsList> <ServiceSubscription> <serviceInstanceId>9038afc8476159bc0147626081c01291</serviceInstanceId> <serviceInstanceState>ACTIVE</serviceInstanceState> <serviceOfferingName>TestOffering2</serviceOfferingName>
<subscriberUserOrg>RND</subscriberUserOrg> <subscriptionId>9038afc8476159bc014762606e621232</subscriptionId> <subscriptionState>ACTIVE</subscriptionState> <subscriptionStatus>ACTIVE</subscriptionStatus> <subsriptionDisplayName> Subscription 0 for 9038afc8465b3f9801465b56ad5e001b </subsriptionDisplayName> <ServiceComponent> <componentId>9038afc8476159bc0147626081c51316</componentId> <componentLifecycleState>DEPLOYED</componentLifecycleState> <componentType>SERVER</componentType> <isVisible>true</isVisible> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>memory</propertyName> <valueType>Integer</valueType> <values> <value>1024</value> </values> </Property> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>datacenterName</propertyName> <valueType>String</valueType> <values /> </Property> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>customSpec</propertyName> <valueType>String</valueType> <values /> </Property> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>nCPU</propertyName> <valueType>Integer</valueType> <values> <value>2</value> </values> </Property> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>HostName</propertyName> <valueType>String</valueType> <values> <value>CentOS6.4_x64-Less-3601</value> </values> </Property> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>HostName</propertyName> <valueType>String</valueType> <values> <value>CentOS6.4_x64-Less-3601</value> </values> </Property> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>osType</propertyName> <valueType>String</valueType> <values> <value>Linux</value> </values> </Property> </ServiceComponent> <ServiceComponent> <componentId>9038afc8476159bc0147626081c51317</componentId> <componentLifecycleState>DEPLOYED</componentLifecycleState> <componentType>INFRASTRUCTURE_SERVICE</componentType> <isVisible>true</isVisible> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>templateReference</propertyName> <valueType>String</valueType> </Property> </ServiceComponent> <ServiceComponent> <componentId>9038afc8476159bc0147626081c51318</componentId> <componentLifecycleState>DEPLOYED</componentLifecycleState> <componentType>SERVICE_COMPOSITE</componentType> <isVisible>true</isVisible> </ServiceComponent> <ServiceComponent> <componentId>9038afc8476159bc0147626081c51319</componentId> <componentLifecycleState>DEPLOYED</componentLifecycleState> <componentType>SERVER_GROUP</componentType> <isVisible>true</isVisible> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>serverCount</propertyName> <valueType>Integer</valueType> <values> <value>1</value> </values> </Property> <Property> <confidential>false</confidential>
<consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>VCENTER_PROVIDER</propertyName> <valueType>String</valueType> <values> <value>90cd93d9439a378501439b1d000b1b02</value> </values> </Property> <Property> <confidential>false</confidential> <consumerReadOnly>false</consumerReadOnly> <consumerVisible>false</consumerVisible> <encrypted>false</encrypted> <propertyName>HostName</propertyName> <valueType>String</valueType> <values /> </Property> </ServiceComponent> </ServiceSubscription> <ServiceSubscription> : : </ ServiceSubscription> </UserSubscriptionComponentsList>
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to clouddocs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: