Oracle® Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide 12c Release 1 (12.1.1.0.0) Part Number E25150-03 |
|
|
PDF · Mobi · ePub |
This chapter describes some characteristics of the Cloud Infrastructure API. It also presents a description of the information contained in a typical request to the Cloud Infrastructure API, and contains all actions and data types information.
The Cloud Infrastructure API is a Web service API implemented in Oracle Enterprise Manager Ops Center that exposes its vDC Management System service model. This Web service provides access to a subset of the vDC Management system functionality that is available through the Oracle Enterprise Manager Ops Center UI.
The functionality exposed by the Web service can then be accessed programmatically using the Java Client API, the CLI, or by making calls directly to the Web service.
This functionality includes the management of vServers, server templates, network resources, and storage resources for an account.
The Web service was developed as a Simple Query Web Service. This Web Service in Ops Center requires an SSL encrypted HTTP connection. A typical request to the Cloud Web Service is made through HTTP using a GET or POST method including the request parameters for the requested action. The Web Service returns the result of a request in XML format that conforms to the XML schema of the Web Service.
The Web Service implementation added two servlets (interfaces) deployed into the Common Agent Container of Ops Center (cacao):
The Access Key Management (AKM) servlet, this servlet handles all user name and password authentication action.
The IAAS servlet, this servlet handles all cloud computing related actions.
The common parameters that must be included in a HTTP request to the Web Service are:
Servlet | Parameter | Description |
---|---|---|
AKM and IAAS | Action | Indicates the name of the IAAS or AKM action to perform |
IAAS | Version | Version of the Web Service. |
IAAS | AccessKeyId | Access Key ID. This identifies the user and the account. This value returned by the akm RegisterAccessKey action. |
AKM | Timestamp | Timestamp in milliseconds since 1st of January 1970. |
AKM | Expires | Time at which the request expires. Expiry date in milliseconds since 1st of January 1970, must be greater than the Timestamp. |
IAAS | Signature | Encoded Hash value of the data to be signed. Signature is used to authenticate the data. |
IAAS | SignatureMethod | Type of the signature. |
IAAS | SignatureVersion | Version number of the signature. |
Signing a request to the Web Service involves applying the following algorithm.
Collect all parameters for the Web Service request, see table. The parameters and their values are UTF-8 strings. The Signature is not yet included in these parameters because the aim of the algorithm is to calculate the value of this Signature parameter.
URL encode all parameter names and their values. The following characters are not URL encoded: A-Z, a-z, 0-9, minus '-', underscore '_', period '.', and asterisk '*' and remain as they are. All other characters are encoded as %XX (with XX being a hexadecimal number consisting of 0-9 and/or uppercase A-F). Extended UTF-8 characters are encoded with %XX%XX. Space is encoded as '+'. This is what Java's java.net.URLEncoder.encode()
method does, using UTF-8 as enconding.
Create a string by concatenating the next elements in the same order:
"POST" or "GET", depending on request type. "\n"
Hostname as given in the HTTP host header field, all in lower case (for example, opscenter.foo.bar
) "\n"
Base URL of the Web Service."\n"
A sequence of the sorted, encoded parameter names, followed directly by the equal sign "=" and their corresponding encoded parameter value. The parameters are joined together with the ampersand "&"."\n"
Sign this string using the private key and the specified SignatureMethod and SignatureVersion. The signature method must be "SHA512withRSA".
The signing result is then used as the value of the Signature parameter for the request.
Example 4-1 URL for a HTTP GET request to the IAAS servlet:
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Version=1&AccessKeyId=AK_1&Timestamp=1331058169938&Expires=1331058469938&SignatureMethod=SHA512withRSA&SignatureVersion=1&Signature=bj8GfJCqvPZZPU2JoWAGzZdCF+N767rQejILMQwNdgKLfoGGqAwDPRYMr/ghUoBc6RB3nKYgAyPdmtCfhzRGTqECgUWy0jCrE99+utGeeJ0/XRQ9LxyYeBgzjO3lHP+hFhUo+gUtQaSYPhUHH7eTkxg/CrolMxibglypJM/rIf90yEqSeqhphQt7hWxlT0DNAy6/cZt8isT/Tu8V7ZFjBFkEpLfN97bIOJ2vIIpOeetmftuw4ObtqjbUp6+7dpVkhhCQnX0MAIDj+mjorEOzcwK+F1pYuzES0fjaW0MowG+cA/9gttDjg7r5H29i3qbbjIlvAt6fk1HPpSxQTSTOTg==
Example 4-2 URL for a HTTP GET request to the AKM servlet:
https://<<username>>:<<password>>@<EnterpriseControllerHostname>/akm/?Action= DescribeAccounts&Version=1&Timestamp=1330954619299&Expires=1330954919299
For a detailed example for generating requests to the Web Service, see A Web Service Client Example.
The following actions are described in this section:
Action to allocate a number of IP addresses from a vNET.
ID of the vNET.
Type: VnetIdType
Default: None
Required: Yes
Number of IP addresses to reserve.
Type: PositiveInteger
Default: 1
Required: No
The result elements are contained in AllocateIpAddressesResult.
ID of the request.
Type: xs:string
Required: Yes
List of reserved IP addresses
Type: xs:string
Minimum: 0
Maximum: Unbounded
The following example allocates an IP addresses from a vNET.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=AllocateIpAddresses&Version=1&Timestamp=1320342206808&Expires=1320342506808&vnet=VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4&AccessKeyId=AK_32&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AllocateIpAddressesResult" requestId="403"><ipAddresses>10.6.0.13</ipAddresses></result>
The following example allocates two IP addresses from the specified vNET.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=AllocateIpAddresses&Version=1&Timestamp=1320341343286&Expires=1320341643286&num=2&vnet=VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4&AccessKeyId=AK_32&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AllocateIpAddressesResult" requestId="399"><ipAddresses>10.6.0.1</ipAddresses><ipAddresses>10.6.0.2</ipAddresses></result>
Action to attach one or more volumes to a stopped vServer.
ID of the vServer.
Type: VserverIdType
Default: None
Required: Yes
List of volume IDs.
Type: VolumeIdType
Default: None
Required: Yes
Minimum: 1
Maximum: Unbounded
The result elements are contained in AttachVolumesToVserverResult.
ID of the request.
Type: xs:string
Required: Yes
The following example attachs a volume to the specified vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=AttachVolumesToVserver&Version=1&Timestamp=1321384886152&Expires=1321385186152&volumeIds.1=VOL-052cb4b4-5e56-4303-8b3a-82d6ba743a15&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AttachVolumesToVserverResult" requestId="151"/>
Action to create an access key for a cloud user for the specified account. This action also allows the creation of an access key on behalf of another user.
ID of the account.Type: AccountIdType
Default: None
Required: Yes
User name of a different cloud user. User using this option must have cloud administrator privileges.Type: GenericString
Default: None
Required: No
The CreateAccessKeyAsObjectResult type is created by hand as it contains the AccessKey class and is only required on the client side.
No examples provided for this action, refer to RegisterAccessKeyRequest action.
Action to create the access key file of a cloud user for the specified account. This action also allows the creation of an access key on behalf of another user.
ID of the account.Type: AccountIdType
Default: None
Required: Yes
Name of a file to store the private key of the access key.Type: GenericString
Default: None
Required: Yes
Name of a different cloud user. User using this option must have cloud administrator privileges.Type: GenericString
Default: None
Required: No
The CreateAccessKeyToFileResult structure contains:
ID of the request.Type: xs:string
Required: Yes
ID of the access key.Type: xs:string
No examples provided for this action, refer to RegisterAccessKeyRequest action.
Action to create a distribution group for an account.
Name of the distribution group.Type: GenericString
Default: None
Required: Yes
Description of the distribution group.Type: GenericString
Default: None
Required: No
The CreateDistributionGroupResult structure contains:
ID of the request.Type: xs:string
Required: Yes
ID of the distribution group.
Type: xs:string
The following example creates a distribution group for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateDistributionGroup&Version=1&Timestamp=1324407098313&Expires=1324407398313&name=myDistributionGroup&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CreateDistributionGroupResult" requestId="103"><distributionGroupId>DG-8f81381c-a559-4f5b-b45f-086e605a382b</distributionGroupId></result>
Action to create a key pair. This is the only action which is client side only and will not travel the network.
Name of the key pair to create.Type: xs:strin
gDefault: None
Required: Yes
The CreateKeyPairAsObjectResult type is created by hand as it contains the KeyPair class and is only needed on the client side.
No examples provided for this action, refer to RegisterKeyPairRequest action.
Action to create the key pair file for an account.
Name of the key pair to create.Type: GenericString
Default: None
Required: Yes
Name of the file to store the private key of the key pair.Type: GenericString
Default: None
Required: Yes
The CreateKeyPairToFileResult structure contains:
ID of the request.Type: xs:string
Required: Yes
Name of the key pair.Type: xs:string
Key pair fingerprint.Type: xs:string
No examples provided for this action, refer to RegisterKeyPair Request action.
Action to create a snapshot for an account based on an existing volume.
Name of the snapshot.
Type: GenericString
Default: None
Required: Yes
Description of the snapshot
Type: GenericString
Default: None
Required: No
ID of the volume.
Type: VolumeIdType
Default: None
Required: Yes
The result elements are contained in CreateSnapshotResult.
ID of the request.
Type: xs:string
Required: Yes
ID of the snapshot.
Type: SnapshotIdType
The following example creates a snapshot based on the specified volume ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateSnapshot&Version=1&Timestamp=1318466247111&Expires=1318466547111&volumeId=VOL-246b5c62-4072-41cf-885b-99d6c63583bd&name=mySnapshot&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CreateSnapshotResult" requestId="118"><snapshotId>SNAP-d743e90c-53c5-4b01-a297-e2c944755c48</snapshotId></result>
Action to create or overwrite one or more tags for an existing resource.
ID of the resource.
Type: ResourceIdType
Default: None
Required: Yes
List of one or more tag name and value.
Type: TagType
Default: None
Required: Yes
Minimum: 1
Maximum: Unbounded
The result elements are contained in CreateTagsResult.
ID of the request.
Type: xs:string
Required: Yes
The following example creates a tag for the specified virtual network ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateTags&Version=1&Timestamp=1320101484395&Expires=1320101784395&resourceId=VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50&tags.1.name=myTag&tags.1.value=myTagValue&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CreateTagsResult" requestId="269"/>
Action to create a virtual network for an account.
Name of the virtual network.
Type: GenericString
Default: None
Required: Yes
Description of the virtual network.
Type: GenericString
Default: None
Required: No
Size of the subnet of the virtual network.
Type: PositiveInteger
Default: 16
Required: No
The result elements are contained in CreateVnetResult.
ID of the request.
Type: xs:string
Required: Yes
ID of the virtual network.
Type: GenericString
The following example creates a virtual network for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVnet&Version=1&Timestamp=1318282423837&Expires=1318282723837&name=myVnet&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CreateVnetResult" requestId="140"><vnetId>VNET-0a1b00f5-b87e-4dcc-9047-9d396a44b4d5</vnetId></result>
The following example creates a virtual network for an account adding a description.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVnet&Version=1&Timestamp=1318282726109&Expires=1318283026109&description=DescriptionofmyVnet2&name=myVnet2&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CreateVnetResult" requestId="141"><vnetId>VNET-00cd848c-771a-4091-b3f4-195a090bbc01</vnetId></result>
Action to create an empty volume for an account.
Name of the volume.
Type: GenericString
Default: None
Required: Yes
Description of the volume.
Type: GenericString
Default: None
Required: No
Size of the volume in GB. This option should not be used if a snapshot ID is given. An error is generated if both parameters, size and snapshotid, are used.
Type: PositiveInteger
Default: 16
Required: No
Flag to indicate if the volume is shared with other accounts in a vDC.
Type: xs:boolean
Default: 0 (not shared)
Required: No
ID of a snapshot. This option should not be used if a size value is given. An error is generated if both parameters, size and snapshotid, are used.
Type: SnapshotIdType
Default: None
Required: No
The result elements are contained in CreateVolumeResult.
ID of the request.
Type: xs:string
Required: Yes
ID of the volume.
Type: xs:string
The following example creates a volume of 2 GB.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVolume&Version=1&Timestamp=1318462897126&Expires=1318463197126&name=myVol2&size=1&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CreateVolumeResult" requestId="110"><volumeId>VOL-246b5c62-4072-41cf-885b-99d6c63583bd</volumeId></result>
The following example creates a volume base on the specified snapshot ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVolume&Version=1&Timestamp=1320100009343&Expires=1320100309343&snapshotId=SNAP-7a717e39-fe67-4573-a93d-889b3446176b&name=myVol&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CreateVolumeResult" requestId="263"><volumeId>VOL-7d4993d6-f7f0-4611-b1a6-aca218746e64</volumeId></result>
Action to unregister an access key from an account.
ID of the access key.Type: xs:string
Default: None
Required: Yes
The result elements are contained in DeleteAccessKeyResult.
ID of the request.Type: xs:string
Required: Yes
The following example the specified access key of a cloud user.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?Action=DeleteAccessKey&Version=1&Timestamp=1318278941862&Expires=1318279241862&accessKeyId=AK_2
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeleteAccessKeyResult" requestId="134"/>
Action to delete a distribution group from an account.
ID of the distribution group.Type: DistributionGroupIdType
Default: None
Required: Yes
The result elements are contained in DeleteDistributionGroupResult.
ID of the request.Type: xs:string
Required: Yes
The following example deletes a distribution group from an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteDistributionGroup&Version=1&Timestamp=1324407269441&Expires=1324407569441&distributionGroupId=DG-8f81381c-a559-4f5b-b45f-086e605a382b&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeleteDistributionGroupResult" requestId="106"/>
Action to delete a key pair from an account.
Name of the key pair.Type: xs:string
Default: None
Required: Yes
The result elements are contained in DeleteKeyPairResult.
ID of the request.Type: xs:string
Required: Yes
The following example deletes a key pair from an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteKeyPair&Version=1&Timestamp=1318281994430&Expires=1318282294430&keyName=myKeyPair&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeleteKeyPairResult" requestId="139"/>
Action to delete an existing snapshot from an account.
ID of the snapshot.
Type: SnapshotIdType
Default: None
Required: Yes
The result elements are contained in DeleteSnapshotResult.
ID of the request.
Type: xs:string
Required: Yes
The following example deletes the specified snapshot.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteSnapshot&Version=1&Timestamp=1318624338550&Expires=1318624638550&snapshotId=SNAP-2f2039cd-943b-4072-9ded-e96b54b7ca79&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeleteSnapshotResult" requestId="234"/>
Action to delete one or more existing tags from a resource.
ID of the resource.
Type: ResourceIdType
Default: None
Required: Yes
List of one or more tag names.
Type: TagType
Default: None
Required: Yes
The result elements are contained in DeleteTagsResult.
ID of the request.
Type: xs:string
Required: Yes
The following example deletes the specified tag from a virtual network ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteTags&Version=1&Timestamp=1320102752960&Expires=1320103052960&resourceId=VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50&tags.1.name=myTag&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeleteTagsResult" requestId="273"/>
Action to delete a private virtual network from an account.
ID of the virtual network.
Type: VnetIdType
Default: None
Required: Yes
The result elements are contained in DeleteVnetResult.
ID of the request.
Type: xs:string
Required: Yes
The following example deletes the specified private virtual network.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteVnet&Version=1&Timestamp=1318283467620&Expires=1318283767620&vnet=VNET-00cd848c-771a-4091-b3f4-195a090bbc01&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeleteVnetResult" requestId="142"/>
Action to delete a volume from an account.
ID of the volume.
Type: VolumeIdType
Default: None
Required: Yes
The result elements are contained in DeleteVolumeResult.
ID of the request.
Type: xs:string
Required: Yes
The following example deletes the specified volume.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteVolume&Version=1&Timestamp=1318463692509&Expires=1318463992509&volumeId=VOL-3bbc8f1c-bb4c-4a70-a370-4b6c06d990dc&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeleteVolumeResult" requestId="113"/>
Action to delete a server template from an account.
ID of the server template.
Type: ServerTemplateIdType
Default: None
Required: Yes
The result elements are contained in DeregisterServerTemplateResult.
ID of the request.
Type: xs:string
Required: Yes
The following example deletes the specified server template.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeregisterServerTemplate&Version=1&Timestamp=1320098301701&Expires=1320098601701&serverTemplateId=TMPL-f089b985-f7fc-4b8a-a5f8-df8f44c95f3c&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DeregisterServerTemplateResult" requestId="256"/>
Action to display the available access keys for a cloud user.
User name of a different cloud user. User using this option must have cloud administrator privileges.Type: GenericString
Default: None
Required: No
The result elements are contained in DescribeAccessKeysResult.
ID of the request.Type: xs:string
Required: Yes
List of access keys and their attributes.Type: DescribeAccessKeysResultItem
Minimum: 0
Maximum: Unbounded
User name of the other cloud user.Type: GenericString
The following example displays the available access keys for a cloud user.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?Action=DescribeAccessKeys&Version=1&Timestamp=1318278142966&Expires=1318278442966
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeAccessKeysResult" requestId="133"><items><accessKeyId>AK_1</accessKeyId><account>ACC-f7fd508a-dad3-4866-a41a-bf8850163c3d</account></items><items><accessKeyId>AK_2</accessKeyId><account>ACC-f7fd508a-dad3-4866-a41a-bf8850163c3d</account></items><user>root</user></result>
Action to display account attributes for a cloud user. This action also allows filtering the accounts displayed by account ID or, account attribute name and value.
List of account IDs.Type: AccountIdType
Default: None
Required: No
User name of a different cloud user. User executing the action using this option must have cloud administrator privileges.Type: GenericString
Default: None
Required: No
The result elements are contained in DescribeAccountsResult.
ID of the request.Type: xs:string
Required: Yes
List of the accounts and their attributes.Type: DescribeAccountsResultItem
Minimum: 0
Maximum: Unbounded
User name of the other cloud user.Type: GenericString
The following examples displays the attributes of all existing accounts for a cloud user.
HTTP Request
https://<EnterpriseControllerHostname>/akm/? Action=DescribeAccounts&Version=1&Timestamp=1317054664930&Expires=1317054724930
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><resultxmlns="http://www.oracle.com/xml/ns/iaas"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:type="DescribeAccountsResult" requestId="102"><items><account>ACC-f7fd508adad3-4866-a41a-bf8850163c3d</account><name>account0</name><description>Mockupaccount for user clouduser0</description></items><items><account>ACC-95adb073-d569-4a45-ac24-f14eba689a86</account><name>account1</name><description>Mockup account foruser clouduser1</description></items><items><account>ACC-ea564db9-c0ee-43de-bb17-55cfb9d105f2</account><name>account2</name><description>Mockup account foruser clouduser2</description></items><items><account>ACC-3e4a5732-1720-4348-b612-43460b1c493d</account><name>account3</name><description>Mockup account foruser clouduser3</description></items><items><account>ACC-2e2fdcb6-1568-435b-b40ce5418c20ab7b</account><name>account4</name><description>Mockup account foruser clouduser4</description></items><user>root</user></result>
The following examples displays the attributes of the specified account.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?Action=DescribeAccounts&Version=1&Timestamp=1317055081608&Expires=1317055141608&account=ACC-f7fd508a-dad3-4866-a41a-bf8850163c3d
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><resultxmlns="http://www.oracle.com/xml/ns/iaas"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:type="DescribeAccountsResult" requestId="107"><items><account>ACC-f7fd508adad3-4866-a41a-bf8850163c3d</account><name>account0</name><description>Mockupaccount for user clouduser0</description></items><user>root</user></result>
Action to display one or more of attributes of a resource.
Note: This action is restrained to following resources types: server templates, snapshots, virtual networks, virtual servers, and volumes.
ID of a resource.Type: ResourceIdType
Default: None
Required: Yes
List of one or more attribute names of the resource.Type: GenericString
Default: None
Required: Yes
The result elements are contained in DescribeAttributesResult.
ID of the request.Type: xs:string
Required: Yes
List of the resource attribute names and values.Type: ResourceAttribute
Minimum: 0
Maximum: Unbounded
The following example lists the values of the id, size, status, and share attributes for the specified volume ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeAttributes&Version=1&Timestamp=1318464041596&Expires=1318464341596&attrNames.4=shared&resourceId=VOL-246b5c62-4072-41cf-885b-99d6c63583bd&attrNames.3=size&attrNames.2=status&attrNames.1=id&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeAttributesResult" requestId="115"><items><name>id</name><value>VOL-246b5c62-4072-41cf-885b-99d6c63583bd</value></items><items><name>status</name><value>OK</value></items><items><name>size</name><value>0</value></items><items><name>shared</name></items></result>
Action to display attributes of existing distribution groups for an account. This action allows filtering of distribution groups displayed by ID or by attribute names and values.
List of distribution groups.Type: DistributionGroupIdType
Default: None
Required: No
List of distribution group attribute names and values.
Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeDistributionGroupsResult.
ID of the request.Type: xs:string
Required: Yes
List of distribution groups and their attributes.
Type: DescribeKeyPairsResultItem
Minimum: 0
Maximum: Unbounded
The following example displays the available distribution groups for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeDistributionGroups&Version=1&Timestamp=1324407152926&Expires=1324407452926&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeDistributionGroupsResult" requestId="105"><items><id>DG-8f81381c-a559-4f5b-b45f-086e605a382b</id><name>myDistributionGroup</name><status>OK</status></items></result>
Action to display reserved IP addresses attributes for an account. This action also allows filtering of the IP addresses displayed.
List of IP address attribute names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeIpAddressesResult.
ID of the request.Type: xs:string
Required: Yes
List of the reserved IP addresses and their attributes
Type: DescribeIpAddressesResultItem
Minimum: 0
Maximum: Unbounded
The following example lists all reserved IP addresses for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeIpAddresses&Version=1&Timestamp=1320339663115&Expires=1320339963115&AccessKeyId=AK_32&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeIpAddressesResult" requestId="396"><items><ipAddress>10.6.0.3</ipAddress><vnet>VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4</vnet></items><items><ipAddress>10.1.0.10</ipAddress><vnet>VNET-aaaaaaa8-bbb4-ccc4-ddd4-ffffffffff02</vnet></items><items><ipAddress>10.1.0.1</ipAddress><vnet>VNET-aaaaaaa8-bbb4-ccc4-ddd4-ffffffffff02</vnet></items><items><ipAddress>10.1.0.0</ipAddress><vnet>VNET-aaaaaaa8-bbb4-ccc4-ddd4-ffffffffff02</vnet></items></result>
The following example displays the reserved IP address attributes for the specified virtual network ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeIpAddresses&Version=1&Timestamp=1320339820989&Expires=1320340120989&filters.1.filterValue=VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4&filters.1.filterName=vnet&AccessKeyId=AK_32&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeIpAddressesResult" requestId="397"><items><ipAddress>10.6.0.3</ipAddress><vnet>VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4</vnet></items></result>
Action to display attributes of existing key pairs for an account. This action allows filtering of key pairs displayed.
List of key pair names.Type: GenericString
Default: None
Required: No
List of key pair attribute names and values.
Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeKeyPairsResult.
ID of the request.Type: xs:string
Required: Yes
List of key pairs and their attributes.
Type: DescribeKeyPairsResultItem
Minimum: 0
Maximum: Unbounded
The following example displays the available key pairs for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeKeyPairs&Version=1&Timestamp=1320361610130&Expires=1320361910130&AccessKeyId=AK_32&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeKeyPairsResult" requestId="437"><items><name>myKeyPairK</name><fingerprint>02:ed:56:e2:e4:a7:c9:ed:3f:e3:91:34:fc:c7:1a:3a</fingerprint></items><items><name>myKeyPair2</name><fingerprint>c1:0d:00:86:e9:99:1b:e3:43:62:71:0f:00:17:d4:50</fingerprint></items><items><name>myKeyPair3</name><fingerprint>b6:a3:41:2e:fa:f8:24:c2:f6:db:85:6f:e5:1f:8b:fb</fingerprint></items></result>
Action to display attributes of available server templates for an account. This action also allows filtering of server templates displayed.
List of one or more server template IDs.Type: ServerTemplateIdType
Default: None
Required: No
List of server template attribute names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeServerTemplatesResult.
ID of the request.Type: xs:string
Required: Yes
List of server templates and their attributes.
Type: DescribeServerTemplatesResultItem
The following example lists all the available server templates for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeServerTemplates&Version=1&Timestamp=1320088801876&Expires=1320089101876&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeServerTemplatesResult" requestId="245"><items><id>TMPL-e7df3178-12ea-48cc-8a1a-6b3f8256dd0f</id><name>SendReceiveImage.tar.gz</name><status>OK</status><size>-1</size><public>false</public><imageType>VMTemplate</imageType><readOnly>false</readOnly></items><items><id>TMPL-48cfe488-b93d-4085-aa2e-0a3b39d511cd</id><name>OVM_EL52_jeos_i386_PVM_WebLogic10gR3_v10.tar.gz</name><description>Import URLs: [http://gridware.germany.sun.com/vm-templates/WebLogic/OVM_EL52_jeos_i386_PVM_WebLogic10gR3_v10.tar.gz]</description><status>OK</status><size>-1</size><public>false</public><imageType>VMTemplate</imageType><readOnly>false</readOnly></items></result>
The following example displays the attributes of the specified server template ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeServerTemplates&Version=1&Timestamp=1320088942728&Expires=1320089242728&ids.1=TMPL-e7df3178-12ea-48cc-8a1a-6b3f8256dd0f&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUESTSignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeServerTemplatesResult" requestId="246"><items><id>TMPL-e7df3178-12ea-48cc-8a1a-6b3f8256dd0f</id><name>SendReceiveImage.tar.gz</name><status>OK</status><size>-1</size><public>false</public><imageType>VMTemplate</imageType><readOnly>false</readOnly></items></result>
Action to display the attributes of the available snapshots for an account. This action also allows filtering of the snapshots displayed.
List of one or more snapshots IDs.Type: GenericString
Default: None
Required: No
List of snapshot attribute names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeSnapshotsResult.
ID of the request.Type: xs:string
Required: Yes
List of the snapshots and their attributes
Type: DescribeSnapshotsResultItem
The following example lists all available snapshots for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeSnapshots&Version=1&Timestamp=1318467903784&Expires=1318468203784&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeSnapshotsResult" requestId="121"><items><id>SNAP-2f2039cd-943b-4072-9ded-e96b54b7ca79</id><name>mySnapshot2</name><status>OK</status></items><items><id>SNAP-d743e90c-53c5-4b01-a297-e2c944755c48</id><name>mySnapshot</name><status>OK</status></items></result>
The following example displays the attributes for the specified snapshot ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeSnapshots&Version=1&Timestamp=1318468567145&Expires=1318468867145&ids.1=SNAP-2f2039cd-943b-4072-9ded-e96b54b7ca79&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeSnapshotsResult" requestId="122"><items><id>SNAP-2f2039cd-943b-4072-9ded-e96b54b7ca79</id><name>mySnapshot2</name><status>OK</status></items></result>
Action to display tag attributes of the resources with a tag associated with them. This action also allows filtering of the tags or resources displayed.
List of one or more resource IDs.Type: ResourceIdType
Default: None
Required: No
List of virtual snapshot attributes names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeTagsResult.
ID of the request.Type: xs:string
Required: Yes
List of the resource tags and their attributes.
Type: DescribeTagsResultItem
The following example lists all tags available for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeTags&Version=1&Timestamp=1320101837081&Expires=1320102137081&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeTagsResult" requestId="270"><items><resourceId>VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50</resourceId><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></items><items><resourceId>VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50</resourceId><name>myTag</name><value>myTagValue</value></items><items><resourceId>VNET-2b8b6c91-065c-4645-9cdb-edb3afd92524</resourceId><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></items><items><resourceId>VNET-07e74ad3-1ab1-4188-915d-cbf6242a1eeb</resourceId><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></items></result>
The following example displays the tag attributes for the specified virtual network ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeTags&Version=1&Timestamp=1320102284357&Expires=1320102584357&ids.1=VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeTagsResult" requestId="272"><items><resourceId>VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50</resourceId><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></items><items><resourceId>VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50</resourceId><name>myTag</name><value>myTagValue</value></items></result>
Action to display the vDC capabilities for an account.
List of virtual data center attributes names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeVdcCapabilitiesResult.
ID of the request.Type: xs:string
Required: Yes
List of the vDC capabilities and their values.
Type: VdcCapabilitiesItem
Minimum: 1
Maximum: Unbounded
The following example lists the vDC capabilities for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVdcCapabilities&Version=1&Timestamp=1320085185647&Expires=1320085485647&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeVdcCapabilitiesResult" requestId="243"><items><name>VirtualizationType</name><value>OVM</value></items><items><name>VirtualizationVersion</name><value>3.0.2</value></items><items><name>ProcessorArch</name><value>Default_Intel_F6_M23</value></items><items><name>ProcessorVersion</name><value>Default_Intel_Family:6_Model:23</value></items></result>
The following example list only the virtualization type of the vDC for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVdcCapabilities&Version=1&Timestamp=1320085633535&Expires=1320085933535&filters.1.filterName=VirtualizationType&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeVdcCapabilitiesResult" requestId="244"><items><name>VirtualizationType</name><value>OVM</value></items></result>
Action to display the attributes of the available virtual networks for an account. This action also allows filtering of the virtual networks displayed.
List of one or more virtual network IDs.Type: VnetIdType
Default: None
Required: No
List of virtual network attribute names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeVnetsResult.
ID of the request.Type: xs:string
Required: Yes
List of the virtual networks and their attributes
Type: DescribeVnetsResultItem
Minimum: 0
Maximum: Unbounded
The following example lists the available virtual networks for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Version=1&Timestamp=1317048258687&Expires=1317048318687&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><resultxmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"xsi:type="DescribeVnetsResult" requestId="256"><items><id>VNET-cbd75904-9d34-4ec8-86b9-d917712abaaa</id><name>stevennet</name><description>stevennet</description><status>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></tags><ipAddress>192.168.2.0/24</ipAddress></items><items><id>VNET-c41e4523-0578-4b48-a9f6-77d766b053d9</id><name>vnet46</name><description>vnet46</description><status>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></tags><ipAddress>192.168.4.0/24</ipAddress></items><items><id>VNET-77d2b71b-a5ff-4d76-bdc4-fbd9317bbdb8</id><name>vnet3</name><description>vnet3</description><status>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></tags><ipAddress>192.168.1.0/24</ipAddress></items><items><id>VNET-5d74972a-bcdd-4714-8c7fb67d8010f13c</id><name>vnet123</name><description>vnet1</description><status>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></tags><ipAddress>192.168.0.0/24</ipAddress></items><items><id>VNET-7b91f019-b50d-4051-8028-7ed2b0f5d767</id><name>vnet45</name><description>vnet45</description><status>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></tags><ipAddress>192.168.3.0/24</ipAddress></items><items><id>VNET-9058613f-efaa-42f4-bc96-9583ec39a481</id><name>vnet47</name><description>vnet47</description><status>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></tags><ipAddress>192.168.5.0/24</ipAddress></items></result>
The following example displays the attributes of the specified virtual network.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Version=1&Timestamp=1317049897108&Expires=1317049957108&ids.1=VNET-cbd75904-9d34-4ec8-86b9-d917712abaaa&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><resultxmlns="http://www.oracle.com/xml/ns/iaas"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:type="DescribeVnetsResult" requestId="262"><items><id>VNET-cbd75904-9d34-4ec8-86b9-d917712abaaa</id><name>stevennet</name><description>stevennet</description><status>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</value></tags><ipAddress>192.168.2.0/24</ipAddress></items></resul>
Action to display attributes of the available volumes for an account. This action also allows filtering of volumes displayed.
List of one or more volume IDs.Type: VolumeIdType
Default: None
Required: No
List of volume attribute names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeVolumesResult.
ID of the request.Type: xs:string
Required: Yes
List of volumes and their attributes
Type: DescribeVolumesResultItem
Minimum: 0
Maximum: Unbounded
The following example displays the attributes of the available volumes for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVolumes&Version=1&Timestamp=1318463287921&Expires=1318463587921&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeVolumesResult" requestId="111"><items><id>VOL-246b5c62-4072-41cf-885b-99d6c63583bd</id><name>myVol2</name><status>OK</status><size>0</size></items><items><id>VOL-3bbc8f1c-bb4c-4a70-a370-4b6c06d990dc</id><name>myVol</name><status>OK</status><size>0</size></items></result>
The following example displays the attributes of the specified volume ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVolumes&Version=1&Timestamp=1318463504971&Expires=1318463804971&ids.1=VOL-3bbc8f1c-bb4c-4a70-a370-4b6c06d990dc&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeVolumesResult" requestId="112"><items><id>VOL-3bbc8f1c-bb4c-4a70-a370-4b6c06d990dc</id><name>myVol</name><status>OK</status><size>0</size></items></result>
Action to display vServer attributes for an account. This action also allows filtering of the vServers displayed.
List of one or more vServers IDs.Type: VserverIdType
Default: None
Required: No
List of vServer attribute names and values.Type: FilterItem
Default: None
Required: No
The result elements are contained in DescribeVserversResult.
ID of the request.Type: xs:string
Required: Yes
List of the vServers and their attributes
Type: DescribeVserversResultItem
Minimum: 0
Maximum: Unbounded
The following example displays attributes of all vServers available for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVservers&Version=1&Timestamp=1320105338731&Expires=1320105638731&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeVserversResult" requestId="276"><items><id>VSRV-062c548b-7346-4318-a802-a223288747e0</id><name>guestSendRecRGB_1</name><description>Oracle VM Virtual Machine</description><status>OK</status><vnets>VNET-2b8b6c91-065c-4645-9cdb-edb3afd92524</vnets><vserverType>OVM</vserverType></items><items><id>VSRV-ae897da4-f13d-4a92-8464-394e0e396bf9</id><name>guestSendRec_RGB2_1</name><description>Oracle VM Virtual Machine</description><status>OK</status><vnets>VNET-2b8b6c91-065c-4645-9cdb-edb3afd92524</vnets><vserverType>OVM</vserverType></items><items><id>VSRV-c1e236e6-ef4d-4936-911a-97923dfbc291</id><name>guestVserverRGB_1</name><description>Oracle VM Virtual Machine</description><status>OK</status><vnets>VNET-07e74ad3-1ab1-4188-915d-cbf6242a1eeb</vnets><vserverType>OVM</vserverType></items></result
The following example displays the vServer attributes for the specified vServer ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVservers&Version=1&Timestamp=1320105445075&Expires=1320105745075&ids.1=VSRV-062c548b-7346-4318-a802-a223288747e0&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeVserversResult" requestId="277"><items><id>VSRV-062c548b-7346-4318-a802-a223288747e0</id><name>guestSendRecRGB_1</name><description>Oracle VM Virtual Machine</description><status>OK</status><vnets>VNET-2b8b6c91-065c-4645-9cdb-edb3afd92524</vnets><vserverType>OVM</vserverType></items></result>
Action to display the permitted vServer types for an account.
There is not extra parameters for this action's request.
The result elements are contained in DescribeVserverTypesResult.
ID of the request.Type: xs:string
Required: Yes
List of vServer types and their attributes
Type: DescribeVserverTypesResultItem
Minimum: 1
The following example lists all available vServer types for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVserverTypes&Version=1&Timestamp=1318625453358&Expires=1318625753358&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DescribeVserverTypesResult"requestId="236"><items><id>small</id><name>small</name><description>small instance type</description><memorySize>1073741824</memorySize><storageSize>10737418240</storageSize><vcpu>1</vcpu></items><items><id>medium</id><name>medium</name><description>medium instance type</description><memorySize>4294967296</memorySize> <storageSize>107374182400</storageSize><vcpu>2</vcpu></items><items><id>large</id><name>large</name><description>large instance type</description> <memorySize>17179869184</memorySize><storageSize>1073741824000</storageSize><vcpu>4</vcpu></items></result>
Action to detach a volume from a stopped vServer.
ID of the vServer.
Type: VserverIdType
Default: None
Required: Yes
List of one of more volume IDs.
Type: VolumeIdType
Default: None
Required: Yes
Option to force detach.
Type: xs:boolean
Default: 0
Required: No
The result elements are contained in DetachVolumesFromVserverResult.
ID of the request.
Type: xs:string
Required: Yes
The following example detaches the specified volumes from the vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DetachVolumesFromVserver&Version=1&Timestamp=1321385229679&Expires=1321385529679&volumeIds.1=VOL-052cb4b4-5e56-4303-8b3a-82d6ba743a15&force=true&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DetachVolumesFromVserverResult" requestId="156"/>
Action to import an existing key pair to an account.
Name of the key pair.Type: xs:string
Default: None
Required: Yes
Name of the file that stores the public key of the key pair to import.Type: GenericString
Default: None
Required: Yes
The result elements are contained in ImportKeyPairResult.
ID of the request.Type: xs:string
Required: Yes
Name of the key pair.Type: xs:string
Key pair fingerprint.Type: xs:string
The following example imports and registers a key pair using the public key in the specified key file.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterKeyPair&Version=1&Timestamp=1324421510757&Expires=1324421810757&publicKey=ssh-rsa+AAAAB3NzaC1yc2EAAAABIwAAAQEAtJnFD8INGLtM%2FQIlxkDjh4t2R4%2FtTMpUDzMIRP%0A&keyName=myKeyPair&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegisterKeyPairResult" requestId="110"><keyName>myKeyPair</keyName><keyFingerprint>f4:20:bf:ad:ed:e7:0a:1a:a5:74:f9:80:72:bb:74:b4</keyFingerprint></result>
Action to import a volume to an account.
Name of the volume.
Type: GenericString
Required: Yes
Description of the volume.
Type: GenericString
Required: No
URL of the volume to import.
Type: URLType
Required: No
Flag to indicate if the volume is shared.
Type: boolean
Default: 0
Required: No
The result elements are contained in ImportVolumeResult.
ID of the request.
Type: xs:string
Required: Yes
ID of the volume.
Type: xs:string
The following example imports a shared volume for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=ImportVolume&Version=1&Timestamp=1324421943593&Expires=1324422243593&shared=true&name=myVolumeImported&url=http%3A%2F%2Foracle.com%2FES%2FOVM%2Fvolume%2Fvolume1.img&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ImportVolumeResult" requestId="111"><volumeId>VOL-b71cb98a-52db-49cc-aba4-66a1dfb4d13f</volumeId></result>
Action to modify one or more attribute values of a resource.
ID of a resource.Type: ResourceIdType
Default: None
Required: Yes
List of one or more attribute names and values of a resource.Type: ResourceAttribute
Required: Yes
The result elements are contained in ModifyAttributesResult.
ID of the request.Type: xs:string
Required: Yes
The following example modifies the name and description of the specified volume ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=ModifyAttributes&Version=1&Timestamp=1318464546890&Expires=1318464846890&resourceId=VOL-246b5c62-4072-41cf-885b-99d6c63583bd&attributes.2.value=myNewDescription&attributes.2.name=description&attributes.1.name=name&attributes.1.value=myNewName&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ModifyAttributesResult" requestId="116"/>
Action to restart one or more existing vServers.
One or more vServer IDs.
Type: VserverIdType
Required: Yes
The result elements are contained in RebootVserversResult.
ID of the request.
Type: xs:string
Required: Yes
The following example restarts a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RebootVservers&Version=1&Timestamp=1321380470326&Expires=1321380770326&vserverIds.1=VSRV-0fb57293-347c-4717-96ef-6dd23154596f&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RebootVserversResult" requestId="121"/>
Action to read a message from a vServer
Note: This action reads a message by name from the common buffer in the virtualization layer. This action may return an error if the vServer is not in appropriate state to receive messages.
ID of the vServer.
Type: VserverIdType
Required: Yes
Name of the key for the message to retrieve.
Type: GenericString
Required: Yes
The result elements are contained in ReceiveMessageFromVserverResult.
ID of the request.
Type: xs:string
Required: Yes
Value of the message.
Type: xs:string
The following example receives a message from a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=ReceiveMessageFromVserverRequest&Version=1&Timestamp=1321381585564&Expires=1321381885564&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6&key=myMessageKey&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReceiveMessageFromVserverResult" requestId="123"<value>myMessageFromVserver</value></result>
Action to register an access key for a cloud user for the specified account. This action also allows the creation of an access key of another cloud user, in that case, the user running this action must have cloud administrator privileges.
Public key of the access key.Type: xs:string
Required: Yes
ID of the account.Type: AccountIdType
Required: Yes
Name of another cloud user.Type: GenericString
Required: No
The result elements are contained in RegisterAccessKeyResult.
ID of the request.Type: xs:string
Required: Yes
ID of the access key.Type: xs:string
The following examples registers an access key for an account.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?Action=RegisterAccessKey&Version=1&Timestamp=1317055640451&Expires=1317055700451&publicKey=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3XtkY0aBtOSFZcmk%2FPjiMj7xyGCzRB2I%0AwQXV%2BQiY5La1Ppj8fSxrs1t85Hy2%2FUY8gfVYy3peGm1mkdo0xtFfP90ACxKAH7Z8%2B8LqgPT6wDxY%0AxlkOF9k80M9fHxXrfWNfxfw87yd%2FNZdeZOvgRxW8B%2BsuHmAV5HyRRFKuiQFko7EYVAijFIhRv7ez%0AThKNmP%2BSrOGvPuUoG035TDloSbdpQ08ZGurvIdGevcJpM3IfOEy5tqyfU%2FdvtaLh%2FyhabUjCZN6E%0AqGs2t9C75D9sgVy%2FykbDiXYOorRV3wUoatB43YDPpx5TjpJZIogeF1vCVETDGg6sKsvl%2FpqRU3FH%0AWTHCOwIDAQAB&account=ACC-f7fd508a-dad3-4866-a41a-bf8850163c3d
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><resultxmlns="http://www.oracle.com/xml/ns/iaas"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:type="RegisterAccessKeyResult"requestId="110"><accessKeyId>AK_1</accessKeyId></result>
Action to register a key pair for an account.
Name of the key pair.Type: xs:string
Required: Yes
Public key of the key pair.Type: xs:string
Required: Yes
The result elements are contained in RegisterKeyPairResult.
ID of the request.Type: xs:string
Required: Yes
Key pair fingerprint.Type: xs:string
The following example registers a key pair for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterKeyPair&Version=1&Timestamp=1318279380444&Expires=1318279680444&publicKey=ssh-rsa+AAAAB3NzaC1yc2EAAAADAQABAAABAQDg2eienGE4vEMSMcVMbYbC8z2q%2Fvhz3H6AanlJ6B4udseK%0A8CpaHJ23eGWcjcgAmuZCJ%2FOoHUA2dN2PNPuK6g%2BZndR8wVaaQT89eWDZx9oaf0%2F2Eg%2FLeKJ3moVH%0AvIYvFB9aFCpa4H%2BOmLfM%2FmfQ4CYeDfo0r0jxCCB0YLo0876LQqK5X%2BtgRXwbAbPH2Mzbzp%2FzzdkQ%0ArsBqSgUQ%2B1V4LkN6TQe06P5a2QYIlUhRXwUorTnbXczGq9zEJJ7ef%2F74xIQZfAipkYkyGgktsXrM%0A%2F%2Bs789v9ipaDB5B26y3aqjIdvW4ZLDvuGXPs60aiUfj2WGIqx0KSVL%2FyB%2FtK1WbuZYwl+IaaS-Generated&keyName=myKeyPairK&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegisterKeyPairResult" requestId="137"><keyFingerprint>65:3d:ac:81:90:21:2c:4e:65:78:99:b2:37:13:00:93</keyFingerprint></result>
Action to register a server template from aURL.
Name of the server template.
Type: GenericString
Required: Yes
Description of the server template.
Type: GenericString
Required: No
URL of the server template.
Type: URLType
Required: Yes
The result elements are contained in RegisterServerTemplateFromUrlResult.
ID of the request.
Type: xs:string
Required: Yes
ID of the server template.
Type: xs:string
The following example creates a server template for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplateFromUrl&Version=1&Timestamp=1320096741216&Expires=1320097041216&name=myST&url=http%3A%2F%2Fca-server1.us.oracle.com%2Fvm-templates%2FOVM_EL52_jeos_i386_PVM_WebLogic10gR3_v10.tar.gz&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegisterServerTemplateFromUrlResult" requestId="248"><serverTemplateId>TMPL-f089b985-f7fc-4b8a-a5f8-df8f44c95f3c</serverTemplateId></result>
Action to register a server template from a vServer.
Name of the server template.
Type: GenericString
Required: Yes
Description of the server template.
Type: GenericString
Required: No
ID of the vServer.
Type: VserverIdType
Required: Yes
The result elements are contained in RegisterServerTemplateFromVserverResult.
ID of the request.
Type: xs:string
Required: Yes
ID of the server template.
Type: xs:string
The following example creates a server template for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplateFromVserver&Version=1&Timestamp=1324422880552&Expires=1324423180552&name=mySTfromVserver&vserverId=VSRV-fdba0b48-6e1c-4f41-bde4-2c739dfeeb2f&AccessKeyId=AK_2&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegisterServerTemplateFromUrlResult" requestId="258"><serverTemplateId>TMPL-f047b985-f7fc-4b8a-a5f8-df8f44c95f5a</serverTemplateId></result>
Action to register a set of server templates from an Assembly.
Name of the assembly.
Type: GenericString
Required: Yes
Description of the assembly.
Type: GenericString
Required: No
URL of the assembly.
Type: URLType
Required: Yes
The result elements are contained in RegisterServerTemplatesFromAssemblyResult.
ID of the request.
Type: xs:string
Required: Yes
IDs of the server templates.
Type: xs:string
The following example creates a set of server templates for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplatesFromAssembly&Version=1&Timestamp=1320097901377&Expires=1320098201377&name=mySTk2&url=http%3A%2F%2Fadc4120293.us.oracle.com%3A8888%2FmyAssembly.ova&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegisterServerTemplatesFromAssemblyResult" requestId="254"><serverTemplateIds>ASSM-fe68b60a-b28b-45fa-8115-0801e3df67d5</serverTemplateIds></result>
Action to release one or more reserved IP addresses from a virtual network.
ID of the virtual network.
Type: VnetIdType
Required: Yes
One or more reserved IP addresses.
Type: GenericString
Required: Yes
The result elements are contained in ReleaseIpAddressesResult.
ID of the request.
Type: xs:string
Required: Yes
The following example releases the specified IP addresses from the virtual network.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=ReleaseIpAddresses&Version=1&Timestamp=1320341801846&Expires=1320342101846&ipAddresses.2=10.6.0.10&ipAddresses.1=10.6.0.13&vnet=VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4&AccessKeyId=AK_32&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReleaseIpAddressesResult" requestId="402"/>
Action to create and start a vServer.
Name of the vServer.
Type: GenericString
Required: Yes
Description of the vServer.
Type: GenericString
Required: No
ID of the server template.
Type: ServerTemplateIdType
Required: Yes
List of one or more reserved IP addresses.
Type: GenericString
Required: Yes
Name of the key pair.
Type: GenericString
Required: Yes
ID of the vServer type.
Type: GenericString
Required: Yes
List of one or more virtual network IDs.
Type: VnetIdType
Required: Yes
List of one or more volume IDs.
Type: VolumeIdType
Required: No
ID of the distribution group.
Type: DistributionGroupIdType
Required: No
The result elements are contained in RunVserverResult.
ID of the request.
Type: xs:string
Required: Yes
ID of the vServer.
Type: xs:string
The following example creates and starts a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RunVserver&Version=1&Timestamp=1321379615665&Expires=1321379915665&vserverType=457&keyName=myKeyPair&vnets.1=VNET-84ada392-1c13-4f86-8365-1cf7f9c8aadf&name=myVserver&ipAddresses.1=192.168.0.2&serverTemplateId=TMPL-9e4a9ed3-e675-45f1-9d7c-b21c25a55632&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunVserverResult" requestId="120"><vserverId>VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6</vserverId></result>
Action to create and start multiple vServer.
Name of the vServer.
Type: GenericString
Required: Yes
Description of the vServer.
Type: GenericString
Required: No
ID of the server template.
Type: ServerTemplateIdType
Required: Yes
Number of the vServers.
Type: PositiveInteger
Default: 1
Required: No
List of one or more virtual network IDs.
Type: VnetIdType
Required: Yes
Name of the key pair.
Type: GenericString
Required: Yes
ID of the vServer type.
Type: GenericString
Required: Yes
List of one or more volume IDs.
Type: VolumeIdType
Required: No
ID of the distribution group.
Type: DistributionGroupIdType
Required: No
The result elements are contained in RunVserversResult.
ID of the request.
Type: xs:string
Required: Yes
List of one or more vServer IDs.
Type: xs:string
The following example creates and starts two vServers.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RunVservers&Version=1&Timestamp=1320343596868&Expires=1320343896868&vserverType=457&num=2&keyName=myKeyPair&vnets.1=VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4&name=myVserver&serverTemplateId=TMPL-2f313208-433c-4b92-aae6-6373c38b795e&AccessKeyId=AK_32&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUESTSignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunVserversResult" requestId="409"><vserverIds>VSRV-d6800889-f59b-4798-a57d-3f9f31b0cf1c</vserverIds><vserverIds>VSRV-d6500889-f59b-4567-a65g-3f9f31b0se1d</vserverIds></result>
Action to send a list of messages to a vServer. These messages can be read from the guest OS.
ID of the vServer.
Type: VserverIdType
Required: Yes
List of one or more message key names and values.
Type: Message
Required: Yes
The result elements are contained in SendMessagesToVserverResult.
ID of the request.
Type: xs:string
Required: Yes
The following example sends a message to a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=SendMessagesToVserver&Version=1&Timestamp=1321381585564&Expires=1321381885564&messages.1.value=Running&messages.1.key=myStatus&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SendMessagesToVserverResult" requestId="123"/>
Action to start one or more stopped or shutdown vServers.
One or more vServer IDs.
Type: VserverIdType
Required: Yes
The result elements are contained in StartVserversResult.
ID of the request.
Type: xs:string
Required: Yes
The following example starts a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=StartVservers&Version=1&Timestamp=1320104759496&Expires=1320105059496&vserverIds.1=VSRV-c1e236e6-ef4d-4936-911a-97923dfbc291&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="StartVserversResult" requestId="275"/>>
Action to stop one or more running vServers.
List of one or more vServer IDs.
Type: VserverIdType
Required: Yes
Flag to force the action.
Type: xs:boolean
Default: 0
Required: No
The result elements are contained in StopVserversResult.
ID of the request.
Type: xs:string
Required: Yes
The following example stops a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=StopVservers&Version=1&Timestamp=1320105610783&Expires=1320105910783&vserverIds.1=VSRV-c1e236e6-ef4d-4936-911a-97923dfbc291&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="StopVserversResult" requestId="278"/>
Action to stop and delete one or more vServers.
List of one or more vServer IDs.
Type: VserverIdType
Required: Yes
Flag to force the action.
Type: xs:boolean
Default: 0
Required: No
The result elements are contained in TerminateVserversResult.
ID of the request.
Type: xs:string
Required: Yes
The following example terminates a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=TerminateVservers&Version=1&Timestamp=1321385662260&Expires=1321385962260&vserverIds.1=VSRV-0fb57293-347c-4717-96ef-6dd23154596f&force=true&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_ READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result xmlns="http://www.oracle.com/xml/ns/iaas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TerminateVserversResult" requestId="160"/>
The following data types are described in this section:
This data type defines the pattern value of an account ID.
Type: xs:string
Pattern value: ACC-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
None
ID of the access key.
Type: xs:string
Name of the account.
Type: xs:string
None
Account ID.
Type: xs:string
Name of the account.
Type: xs:string
Description of the account.
Type: xs:string
None
ID of the distribution group.
Type: xs:string
Name of the distribution group.
Type: xs:string
Description of the distribution group.
Type: xs:string
Status of the distribution group.
Type: xs:string
List of none or more distribution group tags.
Type: TagType
None
Reserved IP address.
Type: xs:string
ID of the virtual network.
Type: VnetIdType
ID of the vServer associated with the IP address.
Type: VserverIdType
None
Name of the key pair.
Type: xs:string
Fingerprint of the key pair.
Type: xs:string
None
ID of the server template.
Type: xs:string
Name of the server template.
Type: xs:string
Description of the server template.
Type: xs:string
Status of the server template.
Type: xs:string
List of none or more tags for the server template.
Type: TagType
Size of the server template in GB.
Type: xs:long
Flag to indicate if the server template is available for other accounts.
Type: xs:boolean
Type of the image, VM template or assembly.
Type: GenericString
Flag to indicate if the server template is read only.
Type: xs:boolean
None
ID of the snapshot.
Type: xs:string
Name of the snapshot.
Type: xs:string
Description of the snapshot.
Type: xs:string
Status of the snapshot.
Type: xs:string
List of none or more tags for the snapshot.
Type: TagType
None
ID of the resource.
Type: xs:string
Name of the tag.
Type: xs:string
Value of the tag.
Type: xs:string
None
Name of vDC capability.
Type: GenericString
Value of the vDC capability.
Type: GenericString
None
ID of the virtual network.
Type: xs:string
Name of the virtual network.
Type: xs:string
Description of the virtual network.
Type: xs:string
Status of the virtual network.
Type: xs:string
List of none or more tags for the virtual network.
Type: TagType
Subnet of the virtual network.
Type: GenericString
None
ID of the volume.
Type: xs:string
Name of the volume.
Type: xs:string
Description of the volume.
Type: xs:string
Status of the volume.
Type: xs:string
List of none or more tags for the volume.
Type: TagType
Size of the volume in GB.
Type: xs:double
Flag to indicate if the volume is shared.
Type: xs:boolean
None
ID of the vServer.
Type: xs:string
Name of the vServer.
Type: xs:string
Description of the vServer.
Type: xs:string
Status of the vServer.
Type: xs:string
List of none or more tags for the vServer.
Type: TagType
List of virtual network IDs associated with the vServer.
Type: VnetIdType
List of IP addresses associated with the vServer.
Type: xs:string
ID of the server template associated with the vServer.
Type: ServerTemplateIdType
Name of the key pair associated with the vServer.
Type: GenericString
ID of the vServer type associated with the vServer.
Type: GenericString
None
ID of the vServer type.
Type: xs:string
Name of the vServer type.
Type: xs:string
Description of the vServer type.
Type: xs:string
Status of the vServer type.
Type: xs:string
List of none or more tags of the vServer type.
Type: TagType
Memory size of the vServer type in GB.
Type: xs:long
Storage size of the vServer type in GB.
Type: xs:long
Number of virtual CPUs of the vServer type.
Type: xs:integer
None
This data type defines the pattern value of a distribution group ID.
Type: xs:string
Pattern value: DG-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
None
Name of the filter. The name of an attribute for specified resource.
Type: GenericString
Value of the filter. The value for the specified resource's attribute.
Type: GenericString
None
Simple data type with the following definition.
Type: xs:string
maxLength value: 256
enumeration value: 200
Key associated with the message.
Type: GenericString
The value of the message.
Type: GenericString
None
This data type defines the pattern value of a PositiveInteger data type.
Type: xs:integer
minInclusive value: 1
None
Name of an attribute for specified resource.
Type: xs:string
Value for the specified resource's attribute.
Type: xs:string
None
This data type defines the pattern value of a resource ID.
Type: xs:string
Pattern value: [A-Z]{1,4}-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
None
This data type defines the pattern value of a snapshot ID.
Type: xs:string
Pattern value: SNAP-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
None
This data type defines the pattern value of a server template ID.
Type: xs:string
Pattern value: TMPL-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
The name of the tag.
Type: GenericString
The value of the tag.
Type: GenericString
This data type defines the pattern value of a URL.
Type: xs:string
None
This data type defines the pattern value of a virtual network ID.
Type: xs:string
Pattern value: VNET-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
This data type defines the pattern value of a volume ID.
Type: xs:string
Pattern value: VOL-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
None
This data type defines the pattern value of a vServer ID.
Type: xs:string
Pattern value: VSRV-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}