HP CloudSystem Enterprise Betriebsanweisung Seite 16

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 150
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 15
This example shows how to change the finalize flag of a component using the view parameter.
The following URL was sent:
https://<host>:<port>/csa/rest/artifact/90e72e4f3af5c989013afb471ebc0264?userIde
ntifier=&scope=view&view=componentfinalize
The following XML was sent in the request body:
<ServiceComponent>
<id>90e72e4f3af5c989013afb471ebc0264</id>
<toFinalize>false</toFinalize>
</ServiceComponent>
This example shows changing the display name of a resource provider. This example does not use
the view parameters. To use this approach, retrieve the artifact using GET artifact API, modify the
necessary value (in this example - displayName), and use that as the body of the PUT request to
update the artifact.
The following URL was sent:
https://<host>:<port>/csa/rest/artifact/90e72e4f3b00a69e013b0c049ab00033?userIde
ntifier=<user_id>
The following XML was sent in the request body:
<ResourceProvider>
<id>90e72e4f3b00a69e013b0c049ab00033</id>
<objectId>90e72e4f3b00a69e013b0c049ab00033</objectId>
<createdOn>2012-11-16T17:38:46.576-08:00</createdOn>
<updatedOn>2012-11-16T17:38:46.576-08:00</updatedOn>
<createdBy>
<id>90d96588360da0c701360da0f1d5f483</id>
...
</createdBy>
<updatedBy>
<id>90d96588360da0c701360da0f1d5f483</id>
...
</updatedBy>
<isCriticalSystemObject>false</isCriticalSystemObject>
<description>TestProvider</description>
<name>TestProvider_November 17, 2012 1:38:46 AM UTC</name>
<displayName>TestProviderModified</displayName>
<state>
<id>90d96588360da0c701360da0ef470038</id>
...
</state>
<artifactType>
<id>90d96588360da0c701360da0eed8001f</id>
...
</artifactType>
<disabled>false</disabled>
<accessPoint>
<id>90e72e4f3b00a69e013b0c049a740032</id>
APIReference
HP Cloud Service Automation (4.10) Page 16 of 150
Seitenansicht 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 149 150

Kommentare zu diesen Handbüchern

Keine Kommentare