Among the commands for outputting services, the following subcommand uses XML:
fscsm_service export (Export of service information)
The format of the XML file corresponding to this command is explained below.
The elements of the XML are output using the following hierarchical structure:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <services> <service> <serviceId>Service ID</serviceId> <serviceName>Service Name</serviceName> <bizSystemId>Platform ID</bizSystemId> <serviceType>Service Type</serviceType> <instances> <instance> <instanceManagementId>Managed Object ID</instanceManagementId> <instanceTypeId>Instance Type</instanceTypeId> <status>Status of Virtual Machine</status> <systemdiskImage>System Disk Image</systemdiskImage> <systemdiskSize>System Disk Size</systemdiskSize> <datadiskNum>Number of Additional Data Disk</datadiskNum> <datadiskType>Type of Additional Data Disk</datadiskType> <datadiskSize>Size of Additional Data Disk</datadiskSize> <deployments> <deployment type="ipv4">Information Attached to Deployment</deployment> </deployments> <snapshots> <snapshot> <snapshotManagementId>Snapshot ID on the Cloud Service</snapshotManagementId> <snapshotName>Display Name of Snapshot</snapshotName> <comment>Comment for the Snapshot</comment> <snapshotDate>Creation Date of Snapshot</snapshotDate> </snapshot> </snapshots> </instance> </instances> </service> </services> |
Element (Element Name or Element Name and Attribute) | Required or Displayed | Output details |
---|---|---|
Output | ||
Service ID | Yes | The service ID is output. |
Service Name | Yes | The service name is output. |
Platform ID | Yes | The ID of the platform where the service is added is output. |
Service Type | Yes | One of the following is output:
|
Managed Object ID | Yes | The internal ID for the virtual machine is output. |
Instance Type | Yes | optionId of serviceOption which are optionType="vm" of the menu linked with the platform is output. |
Virtual Machine Status | Yes | One of the following is output:
|
System Disk Image | Yes | optionId of serviceOption which are optionType="image" of the menu linked with the platform is output. |
System Disk Size | Yes | The system disk size defined in the vendor definition file is output. |
Number of Additional Data Disks | Yes | The number of data disks being used is output. |
Type of Additional Data Disks | Yes | optionId of serviceOption which are optionType="disk" of the menu linked with the platform is output. |
Size of Additional Data Disks | Yes | The sizes of the data disks being used are output. |
Information Attached to Deployment | Yes | When type="ipv4", the private IP address allocated to the virtual machine is displayed. |
Snapshot ID on the Cloud Service | Yes | The internal ID for the snapshot is output. |
Display Name of Snapshot | Yes | The snapshot name is output. |
Snapshot Comment | Yes | The comment for the snapshot is output. |
Date Created of Snapshot | Yes | The date when the snapshot was collected is output in the following format: YYYY-MM-DDThh:mm:ss *T is a character used for separating date and time. |
The meanings of the entries listed under "Required or Displayed" are as follows:
Yes: Entry is required, or element is output.