HP CloudSystem Matrix Betriebsanweisung

Stöbern Sie online oder laden Sie Betriebsanweisung nach Software HP CloudSystem Matrix herunter. HP CloudSystem Matrix CLI Reference Guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 141
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
HP Cloud Service Automation
For the Windows ® and Linux operating systems
Software Version: 4.00
APIReference
Document Release Date: January 2014
Software Release Date: January 2014
Seitenansicht 0
1 2 3 4 5 6 ... 140 141

Inhaltsverzeichnis

Seite 1 - HP Cloud Service Automation

HP Cloud Service AutomationFor the Windows ® and Linux operating systemsSoftware Version: 4.00APIReferenceDocument Release Date: January 2014Software

Seite 2 - Legal Notices

ArtifactURI Method Parameters Description/artifact POST userIdentifier "Create an artifact" on page 12/artifact/<artifact_id> GET user

Seite 3 - Documentation Updates

<name>BUSINESS_ROLE</name><displayName>Business Role</displayName><extensible>false</extensible></categoryType&

Seite 4

<automaticPeriodDuration>0</automaticPeriodDuration><minApprovalRequired>0</minApprovalRequired><approvalType><id>

Seite 5 - Contents

The types of approval policies supported are: NamedApproverApprovalTemplate,NamedGroupApprovalTemplate, UserContextApprovalTemplate, andDelegatedAppro

Seite 6

<automaticApprovalDecision><automaticApprovalDecision><name>REJECTED</name></automaticApprovalDecision></NamedGroupAp

Seite 7

https://<host>:<port>/csa/rest/organization/8a81818f3d1421e7013d1423635a0003/approvalPolicy?userIdentifier=90d96588360da0c701360da0f1d5f48

Seite 8

<description>Named Approver Template</description>...</approvalType><automaticApprovalDecision> ... </automaticApprovalDeci

Seite 9 - Artifact API

<approver><userName>ProjectManager</userName></approver><minApprovalRequired>0</minApprovalRequired><automaticA

Seite 10 - ResourceProvider

<disabled>false</disabled></organization></approver></NamedApproverApprovalTemplate>Delete approval policyDetailsURI/org

Seite 11 - Artifact types

<iconUrl>/csa/images/categories/artifact_state/retired.png</iconUrl><name>RETIRED</name><displayName>Retired</display

Seite 12 - View an artifact

List most requested, recently requested, or newofferingsDetailsURI/organization/offeringOrganization is determiend by userIdentifier.MethodGETParamete

Seite 13

Service OfferingURI Method Parameters Description/artifact/<service_offering_id>/documentPOST userIdentifier "Add document to serviceofferi

Seite 14

<name>Enterprise Red Hat Linux Server</name><displayName>Enterprise Red Hat Linux Server</displayName><catalogItem><i

Seite 15 - Update an artifact

DetailsURI/orgInformation/<organization name>MethodGETReturns200 - Ok404 - Not found500 - Server exceptionExampleThe following URL was sent:http

Seite 16

URI Method Parameters Description/processinstances/<process_instance_id>GET None "Retrieve a processinstance" on the next page/process

Seite 17 - Delete an artifact

<id></id><name></name></processDefinition><processInstanceState><isCriticalSystemObject></isCriticalSyste

Seite 18

<value>Unit Test Process Instance Property Value</value></values><maxOccurs>0</maxOccurs><minOccurs>0</minOccur

Seite 19 - Filtering

l Process definition ID.l Context string. Includes contextual information that is relevant for the caller after the processinstance has been created.l

Seite 20

<context>Context for Unit Test Process Instance</context><artifactId>ID of the artifact executing the action</artifactId><t

Seite 21

l INITIALIZEDl PENDINGl READYl ACTIVEl COMPLETEDl ERRORl CANCELEDProcess instance return code (processReturnCode) values:l SUCCESSl FAILUREl RUNNINGl

Seite 22

https://<host>:<port>/csa/rest/processinstances/90d9652b3752ad4f013752ae38cb0065?userIdentifier=90d96588360da0c701360da0f1d5f483&scope

Seite 23 - Add groups to an organization

https://<host>:<port>/csa/rest/processinstances/90d9652b362d4ecd01362d4fb7be0f71/execute/?userIdentifer=90d9652b35f35a930135f35b327e00a0Se

Seite 24

Artifact type GET POST PUT DELETEResource environment XResource offering X X XResource pool X X X XResource provider X X X XResource subscription X XS

Seite 25

URI Method Parameters Description/user/instance/<instance_id>/requestGET userIdentifier "List servicerequests forsubscription" onpage

Seite 26

URI Method Parameters Description/user/mysubscription GET userIdentifier, scope, detail,requestor, returnRetired,creationStartDate,creationEndDate,mod

Seite 27 - List resource providers

List service requests for subscriptionDetailsURI/user/instance/<instance_id>/requestRetuns the list of service requests for the specified subscr

Seite 28

<updatedOn>2012-10-11T22:04:15.152-07:00</createdOn><action> ... </action><processInstance> ... </processInstance>

Seite 29

URI/user/myrequestParametersuserIdentifier=<user_id>Required; this user must be in the same organization as submitter, and musthave the necessar

Seite 30

<objectId>8a8181853810699a01381079190800a7</objectId><createdOn>2012-06-21T12:16:08.073-07:00</createdOn><updatedOn>2012

Seite 31

URI/user/request/countGets the number of requests for the user associated with userIdentifier. Theresults are grouped by request state.Returns200 - Ok

Seite 32

</catalog></catalogItem></ServiceRequest><ServiceRequest><id>90e72e283b05aff1013b0b2b43fc0356</id><catalogItem&

Seite 33

ExampleUse the following URL:https://<host>:<port>/csa/rest/user/multipleRequest/delete?userIdentifier=90d965c0379fd06601379fd192b30ee6The

Seite 34

List approvals for approverDetailsURI/user/myapprovalMethodGETParametersuserIdentifier=<user_id>Required; the user ID you want to use as credent

Seite 35

URI/artifact/<artifact_id>ParametersuserIdentifier=<user_id>Required; the user ID you want to use as credentials for this API call. See &q

Seite 36 - Artifact views

Get count of approvals for userDetailsURI/user/approval/countGets the number of approvals for the user associated with userIdentifier. Theresults are

Seite 37 - Descriptio

<ApprovalProcessList><approvalProcess><id>90e72e713a94e0ab013aae76618e0e39</id><catalogItem><catalog><id>90d

Seite 38

URI/user/mysubscriptionParametersuserIdentifier=<user_id>Required; this user must be in the same organization as requestor, and musthave the nec

Seite 39

https://<host>:<port>/csa/rest/mysubscription?userIdentifier=90d9652b67ss6a930135f35b327e00a0 &requestor=RnDUserThe following XML was

Seite 40

Get list of recent or expiring soon subscriptions foruserDetailsURI/user/subscriptionReturns a list of subscriptions for the user associated with user

Seite 41 - Availablevalues API

https://<host>:<port>/csa/rest/user/multipleSubscription/delete?userIdentifier=90d965c0379fd06601379fd192b30ee6 ÂThe following XML was se

Seite 42 - Catalog API

List instances for userDetailsURI/user/myinstanceMethodGETParametersuserIdentifier=<user_id>Required; this user must be in the same organization

Seite 43

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ServiceInstanceList><count>6</count><

Seite 44

ExampleThe following URL was sent:https://<host>:<port>/csa/rest/utilization/90cec3a03a667c69013a6d7f0eea2cb3The following XML was returne

Seite 45 - Resource Subscription

<utilization> … </utilization><utilization> … </utilization>…</UtilizationList>Values for the detail parameterThe detail

Seite 46 - List catalogs

</createdBy><updatedBy><id>90d96588360da0c701360da0f1d5f483</id><objectId>90d96588360da0c701360da0f1d5f483</objectId&

Seite 47

We appreciate your feedback!If you have comments about this document, you can contact the documentation team by email. Ifan email client is configured

Seite 49 - Create catalog categories

<displayName>Artifact Type</displayName><extensible>false</extensible></categoryType></artifactType><disabled&g

Seite 50

l Use the merge option as described under Parameters.Note: You can use the merge option with the view parameter to update only the viewproperties for

Seite 51 - Update catalog categories

<updatedBy><id>90d96588360da0c701360da0f1d5f483</id>...</updatedBy><isCriticalSystemObject>false</isCriticalSystemObj

Seite 52 - Delete catalog category

Deletion is subject to a set of business rules which depend on the type of artifact. The businessrules for artifacts are explained in the table below.

Seite 53 - List offerings in the catalog

<key>accessPoint.uri</key><value xsi:type="xs:string">http://amz:443</value></entry><entry><key>ac

Seite 54 - Get offering details

Legal NoticesWarrantyThe only warranties for HP products and services are set forth in the express warranty statementsaccompanying such products and s

Seite 55 - List requests in the catalog

<entry><key>property.valueType.name</key><value xsi:type="xs:string">BOOLEAN</value></entry><entry>

Seite 56

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties><property> ... </property><

Seite 57 - Submit a request

</Properties>The following URL was used to retrieve a single property:https://<host>:<port>/csa/rest/artifact/<id>/resolveProp

Seite 58

<isCriticalSystemObject>false</isCriticalSystemObject><name>sc_February 22, 2013 5:54:43 PM UTC</name><displayName>Servi

Seite 59 - Get request details

https://<host>:<port>/csa/rest/artifact/8a81818f3d1421e7013d1423635a0003/group?userIdentifier=90d96588360da0c701360da0f1d5f483The followin

Seite 60

<distinguishedName>cn=TestConsumer2,ou=ConsumerGroup,ou=CSAGroups</distinguishedName><role><isCriticalSystemObject>false</i

Seite 61

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Group><id>8a81818f3d1437e2013d1795d41107ea<

Seite 62 - Retire a request

https://<host>:<port>/csa/rest/artifact/8a81818f3d1421e7013d1423635a0003/group/8a81818f3d1437e2013d1795d41107ea?userIdentifier=90d96588360

Seite 63 - List approvals in the catalog

...</ResourceProviderList>Add document to service offeringDetailsURI/artifact/<service_offering_id>/documentMethodPOSTParametersuserIdenti

Seite 64 - Get approval details

from base64 import b64encodeimport mimetypesimport sysdef get_content_type(filename):return mimetypes.guess_type(filename)[0] or 'application/oct

Seite 65

Documentation UpdatesThe title page of this document contains the following identifying information:l Software Version number, which indicates the sof

Seite 66

Delete document from service offeringDetailsURI/artifact/<service_offering_id>/document/<document_id>MethodDELETEParametersuserIdentifier=

Seite 67

Update document in service offeringDetailsURI/artifact/<service_offering_id>/document/<document_id>MethodPOSTParametersuserIdentifier=<

Seite 68

ExampleThe following URL was sent:https://<host>:<port>/csa/rest/artifact/90e72e323b5330cc013b5358c0940021/publish?userIdentifier=90d96588

Seite 69

<artifactContextType><name>SERVICE_OFFERING</name><categoryType><name>ARTIFACT_TYPE</name></categoryType><

Seite 70 - Deprecation Notice

https://<host>:<port>/csa/rest/artifact/90e72e323b5330cc013b5358c0940021/unpublish?userIdentifier=90d96588360da0c701360da0f1d5f483The foll

Seite 71 - Get subscription details

Retrieve artifact state and statusDetailsURI/artifact/state/<artifact_id>MethodGETParametersuserIdentifier=<user_id>Required; the user ID

Seite 72

l State will be returned and will contain one of the following values:n APPROVEDn CANCELLEDn COMPLETEDn IN_PROGRESSn PENDING_APPROVALn REJECTEDn SUBMI

Seite 73 - List instances in the catalog

l With GET requests, views retrieve only the relevant data for the artifact and avoid loading all thedata for the artifact. This leads to better perfo

Seite 74 - Retire an approval

View name PropertiesDescriptionartifactinfo state.nameartifactType.namedisabledownedBy.nameRetrieves therequiredpropertiesfrom anartifact objectin add

Seite 75

View name PropertiesDescriptioncomponentchildcomponentChild.namecomponentChild.displayNamecomponentChild.descriptioncomponentChild.iconUrlcomponentChi

Seite 76 - Export API

SupportVisit the HP Software Support Online web site at:http://www.hp.com/go/hpsoftwaresupportThis web site provides contact information and details a

Seite 77

View name PropertiesDescriptiondisabledesign ServiceBlueprint.disabled Use this viewto enable ordisable aServiceBlueprint.propertyinfo property.namepr

Seite 78 - Import API

View name PropertiesDescriptionvalidproviderspoolsresourceBinding.idresourceBinding.validProvider.resourceBinding.idresourceBinding.validProvider.reso

Seite 79

URI/availablevalues/<property_id>property_id is an option model property, and is part of service design, offeringand subscription artifacts.Retu

Seite 80 - Importzip API

Base URLhttps://<host>:<port>/csa/restURIsThe following URIs are appended to the base URL:CatalogA catalog is the collection of services a

Seite 81

RequestA request is created whenever a user initiates, changes, or deletes a subscription.URI Method Parameters Description/catalog/<catalog_id>

Seite 82 - Import_result API

Approval policyURI Method Parameters Description/catalog/<catalog_id>/policy/<policy_id>/setCatalogApprovalPolicyPOST userIdentifier "

Seite 83

List catalogsDetailsURI/catalogMethodGETParametersuserIdentifier=<user_id>Required; the user ID you want to use as credentials for this API call

Seite 84 - Lifecycle engine API

<state><id>90d96588364da0c701370da0ss320037</id><objectId>90d96588364da0c701370da0ss320037</objectId><createdOn>20

Seite 85

Get catalog detailsDetailsURI/catalog/<catalog_id>Use "List catalogs" on page 46 to get the catalog ID.MethodGETParametersuserIdentifi

Seite 86

<name>ACTIVE</name><displayName>Active</displayName><disabled>false</disabled><categoryType><id>90d675

Seite 87 - Login API

ContentsContents 5HP CSA 4.x API Reference Introduction 9Artifact API 9URIs 9Artifact 10Group 10ResourceProvider 10Service Offering 11Artifact types

Seite 88 - Get userIdentifier

l Any category specified in the request body that already exists will be left unchanged.l displayName is required.l iconUrl and descriptionare option

Seite 89 - Notification API

<isCriticalSystemObject>false</isCriticalSystemObject><description>description for catalog category</description><iconUrl&g

Seite 90

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Catalog><id>8a81818f3d02fb7e013d0308894a0004&l

Seite 91 - Send notification

https://<host>:<port>/csa/rest/catalog/8a81818f3d02fb7e013d0308894a0004/category/8a81818f3d128500013d1341a5c6000d?userIdentifier=90d965883

Seite 92

<id>90e763db3dd1a9a4013dd1e16aa16c95</id><objectId>90e763db3dd1a9a4013dd1e16aa16c95</objectId><createdOn>2013-04-03T14:5

Seite 93 - Organization API

URI/catalog/<catalog_id>/offering/<offering_id>Use /catalog to get the catalog ID and /catalog/<catalog_id>/offering to get theoffer

Seite 94 - View a list of organizations

URI/catalog/<catalog_id>/requestUse "List catalogs" on page 46 to get the catalog ID.ParametersuserIdentifier=<user_id>Required;

Seite 95

<isCriticalSystemObject>true</isCriticalSystemObject><description>Active</description><iconUrl>/csa/images/categories/ar

Seite 96

<ServiceRequest><description>description - request BE </description><name>Request BE - Order server</name><displayNam

Seite 97 - View an organization

<name>BOOLEAN</name><values><value>true</value></values></property><property><name>STR</name&

Seite 98

URIs 43Catalog 43Category 43Offering 43Request 44Approval 44Approval policy 45Subscription 45Resource Subscription 45Instance 45List catalogs 46Get ca

Seite 99

URI/catalog/<catalog_id>/request/<request_id>Use /catalog to get the catalog ID and /catalog/<catalog_id>/request to get therequest

Seite 100 - Parameters

<displayName>admin</displayName><disabled>false</disabled></updatedBy><isCriticalSystemObject>false</isCritical

Seite 101 - Create approval policy

Cancel a requestDetailsURI/catalog/<catalog_id>/request/<request_id>/cancelUse /catalog to get the catalog ID and /catalog/<catalog_id&

Seite 102

List approvals in the catalogDeprecation NoticeThe GET/catalog/<catalog_id>/approval URI has been deprecated. Use URI /user/myapprovalinstead

Seite 103

Get approval detailsDetailsURI/catalog/<calalog_id>/approval/<approval_id>Use /catalog to get the catalog ID and /catalog/<catalog_id&g

Seite 104

URI/catalog/<calalog_id>/approval/<approval_id>Use /catalog to get the catalog ID and /catalog/<catalog_id>/approval to get theappro

Seite 105 - Update approval policy

URI/catalog/<calalog_id>/approval/<approval_id>/approverUse /catalog to get the catalog ID and /catalog/<id>/approval to get the app

Seite 106

<organization><name>CSA_CONSUMER</name></organization></person><approverResult><name>REJECTED</name>&l

Seite 107 - Delete approval policy

<id>8a81818f3d4251ed013d46cc859002c1</id>...<approvalTemplate xsi:type="namedApproverApprovalTemplateVO"><id>8a81818

Seite 108

DetailsURI/catalog/<calalog_id>/policy/<policy_id>/setSOApprovalPolicyUse /catalog to get the catalog ID. Use /catalog/<catalog_id>/

Seite 109

Deprecation Notice 70Get subscription details 71List instances in the catalog 73Deprecation Notice 73Get instance details 74Retire an approval 74Get r

Seite 110 - Description

<messageList><messages>Updated approval policy of action of ORDER for service offering withid 8a81818f3d4251ed013d427c75e5005d </messag

Seite 111 - Processinstances API

The following XML was returned:<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ServiceSubscriptionList&

Seite 112 - Process Instance structure

URI/catalog/<catalog_id>/subscription/<subscription_id>Use /catalog to get the catalog ID and /catalog/<id>/subscription to get thes

Seite 113 - Retrieve a process instance

List instances in the catalogDeprecation NoticeThe GET/catalog/<catalog_id>/instance URI has been deprecated. Use URI /user/myinstanceinstead

Seite 114 - Create a process instance

<displayName>MYSD</displayName><state></state><serviceInstanceState>...</serviceInstanceState>...</ServiceInsta

Seite 115

URI/catalog/<catalog_idid>/approval/<approval_id>ParametersuserIdentifier=<user_id>Required; the user ID you want to use as credenti

Seite 116 - Update a process instance

Export APIDescriptionUse this API to export a supported artifact as a content archive.Supported artifacts includeresource environments, resource offe

Seite 117 - Examples

l Service offing archive contains:n Service offering XMLn Service design XMLn Resource offering XMLsn Icons used for customizing service offering, ser

Seite 118 - Execute a process instance

Import APIDescriptionUse this API to import artifacts from a CSAcontent archive.CSA archives are created via theexport REST API, the content archive

Seite 119 - User API

URI/importParametersuserIdentifier=<user_id>Required; the user ID you want to use as credentials for this API call. This usershould be a consume

Seite 120 - Subscription

Delete approval policy 107Retrieve organization LDAP access point information 108List most requested, recently requested, or new offerings 109orgInfor

Seite 121 - Instance

l Content-type: multipart/form-datal Content-Disposition: form-data; name="file"l Content-Type: application/octet-streamExampleThe following

Seite 122

DetailsURI/importzipMethodPOSTParametersuserIdentifier=<user_id>Required; the user ID you want to use as credentials for this API call. See &quo

Seite 123 - List active requests for user

Returns200 -Updated400 - Bad request404 - Not found500 - Server exceptionCaution: Component palette import isan update operation, and so associatePr

Seite 124

Base URLhttps://<host>:<port>/csa/restDetailsURI/import_result/<importResultRecord_id>importResultRecord IDs are returned by the &qu

Seite 125

<importOperation>Error</importOperation></importResultLogEntry><importSummary>Import of Service offering archive successful.&l

Seite 126

URI/lifecycleengine/<lifecycle_action_id>ParametersuserIdentifier=<user_id>Required; the user ID you want to use as credentials for this A

Seite 127

<categoryType><id>90d96588360da0c701360da0f21300ae</id><objectId>90d96588360da0c701360da0f21300ae</objectId><isCritic

Seite 128

ExamplesUse the following URL:https://<host>:<port>/csa/rest/lifecycleengine/execute?userIdentifier=90s96588670da0c701360da0f1d540a1The fo

Seite 129 - List approvals for approver

Get userIdentifierDetailsURI/login/<organization_name>/<user_name>Where <organization_name> and <user_name> are your credentia

Seite 130

URI/login/<organization_name>/userLookupReturns200 - Ok401 - Not authorized404 - Not found500 - Server exceptionExamplesTo get the userIdentifie

Seite 131 - List subscriptions for user

Utilization API 137Values for the detail parameter 139Values for the scope parameter 139We appreciate your feedback! 140HP CSA 4.x API Reference Intro

Seite 132

View list of notification objectsDetailsURI/notification/party/<party_id>Where the party ID is the UUID of a person, organization, or group. See

Seite 133

<tokens><tokenSequence>1</tokenSequence><value>CSA Consumer</value></tokens>...</notification>...</Notifi

Seite 134 - Delete multiple subscriptions

<tokenSequence>0</tokenSequence><value>Token 0 content</value></tokens><tokens><tokenSequence>1</tokenSeq

Seite 135

</notifContentBody><notifCreatedOn>2012-11-14T10:25:06.021-07:00</notifCreatedOn><notifSubject>Test Subject</notifSubject&g

Seite 136 - List instances for user

URI Method Parameters Description/organization GET userIdentifier,scope, detail"View a list of organizations"belowNote: The user identified

Seite 137 - Utilization API

URI/organization/ParametersuserIdentifier=<user_id>Required; the user ID you want to use as credentials for this API call. See "GetuserIden

Seite 138

<categoryType><id>90d96588360da0c701360da0ef420037</id><objectId>90d96588360da0c701360da0ef420037</objectId><isCritic

Seite 139

<businessRole><id>90d96588360da0c701360da0f0020061</id><objectId>90d96588360da0c701360da0f0020061</objectId><createdO

Seite 140 - We appreciate your feedback!

URI/organization/<organization_id>"View a list of organizations" on page 94 to get the organization ID.Returns200 - Ok401 - Not author

Seite 141

<isCriticalSystemObject>true</isCriticalSystemObject><description>Organization</description><iconUrl>/csa/images/categor

Kommentare zu diesen Handbüchern

Keine Kommentare