E25150 PDF
E25150 PDF
E25150 PDF
June 2013
Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide, 12c Release 1
(12.1.4.0.0)
E25150-06
Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it
on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,
any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users
are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and
agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and
adaptation of the programs, including any operating system, integrated software, any programs installed on
the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to
the programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management
applications. It is not developed or intended for use in any inherently dangerous applications, including
applications that may create a risk of personal injury. If you use this software or hardware in dangerous
applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other
measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages
caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks
are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD,
Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced
Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle
Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your
access to or use of third-party content, products, or services.
Contents
Preface ............................................................................................................................................................... xv
Audience..................................................................................................................................................... xv
Documentation Accessibility ................................................................................................................... xv
Related Documents ................................................................................................................................... xv
Conventions ............................................................................................................................................... xv
2 Getting Started
Prerequisites.............................................................................................................................................. 2-1
Installation................................................................................................................................................. 2-1
Cloud Infrastructure API .................................................................................................................. 2-1
Cloud Infrastructure Java Client API.............................................................................................. 2-1
Cloud Infrastructure CLI .................................................................................................................. 2-2
Next Steps .................................................................................................................................................. 2-3
3 Managing Resources
Overview of Cloud User Resources...................................................................................................... 3-1
Status of Account Resources............................................................................................................. 3-2
Managing Account Access...................................................................................................................... 3-3
Creating an Access Key ..................................................................................................................... 3-4
Viewing Access Key Information .................................................................................................... 3-4
Deleting an Access Key ..................................................................................................................... 3-5
Viewing vDC Capabilities...................................................................................................................... 3-5
Managing Virtual Networks .................................................................................................................. 3-6
Creating a vNet................................................................................................................................... 3-6
Deleting a vNet................................................................................................................................... 3-7
Viewing vNet Information................................................................................................................ 3-7
Managing vIP Addresses ........................................................................................................................ 3-8
Allocating a vIP Address .................................................................................................................. 3-8
Deallocating a vIP Address .............................................................................................................. 3-8
Viewing vIP Addresses ..................................................................................................................... 3-9
iii
Managing Server Templates................................................................................................................... 3-9
Uploading a Server Template from a vServer ............................................................................ 3-10
Uploading a Server Template from a URL.................................................................................. 3-10
Uploading a Server Template from an Assembly ...................................................................... 3-11
Deleting a Server Template............................................................................................................ 3-12
Viewing Server Template Information ........................................................................................ 3-12
Managing Storage ................................................................................................................................. 3-13
Creating a Volume .......................................................................................................................... 3-13
Deleting a Volume .......................................................................................................................... 3-14
Viewing Volume Information ....................................................................................................... 3-14
Attaching a Volume to a vServer .................................................................................................. 3-15
Detaching a Volume from a vServer ............................................................................................ 3-15
Importing a Volume........................................................................................................................ 3-16
Creating a Snapshot ........................................................................................................................ 3-16
Deleting a Snapshot ........................................................................................................................ 3-17
Viewing Snapshot Information ..................................................................................................... 3-17
Managing Distribution Groups.......................................................................................................... 3-18
Creating a Distribution Group ...................................................................................................... 3-19
Deleting a Distribution Group ...................................................................................................... 3-19
Viewing Distribution Group Information ................................................................................... 3-19
Managing vServers ............................................................................................................................... 3-20
Viewing vServer Types .................................................................................................................. 3-21
Creating a vServer........................................................................................................................... 3-21
Deleting a vServer ........................................................................................................................... 3-22
Viewing vServer Information........................................................................................................ 3-23
Viewing vServer Metrics................................................................................................................ 3-24
Stopping a vServer .......................................................................................................................... 3-24
Starting a vServer ............................................................................................................................ 3-25
Rebooting a vServer........................................................................................................................ 3-25
Sending a Message to a vServer.................................................................................................... 3-25
Receiving a Message from a vServer............................................................................................ 3-26
Managing Key Pairs.............................................................................................................................. 3-26
Creating a Key Pair ......................................................................................................................... 3-27
Importing a Key Pair ...................................................................................................................... 3-27
Deleting a Key Pair ......................................................................................................................... 3-28
Viewing Key Pair Information ...................................................................................................... 3-28
Managing Attributes of an Account Resource................................................................................. 3-29
Viewing Attributes of an Account Resource............................................................................... 3-29
Modifying Attributes of an Account Resource ........................................................................... 3-29
Managing Tags ....................................................................................................................................... 3-30
Creating a Tag.................................................................................................................................. 3-30
Removing a Tag............................................................................................................................... 3-31
Viewing Tag Information............................................................................................................... 3-31
iv
Required Web Service HTTP Request Parameters........................................................................ 4-2
Signing a Web Service Request ........................................................................................................ 4-2
List of Actions ........................................................................................................................................... 4-4
AllocateIpAddressesRequest............................................................................................................ 4-5
AttachVolumesToVserverRequest .................................................................................................. 4-7
CreateAccessKeyAsObjectRequest.................................................................................................. 4-9
CreateAccessKeyToFileRequest.................................................................................................... 4-10
CreateDistributionGroupRequest................................................................................................. 4-12
CreateKeyPairAsObjectRequest.................................................................................................... 4-14
CreateKeyPairToFileRequest......................................................................................................... 4-15
CreateSnapshotRequest.................................................................................................................. 4-16
CreateTagsRequest.......................................................................................................................... 4-18
CreateVnetRequest.......................................................................................................................... 4-20
CreateVolumeRequest.................................................................................................................... 4-22
DeleteAccessKeyRequest ............................................................................................................... 4-24
DeleteDistributionGroupRequest ................................................................................................. 4-25
DeleteKeyPairRequest .................................................................................................................... 4-26
DeleteSnapshotRequest.................................................................................................................. 4-27
DeleteTagsRequest.......................................................................................................................... 4-28
DeleteVnetRequest.......................................................................................................................... 4-30
DeleteVolumeRequest .................................................................................................................... 4-31
DeregisterServerTemplateRequest ............................................................................................... 4-32
DescribeAccessKeysRequest ......................................................................................................... 4-33
DescribeAccountsRequest.............................................................................................................. 4-35
DescribeAttributesRequest ............................................................................................................ 4-37
DescribeDistributionGroupsRequest ........................................................................................... 4-39
DescribeIpAddressesRequest ........................................................................................................ 4-41
DescribeKeyPairsRequest .............................................................................................................. 4-43
DescribeServerTemplatesRequest ................................................................................................ 4-45
DescribeSnapshotsRequest ............................................................................................................ 4-47
DescribeTagsRequest...................................................................................................................... 4-49
DescribeVdcCapabilitiesRequest .................................................................................................. 4-51
DescribeVnetsRequest .................................................................................................................... 4-53
DescribeVolumesRequest .............................................................................................................. 4-55
DescribeVserverMetricsRequest ................................................................................................... 4-57
DescribeVserversRequest............................................................................................................... 4-59
DescribeVserverTypesRequest...................................................................................................... 4-62
DetachVolumesFromVserverRequest .......................................................................................... 4-64
ImportKeyPairRequest ................................................................................................................... 4-66
ImportVolumeRequest ................................................................................................................... 4-68
ModifyAttributesRequest .............................................................................................................. 4-70
RebootVserversRequest.................................................................................................................. 4-72
ReceiveMessageFromVserverRequest ......................................................................................... 4-73
RegisterAccessKeyRequest ............................................................................................................ 4-75
RegisterKeyPairRequest................................................................................................................. 4-77
RegisterServerTemplateFromUrlRequest.................................................................................... 4-79
RegisterServerTemplateFromVserverRequest............................................................................ 4-81
v
RegisterServerTemplatesFromAssemblyRequest ...................................................................... 4-83
ReleaseIpAddressesRequest .......................................................................................................... 4-85
RunVserverRequest ........................................................................................................................ 4-86
RunVserversRequest....................................................................................................................... 4-89
SendMessagesToVserverRequest ................................................................................................. 4-92
StartVserversRequest...................................................................................................................... 4-94
StopVserversRequest ...................................................................................................................... 4-95
TerminateVserversRequest............................................................................................................ 4-97
Data Types .............................................................................................................................................. 4-99
AccountIdType .............................................................................................................................. 4-100
DescribeAccessKeysResultItem .................................................................................................. 4-101
DescribeAccountsResultItem ...................................................................................................... 4-102
DescribeDistributionGroupsResultItem .................................................................................... 4-103
DescribeIpAddressesResultItem................................................................................................. 4-104
DescribeKeyPairsResultItem ....................................................................................................... 4-105
DescribeServerTemplatesResultItem ......................................................................................... 4-106
DescribeSnapshotsResultItem ..................................................................................................... 4-107
DescribeTagsResultItem............................................................................................................... 4-108
DescribeVdcCapabilitiesResultItem ........................................................................................... 4-109
DescribeVnetsResultItem ............................................................................................................. 4-110
DescribeVolumesResultItem ....................................................................................................... 4-111
DescribeVserverMetricsResultItem ............................................................................................ 4-112
DescribeVserversResultItem........................................................................................................ 4-113
DescribeVserverTypesResultItem............................................................................................... 4-115
DistributionGroupIdType............................................................................................................ 4-116
FilterItem ........................................................................................................................................ 4-117
GenericString ................................................................................................................................. 4-118
HostnameType .............................................................................................................................. 4-119
Message .......................................................................................................................................... 4-120
PositiveInteger ............................................................................................................................... 4-121
ResourceAttribute ......................................................................................................................... 4-122
ResourceIdType............................................................................................................................. 4-123
SnapshotIdType............................................................................................................................. 4-124
ServerTemplateIdType................................................................................................................. 4-125
TagType .......................................................................................................................................... 4-126
URLType ........................................................................................................................................ 4-127
VnetIdType .................................................................................................................................... 4-128
VolumeIdType............................................................................................................................... 4-129
VserverIdType ............................................................................................................................... 4-130
vi
iaas-allocate-ip-addresses .............................................................................................................. 5-16
iaas-attach-volumes-to-vserver ..................................................................................................... 5-19
iaas-create-distribution-group....................................................................................................... 5-21
iaas-create-key-pair......................................................................................................................... 5-24
iaas-create-server-template-from-assembly ................................................................................ 5-26
iaas-create-server-template-from-url ........................................................................................... 5-28
iaas-create-server-template-from-vserver ................................................................................... 5-30
iaas-create-snapshot........................................................................................................................ 5-32
iaas-create-tags ................................................................................................................................ 5-35
iaas-create-vnet................................................................................................................................ 5-37
iaas-create-volume .......................................................................................................................... 5-40
iaas-delete-distribution-group ...................................................................................................... 5-43
iaas-delete-key-pair......................................................................................................................... 5-45
iaas-delete-server-template............................................................................................................ 5-47
iaas-delete-snapshot........................................................................................................................ 5-49
iaas-delete-tags ................................................................................................................................ 5-51
iaas-delete-vnet................................................................................................................................ 5-53
iaas-delete-volume .......................................................................................................................... 5-55
iaas-describe-attributes................................................................................................................... 5-57
iaas-describe-distribution-groups................................................................................................. 5-60
iaas-describe-ip-addresses ............................................................................................................. 5-62
iaas-describe-key-pairs ................................................................................................................... 5-64
iaas-describe-server-templates ...................................................................................................... 5-67
iaas-describe-snapshots.................................................................................................................. 5-70
iaas-describe-tags ............................................................................................................................ 5-72
iaas-describe-vdc-capabilities........................................................................................................ 5-75
iaas-describe-vnets .......................................................................................................................... 5-77
iaas-describe-volumes .................................................................................................................... 5-80
iaas-describe-vserver-metrics ........................................................................................................ 5-83
iaas-describe-vservers..................................................................................................................... 5-86
iaas-describe-vserver-types ........................................................................................................... 5-89
iaas-detach-volumes-from-vserver............................................................................................... 5-91
iaas-import-key-pair ....................................................................................................................... 5-93
iaas-import-volume......................................................................................................................... 5-95
iaas-modify-attributes .................................................................................................................... 5-97
iaas-reboot-vservers...................................................................................................................... 5-100
iaas-receive-message-from-vserver ............................................................................................ 5-102
iaas-release-ip-addresses.............................................................................................................. 5-104
iaas-run-vserver............................................................................................................................. 5-107
iaas-run-vservers ........................................................................................................................... 5-110
iaas-send-messages-to-vserver.................................................................................................... 5-113
iaas-start-vservers ......................................................................................................................... 5-115
iaas-stop-vservers.......................................................................................................................... 5-117
iaas-terminate-vservers ................................................................................................................ 5-119
vii
AKM Request..................................................................................................................................... A-1
REQUEST_DATA Specification............................................................................................... A-2
IAAS Request..................................................................................................................................... A-2
REQUEST_IAAS_DATA Specification ................................................................................... A-2
SIGNATURE_BLOCK Specification ....................................................................................... A-3
IAAS Data Used for Signature ................................................................................................. A-3
Sending a Web Service Request ........................................................................................................... A-4
Using the Web Browser.................................................................................................................... A-4
Using WGET Utility.......................................................................................................................... A-4
Creating Public and Private Keys ........................................................................................................ A-5
Private Key ......................................................................................................................................... A-5
Public Key .......................................................................................................................................... A-5
Overview of the WebUtil Application ................................................................................................ A-5
How the WebUtil Application Works............................................................................................ A-8
Examples of Web Service Requests ..................................................................................................... A-9
Creating an Access Key .................................................................................................................... A-9
Executing actions for an account .................................................................................................. A-10
Viewing All Available Virtual Networks ............................................................................. A-11
Viewing Specific Virtual Networks by Using IDs .............................................................. A-12
Viewing Specific Virtual Networks by Using Filters.......................................................... A-13
Creating a Private Virtual Network ...................................................................................... A-14
Index
viii
ix
List of Examples
3–1 Creating an access key using the Cloud Infrastructure API................................................. 3-4
3–2 Creating an access key using the Cloud Infrastructure CLI ................................................. 3-4
3–3 Viewing access key information using the Cloud Infrastructure API ................................ 3-5
3–4 Viewing access key information using the Cloud Infrastructure CLI................................. 3-5
3–5 Deleting an access key information using the Cloud Infrastructure API........................... 3-5
3–6 Deleting an access key information using the Cloud Infrastructure CLI ........................... 3-5
3–7 Viewing vDC capabilities using the Cloud Infrastructure API ........................................... 3-5
3–8 Viewing vDC capabilities using the Cloud Infrastructure CLI............................................ 3-6
3–9 Creating a vNet using the Cloud Infrastructure API ............................................................ 3-6
3–10 Creating a vNet using the Cloud Infrastructure CLI............................................................. 3-6
3–11 Deleting a vNet using the Cloud Infrastructure API............................................................. 3-7
3–12 Deleting a vNet using the Cloud Infrastructure CLI ............................................................. 3-7
3–13 Viewing vNet information using the Cloud Infrastructure API.......................................... 3-7
3–14 Viewing vNet information using the Cloud Infrastructure CLI .......................................... 3-7
3–15 Allocating a vIP address using the Cloud Infrastructure API ............................................. 3-8
3–16 Allocating a vIP address using the Cloud Infrastructure CLI.............................................. 3-8
3–17 Deallocating a vIP address using the Cloud Infrastructure API ......................................... 3-8
3–18 Deallocating a vIP address using the Cloud Infrastructure CLI.......................................... 3-9
3–19 Viewing vIP addresses using the Cloud Infrastructure API ................................................ 3-9
3–20 Viewing vIP addresses using the Cloud Infrastructure CLI ................................................ 3-9
3–21 Uploading a server template from a vServer using the Cloud Infrastructure API........ 3-10
3–22 Uploading a server template from a vServer using the Cloud Infrastructure CLI ........ 3-10
3–23 Uploading a server template from a URL using the Cloud Infrastructure API ............. 3-11
3–24 Uploading a server template from a URL using the Cloud Infrastructure CLI ............. 3-11
3–25 Uploading a server template from an assembly using the Cloud Infrastructure API... 3-11
3–26 Uploading a server template from an assembly using the Cloud Infrastructure CLI ... 3-11
3–27 Deleting a server template using the Cloud Infrastructure API ....................................... 3-12
3–28 Deleting a server template using the Cloud Infrastructure CLI ....................................... 3-12
3–29 Viewing server template information using the Cloud Infrastructure API .................... 3-13
3–30 Viewing server template information using the Cloud Infrastructure CLI .................... 3-13
3–31 Creating a volume using the Cloud Infrastructure API..................................................... 3-13
3–32 Creating a volume using the Cloud Infrastructure CLI ..................................................... 3-14
3–33 Deleting a volume using the Cloud Infrastructure API ..................................................... 3-14
3–34 Deleting a volume using the Cloud Infrastructure CLI ..................................................... 3-14
3–35 Viewing volume information using the Cloud Infrastructure API .................................. 3-14
3–36 Viewing volume information using the Cloud Infrastructure CLI .................................. 3-15
3–37 Attaching a volume to a vServer using the Cloud Infrastructure API............................. 3-15
3–38 Attaching a volume to a vServer using the Cloud Infrastructure CLI............................. 3-15
3–39 Detaching a volume to a vServer using the Cloud Infrastructure API ............................ 3-15
3–40 Detaching a volume to a vServer using the Cloud Infrastructure CLI ............................ 3-16
3–41 Importing a volume using the Cloud Infrastructure API .................................................. 3-16
3–42 Importing a volume using the Cloud Infrastructure CLI .................................................. 3-16
3–43 Creating a snapshot using the Cloud Infrastructure API .................................................. 3-17
3–44 Creating a snapshot using the Cloud Infrastructure CLI................................................... 3-17
3–45 Deleting a snapshot using the Cloud Infrastructure API................................................... 3-17
3–46 Deleting a snapshot using the Cloud Infrastructure CLI................................................... 3-17
3–47 Viewing snapshot information using the Cloud Infrastructure API................................ 3-18
3–48 Viewing snapshot information using the Cloud Infrastructure CLI................................ 3-18
3–49 Creating a distribution group using the Cloud Infrastructure API.................................. 3-19
3–50 Creating a distribution group using the Cloud Infrastructure CLI.................................. 3-19
3–51 Deleting a distribution group using the Cloud Infrastructure API.................................. 3-19
3–52 Deleting a distribution group using the Cloud Infrastructure CLI .................................. 3-19
3–53 Viewing distribution groups information using the Cloud Infrastructure API ............. 3-20
3–54 Viewing distribution groups information using the Cloud Infrastructure CLI ............. 3-20
x
3–55 Listing vServer types using the Cloud Infrastructure API ................................................ 3-21
3–56 Listing vServer types using the Cloud Infrastructure CLI ................................................ 3-21
3–57 Creating a vServer using the Cloud Infrastructure API..................................................... 3-22
3–58 Creating a vServer using the Cloud Infrastructure CLI..................................................... 3-22
3–59 Deleting a vServer using the Cloud Infrastructure API..................................................... 3-23
3–60 Deleting a vServer using the Cloud Infrastructure CLI ..................................................... 3-23
3–61 Viewing vServer information using the Cloud Infrastructure API.................................. 3-23
3–62 Viewing vServer information using the Cloud Infrastructure CLI .................................. 3-24
3–63 Viewing vServer metrics using the Cloud Infrastructure API .......................................... 3-24
3–64 Viewing vServer metrics using the Cloud Infrastructure CLI .......................................... 3-24
3–65 Stopping a vServer using the Cloud Infrastructure API.................................................... 3-24
3–66 Stopping a vServer using the Cloud Infrastructure CLI .................................................... 3-25
3–67 Starting a vServer using the Cloud Infrastructure API ...................................................... 3-25
3–68 Starting a vServer using the Cloud Infrastructure CLI ...................................................... 3-25
3–69 Rebooting a vServer using the Cloud Infrastructure API.................................................. 3-25
3–70 Rebooting a vServer using the Cloud Infrastructure CLI .................................................. 3-25
3–71 Sending messages to a vServer using the Cloud Infrastructure API ............................... 3-26
3–72 Sending messages to a vServer using the Cloud Infrastructure CLI................................ 3-26
3–73 Receiving message from a vServer using the Cloud Infrastructure API ......................... 3-26
3–74 Receiving message from a vServer using the Cloud Infrastructure CLI ......................... 3-26
3–75 Creating a key pair using the Cloud Infrastructure API.................................................... 3-27
3–76 Creating a key pair using the Cloud Infrastructure CLI .................................................... 3-27
3–77 Importing a key pair using the Cloud Infrastructure API ................................................. 3-27
3–78 Importing a key pair using the Cloud Infrastructure CLI ................................................. 3-28
3–79 Deleting a key pair using the Cloud Infrastructure API .................................................... 3-28
3–80 Deleting a key pair using the Cloud Infrastructure CLI .................................................... 3-28
3–81 Viewing key pair information using the Cloud Infrastructure API ................................. 3-28
3–82 Viewing key pair information using the Cloud Infrastructure CLI ................................. 3-28
3–83 Viewing attributes of an account resource using the Cloud Infrastructure API ............ 3-29
3–84 Viewing attributes of an account resource using the Cloud Infrastructure CLI ............ 3-29
3–85 Modifying vNet attributes using the Cloud Infrastructure API ....................................... 3-30
3–86 Modifying vNet attributes using the Cloud Infrastructure CLI ....................................... 3-30
3–87 Creating a tag using the Cloud Infrastructure API............................................................. 3-30
3–88 Creating a tag using the Cloud Infrastructure CLI ............................................................. 3-30
3–89 Deleting a tag using the Cloud Infrastructure API ............................................................. 3-31
3–90 Deleting a tag using the Cloud Infrastructure CLI ............................................................. 3-31
3–91 Viewing tag information using the Cloud Infrastructure API .......................................... 3-31
3–92 Viewing tag information using the Cloud Infrastructure CLI .......................................... 3-31
4–1 URL for an HTTP GET request to the IAAS servlet:............................................................. 4-3
4–2 URL for an HTTP GET request to the AKM servlet: ............................................................ 4-3
A–1 A Complete AKM Request ....................................................................................................... A-2
A–2 Sample REQUEST_IAAS_DATA Specification .................................................................... A-3
A–3 Sample SIGNATURE_BLOCK Specification ......................................................................... A-3
A–4 Example of the IAAS Data to Sign........................................................................................... A-4
A–5 Java Representation of the Data to Sign ................................................................................. A-4
xi
xii
List of Figures
1–1 Cloud Infrastructure APIs and CLI Execution Flow ............................................................. 1-2
xiii
List of Tables
1–1 vDC Management ...................................................................................................................... 1-3
1–2 Account Management ............................................................................................................... 1-3
1–3 Server Template Management ................................................................................................. 1-3
1–4 vServer Management................................................................................................................. 1-4
1–5 Volume Management ................................................................................................................ 1-4
1–6 Snapshot Management.............................................................................................................. 1-4
1–7 Virtual IP Management............................................................................................................. 1-4
1–8 Virtual Network Management................................................................................................. 1-4
1–9 Account and vServer Access Management............................................................................ 1-4
1–10 Distribution Groups Management .......................................................................................... 1-5
1–11 Tag Management ....................................................................................................................... 1-5
4–1 Required Parameters for an HTTP Request ........................................................................... 4-2
5–1 Common Command Options................................................................................................... 5-1
xiv
Preface
This guide covers installation procedures and operation reference material for the
cloud infrastructure API and cloud infrastructure CLI of Oracle Enterprise Manager
Ops Center.
Audience
This document is intended for advanced users or developers who require access to
manage the virtual servers, storage, and network infrastructure as a service from a
shell or scripts.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Related Documents
For more information, see the Oracle Enterprise Manager Ops Center documentation
library.
Oracle Enterprise Manager Ops Center provides online help. Click Help at the
top-right corner of any page in the user interface to display the online help window.
For the latest releases of this and other Oracle documentation, check the Oracle
Technology Network at
http://www.oracle.com/technetwork/documentation/index.html#em
Conventions
The following text conventions are used in this document:
xv
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated
with an action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
monospace Monospace type indicates commands within a paragraph, URLs, code
in examples, text that appears on the screen, or text that you enter.
xvi
1
Cloud Infrastructure APIs and CLI
1
Oracle Enterprise Manager Ops Center provides APIs and a command-line interface
(CLI) to enable access to a subset of the virtual datacenter (vDC) functionality
provided to cloud users.
These APIs and CLI offer a way for cloud users to programmatically manage allocated
virtual resources in a vDC account, providing the ability to create and manage virtual
servers (vServers) to deploy applications in an infrastructure as a service (IaaS) mode.
This guide provides information about:
■ Cloud infrastructure API – A programmatic Web service interface for managing
virtual datacenter (vDC) resources allocated in vDC accounts. This API is also
referred to simply as Web service in this guide.
■ Cloud infrastructure Java client API – A Java client API for interacting with the
Web service interface. This API is also referred to simply as Java client API in this
guide.
■ Cloud infrastructure CLI – A Java-based command-line interface that wraps the
cloud infrastructure Java client API with simple scripts. It is also referred to simply
as CLI in this guide.
The following topics are covered in this chapter:
■ Overview of Virtual Datacenter Management
■ How APIs and CLI Work
■ Overview of the Functionality
See Oracle Enterprise Manager Ops Center Feature Reference Guide for more information
about vDC management.
Important Concepts
The following list describes vDC management concepts used in this guide:
■ Virtual datacenter – Consolidation of virtualization servers, storage, and network
resources to be used optimally and securely for mixed and dynamic workloads.
■ Account – An account entitles designated cloud users the right to use computing,
network, and storage resources of vDC. The account provides the required
capabilities to manage these resources. The amount of virtual CPU (vCPU),
memory, and storage resources that can be used from the available vDC resources.
■ Cloud administrator – An Oracle Enterprise Manager Ops Center user with the
cloud administrator role. A cloud administrator can create and manage the vDCs,
accounts, and cloud users.
■ Cloud user – An Oracle Enterprise Manager Ops Center user with the cloud user
role. Cloud users can have access to different accounts to manage the allocated
resources. Cloud users can create virtual servers to host or access applications.
■ The cloud infrastructure CLI is delivered as a standalone package and can be used
without an Oracle Enterprise Manager Ops Center installation in the computer
where CLI is deployed. This element offers the same functionality as the cloud
infrastructure API and Java client API.
■ The cloud infrastructure Java client API provides for the cloud infrastructure CLI a
common set of functionality for executing actions through the cloud infrastructure
API. The Java client API is delivered as a standalone package.
■ The cloud infrastructure API is a Web service that exposes a subset of the
functionality of the vDC management system. A cloud infrastructure API request
triggers an action by calling the corresponding action of the vDC management
system.
1-2 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Overview of the Functionality
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.
Synchronous Semantic
The cloud infrastructure API provides a synchronous call semantic for all modify or
create actions. The call returns at least the identifiers of the changed or created
resources.
The creation of the resource IDs and the mapping to jobs is handled by the vDC
management system. The cloud infrastructure API must wait actively for notifications
from the Job Manager to get the IDs of the changed or created resources. Jobs are
specially tailored to deliver fast results; the cloud infrastructure API waits only until
the necessary results are available.
The cloud infrastructure API returns a valid identifier even when resource creation
fails. A cloud user must be able to view resource information, such as name,
description, and status using the identifier returned. For more information, see "Status
of Account Resources".
1-4 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Overview of the Functionality
1-6 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
2
Getting Started
2
This chapter identifies the prerequisites for the cloud infrastructure APIs and CLI, and
describes their installation and configuration.
The following topics are covered in this chapter:
■ Prerequisites
■ Installation
■ Next Steps
Prerequisites
The following prerequisites must be met before using the APIs and CLI:
■ Installation of Java Runtime Environment (JRE) or Java Development Kit (JDK)
version 1.6 or later appropriate for the platform where the APIs and CLI will be
run or installed
■ Access to the Enterprise Controller
Installation
This section explains the installation process for the APIs and CLI.
■ For Linux:
# cd <repo>/src/dvd/Linux_i686/Product/components/packages/
# rpm -i orcl-sysman-iaas-api.rpm
The API jar files from the package are stored at /opt/oracle/iaas/iaas-java-api.
Before you use the API JAR file, set the JAVA_HOME environment variable and ensure
that the environment variable is part of your PATH.
■ For Linux:
# cd <repo>/src/dvd/Linux_i686/Product/components/packages/
# rpm -i orcl-sysman-iaas-cli.rpm
The files from the package are stored at /opt/oracle/iaas/cli. To execute the CLI
commands, the user must have permissions to access this directory.
Before using the cloud infrastructure CLI:
1. Set the JAVA_HOME environment variable and ensure that the environment
variable is part of your PATH:
■ Korn and bash shells:
export JAVA_HOME=<jdk-install-dir>
export PATH=$JAVA_HOME/bin:$PATH
■ Bourne shell:
JAVA_HOME=<jdk-install-dir>
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
■ C shell:
setenv JAVA_HOME <jdk-install-dir>
setenv PATH $JAVA_HOME/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH
2-2 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Next Steps
■ Bourne shell:
IAAS_HOME=/opt/oracle/iaas/cli
export IAAS_HOME
■ C shell:
setenv IAAS_HOME /opt/oracle/iaas/cli
Next Steps
Before the cloud administration can use the APIs or the CLI, the cloud administrator
must complete the following tasks:
1. Create vDC and an account for the vDC.
2. Create a cloud user and associate the user with the account and vDC.
After getting the cloud user credentials, a cloud user must create an access key for the
account in order to manage any resource in the account. For more information, see
"Creating an Access Key".
2-4 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
3
Managing Resources
3
This chapter describes how a cloud user can manage different resources in an account
by using the APIs and CLI. It also includes a basic example for each action that a cloud
user can perform to manage these resources by using the cloud infrastructure API and
cloud infrastructure CLI.
For a complete reference and other examples that use the cloud infrastructure API and
CLI, see also:
■ Getting Started
■ Cloud Infrastructure API Reference
■ Cloud Infrastructure CLI Reference
3-2 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Account Access
■ Unhealthy status – A resource exists. The following values indicate that a resource
might not be usable. This does not apply to the WARNING state.
– CRITICAL
– DECONFIGURED
– FAULTED
– MAINTENANCE
– NON_RECOVERABLE
– UNCONFIGURED
– UNINITIALIZED
– UNKNOWN
– NEEDS_POWERON
Operations that delete resources might observe a state transition until the point is
reached whereby the resource is no longer visible. For example, the process of
terminating a vServer can exhibit a transition to the vServer run state
SHUTDOWNDETACHED before the resource is removed.
A delete operation could also fail, in which case the resource must transition to one of
the unhealthy states in the preceding list.
Example 3–1 Creating an access key using the Cloud Infrastructure API
https://<username>:<password>@<EnterpriseControllerHostname>/akm/?Action=RegisterA
ccessKey&Version=1&Timestamp=1330975344&Expires=1333975344&account=ACC-0162da5a-5d
25-4096-af59-3dd1de27cfad&publicKey=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuf
Vdjdp0MmOLbNypLVMWXfmhusawid4Wg4n4FZewSmoBEYA8f8wIA0SI87Shi7RtMcWsEoXvNNHA0wcJoA1R
jyVLsI3rtrq0c0k7AxQSwb4UK/rSXW1NXxMh/mE7b3gdA6d9VuwIPnZJ5ZFQUZCLyhaAotLCdACrzbgzYX
dqt+rstutT1AVkE2UAMcm5O3KnIoObZKb8JtepSt74A9RgVBkcCBjmKGfLNOL1KlZconkITm85TWKRaGRF
uASxdl2ZrD723ZNb66X/a9ebxTMr6vVeskcaZpPlHzvgMOpiyDGwRvxn9yM5WB83zFDGT26Lihn/bKzLJX
a+F2YNkLrTJQIDAQAB
Example 3–2 Creating an access key using the Cloud Infrastructure CLI
akm-create-access-key --base-url https://<EnterpriseControllerHostname>/ --user
clouuser1 --password-file ~/pwd.file --account
ACC-4b83b85e-592c-45a1-ba71-3bd0774fbd0e --access-key-file ~/tmp_access_key
3-4 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Viewing vDC Capabilities
Example 3–3 Viewing access key information using the Cloud Infrastructure API
https://<username>:<password>@<EnterpriseControllerHostname>/akm/?Action=
DescribeAccessKeys&Version=1&Timestamp=1330954619299&Expires=1330954919299
Example 3–4 Viewing access key information using the Cloud Infrastructure CLI
akm-describe-access-keys --base-url https://<EnterpriseControllerHostname>/ --user
<username> --password-file ~/pwd.file
Example 3–5 Deleting an access key information using the Cloud Infrastructure API
https://<username>:<password>@<EnterpriseControllerHostname>/akm/?Action=DeleteAcc
essKey&Version=1&Timestamp=1318278941862&Expires=1318279241862&accessKeyId=AK_3
Example 3–6 Deleting an access key information using the Cloud Infrastructure CLI
akm-delete-access-key --base-url https://<EnterpriseControllerHostname>/ --user
<username> --password-file ~/pwd.file AK_3
Example 3–7 Viewing vDC capabilities using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVdcCapabilities&Versio
n=1&Timestamp=1320085185647&Expires=1320085485647&AccessKeyId=AK_
3&SignatureMethod=SHA512withRSA&SignatureVersion=1&Signature=SIGNATURE_HAS_BEEN_
REMOVED_FOR_THE_READABILITY_OF_THE_REQUEST
Example 3–8 Viewing vDC capabilities using the Cloud Infrastructure CLI
./iaas-describe-vdc-capabilities --base-url
https://<EnterpriseControllerHostname>/ -a ak.file -H
Creating a vNet
A cloud user can create private vNets according to the user requirements and within
the limits of the account quota.
A public network available in an account is visible to cloud users. However, a cloud
user cannot create a public network. The number of public network IP addresses
allocated to the cloud user is controlled by the cloud administrator.
The cloud infrastructure API action and the cloud infrastructure CLI command
required to create a private vNet are:
3-6 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Virtual Networks
Deleting a vNet
A cloud user can delete only private vNets. The cloud infrastructure API action and
the cloud infrastructure CLI command required to delete a private vNet are:
Example 3–13 Viewing vNet information using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Version=1&Access
KeyId=AK_
3&Timestamp=1318283467620&Expires=1318283767620&SignatureMethod=SHA512withRSA&Sign
atureVersion=1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST
Example 3–14 Viewing vNet information using the Cloud Infrastructure CLI
iaas-describe-vnets --base-url https://<EnterpriseControllerHostname>/ -a ak.file
Example 3–15 Allocating a vIP address using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=AllocateIpAddresses&AccessKeyI
d=AK_
32&vnet=VNET-6ea466f5-6e6b-4159-adf3-8867473d4cf4&Version=1&Timestamp=132034220680
8&Expires=1320342506808&SignatureMethod=SHA512withRSA&SignatureVersion=1&Signature
=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_REQUEST
Example 3–16 Allocating a vIP address using the Cloud Infrastructure CLI
iaas-allocate-ip-addresses --base-url https://<EnterpriseControllerHostname>/ -a
ak.file --vnet VNET-9634972a-bcdd-4714-8c7f-b67d8010f13c
Example 3–17 Deallocating a vIP address using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=ReleaseIpAddresses&AccessKeyId
=AK_
32&ipAddresses.2=10.6.0.10&ipAddresses.1=10.6.0.13&vnet=VNET-6ea466f5-6e6b-4159-ad
3-8 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Server Templates
f3-8867473d4cf4&Version=1&Timestamp=1320341801846&Expires=1320342101846&SignatureM
ethod=SHA512withRSA&SignatureVersion=1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_
THE_READABILITY_OF_THE_REQUEST
Example 3–18 Deallocating a vIP address using the Cloud Infrastructure CLI
iaas-release-ip-addresses --base-url https://<EnterpriseControllerHostname>/ -a
ak.file --vnet VNET-9634972a-bcdd-4714-8c7f-b67d8010f13c --ip-addresses
192.168.0.1
Example 3–19 Viewing vIP addresses using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeIpAddresses&AccessKeyI
d=AK_
32&Version=1&Timestamp=1320339663115&Expires=1320339963115&SignatureMethod=SHA512w
ithRSA&SignatureVersion=1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_
READABILITY_OF_THE_REQUEST
Example 3–20 Viewing vIP addresses using the Cloud Infrastructure CLI
iaas-describe-ip-addresses --base-url https://<EnterpriseControllerHostname>/ -a
ak.file
■ Location
■ HA enabled
■ Life cycle aware
A new server template can be uploaded as follows:
■ Based on an existing vServer
■ From a single virtual machine template
■ From an assembly. When you upload an assembly, snapshots can be also created
as result
The APIs and CLI provide operations for:
■ Uploading a Server Template from a vServer
■ Uploading a Server Template from a URL
■ Uploading a Server Template from an Assembly
■ Deleting a Server Template
■ Viewing Server Template Information
Example 3–21 Uploading a server template from a vServer using the Cloud
Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplateFromVser
ver&AccessKeyId=AK_
2&name=mySTfromVserver&vserverId=VSRV-fdba0b48-6e1c-4f41-bde4-2c739dfeeb2&Version=
1&Timestamp=1324422880552&Expires=1324423180552f&SignatureMethod=SHA512withRSA&Sig
natureVersion=1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST
Example 3–22 Uploading a server template from a vServer using the Cloud
Infrastructure CLI
iaas-create-server-template-from-vserver --base-url
https://<EnterpriseControllerHostname>/ --access-key-file ak.file --name myST
--vserver-id VSRV-a959be32-6237-40c7-b44b-47d392e7a0ac
3-10 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Server Templates
The cloud infrastructure API action and the cloud infrastructure CLI command
required to register a server template from a URL are:
Example 3–23 Uploading a server template from a URL using the Cloud Infrastructure
API
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplateFromUrl&
Version=1&Timestamp=1320096741216&Expires=1320097041216&name=myST&url=http%3A%2F%2
Fca-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
Example 3–24 Uploading a server template from a URL using the Cloud Infrastructure
CLI
iaas-create-server-template-from-url --base-url
https://<EnterpriseControllerHostname>/ --access-key-file ak.file --name
myAssembly --url http://myServer.com/myTemplate.tar.gz
Example 3–25 Uploading a server template from an assembly using the Cloud
Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplatesFromAss
embly&AccessKeyId=AK_
3&url=https%3A%2F%2Ffanyv88.com%3A443%2Fhttp%2Fadc4120293.us.oracle.com%3A8888%2FmyAssembly.ova&Version=1&Time
stamp=1320097901377&Expires=1320098201377&SignatureMethod=SHA512withRSA&SignatureV
ersion=1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_REQUEST
Example 3–26 Uploading a server template from an assembly using the Cloud
Infrastructure CLI
iaas-create-server-template-from-assembly --base-url
https://<EnterpriseControllerHostname>/ --access-key-file ak.file --name
Example 3–27 Deleting a server template using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DeregisterServerTemplate&Acces
sKeyId=AK_
3&serverTemplateId=TMPL-f089b985-f7fc-4b8a-a5f8-df8f44c95f3c&Version=1&Timestamp=1
320098301701&Expires=1320098601701&SignatureMethod=SHA512withRSA&SignatureVersion=
1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_REQUEST
Example 3–28 Deleting a server template using the Cloud Infrastructure CLI
iaas-delete-server-template --base-url https://<EnterpriseControllerHostname>/
--access-key-file ak.file --server-template-id
TMPL-aaaaaaa8-bbb4-ccc4-ddd4-eeeeeeeeee03
3-12 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Storage
Example 3–29 Viewing server template information using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeServerTemplates&Versio
n=1&Timestamp=1320088801876&Expires=1320089101876&AccessKeyId=AK_
3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–30 Viewing server template information using the Cloud Infrastructure CLI
iaas-describe-server-templates --base-url https://<EnterpriseControllerHostname>/
--access-key-file ak.file -H
Managing Storage
Volumes and snapshots are the two types of storage devices that are managed by a
cloud user.
The virtual block storage devices are called volumes. Volumes are serially shareable
and can be attached to or detached from a vServer.
A snapshot captures the current state of a volume. Snapshots are immutable.
The APIs and CLI provide operations for:
■ Creating a Volume
■ Deleting a Volume
■ Viewing Volume Information
■ Attaching a Volume to a vServer
■ Detaching a Volume from a vServer
■ Importing a Volume
■ Creating a Snapshot
■ Deleting a Snapshot
■ Viewing Snapshot Information
Creating a Volume
A cloud user can create a shared or non-shared empty volume with a given size. A
cloud user can also create a shared or nonshared volume from a snapshot. The new
volume can be attached to vServers. Shared volumes can be attached to more than one
vServer.
The cloud infrastructure API action and the cloud infrastructure CLI command
required to create a volume are:
Deleting a Volume
A cloud user can delete a volume. Only volumes that are not currently attached to a
vServer can be deleted. The process of deleting a volume does not affect any snapshot
that has been created previously based on that volume. The snapshot exists
independently of the volume.
The cloud infrastructure API action and the cloud infrastructure CLI command
required to delete a volume are:
Example 3–35 Viewing volume information using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVolumes&Version=1&Time
stamp=1318463287921&Expires=1318463587921&AccessKeyId=AK_2&Signature=SIGNATURE_
HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
3-14 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Storage
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–36 Viewing volume information using the Cloud Infrastructure CLI
iaas-describe-volumes --base-url https://<EnterpriseControllerHostname>/ -a
ak.file -H
Example 3–37 Attaching a volume to a vServer using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=AttachVolumesToVserver&Version
=1&Timestamp=1321384886152&Expires=1321385186152&volumeIds.1=VOL-052cb4b4-5e56-430
3-8b3a-82d6ba743a15&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6&AccessKeyI
d=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–38 Attaching a volume to a vServer using the Cloud Infrastructure CLI
iaas-attach-volumes-to-vserver --base-url https://<EnterpriseControllerHostname>/
-a ~/ak.file -vserver-id VSRV-0fb57293-347c-4717-96ef-6dd23154596f --volume-ids
VOL-052cb4b4-5e56-4303-8b3a-82d6ba743a15
The cloud infrastructure API action and the cloud infrastructure CLI command
required to detach a volume from a vServer are:
Example 3–39 Detaching a volume to a vServer using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DetachVolumesFromVserver&Versi
on=1&Timestamp=1321385229679&Expires=1321385529679&volumeIds.1=VOL-052cb4b4-5e56-4
303-8b3a-82d6ba743a15&force=true&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7
f6&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_
THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–40 Detaching a volume to a vServer using the Cloud Infrastructure CLI
iaas-detach-volumes-from-vserver --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file -vserver-id
VSRV-0fb57293-347c-4717-96ef-6dd23154596f --volume-ids
VOL-052cb4b4-5e56-4303-8b3a-82d6ba743a15 --force
Importing a Volume
A cloud user can import a volume from another location. Volumes must be contained
in a file of the format .img. The volume must be accessible through a URL. The file is
uploaded to the vDC, and the volume is created and stored physically. The imported
volume is only accessible within the target account.
The cloud infrastructure API action and the cloud infrastructure CLI command
required to import a volume are:
Creating a Snapshot
Snapshot creation and management is available if it is supported by the storage of the
vDC.
Creating a snapshot serves two main purposes:
■ Backup of data stored on a volume
■ Creation of new volumes from a snapshot
A cloud user can create a snapshot of a volume or, a snapshot can exist as result of
uploading an assembly.
There are four types of exposed disks in an assembly’s template. When snapshots are
created from an assembly, three of the disk type are presented to cloud users as
snapshots. This allows cloud users to optionally create a shared volume from the
snapshot. The three exposed disks are:
■ Public Populated – An extra disk with data already present.
■ Private Raw – Dynamically created as an empty disk with a size but no disk data.
■ Shared Raw – Dynamically created as an empty disk, with a size but no disk data.
3-16 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Storage
The cloud infrastructure API action and the cloud infrastructure CLI command
required to create a snapshot of an existing volume are:
Deleting a Snapshot
A cloud user can delete a snapshot of a volume. The deletion of a snapshot does not
affect any volumes or any other snapshots. Snapshots exist independently of the
volume. The cloud infrastructure API action and the cloud infrastructure CLI
command required to delete a snapshot are:
The cloud infrastructure API action and the cloud infrastructure CLI command
required to view snapshot information are:
Example 3–47 Viewing snapshot information using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeSnapshots&Version=1&Ti
mestamp=1318467903784&Expires=1318468203784&AccessKeyId=AK_2&Signature=SIGNATURE_
HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–48 Viewing snapshot information using the Cloud Infrastructure CLI
iaas-describe-snapshots --base-url https://<EnterpriseControllerHostname>/ -a
ak.file -H
3-18 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Distribution Groups
Example 3–49 Creating a distribution group using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=CreateDistributionGroup&Versio
n=1&Timestamp=1324407098313&Expires=1324407398313&name=myDistributionGroup&AccessK
eyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–50 Creating a distribution group using the Cloud Infrastructure CLI
iaas-create-distribution-group --base-url https://<EnterpriseControllerHostname>/
-a ak.file --name myDistributionGroup
Example 3–51 Deleting a distribution group using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteDistributionGroup&Versio
n=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
Example 3–52 Deleting a distribution group using the Cloud Infrastructure CLI
iaas-delete-distribution-group --base-url https://<EnterpriseControllerHostname>/
--access-key-file ak.file --distribution-group-id
DG-3206ed4d-44c9-42c4-8df7-511709a49ead
■ ID
■ Name
■ Description
■ Status
■ vServers
■ Size
The value for a distribution group size greater or equal to the default value is shown
as unlimited when using the CLI and APIs.
The cloud infrastructure API action and the cloud infrastructure CLI command
required to view details of a distribution group are:
Example 3–53 Viewing distribution groups information using the Cloud Infrastructure
API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeDistributionGroups&Ver
sion=1&Timestamp=1324407152926&Expires=1324407452926&AccessKeyId=AK_
1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–54 Viewing distribution groups information using the Cloud Infrastructure
CLI
iaas-describe-distribution-groups --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file -H
Managing vServers
A vServer has its own identity, local storage, interfaces, and configuration that exist for
the lifetime of the vServer. vServers are created based on a server template and vServer
types. A vServer type defines hardware characteristics of the vServer, such as CPU,
memory size, and the network bandwidth.
Each vServer is a member of one or more vNets that define the network connectivity.
A vServer has temporary local storage. For hard disk storage, the associated volume is
used. A vServer can have one or more volumes attached.
The APIs and CLI provide operations for:
■ Viewing vServer Types
■ Creating a vServer
■ Deleting a vServer
■ Viewing vServer Information
■ Viewing vServer Metrics
■ Stopping a vServer
■ Starting a vServer
■ Rebooting a vServer
3-20 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing vServers
Example 3–55 Listing vServer types using the Cloud Infrastructure API
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
Example 3–56 Listing vServer types using the Cloud Infrastructure CLI
iaas-describe-vserver-types --base-url https://<EnterpriseControllerHostname>/ -a
ak.file -H
Creating a vServer
A cloud user can create a single vServer or multiple vServers at once based on a server
template. When a vServer is created, it is automatically started.
When creating a single vServer, the cloud user must use an allocated vIP address.
When creating multiple vServer an IP address is automatically assigned from each
specified vNets.
When a cloud user creates a vServer, the following resources are required:
■ A vServer type
■ A server template
■ One or more vNets
Depending on the needs of the user and the virtualization type of the vDC, a cloud
user can also specify the following resources:
■ A key pair
■ One or more volumes
■ A Distribution group
Additionally to the resources listed, a cloud user might specify the following values
when creating a vServer:
■ A hostname to override vServer default internal host name, which is same as
vServer name.
■ A root password
■ One or more messages for the vServer
■ Enable or disable high availabitility
Deleting a vServer
A cloud user can delete a vServer. Deleting a vServer results in shutting down the
vServer followed by the deletion of the vServer. The cloud infrastructure API action
and the cloud infrastructure CLI command required to terminate a vServer are:
3-22 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing vServers
Example 3–61 Viewing vServer information using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVservers&Version=1&Tim
estamp=1320105338731&Expires=1320105638731&AccessKeyId=AK_3&Signature=SIGNATURE_
HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–62 Viewing vServer information using the Cloud Infrastructure CLI
iaas-describe-vservers --base-url https://<EnterpriseControllerHostname>/ -a
ak.file -H
Example 3–63 Viewing vServer metrics using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVserverMetrics&Version
=1&Timestamp=1320105338731&Expires=1320105638731&AccessKeyId=AK_
3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–64 Viewing vServer metrics using the Cloud Infrastructure CLI
iaas-describe-vserver-metrics --base-url https://<EnterpriseControllerHostname>/
-a ak.file -H
Stopping a vServer
A cloud user can stop a vServer. When a vServer is stopped, the guest operating
system is shut down. A stopped vServer can be restarted later. The cloud
infrastructure API action and the cloud infrastructure CLI command required to stop a
vServer are:
3-24 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing vServers
mp=1320105610783&Expires=1320105910783&vserverIds.1=VSRV-c1e236e6-ef4d-4936-911a-9
7923dfbc291&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_
READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Starting a vServer
A cloud user can start a vServer that has been stopped. The restarted vServer might
not get the same IP address as the original vServer. The cloud infrastructure API action
and the cloud infrastructure CLI command required to start a vServer are:
Rebooting a vServer
A cloud user can reboot a vServer. Rebooting a vServer does not change the IP address
and other resources of the vServer. The cloud infrastructure API action and the cloud
infrastructure CLI command required to reboot a vServer are:
The cloud infrastructure API action and the cloud infrastructure CLI command
required to send messages to a vServer are:
Example 3–71 Sending messages to a vServer using the Cloud Infrastructure API
ttps://<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
Example 3–72 Sending messages to a vServer using the Cloud Infrastructure CLI
iaas-send-messages-to-vserver --base-url https://<EnterpriseControllerHostname>/
-a ~/ak.file --vserver-id VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6 --messages
com.oracle.ovab.test=Running
Example 3–73 Receiving message from a vServer using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=ReceiveMessageFromVserver&Vers
ion=1&Timestamp=1321381585564&Expires=1321381885564&vserverId=VSRV-8ae29df9-ccfe-4
184-acb8-10080665d7f6&key=myMessageKey&AccessKeyId=AK_1&Signature=SIGNATURE_HAS_
BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–74 Receiving message from a vServer using the Cloud Infrastructure CLI
iaas-receive-message-from-server --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file --vserver-id
VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6 --key com.oracle.ovab.test-response
3-26 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Key Pairs
Example 3–75 Creating a key pair using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterKeyPair&Version=1&Time
stamp=1318279380444&Expires=1318279680444&publicKey=ssh-rsa+AAAAB3NzaC1yc2EAAAADAQ
ABAAABAQDg2eienGE4vEMSMcVMbYbC8z2q%2Fvhz3H6AanlJ6B4udseK%0A8CpaHJ23eGWcjcgAmuZCJ%2
FOoHUA2dN2PNPuK6g%2BZndR8wVaaQT89eWDZx9oaf0%2F2Eg%2FLeKJ3moVH%0AvIYvFB9aFCpa4H%2BO
mLfM%2FmfQ4CYeDfo0r0jxCCB0YLo0876LQqK5X%2BtgRXwbAbPH2Mzbzp%2FzzdkQ%0ArsBqSgUQ%2B1V
4LkN6TQe06P5a2QYIlUhRXwUorTnbXczGq9zEJJ7ef%2F74xIQZfAipkYkyGgktsXrM%0A%2F%2Bs789v9
ipaDB5B26y3aqjIdvW4ZLDvuGXPs60aiUfj2WGIqx0KSVL%2FyB%2FtK1WbuZYwl+IaaS-Generated&ke
yName=myKeyPairK&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_
READABILITY_OF_THE_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–76 Creating a key pair using the Cloud Infrastructure CLI
iaas-create-key-pair --base-url https://<EnterpriseControllerHostname>/ -a ak.file
--key-name myKeyPair --key-file myKeyFile
Example 3–77 Importing a key pair using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterKeyPair&Version=1&Time
stamp=1324421510757&Expires=1324421810757&publicKey=ssh-rsa+AAAAB3NzaC1yc2EAAAABIw
AAAQEAtJnFD8INGLtM%2FQIlxkDjh4t2R4%2FtTMpUDzMIRP%0A&keyName=myKeyPair&AccessKeyId=
AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–78 Importing a key pair using the Cloud Infrastructure CLI
iaas-import-key-pair --base-url https://<EnterpriseControllerHostname>/ -a ak.file
--key-name myOtherPair --key-file myOtherPair.key
Example 3–79 Deleting a key pair using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteKeyPair&Version=1&Timest
amp=1318281994430&Expires=1318282294430&keyName=myKeyPair&AccessKeyId=AK_
3&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–80 Deleting a key pair using the Cloud Infrastructure CLI
iaas-delete-key-pair --base-url https://<EnterpriseControllerHostname>/
--access-key-file ak.file --key-name myKeyPairName
Example 3–81 Viewing key pair information using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeKeyPairs&Version=1&Tim
estamp=1320361610130&Expires=1320361910130&AccessKeyId=AK_32&Signature=
SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–82 Viewing key pair information using the Cloud Infrastructure CLI
iaas-describe-key-pairs --base-url https://<EnterpriseControllerHostname>/ -a
ak.file
3-28 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Attributes of an Account Resource
Example 3–83 Viewing attributes of an account resource using the Cloud Infrastructure
API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeAttributes&Version=1&T
imestamp=1318464041596&Expires=1318464341596&attrNames.4=shared&resourceId=VOL-246
b5c62-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
Example 3–84 Viewing attributes of an account resource using the Cloud Infrastructure
CLI
iaas-describe-attributes --base-url https://<EnterpriseControllerHostname>/ -a
ak.file --id VNET-7403e87f-1bab-4097-98ae-ea72d8fe4b3f --attr-names name
Example 3–85 Modifying vNet attributes using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=ModifyAttributes&Version=1&Tim
estamp=1318464546890&Expires=1318464846890&resourceId=VOL-246b5c62-4072-41cf-885b-
99d6c63583bd&attributes.2.value=myNewDescription&attributes.2.name=description&att
ributes.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
Example 3–86 Modifying vNet attributes using the Cloud Infrastructure CLI
iaas-modify-attributes --base-url https://<EnterpriseControllerHostname>/ -a
ak.file --id VNET-7403e87f-1bab-4097-98ae-ea72d8fe4b3f --attributes name=myNewName
Managing Tags
A tag is a key and value pair that can be attached to a resource. The key and the value
are strings. All entities in Oracle Enterprise Manager Ops Center are managed
resources that can be tagged. Tags are used to bind user-specific information to
entities.
The APIs and CLI provide operations for:
■ Creating a Tag
■ Removing a Tag
■ Viewing Tag Information
Creating a Tag
A cloud user can create a tag. Creating a tag adds a new tag or overwrites an existing
tag. The cloud infrastructure API action and the cloud infrastructure CLI command
required to create a tag are:
3-30 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Managing Tags
Removing a Tag
A cloud user can remove tags from an account resource of an account. The cloud
infrastructure API action and the cloud infrastructure CLI command required to
remove a tag are:
Example 3–91 Viewing tag information using the Cloud Infrastructure API
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeTags&Version=1&Timesta
mp=1320101837081&Expires=1320102137081&AccessKeyId=AK_3&Signature=SIGNATURE_HAS_
BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
Example 3–92 Viewing tag information using the Cloud Infrastructure CLI
iaas-describe-tags --base-url https://<EnterpriseControllerHostname>/ -a ak.file
3-32 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
4
Cloud Infrastructure API Reference
4
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 following topics are covered in this chapter:
■ Overview of the Cloud Infrastructure API
■ Cloud Infrastructure API Requests
■ List of Actions
■ Data Types
4-2 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Cloud Infrastructure API Requests
The signing result is then used as the value of the signature parameter for the request.
Example 4–1 and Example 4–2 show a complete URL for an HTTP GET request to the
IAAS and AKM servlet. For a detailed example of generating requests to the Web
service, see Appendix A.
Example 4–1 URL for an HTTP GET request to the IAAS servlet:
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Version=1&Access
KeyId=AK_
1&Timestamp=1331058169938&Expires=1331058469938&SignatureMethod=SHA512withRSA&Sign
atureVersion=1&Signature=bj8GfJCqvPZZPU2JoWAGzZdCF+N767rQejILMQwNdgKLfoGGqAwDPRYMr
/ghUoBc6RB3nKYgAyPdmtCfhzRGTqECgUWy0jCrE99+utGeeJ0/XRQ9LxyYeBgzjO3lHP+hFhUo+gUtQaS
YPhUHH7eTkxg/CrolMxibglypJM/rIf90yEqSeqhphQt7hWxlT0DNAy6/cZt8isT/Tu8V7ZFjBFkEpLfN9
7bIOJ2vIIpOeetmftuw4ObtqjbUp6+7dpVkhhCQnX0MAIDj+mjorEOzcwK+F1pYuzES0fjaW0MowG+cA/9
gttDjg7r5H29i3qbbjIlvAt6fk1HPpSxQTSTOTg==
Example 4–2 URL for an HTTP GET request to the AKM servlet:
https://<<username>>:<<password>>@<EnterpriseControllerHostname>/akm/?Action=
DescribeAccounts&Version=1&Timestamp=1330954619299&Expires=1330954919299
List of Actions
Functionality Actions
Account access CreateAccessKeyAsObjectRequest,
CreateAccessKeyToFileRequest,
DeleteAccessKeyRequest, DescribeAccessKeysRequest,
DescribeAccountsRequest, RegisterAccessKeyRequest
Server template management DeregisterServerTemplateRequest,
DescribeServerTemplatesRequest,
RegisterServerTemplateFromUrlRequest,
RegisterServerTemplateFromVserverRequest,
RegisterServerTemplatesFromAssemblyRequest
Virtual network management CreateVnetRequest, DeleteVnetRequest,
DescribeVnetsRequest
vIP address management AllocateIpAddressesRequest,
DescribeIpAddressesRequest,
ReleaseIpAddressesRequest
Volume management AttachVolumesToVserverRequest,
CreateVolumeRequest, DeleteVolumeRequest,
DescribeVolumesRequest,
DetachVolumesFromVserverRequest,
ImportVolumeRequest
Snapshot management CreateSnapshotRequest, DeleteSnapshotRequest,
DescribeSnapshotsRequest
Key pair management CreateKeyPairAsObjectRequest,
CreateKeyPairToFileRequest, DeleteKeyPairRequest,
DescribeKeyPairsRequest, ImportKeyPairRequest
vServer management DescribeVserversRequest,
DescribeVserverTypesRequest,
RebootVserversRequest,
ReceiveMessageFromVserverRequest,
RunVserverRequest, RunVserversRequest,
SendMessagesToVserverRequest,
StartVserversRequest, StopVserversRequest,
TerminateVserversRequest
Distribution group management CreateDistributionGroupRequest,
DeleteDistributionGroupRequest,
DescribeDistributionGroupsRequest
Resource attribute management DescribeAttributesRequest, ModifyAttributesRequest
Tag management CreateTagsRequest, DeleteTagsRequest,
DescribeTagsRequest
vDC capabilities DescribeVdcCapabilitiesRequest
4-4 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
AllocateIpAddressesRequest
Description
4
Request
4 Parameters
vnet
ID of the vNET.
Type: VnetIdType
Default: None
Required: Yes
num
Number of IP addresses to reserve.
Type: PositiveInteger
Default: 1
Required: No
Result
4 Elements
The result elements are contained in AllocateIpAddressesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
ipAddresses
List of reserved IP addresses.
Type: xs:string
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example allocates an IP address from a vNET.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=AllocateIpAddresses&Version=1&
Timestamp=1320342206808&Expires=1320342506808&vnet=VNET-6ea466f5-6e6b-4159-adf3-88
67473d4cf4&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>
Example 2
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-a
df3-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</ipAddres
ses></result>
See
4 Also
■ DeleteVnetRequest
■ DescribeIpAddressesRequest
■ DescribeVnetsRequest
■ ReleaseIpAddressesRequest
4-6 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
AttachVolumesToVserverRequest
Description
4
Request
4 Parameters
vserverId
ID of the vServer.
Type: VserverIdType
Default: None
Required: Yes
volumeIds
List of volume IDs.
Type: VolumeIdType
Default: None
Required: Yes
Minimum: 1
Maximum: Unbounded
Result
4 Elements
The result elements are contained in AttachVolumesToVserverResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example attaches a volume to the specified vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=AttachVolumesToVserver&Version
=1&Timestamp=1321384886152&Expires=1321385186152&volumeIds.1=VOL-052cb4b4-5e56-430
3-8b3a-82d6ba743a15&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6&AccessKeyI
d=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"/>
See
4 Also
■ CreateVolumeRequest
■ DescribeVolumesRequest
■ DeleteVolumeRequest
■ DetachVolumesFromVserverRequest
■ DescribeAttributesRequest
■ ImportVolumeRequest
■ ModifyAttributesRequest
4-8 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
CreateAccessKeyAsObjectRequest
Description
4
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.
Request
4 Parameters
account
ID of the account.
Type: AccountIdType
Default: None
Required: Yes
forUser
User name of a different cloud user. A user can create an access key on behalf of
another cloud user. This option requires cloud administrator privileges.
Type: GenericString
Default: None
Required: No
Result
4 Elements
The CreateAccessKeyAsObjectResult type is created by hand as it contains the
AccessKey class and is only required on the client side.
Examples
4
No examples are provided for this action. See the RegisterAccessKeyRequest action for
related examples.
See
4 Also
■ CreateAccessKeyToFileRequest
■ DeleteAccessKeyRequest
■ DescribeAccessKeysRequest
■ DescribeAccountsRequest
■ RegisterAccessKeyRequest
CreateAccessKeyToFileRequest
Description
4
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.
Request
4 Parameters
account
ID of the account.
Type: AccountIdType
Default: None
Required: Yes
keyStoreFileName
Name of a file to store the private key of the access key.
Type: GenericString
Default: None
Required: Yes
forUser
User name of a different cloud user. User using this option must have cloud
administrator privileges.
Type: GenericString
Default: None
Required: No
Result
4 Elements
The CreateAccessKeyToFileResult structure contains:
requestId
ID of the request.
Type: xs:string
Required: Yes
accessKeyId
ID of the access key.
Type: xs:string
Examples
4
No examples are provided for this action. See the RegisterAccessKeyRequest action for
related examples.
See
4 Also
■ CreateAccessKeyAsObjectRequest
■ DeleteAccessKeyRequest
4-10 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
■ DescribeAccessKeysRequest
■ DescribeAccountsRequest
■ RegisterAccessKeyRequest
CreateDistributionGroupRequest
Description
4
Request
4 Parameters
name
Name of the distribution group.
Type: GenericString
Required: Yes
description
Description of the distribution group.
Type: GenericString
Required: No
size
Size of the distribution group. The size is the maximum number of vServers that can
be added to the distribution group.
Type: PositiveInteger
Required: No
Default: 50000
Result
4 Elements
The CreateDistributionGroupResult structure contains:
requestId
ID of the request.
Type: xs:string
Required: Yes
distributionGroupId
ID of the distribution group.
Type: xs:string
Examples
4
Example 1
The following example creates a distribution group for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateDistributionGroup&Versio
n=1&Timestamp=1324407098313&Expires=1324407398313&name=myDistributionGroup&AccessK
eyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
4-12 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
Example 2
The following example creates a distribution group with a size of 10.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateDistributionGroup&Versio
n=1&Timestamp=1324407098313&Expires=1324407398313&name=myDistributionGroup2&size=1
0&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-9eb288c2-85e7-4392-80a6-d1c1709de4cd</dist
ributionGroupId></result>
See
4 Also
■ DeleteDistributionGroupRequest
■ DescribeDistributionGroupsRequest
CreateKeyPairAsObjectRequest
Description
4
Action to create a key pair. This is a client-side action only, it does not travel through
the network.
Request
4 Parameters
keyName
Name of the key pair to create.
Type: xs:string
Default: None
Required: Yes
Result
4 Elements
The CreateKeyPairAsObjectResult type is created by hand as it contains the KeyPair
class and is only needed on the client side.
Examples
4
No examples are provided for this action. See the RegisterKeyPairRequest action for
related examples.
See
4 Also
■ CreateKeyPairToFileRequest
■ DeleteKeyPairRequest
■ DescribeKeyPairsRequest
■ ImportKeyPairRequest
■ RegisterKeyPairRequest
4-14 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
CreateKeyPairToFileRequest
Description
4
Request
4 Parameters
keyName
Name of the key pair to create.
Type: GenericString
Default: None
Required: Yes
keyFileName
Name of the file to store the private key of the key pair.
Type: GenericString
Default: None
Required: Yes
Result
4 Elements
The CreateKeyPairToFileResult structure contains:
requestId
ID of the request.
Type: xs:string
Required: Yes
keyName
Name of the key pair.
Type: xs:string
keyFingerprint
Key pair fingerprint.
Type: xs:string
Examples
4
No examples are provided for this action. See the RegisterKeyPairRequest action for
related examples.
See
4 Also
■ CreateKeyPairAsObjectRequest
■ DeleteKeyPairRequest
■ DescribeKeyPairsRequest
■ ImportKeyPairRequest
■ RegisterKeyPairRequest
CreateSnapshotRequest
Description
4
Request
4 Parameters
name
Name of the snapshot.
Type: GenericString
Required: Yes
description
Description of the snapshot.
Type: GenericString
Required: No
volumeId
ID of the volume.
Type: VolumeIdType
Required: Yes
Result
4 Elements
The result elements are contained in CreateSnapshotResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
snapshotId
ID of the snapshot.
Type: SnapshotIdType
Examples
4
Example 1
The following example creates a snapshot based on the specified volume ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateSnapshot&Version=1&Times
tamp=1318466247111&Expires=1318466547111&volumeId=VOL-246b5c62-4072-41cf-885b-99d6
c63583bd&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
4-16 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
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>
See
4 Also
■ CreateVolumeRequest
■ DeleteSnapshotRequest
■ DeleteVolumeRequest
■ DescribeSnapshotsRequest
■ DescribeVolumesRequest
■ DescribeAttributesRequest
■ ModifyAttributesRequest
CreateTagsRequest
Description
4
Request
4 Parameters
resourceId
ID of the resource.
Type: ResourceIdType
Default: None
Required: Yes
tags
List of one or more tag names and values.
Type: TagType
Default: None
Required: Yes
Minimum: 1
Maximum: Unbounded
Result
4 Elements
The result elements are contained in CreateTagsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
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-ee3d3
98e0d50&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"/>
4-18 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
See
4 Also
■ DeleteTagsRequest
■ DescribeTagsRequest
CreateVnetRequest
Description
4
Request
4 Parameters
name
Name of the virtual network.
Type: GenericString
Default: None
Required: Yes
description
A description for the virtual network.
Type: GenericString
Default: None
Required: No
size
Size of the virtual network’s subnet.
Type: PositiveInteger
Default: 16
Required: No
Result
4 Elements
The result elements are contained in CreateVnetResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
vnetId
ID of the virtual network.
Type: GenericString
Examples
4
Example 1
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
4-20 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
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
>
Example 2
The following example creates a virtual network for an account and adds a description
of it.
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
>
See
4 Also
■ DeleteVnetRequest
■ DescribeVnetsRequest
■ DescribeAttributesRequest
■ ModifyAttributesRequest
CreateVolumeRequest
Description
4
Request
4 Parameters
name
Name of the volume.
Type: GenericString
Default: None
Required: Yes
description
Description of the volume.
Type: GenericString
Default: None
Required: No
size
Size of the volume in gigabytes (GB). This option should not be used if a snapshot ID
is given. An error is generated if both size and snapshotId parameters are used.
Type: PositiveInteger
Default: 16
Required: No
shared
Flag to indicate if the volume is shared with other accounts in a vDC.
Type: xs:boolean
Default: 0 (false)
Required: No
snapshotId
ID of a snapshot. This option should not be used if a size value is given. An error is
generated if both size and snapshotId parameters are used.
Type: SnapshotIdType
Default: None
Required: No
Result
4 Elements
The result elements are contained in CreateVolumeResult.
requestId
ID of the request.
Type: xs:string
4-22 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
Required: Yes
volumeId
ID of the volume.
Type: xs:string
Examples
4
Example 1
The following example creates a volume of 2 GB.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVolume&Version=1&Timesta
mp=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></res
ult>
Example 2
The following example creates a volume base on the specified snapshot ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVolume&Version=1&Timesta
mp=1320100009343&Expires=1320100309343&snapshotId=SNAP-7a717e39-fe67-4573-a93d-889
b3446176b&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></res
ult>
See
4 Also
■ DeleteVolumeRequest
■ DescribeSnapshotsRequest
■ DescribeVolumesRequest
■ DescribeAttributesRequest
■ ImportVolumeRequest
■ ModifyAttributesRequest
DeleteAccessKeyRequest
Description
4
Request
4 Parameters
accessKeyId
ID of the access key.
Type: xs:string
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeleteAccessKeyResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example unregisters the specified access key of a cloud user.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?Action=DeleteAccessKey&Version=1&Times
tamp=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"/>
See
4 Also
■ CreateAccessKeyAsObjectRequest
■ CreateAccessKeyToFileRequest
■ DescribeAccessKeysRequest
■ DescribeAccountsRequest
■ RegisterAccessKeyRequest
4-24 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DeleteDistributionGroupRequest
Description
4
Request
4 Parameters
distributionGroupId
ID of the distribution group.
Type: DistributionGroupIdType
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeleteDistributionGroupResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example deletes a distribution group from an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteDistributionGroup&Versio
n=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"/>
See
4 Also
■ CreateDistributionGroupRequest
■ DescribeDistributionGroupsRequest
DeleteKeyPairRequest
Description
4
Request
4 Parameters
keyName
Name of the key pair.
Type: xs:string
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeleteKeyPairResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example deletes a key pair from an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteKeyPair&Version=1&Timest
amp=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"/>
See
4 Also
■ CreateKeyPairAsObjectRequest
■ CreateKeyPairToFileRequest
■ DescribeKeyPairsRequest
■ ImportKeyPairRequest
■ RegisterKeyPairRequest
4-26 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DeleteSnapshotRequest
Description
4
Request
4 Parameters
snapshotId
ID of the snapshot.
Type: SnapshotIdType
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeleteSnapshotResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example deletes the specified snapshot.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteSnapshot&Version=1&Times
tamp=1318624338550&Expires=1318624638550&snapshotId=SNAP-2f2039cd-943b-4072-9ded-e
96b54b7ca79&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"/>
See
4 Also
■ CreateSnapshotRequest
■ DescribeSnapshotsRequest
■ DescribeAttributesRequest
■ ModifyAttributesRequest
DeleteTagsRequest
Description
4
Request
4 Parameters
resourceId
ID of the resource.
Type: ResourceIdType
Default: None
Required: Yes
tags
List of one or more tag names.
Type: TagType
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeleteTagsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
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-ee3d3
98e0d50&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"/>
See
4 Also
■ CreateTagsRequest
4-28 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
■ DescribeTagsRequest
DeleteVnetRequest
Description
4
Request
4 Parameters
vnet
ID of the virtual network.
Type: VnetIdType
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeleteVnetResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
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-195a090bbc0
1&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"/>
See
4 Also
■ CreateVnetRequest
■ DescribeVnetsRequest
■ DescribeAttributesRequest
■ ModifyAttributesRequest
4-30 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DeleteVolumeRequest
Description
4
Request
4 Parameters
volumeId
ID of the volume.
Type: VolumeIdType
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeleteVolumeResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example deletes the specified volume.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeleteVolume&Version=1&Timesta
mp=1318463692509&Expires=1318463992509&volumeId=VOL-3bbc8f1c-bb4c-4a70-a370-4b6c06
d990dc&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"/>
See
4 Also
■ CreateVolumeRequest
■ DescribeAttributesRequest
■ DescribeVolumesRequest
■ ImportVolumeRequest
■ ModifyAttributesRequest
DeregisterServerTemplateRequest
Description
4
Request
4 Parameters
serverTemplateId
ID of the server template.
Type: ServerTemplateIdType
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DeregisterServerTemplateResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example deletes the specified server template.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DeregisterServerTemplate&Versi
on=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"/>
See
4 Also
■ DescribeAttributesRequest
■ DescribeServerTemplatesRequest
■ DescribeTagsRequest
■ RegisterServerTemplatesFromAssemblyRequest
■ RegisterServerTemplateFromVserverRequest
■ ModifyAttributesRequest
4-32 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeAccessKeysRequest
Description
4
Request
4 Parameters
forUser
User name of a different cloud user. User using this option must have cloud
administrator privileges.
Type: GenericString
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeAccessKeysResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of access keys and their attributes.
Type: DescribeAccessKeysResultItem
Minimum: 0
Maximum: Unbounded
forUser
User name of the other cloud user.
Type: GenericString
Examples
4
Example 1
The following example displays the available access keys for a cloud user.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?Action=DescribeAccessKeys&Version=1&Ti
mestamp=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>
See
4 Also
■ CreateAccessKeyAsObjectRequest
■ CreateAccessKeyToFileRequest
■ DeleteAccessKeyRequest
■ DescribeAccountsRequest
■ RegisterAccessKeyRequest
4-34 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeAccountsRequest
Description
4
Action to display account attributes for a cloud user. This action also allows filtering
the accounts displayed by account ID.
Request
4 Parameters
account
List of account IDs.
Type: AccountIdType
Default: None
Required: No
forUser
User name of a different cloud user. The user executing the action using this option
must have cloud administrator privileges.
Type: GenericString
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeAccountsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the accounts and their attributes.
Type: DescribeAccountsResultItem
Minimum: 0
Maximum: Unbounded
forUser
User name of the other cloud user.
Type: GenericString
Examples
4
Example 1
The following example 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"?><result
xmlns="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>Mockup
account for user clouduser0</description></items><items><account>ACC-
95adb073-d569-4a45-ac24-
f14eba689a86</account><name>account1</name><description>Mockup account for
user clouduser1</description></items><items><account>ACC-ea564db9-c0ee-43de-bb17-
55cfb9d105f2</account><name>account2</name><description>Mockup account for
user clouduser2</description></items><items><account>ACC-3e4a5732-1720-4348-b612-
43460b1c493d</account><name>account3</name><description>Mockup account for
user
clouduser3</description></items><items><account>ACC-2e2fdcb6-1568-435b-b40ce5418c2
0ab7b</
account><name>account4</name><description>Mockup account for
user clouduser4</description></items><user>root</user></result>
Example 2
The following example displays the attributes of the specified account.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?
Action=DescribeAccounts&Version=1&Timestamp=1317055081608&Expires=1317055141608&ac
count=ACC-f7fd508a-dad3-4866-a41a-bf8850163c3d
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="DescribeAccountsResult"
requestId="107"><items><account>ACC-f7fd508adad3-
4866-a41a-bf8850163c3d</account><name>account0</name><description>Mockup
account for user clouduser0</description></items><user>root</user></result>
See
4 Also
■ CreateAccessKeyAsObjectRequest
■ CreateAccessKeyToFileRequest
■ DeleteAccessKeyRequest
■ DescribeAccessKeysRequest
■ RegisterAccessKeyRequest
4-36 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeAttributesRequest
Description
4
Request
4 Parameters
resourceId
ID of a resource.
Type: ResourceIdType
Default: None
Required: Yes
attrNames
List of one or more attribute names of the resource.
Type: GenericString
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in DescribeAttributesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the resource attribute names and values.
Type: ResourceAttribute
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
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&T
imestamp=1318464041596&Expires=1318464341596&attrNames.4=shared&resourceId=VOL-246
b5c62-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-99d6c6358
3bd</value></items><items><name>status</name><value>OK</value></items><items><name
>size</name><value>0</value></items><items><name>shared</name></items></result>
See
4 Also
■ DescribeServerTemplatesRequest
■ DescribeSnapshotsRequest
■ DescribeVnetsRequest
■ DescribeVolumesRequest
■ DescribeVserversRequest
■ ModifyAttributesRequest
4-38 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeDistributionGroupsRequest
Description
4
Action to display the attributes of existing distribution groups for an account. This
action allows filtering of distribution groups displayed by ID or by attribute names
and values. Valid filter names are: id, name, description, status, vservers, and size.
Request
4 Parameters
ids
List of distribution group IDs.
Type: DistributionGroupIdType
Default: None
Required: No
filters
List of distribution group attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeDistributionGroupsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of distribution groups and their attributes.
Type: DescribeDistributionGroupsResultItem
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example displays the available distribution groups for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeDistributionGroups&Ver
sion=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
See
4 Also
■ CreateDistributionGroupRequest
■ DeleteDistributionGroupRequest
4-40 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeIpAddressesRequest
Description
4
Action to display allocated IP addresses attributes for an account. This action also
allows filtering of the IP addresses displayed.
Request
4 Parameters
filters
List of IP address attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeIpAddressesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of allocated IP addresses and their attributes.
Type: DescribeIpAddressesResultItem
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example lists all allocated 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-415
9-adf3-8867473d4cf4</vnet></items><items><ipAddress>10.1.0.10</ipAddress><vnet>VNE
T-aaaaaaa8-bbb4-ccc4-ddd4-ffffffffff02</vnet></items><items><ipAddress>10.1.0.1</i
pAddress><vnet>VNET-aaaaaaa8-bbb4-ccc4-ddd4-ffffffffff02</vnet></items><items><ipA
ddress>10.1.0.0</ipAddress><vnet>VNET-aaaaaaa8-bbb4-ccc4-ddd4-ffffffffff02</vnet><
/items></result>
Example 2
The following example displays the allocated 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-415
9-adf3-8867473d4cf4</vnet></items></result>
See
4 Also
■ AllocateIpAddressesRequest
■ DescribeVnetsRequest
■ ReleaseIpAddressesRequest
4-42 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeKeyPairsRequest
Description
4
Action to display attributes of existing key pairs for an account. This action allows
filtering of key pairs displayed.
Request
4 Parameters
keyNames
List of key pair names.
Type: GenericString
Default: None
Required: No
filters
List of key pair attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeKeyPairsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of key pairs and their attributes.
Type: DescribeKeyPairsResultItem
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example displays the available key pairs for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeKeyPairs&Version=1&Tim
estamp=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><finge
rprint>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>
See
4 Also
■ CreateKeyPairAsObjectRequest
■ CreateKeyPairToFileRequest
■ DeleteKeyPairRequest
■ ImportKeyPairRequest
■ RegisterKeyPairRequest
4-44 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeServerTemplatesRequest
Description
4
Action to display attributes of available server templates for an account. This action
also allows filtering of server templates displayed.
Request
4 Parameters
ids
List of one or more server template IDs.
Type: ServerTemplateIdType
Default: None
Required: No
filters
List of server template attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeServerTemplatesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of server templates and their attributes.
Type: DescribeServerTemplatesResultItem
Examples
4
Example 1
The following example lists all the available server templates for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeServerTemplates&Versio
n=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>Sen
dReceiveImage.tar.gz</name><status>OK</status><size>-1</size><public>false</public
><imageType>VMTemplate</imageType><readOnly>false</readOnly></items><items><id>TMP
L-48cfe488-b93d-4085-aa2e-0a3b39d511cd</id><name>OVM_EL52_jeos_i386_PVM_
WebLogic10gR3_v10.tar.gz</name><description>Import URLs:
[http://example.oracle.com/vm-templates/OVM_EL52_jeos_i386_PVM_WebLogic10gR3_
v10.tar.gz]</description><status>OK</status><size>1</size><public>false</public><i
mageType>VMTemplate</imageType><readOnly>false</readOnly></items></result>
Example 2
The following example displays the attributes of the specified server template ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeServerTemplates&Versio
n=1&Timestamp=1320088942728&Expires=1320089242728&ids.1=TMPL-e7df3178-12ea-48cc-8a
1a-6b3f8256dd0f&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="246"><items><id>TMPL-e7df3178-12ea-48cc-8a1a-6b3f8256dd0f</id><name>Sen
dReceiveImage.tar.gz</name><status>OK</status><size>1</size><public>false</public>
<imageType>VMTemplate</imageType><readOnly>false</readOnly></items></result>
See
4 Also
■ DeregisterServerTemplateRequest
■ RegisterServerTemplatesFromAssemblyRequest
■ RegisterServerTemplateFromUrlRequest
■ RegisterServerTemplateFromVserverRequest
■ DescribeAttributesRequest
■ ModifyAttributesRequest
4-46 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeSnapshotsRequest
Description
4
Action to display the attributes of the available snapshots for an account. This action
also allows filtering of the snapshots displayed.
Request
4 Parameters
ids
List of one or more snapshot IDs.
Type: GenericString
Default: None
Required: No
filters
List of snapshot attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeSnapshotsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the snapshots and their attributes.
Type: DescribeSnapshotsResultItem
Examples
4
Example 1
The following example lists the attibutes of all the available snapshots for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeSnapshots&Version=1&Ti
mestamp=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>myS
napshot2</name><status>OK</status></items><items><id>SNAP-d743e90c-53c5-4b01-a297-
e2c944755c48</id><name>mySnapshot</name><status>OK</status></items></result>
Example 2
The following example displays the attributes for the specified snapshot ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeSnapshots&Version=1&Ti
mestamp=1318468567145&Expires=1318468867145&ids.1=SNAP-2f2039cd-943b-4072-9ded-e96
b54b7ca79&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>myS
napshot2</name><status>OK</status></items></result>
See
4 Also
■ AttachVolumesToVserverRequest
■ CreateVolumeRequest
■ DeleteVolumeRequest
■ DescribeVolumesRequest
■ DescribeAttributesRequest
■ DetachVolumesFromVserverRequest
■ ModifyAttributesRequest
4-48 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeTagsRequest
Description
4
Action to display the tag attributes of the resources with an associated tag. This action
also allows filtering of the tags or resources displayed.
Request
4 Parameters
ids
List of one or more resource IDs.
Type: ResourceIdType
Default: None
Required: No
filters
List of resource attributes or tag names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeTagsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the resource tags and their attributes.
Type: DescribeTagsResultItem
Examples
4
Example 1
The following example lists all tags available for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeTags&Version=1&Timesta
mp=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</reso
urceId><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</
value></items><items><resourceId>VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50</resour
ceId><name>myTag</name><value>myTagValue</value></items><items><resourceId>VNET-2b
8b6c91-065c-4645-9cdb-edb3afd92524</resourceId><name>oc.internal.oracle.cloud.secu
rity.group.hidden</name><value>private</value></items><items><resourceId>VNET-07e7
4ad3-1ab1-4188-915d-cbf6242a1eeb</resourceId><name>oc.internal.oracle.cloud.securi
ty.group.hidden</name><value>private</value></items></result>
Example 2
The following example displays existing tag attributes for the specified virtual
network ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeTags&Version=1&Timesta
mp=1320102284357&Expires=1320102584357&ids.1=VNET-9ba968d5-e64f-4b54-a639-ee3d398e
0d50&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</reso
urceId><name>oc.internal.oracle.cloud.security.group.hidden</name><value>private</
value></items><items><resourceId>VNET-9ba968d5-e64f-4b54-a639-ee3d398e0d50</resour
ceId><name>myTag</name><value>myTagValue</value></items></result>
See
4 Also
■ CreateTagsRequest
■ DeleteTagsRequest
4-50 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeVdcCapabilitiesRequest
Description
4
Action to display the vDC capabilities for an account. This action also allows filtering
of the vDC capabilities displayed.
Request
4 Parameters
filters
List of the virtual data center capability names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeVdcCapabilitiesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the vDC capabilities and their values.
Type: DescribeVdcCapabilitiesResultItem
Minimum: 1
Maximum: Unbounded
Examples
4
Example 1
The following example lists the vDC capabilities for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVdcCapabilities&Versio
n=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><i
tems><name>VirtualizationVersion</name><value>3.0.2</value></items><items><name>Pr
ocessorArch</name><value>Default_Intel_F6_
M23</value></items><items><name>ProcessorVersion</name><value>Default_Intel_
Family:6_
Model:23</value></items><items><name>DistributionGroupSupport</name><value>disable
d</value></items><items><name>HighAvailabilityUserControl</name><value>disabled</v
alue></items><items><name>HighAvailabilityDefault</name><value>true</value></items
></result>
Example 2
The following example lists the virtualization type of the vDC for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVdcCapabilities&Versio
n=1&Timestamp=1320085633535&Expires=1320085933535&filters.1.filterName=Virtualizat
ionType&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>
4-52 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeVnetsRequest
Description
4
Action to display the attributes of the available virtual networks for an account. This
action also allows filtering of the virtual networks displayed.
Request
4 Parameters
ids
List of one or more virtual network IDs.
Type: VnetIdType
Default: None
Required: No
filters
List of virtual network attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeVnetsResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the virtual networks and their attributes.
Type: DescribeVnetsResultItem
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example lists the available virtual networks for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?
Action=DescribeVnets&Version=1&Timestamp=1317048258687&Expires=1317048318687&Acces
s
KeyId=AK_1&Signature=SIGNATURE_HAS_BEEN_REMOVED_FOR_READABILITY_OF_THE
_REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
Example 2
The following example displays the attributes for 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"?><result
xmlns="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><s
tatus>OK</status><tags><name>oc.internal.oracle.cloud.security.group.hidden</name>
<value>private</value></tags><ipAddress>192.168.2.0/24</ipAddress></items></result
>
See
4 Also
■ CreateVnetRequest
■ DeleteVnetRequest
■ DescribeAttributesRequest
■ ModifyAttributesRequest
4-54 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeVolumesRequest
Description
4
Action to display the attributes of the available volumes for an account. This action
also allows filtering of volumes displayed. Valid filter names are: description, name,
shared, status, id, and vservers.
Request
4 Parameters
ids
List of one or more volume IDs.
Type: VolumeIdType
Default: None
Required: No
filters
List of volume attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeVolumesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of volumes and their attributes.
Type: DescribeVolumesResultItem
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example displays the attributes of the available volumes for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVolumes&Version=1&Time
stamp=1318463287921&Expires=1318463587921&AccessKeyId=AK_2&Signature=SIGNATURE_
HAS_BEEN_REMOVED_FOR_THE_READABILITY_OF_THE_
REQUEST&SignatureMethod=SHA512withRSA&SignatureVersion=1
HTTP Response
Example 2
The following example displays the attributes of the specified volume ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVolumes&Version=1&Time
stamp=1318463504971&Expires=1318463804971&ids.1=VOL-3bbc8f1c-bb4c-4a70-a370-4b6c06
d990dc&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>myVo
l</name><status>OK</status><size>0</size><shared>false</shared><vservers>VSRV-5100
c512-fc39-4a59-ade9-653a1e041c10</vservers></items></result>
See
4 Also
■ AttachVolumesToVserverRequest
■ CreateVolumeRequest
■ DeleteVolumeRequest
■ DescribeAttributesRequest
■ DetachVolumesFromVserverRequest
■ ImportVolumeRequest
■ ModifyAttributesRequest
4-56 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeVserverMetricsRequest
Description
4
Request
4 Parameters
ids
List of one or more vServer IDs.
Type: VserverIdType
Default: None
Required: No
filters
List of vServer attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeVserversResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the vServers and their attributes.
Type: DescribeVserverMetricsResultItem
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example displays metrics of all vServers available for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVserverMetrics&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
Example 2
The following example displays the vServer metrics for the specified vServer ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVservers&Version=1&Tim
estamp=1320105445075&Expires=1320105745075&ids.1=VSRV-2e4f6688-2c57-4f41-8d3d-83d2
d71d1a64&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-2e4f6688-2c57-4f41-8d3d-83d2d71d1a64</id><name>tes
tvserver3</name><description>Oracle VM Virtual
Machine</description><status>RUNNING</status><cpuUsage>0.1508</cpuUsage></items></
result>
See
4 Also
■ AttachVolumesToVserverRequest
■ DescribeAttributesRequest
■ DescribeVserversRequest
■ DetachVolumesFromVserverRequest
■ ModifyAttributesRequest
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
■ RunVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
■ StartVserversRequest
■ StopVserversRequest
■ TerminateVserversRequest
4-58 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
DescribeVserversRequest
Description
4
Request
4 Parameters
ids
List of one or more vServer IDs.
Type: VserverIdType
Default: None
Required: No
filters
List of vServer attribute names and values.
Type: FilterItem
Default: None
Required: No
Result
4 Elements
The result elements are contained in DescribeVserversResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of the vServers and their attributes.
Type: DescribeVserversResultItem
Minimum: 0
Maximum: Unbounded
Examples
4
Example 1
The following example displays attributes of all vServers available for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVservers&Version=1&Tim
estamp=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-2e4f6688-2c57-4f41-8d3d-83d2d71d1a64</id><name>tes
tvserver3</name><description>Oracle VM Virtual
Machine</description><status>RUNNING</status><vnets>VNET-025a35bf-828d-4e3f-a0f4-7
6f3d9a73c42</vnets><ipAddresses>192.168.0.18</ipAddresses><serverTemplateId>TMPL-5
57952b6-0b00-4a00-a2ca-ada480d99cc6598</serverTemplateId><ha>true</ha><volumes>VOL
-dc80ef69-109d-4e7d-968d-2fa90b68db1b</volumes><vcpu>2</vcpu><memoryMb>8192</memor
yMb><dedicatedStorageMb>6443499520</dedicatedStorageMb><attachedStorageMb>32212254
72</attachedStorageMb></items><items><id>VSRV-71f63b37-d61e-4900-a1a5-2b7d51b029c9
</id><name>testvserver5</name><description>Oracle VM Virtual
Machine</description><status>RUNNING</status><vnets>VNET-025a35bf-828d-4e3f-a0f4-7
6f3d9a73c42</vnets><ipAddresses>192.168.0.19</ipAddresses><serverTemplateId>TMPL-5
57952b6-0b00-4a00-a2ca-ada480d99cc6597</serverTemplateId><ha>true</ha><vcpu>1</vcp
u><memoryMb>4096</memoryMb><dedicatedStorageMb>6443499520</dedicatedStorageMb><att
achedStorageMb>0</attachedStorageMb></items></result>
Example 2
The following example displays the vServer attributes for the specified vServer ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVservers&Version=1&Tim
estamp=1320105445075&Expires=1320105745075&ids.1=VSRV-2e4f6688-2c57-4f41-8d3d-83d2
d71d1a64&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-2e4f6688-2c57-4f41-8d3d-83d2d71d1a64</id><name>test
vserver3</name><description>Oracle VM Virtual
Machine</description><status>RUNNING</status><vnets>VNET-025a35bf-828d-4e3f-a0f4-7
6f3d9a73c42</vnets><ipAddresses>192.168.0.18</ipAddresses><serverTemplateId>TMPL-5
57952b6-0b00-4a00-a2ca-ada480d99cc6598</serverTemplateId><ha>true</ha><volumes>VOL
-dc80ef69-109d-4e7d-968d-2fa90b68db1b</volumes><vcpu>2</vcpu><memoryMb>8192</memor
yMb><dedicatedStorageMb>6443499520</dedicatedStorageMb><attachedStorageMb>32212254
72</attachedStorageMb></items></result>
See
4 Also
■ AttachVolumesToVserverRequest
■ DescribeAttributesRequest
■ DescribeVserverMetricsRequest
■ DetachVolumesFromVserverRequest
■ ModifyAttributesRequest
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
4-60 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
■ RunVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
■ StartVserversRequest
■ StopVserversRequest
■ TerminateVserversRequest
DescribeVserverTypesRequest
Description
4
Request
4 Parameters
There are no request parameters for this action.
Result
4 Elements
The result elements are contained in DescribeVserverTypesResult. If the response is an
empty list, contact your cloud administrator to verify your cloud user’s privileges.
requestId
ID of the request.
Type: xs:string
Required: Yes
items
List of vServer types and their attributes.
Type: DescribeVserverTypesResultItem
Minimum: 1
Examples
4
Example 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>sm
all</name><description>small instance
type</description><memorySize>1073741824</memorySize><storageSize>10737418240</sto
rageSize><vcpu>1</vcpu></items><items><id>medium</id><name>medium</name><descripti
on>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>
See
4 Also
■ DescribeVserversRequest
■ RunVserverRequest
4-62 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
■ RunVserversRequest
DetachVolumesFromVserverRequest
Description
4
Request
4 Parameters
vserverId
ID of the vServer.
Type: VserverIdType
Default: None
Required: Yes
volumeIds
List of one of more volume IDs.
Type: VolumeIdType
Default: None
Required: Yes
force
Option to force detach.
Type: xs:boolean
Default: 0 (false)
Required: No
Result
4 Elements
The result elements are contained in DetachVolumesFromVserverResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example detaches the specified volumes from the vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=DetachVolumesFromVserver&Versi
on=1&Timestamp=1321385229679&Expires=1321385529679&volumeIds.1=VOL-052cb4b4-5e56-4
303-8b3a-82d6ba743a15&force=true&vserverId=VSRV-8ae29df9-ccfe-4184-acb8-10080665d7
f6&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
4-64 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
xmlns="http://www.oracle.com/xml/ns/iaas"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="DetachVolumesFromVserverResult" requestId="156"/>
See
4 Also
■ AttachVolumesToVserverRequest
■ CreateVolumeRequest
■ DeleteVolumeRequest
■ DescribeAttributesRequest
■ DescribeVolumesRequest
■ ImportVolumeRequest
■ ModifyAttributesRequest
ImportKeyPairRequest
Description
4
Request
4 Parameters
keyName
Name of the key pair.
Type: xs:string
Default: None
Required: Yes
keyFileName
Name of the file that stores the public key of the key pair to import.
Type: GenericString
Default: None
Required: Yes
Result
4 Elements
The result elements are contained in ImportKeyPairResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
keyName
Name of the key pair.
Type: xs:string
keyFingerprint
Key pair fingerprint.
Type: xs:string
Examples
4
Example 1
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&Time
4-66 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
stamp=1324421510757&Expires=1324421810757&publicKey=ssh-rsa+AAAAB3NzaC1yc2EAAAABIw
AAAQEAtJnFD8INGLtM%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:1
a:a5:74:f9:80:72:bb:74:b4</keyFingerprint></result>
See
4 Also
■ CreateKeyPairAsObjectRequest
■ CreateKeyPairToFileRequest
■ DeleteKeyPairRequest
■ DescribeKeyPairsRequest
■ RegisterKeyPairRequest
ImportVolumeRequest
Description
4
Request
4 Parameters
name
Name of the volume.
Type: GenericString
Required: Yes
description
Description of the volume.
Type: GenericString
Required: No
url
URL of the volume to import.
Type: URLType
Required: No
shared
Flag to indicate if the volume is shared.
Type: xs:boolean
Default: 0 (false)
Required: No
Result
4 Elements
The result elements are contained in ImportVolumeResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
volumeId
ID of the volume.
Type: xs:string
Examples
4
Example 1
The following example imports a shared volume for an account.
HTTP Request
4-68 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
https://<EnterpriseControllerHostname>/iaas/?Action=ImportVolume&Version=1&Timesta
mp=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></res
ult>
See
4 Also
■ AttachVolumesToVserverRequest
■ CreateVolumeRequest
■ DeleteVolumeRequest
■ DescribeVolumesRequest
■ DescribeAttributesRequest
■ DetachVolumesFromVserverRequest
■ ModifyAttributesRequest
ModifyAttributesRequest
Description
4
Request
4 Parameters
resourceId
ID of a resource.
Type: ResourceIdType
Default: None
Required: Yes
attributes
List of one or more attribute names and values of a resource.
Type: ResourceAttribute
Required: Yes
Result
4 Elements
The result elements are contained in ModifyAttributesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example modifies the name and description for the specified volume ID.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=ModifyAttributes&Version=1&Tim
estamp=1318464546890&Expires=1318464846890&resourceId=VOL-246b5c62-4072-41cf-885b-
99d6c63583bd&attributes.2.value=myNewDescription&attributes.2.name=description&att
ributes.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"/>
See
4 Also
■ DescribeAttributesRequest
■ DescribeServerTemplatesRequest
4-70 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
■ DescribeSnapshotsRequest
■ DescribeVnetsRequest
■ DescribeVolumesRequest
■ DescribeVserversRequest
RebootVserversRequest
Description
4
Request
4 Parameters
vserverIds
One or more vServer IDs.
Type: VserverIdType
Required: Yes
Result
4 Elements
The result elements are contained in RebootVserversResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example reboots a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RebootVservers&Version=1&Times
tamp=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"/>
See
4 Also
■ ReceiveMessageFromVserverRequest
■ RunVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
■ StartVserversRequest
■ StopVserversRequest
■ TerminateVserversRequest
4-72 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
ReceiveMessageFromVserverRequest
Description
4
Request
4 Parameters
vserverId
ID of the vServer.
Type: VserverIdType
Required: Yes
key
Name of the key for the message to retrieve.
Type: GenericString
Required: Yes
Result
4 Elements
The result elements are contained in ReceiveMessageFromVserverResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
value
Value of the message.
Type: xs:string
Examples
4
Example 1
The following example receives a message from a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=ReceiveMessageFromVserver&Vers
ion=1&Timestamp=1321381585564&Expires=1321381885564&vserverId=VSRV-8ae29df9-ccfe-4
184-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>
See
4 Also
■ RebootVserversRequest
■ RunVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
■ StartVserversRequest
■ StopVserversRequest
■ TerminateVserversRequest
4-74 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
RegisterAccessKeyRequest
Description
4
Action to register an access key of a cloud user to the specified account. This action
also allows the creation of an access key on behalf of another cloud user. In that case,
the user running this action requires cloud administrator privileges.
Request
4 Parameters
publicKey
Public key of the access key.
Type: xs:string
Required: Yes
account
ID of the account.
Type: AccountIdType
Required: Yes
forUser
Name of another cloud user.
Type: GenericString
Required: No
Result
4 Elements
The result elements are contained in RegisterAccessKeyResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
accessKeyId
ID of the access key.
Type: xs:string
Examples
4
Example 1
The following example registers an access key for an account.
HTTP Request
https://<EnterpriseControllerHostname>/akm/?
Action=RegisterAccessKey&Version=1&Timestamp=1317055640451&Expires=1317055700451&p
ub
licKey=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3XtkY0aBtOSFZcmk
%2FPjiMj7xyGCzRB2I%0AwQXV
%2BQiY5La1Ppj8fSxrs1t85Hy2%2FUY8gfVYy3peGm1mkdo0xtFfP90ACxKAH7Z8%2B8LqgPT6w
DxY%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"?><result
xmlns="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>
See
4 Also
■ CreateAccessKeyAsObjectRequest
■ CreateAccessKeyToFileRequest
■ DeleteAccessKeyRequest
■ DescribeAccessKeysRequest
■ DescribeAccountsRequest
4-76 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
RegisterKeyPairRequest
Description
4
Request
4 Parameters
keyName
Name of the key pair.
Type: xs:string
Required: Yes
publicKey
Public key of the key pair.
Type: xs:string
Required: Yes
Result
4 Elements
The result elements are contained in RegisterKeyPairResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
keyFingerprint
Key pair fingerprint.
Type: xs:string
Examples
4
Example 1
The following example registers a key pair for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterKeyPair&Version=1&Time
stamp=1318279380444&Expires=1318279680444&publicKey=ssh-rsa+AAAAB3NzaC1yc2EAAAADAQ
ABAAABAQDg2eienGE4vEMSMcVMbYbC8z2q%2Fvhz3H6AanlJ6B4udseK%0A8CpaHJ23eGWcjcgAmuZCJ%2
FOoHUA2dN2PNPuK6g%2BZndR8wVaaQT89eWDZx9oaf0%2F2Eg%2FLeKJ3moVH%0AvIYvFB9aFCpa4H%2BO
mLfM%2FmfQ4CYeDfo0r0jxCCB0YLo0876LQqK5X%2BtgRXwbAbPH2Mzbzp%2FzzdkQ%0ArsBqSgUQ%2B1V
4LkN6TQe06P5a2QYIlUhRXwUorTnbXczGq9zEJJ7ef%2F74xIQZfAipkYkyGgktsXrM%0A%2F%2Bs789v9
ipaDB5B26y3aqjIdvW4ZLDvuGXPs60aiUfj2WGIqx0KSVL%2FyB%2FtK1WbuZYwl+IaaS-Generated&ke
yName=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</k
eyFingerprint></result>
See
4 Also
■ CreateKeyPairAsObjectRequest
■ CreateKeyPairToFileRequest
■ DeleteKeyPairRequest
■ DescribeKeyPairsRequest
■ ImportKeyPairRequest
4-78 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
RegisterServerTemplateFromUrlRequest
Description
4
Request
4 Parameters
name
Name of the server template.
Type: GenericString
Required: Yes
description
Description of the server template.
Type: GenericString
Required: No
url
URL of the server template.
Type: URLType
Required: Yes
Result
4 Elements
The result elements are contained in RegisterServerTemplateFromUrlResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
serverTemplateId
ID of the server template.
Type: xs:string
Examples
4
Example 1
The following example registers 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%2
Fexample.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</serve
rTemplateId></result>
See
4 Also
■ DeregisterServerTemplateRequest
■ DescribeAttributesRequest
■ DescribeServerTemplatesRequest
■ ModifyAttributesRequest
■ RegisterServerTemplateFromVserverRequest
■ RegisterServerTemplatesFromAssemblyRequest
4-80 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
RegisterServerTemplateFromVserverRequest
Description
4
Request
4 Parameters
name
Name of the server template.
Type: GenericString
Required: Yes
description
Description of the server template.
Type: GenericString
Required: No
vserverId
ID of the vServer.
Type: VserverIdType
Required: Yes
Result
4 Elements
The result elements are contained in RegisterServerTemplateFromVserverResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
serverTemplateId
ID of the server template.
Type: xs:string
Examples
4
Example 1
The following example creates a server template for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplateFromVser
ver&Version=1&Timestamp=1324422880552&Expires=1324423180552&name=mySTfromVserver&v
serverId=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="RegisterServerTemplateFromVserverResult"
requestId="258"><serverTemplateId>TMPL-f047b985-f7fc-4b8a-a5f8-df8f44c95f5a</serve
rTemplateId></result>
See
4 Also
■ DeregisterServerTemplateRequest
■ DescribeAttributesRequest
■ DescribeServerTemplatesRequest
■ ModifyAttributesRequest
■ RegisterServerTemplateFromUrlRequest
■ RegisterServerTemplatesFromAssemblyRequest
4-82 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
RegisterServerTemplatesFromAssemblyRequest
Description
4
Action to register a set of server templates from an assembly. Names of the new server
templates are taken from the assembly.
Request
4 Parameters
description
Description of the assembly.
Type: GenericString
Required: No
url
URL of the assembly.
Type: URLType
Required: Yes
Result
4 Elements
The result elements are contained in RegisterServerTemplatesFromAssemblyResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
serverTemplateIds
IDs of the server templates.
Type: xs:string
Examples
4
Example 1
The following example creates a set of server templates for an account.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RegisterServerTemplatesFromAss
embly&Version=1&Timestamp=1320097901377&Expires=1320098201377&url=https%3A%2F%2Ffanyv88.com%3A443%2Fhttp%2Fadc
4120293.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</serv
erTemplateIds></result>
See
4 Also
■ DeregisterServerTemplateRequest
■ DescribeAttributesRequest
■ DescribeServerTemplatesRequest
■ ModifyAttributesRequest
■ RegisterServerTemplateFromUrlRequest
■ RegisterServerTemplateFromVserverRequest
4-84 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
ReleaseIpAddressesRequest
Description
4
Request
4 Parameters
vnet
ID of the virtual network.
Type: VnetIdType
Required: Yes
ipAddresses
One or more allocated IP addresses.
Type: GenericString
Required: Yes
Result
4 Elements
The result elements are contained in ReleaseIpAddressesResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example releases the specified IP addresses from the virtual network.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=ReleaseIpAddresses&Version=1&T
imestamp=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"/>
See
4 Also
■ AllocateIpAddressesRequest
■ CreateVnetRequest
■ DescribeIpAddressesRequest
■ DescribeVnetsRequest
RunVserverRequest
Description
4
Request
4 Parameters
name
Name of the vServer.
Type: GenericString
Required: Yes
description
Description of the vServer.
Type: GenericString
Required: No
serverTemplateId
ID of a server template.
Type: ServerTemplateIdType
Required: Yes
ipAddresses
List of one or more reserved IP addresses.
Type: GenericString
Required: Yes
keyName
Name of a key pair.
Type: GenericString
Required: No
vserverType
ID of the vServer type.
Type: GenericString
Required: Yes
vnets
List of one or more virtual network IDs.
Type: VnetIdType
Required: Yes
volumes
List of one or more volume IDs.
Type: VolumeIdType
Required: No
4-86 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
distGroup
ID of the distribution group.
Type: DistributionGroupIdType
Required: No
ha
Flag to indicate if high availability is enabled for the vServer. The flag is boolean;
possible values are true or false.
Type: GenericString
Required: No
messages
List of messages sent as key-value pairs to the vServer.
Type: Message
Required: No
hostname
A host name to set or override the internal host name for the vServer. It must be RFC
1123 compliant.
Type: HostnameType
Required: No
rootPassword
A password to set or override the root password for the vServer.
Type: GenericString
Required: No
Result
4 Elements
The result elements are contained in RunVserverResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
vserverId
ID of the vServer.
Type: xs:string
Examples
4
Example 1
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=VNE
T-84ada392-1c13-4f86-8365-1cf7f9c8aadf&name=myVserver&ipAddresses.1=192.168.0.2&se
rverTemplateId=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>
See
4 Also
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
■ StartVserversRequest
■ StopVserversRequest
■ TerminateVserversRequest
4-88 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
RunVserversRequest
Description
4
Request
4 Parameters
name
Name of the vServers.
Type: GenericString
Required: Yes
description
Description of the vServers.
Type: GenericString
Required: No
serverTemplateId
ID of the server template.
Type: ServerTemplateIdType
Required: Yes
num
Number of vServers.
Type: PositiveInteger
Default: 1
Required: No
vnets
List of one or more virtual network IDs.
Type: VnetIdType
Required: Yes
keyName
Name of the key pair.
Type: GenericString
Required: No
vserverType
ID of the vServer type.
Type: GenericString
Required: Yes
volumes
List of one or more volume IDs.
Type: VolumeIdType
Required: No
distGroup
ID of the distribution group.
Type: DistributionGroupIdType
Required: No
ha
Flag to indicate if high availability is enabled for the vServers. The flag is boolean;
possible values are true or false.
Type: GenericString
Required: No
messages
List of messages sent as key-value pairs to the vServers.
Type: Message
Required: No
hostname
A host name to set or override the host name for the vServers. It must be RFC 1123
compliant.
Type: HostnameType
Required: No
rootPassword
A password to set or override the root password for the vServesr.
Type: GenericString
Required: No
Result
4 Elements
The result elements are contained in RunVserversResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
vserverIds
List of one or more vServer IDs.
Type: xs:string
Examples
4
Example 1
The following example creates and starts two vServers.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=RunVservers&Version=1&Timestam
p=1320343596868&Expires=1320343896868&vserverType=457&num=2&keyName=myKeyPair&vnet
4-90 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
s.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_
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="RunVserversResult"
requestId="409"><vserverIds>VSRV-d6800889-f59b-4798-a57d-3f9f31b0cf1c</vserverIds>
<vserverIds>VSRV-d6500889-f59b-4567-a65g-3f9f31b0se1d</vserverIds></result>
See
4 Also
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
■ RunVserverRequest
■ SendMessagesToVserverRequest
■ StartVserversRequest
■ StopVserversRequest
■ TerminateVserversRequest
SendMessagesToVserverRequest
Description
4
Action to send a list of messages to a vServer. These messages can be read from the
guest operating system.
Request
4 Parameters
vserverId
ID of the vServer.
Type: VserverIdType
Required: Yes
messages
List of one or more message key names and values.
Type: Message
Required: Yes
Result
4 Elements
The result elements are contained in SendMessagesToVserverResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
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"/>
See
4 Also
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
■ RunVserverRequest
4-92 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
■ RunVserversRequest
■ StartVserversRequest
■ StopVserversRequest
■ TerminateVserversRequest
StartVserversRequest
Description
4
Request
4 Parameters
vserverIds
One or more vServer IDs.
Type: VserverIdType
Required: Yes
Result
4 Elements
The result elements are contained in StartVserversResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example starts a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=StartVservers&Version=1&Timest
amp=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"/>
See
4 Also
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
■ RunVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
■ StopVserversRequest
■ TerminateVserversRequest
4-94 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
StopVserversRequest
Description
4
Request
4 Parameters
vserverIds
List of one or more vServer IDs.
Type: VserverIdType
Required: Yes
force
Flag to force the action.
Type: xs:boolean
Default: 0 (false)
Required: No
Result
4 Elements
The result elements are contained in StopVserversResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example stops a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=StopVservers&Version=1&Timesta
mp=1320105610783&Expires=1320105910783&vserverIds.1=VSRV-c1e236e6-ef4d-4936-911a-9
7923dfbc291&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"/>
See
4 Also
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
■ RunVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
■ StopVserversRequest
■ TerminateVserversRequest
4-96 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Actions
TerminateVserversRequest
Description
4
Request
4 Parameters
vserverIds
List of one or more vServer IDs.
Type: VserverIdType
Required: Yes
force
Flag to force the action.
Type: xs:boolean
Default: 0 (false)
Required: No
Result
4 Elements
The result elements are contained in TerminateVserversResult.
requestId
ID of the request.
Type: xs:string
Required: Yes
Examples
4
Example 1
The following example deletes a vServer.
HTTP Request
https://<EnterpriseControllerHostname>/iaas/?Action=TerminateVservers&Version=1&Ti
mestamp=1321385662260&Expires=1321385962260&vserverIds.1=VSRV-0fb57293-347c-4717-9
6ef-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"/>
See
4 Also
■ RebootVserversRequest
■ ReceiveMessageFromVserverRequest
■ RunVserverRequest
■ RunVserversRequest
■ SendMessagesToVserverRequest
StartVserversRequest
■ StopVserversRequest
4-98 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
Data Types
AccountIdType
Data
4 Type Elements
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}
Ancestors
4
None
Actions
4
■ CreateAccessKeyAsObjectRequest
■ CreateAccessKeyToFileRequest
■ DescribeAccountsRequest
■ RegisterAccessKeyRequest
4-100 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeAccessKeysResultItem
Data
4 Type Elements
accessKeyID
ID of the access key.
Type: xs:string
account
Name of the account.
Type: xs:string
Ancestors
4
None
Actions
4
DescribeAccessKeysRequest
DescribeAccountsResultItem
Data
4 Type Elements
account
Account ID.
Type: xs:string
name
Name of the account.
Type: xs:string
description
Description of the account.
Type: xs:string
Ancestors
4
None
Actions
4
DescribeAccountsRequest
4-102 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeDistributionGroupsResultItem
Data
4 Type Elements
id
ID of the distribution group.
Type: xs:string
name
Name of the distribution group.
Type: xs:string
description
Description of the distribution group.
Type: xs:string
status
Status of the distribution group.
Type: xs:string
tags
List of tags associated with the distribution group.
Type: TagType
vservers
List of vServer IDs associated with the distribution group.
Type: VserverIdType
size
Size of the distribution group.
Type: xs:int
Ancestors
4
None
Actions
4
DescribeDistributionGroupsRequest
DescribeIpAddressesResultItem
Data
4 Type Elements
ipAddress
Reserved IP address.
Type: xs:string
vnet
ID of the virtual network.
Type: VnetIdType
vserver
ID of the vServer associated with the IP address.
Type: VserverIdType
Ancestors
4
None
Actions
4
DescribeIpAddressesRequest
4-104 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeKeyPairsResultItem
Data
4 Type Elements
name
Name of the key pair.
Type: xs:string
fingerprint
Fingerprint of the key pair.
Type: xs:string
Ancestors
4
None
Actions
4
DescribeKeyPairsRequest
DescribeServerTemplatesResultItem
Data
4 Type Elements
id
ID of the server template.
Type: xs:string
name
Name of the server template.
Type: xs:string
description
Description of the server template.
Type: xs:string
status
Status of the server template.
Type: xs:string
tags
List of none or more tags for the server template.
Type: TagType
size
Size of the server template in GB.
Type: xs:long
public
Flag to indicate if the server template is available for other accounts.
Type: xs:boolean
imageType
Type of the image, VM template or assembly.
Type: GenericString
readOnly
Flag to indicate if the server template is read only.
Type: xs:boolean
Ancestors
4
None
Actions
4
DescribeServerTemplatesRequest
4-106 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeSnapshotsResultItem
Data
4 Type Elements
id
ID of the snapshot.
Type: xs:string
name
Name of the snapshot.
Type: xs:string
description
Description of the snapshot.
Type: xs:string
status
Status of the snapshot.
Type: xs:string
tags
List of none or more tags for the snapshot.
Type: TagType
Ancestors
4
None
Actions
4
DescribeSnapshotsRequest
DescribeTagsResultItem
Data
4 Type Elements
resourceId
ID of the resource.
Type: xs:string
name
Name of the tag.
Type: xs:string
value
Value of the tag.
Type: xs:string
Ancestors
4
None
Actions
4
DescribeTagsRequest
4-108 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeVdcCapabilitiesResultItem
Data
4 Type Elements
name
Name of vDC capability.
Type: GenericString
value
Value of the vDC capability.
Type: GenericString
Ancestors
4
None
Actions
4
DescribeVdcCapabilitiesRequest
DescribeVnetsResultItem
Data
4 Type Elements
id
ID of the virtual network.
Type: xs:string
name
Name of the virtual network.
Type: xs:string
description
Description of the virtual network.
Type: xs:string
status
Status of the virtual network.
Type: xs:string
tags
List of none or more tags for the virtual network.
Type: TagType
ipAddress
Subnet of the virtual network.
Type: GenericString
Ancestors
4
None
Actions
4
DeleteVnetRequest
4-110 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeVolumesResultItem
Data
4 Type Elements
id
ID of the volume.
Type: xs:string
name
Name of the volume.
Type: xs:string
description
Description of the volume.
Type: xs:string
status
Status of the volume.
Type: xs:string
tags
List of none or more tags for the volume.
Type: TagType
size
Size of the volume in GB.
Type: xs:double
shared
Flag to indicate if the volume is shared.
Type: xs:boolean
vServers
List of vServer IDs associated with the volume.
Type: VserverIdType
Ancestors
4
None
Actions
4
DescribeVolumesRequest
DescribeVserverMetricsResultItem
Data
4 Type Elements
id
ID of the vServer.
Type: xs:string
name
Name of the vServer.
Type: xs:string
description
Description of the vServer.
Type: xs:string
status
Status of the vServer.
Type: xs:string
tags
List of tags associated with the vServer.
Type: TagType
cpuUsage
vServer cpu usage.
Type: xs:float
Ancestors
4
None
Actions
4
DescribeVserverMetricsRequest
4-112 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeVserversResultItem
Data
4 Type Elements
id
ID of the vServer.
Type: xs:string
name
Name of the vServer.
Type: xs:string
description
Description of the vServer.
Type: xs:string
status
Status of the vServer.
Type: xs:string
tags
List of tags associated with the vServer.
Type: TagType
vnets
List of virtual network IDs to which the vServer belongs to.
Type: VnetIdType
ipAddresses
List of IP addresses associated with the vServer.
Type: xs:string
serverTemplateId
ID of the server template associated with the vServer.
Type: ServerTemplateIdType
keyName
Name of the key pair associated with the vServer.
Type: GenericString
vserverType
ID of the vServer type associated with the vServer.
Type: GenericString
ha
Flag to indicate whether automatic recovery is enabled for the vServer. Flag is boolean,
possible values are true or false.
Type: GenericString
distributionGroup
ID of the distribution group associated with the vServer.
Type: GenericString
volumes
List of volume IDs associated with the vServer.
Type: xs:string
vcpu
Number of vCPUs of the vServer.
Type: xs:integer
memoryMb
Total memory allocated for the vServer.
Type: xs:long
dedicatedStorageMb
Total storage dedicated to the vServer.
Type: xs:long
attachedStorageMb
Total storage of the volumes attached to the vServer.
Type: xs:long
Ancestors
4
None
Actions
4
DescribeVserversRequest
4-114 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
DescribeVserverTypesResultItem
Data
4 Type Elements
id
ID of the vServer type.
Type: xs:string
name
Name of the vServer type.
Type: xs:string
description
Description of the vServer type.
Type: xs:string
tags
List of none or more tags of the vServer type.
Type: TagType
memorySize
Memory size of the vServer type in GB.
Type: xs:long
storageSize
Storage size of the vServer type in GB.
Type: xs:long
vcpu
Number of virtual CPUs of the vServer type.
Type: xs:integer
Ancestors
4
None
Actions
4
DescribeVserverTypesRequest
DistributionGroupIdType
Data
4 Type Elements
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}
Ancestors
4
None
Actions
4
■ DeleteDistributionGroupRequest
■ DescribeDistributionGroupsRequest
■ RunVserverRequest
■ RunVserversRequest
4-116 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
FilterItem
Data
4 Type Elements
filterName
Name of the filter. The name of an attribute for specified resource.
Type: GenericString
filterValue
Value of the filter. The value for the specified resource’s attribute.
Type: GenericString
Ancestors
4
None
Actions
4
■ DescribeIpAddressesRequest
■ DescribeKeyPairsRequest
■ DescribeServerTemplatesRequest
■ DescribeSnapshotsRequest
■ DescribeTagsRequest
■ DescribeVdcCapabilitiesRequest
■ DescribeVnetsRequest
■ DescribeVolumesRequest
■ DescribeVserversRequest
GenericString
Data
4 Type Elements
Simple data type with the following definition.
Type: xs:string
maxLength value: 256
enumeration value: 200
Ancestors
4
■ FilterItem
■ Message
■ TagType
Actions
4
■ CreateAccessKeyAsObjectRequest
■ CreateAccessKeyToFileRequest
■ CreateKeyPairAsObjectRequest
■ CreateKeyPairToFileRequest
■ DescribeAccessKeysRequest
■ DescribeAccountsRequest
■ DescribeKeyPairsRequest
■ ImportKeyPairRequest
■ RegisterAccessKeyRequest
■ RegisterKeyPairRequest
4-118 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
HostnameType
Data
4 Type Elements
Simple data type for a host name with the following definition.
Type: xs:string
pattern value: [A-Za-z\\d]|([A-Za-z\\d][A-Za-z\\d\\-]{0,253}[A-Za-z\\d])
Ancestors
4
None
Actions
4
■ RunVserverRequest
■ RunVserversRequest
Message
Data
4 Type Elements
key
Key associated with the message.
Type: GenericString
value
The value of the message.
Type: GenericString
Ancestors
4
None
Actions
4
SendMessagesToVserverRequest
4-120 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
PositiveInteger
Data
4 Type Elements
This data type defines the pattern value of a PositiveInteger data type.
Type: xs:integer
minInclusive value: 1
Ancestors
4
None
Actions
4
■ AllocateIpAddressesRequest
■ CreateVnetRequest
■ CreateVolumeRequest
■ RunVserversRequest
ResourceAttribute
Data
4 Type Elements
name
Name of an attribute for a resource.
Type: xs:string
value
Value for the specified resource’s attribute.
Type: xs:string
Ancestors
4
None
Actions
4
■ DescribeAttributesRequest
■ ModifyAttributesRequest
4-122 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
ResourceIdType
Data
4 Type Elements
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}
Ancestors
4
None
Actions
4
■ CreateTagsRequest
■ DeleteTagsRequest
■ DescribeAttributesRequest
■ ModifyAttributesRequest
SnapshotIdType
Data
4 Type Elements
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}
Ancestors
4
None
Actions
4
■ CreateSnapshotRequest
■ CreateVolumeRequest
■ DeleteSnapshotRequest
4-124 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
ServerTemplateIdType
Data
4 Type Elements
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}
Ancestors
4
DescribeServerTemplatesRequest
Actions
4
■ DeregisterServerTemplateRequest
■ DescribeServerTemplatesRequest
■ RunVserverRequest
■ RunVserversRequest
TagType
Data
4 Type Elements
name
The name of the tag.
Type: GenericString
value
The value of the tag.
Type: GenericString
Ancestors
4
■ DescribeServerTemplatesResultItem
■ DescribeSnapshotsRequest
■ DescribeVnetsResultItem
■ DescribeVolumesResultItem
■ DescribeVserverMetricsResultItem
■ DescribeVserverTypesResultItem
Actions
4
■ CreateTagsRequest
■ DeleteTagsRequest
■ DescribeServerTemplatesRequest
■ DescribeSnapshotsRequest
■ DescribeVnetsRequest
■ DescribeVolumesRequest
■ DescribeVserversRequest
■ DescribeVserverTypesRequest
4-126 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
URLType
Data
4 Type Elements
This data type defines the pattern value of a URL.
Type: xs:string
Ancestors
4
None
Actions
4
■ ImportVolumeRequest
■ RegisterServerTemplateFromUrlRequest
■ RegisterServerTemplatesFromAssemblyRequest
VnetIdType
Data
4 Type Elements
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}
Ancestors
4
■ DescribeIpAddressesResultItem
■ DescribeVserverMetricsResultItem
Actions
4
■ AllocateIpAddressesRequest
■ DeleteVnetRequest
■ DescribeIpAddressesRequest
■ DescribeVnetsRequest
■ DescribeVserversRequest
■ ReleaseIpAddressesRequest
■ RunVserverRequest
■ RunVserversRequest
4-128 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Data Types
VolumeIdType
Data
4 Type Elements
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}
Ancestors
4
None
Actions
4
■ AttachVolumesToVserverRequest
■ CreateSnapshotRequest
■ DeleteVolumeRequest
■ DescribeVolumesRequest
■ DetachVolumesFromVserverRequest
■ RunVserverRequest
■ RunVserversRequest
VserverIdType
Data
4 Type Elements
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}
Ancestors
4
DescribeIpAddressesRequest
Actions
4
■ AttachVolumesToVserverRequest
■ DescribeIpAddressesRequest
■ DescribeVserversRequest
■ DetachVolumesFromVserverRequest
■ RebootVserversRequest
■ RegisterServerTemplateFromVserverRequest
■ SendMessagesToVserverRequest
■ StartVserversRequest
■ StopVserversRequest
■ ReceiveMessageFromVserverRequest
■ TerminateVserversRequest
4-130 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
5
Cloud Infrastructure CLI Reference
5
This chapter provides a reference to using the cloud infrastructure CLI once it is
installed. The chapter includes a description, syntax, options, and examples for each
command.
The following topics are covered in this chapter:
■ Common Command Options
■ List of Commands
All the cloud infrastructure CLI commands share some common options. Other
options are common for commands with the same prefix. Table 5–1 lists the command
options and their descriptions, and indicates whether the option is required for the
command.
Alternatively, the value for soe common required options can be specified using the
environment variables: IAAS_PASSWORD_FILE, IAAS_BASE_URL, IAAS_USER, and
IAAS_ACCESS_KEY_FILE.
5-2 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
List of Commands
Each command is delivered as separate file. Every command has a short and long
form. The following CLI commands are described in this section:
Functionality Commands
Account access akm-create-access-key, akm-delete-access-key,
akm-describe-access-keys, akm-describe-accounts
Server template management iaas-create-server-template-from-assembly,
iaas-create-server-template-from-url,
iaas-create-server-template-from-vserver,
iaas-delete-server-template,
iaas-describe-server-templates
Virtual network management iaas-create-vnet, iaas-delete-vnet,
iaas-describe-vnets
vIP address management iaas-allocate-ip-addresses,
iaas-describe-ip-addresses,
iaas-release-ip-addresses
Volume management iaas-attach-volumes-to-vserver,
iaas-create-volume, iaas-delete-volume,
iaas-describe-volumes,
iaas-detach-volumes-from-vserver,
iaas-import-volume
Snapshot management iaas-create-snapshot, iaas-delete-snapshot,
iaas-describe-snapshots
Key pair management iaas-create-key-pair, iaas-delete-key-pair,
iaas-describe-key-pairs, iaas-import-key-pair
vServer management iaas-describe-vservers, iaas-describe-vserver-types,
iaas-reboot-vservers,
iaas-receive-message-from-vserver,
iaas-run-vserver, iaas-run-vservers,
iaas-send-messages-to-vserver, iaas-start-vservers,
iaas-stop-vservers, iaas-terminate-vservers
Distribution group management iaas-create-distribution-group,
iaas-delete-distribution-group,
iaas-describe-distribution-groups
Resource attribute management iaas-describe-attributes, iaas-modify-attributes
Tag management iaas-create-tags, iaas-delete-tags, iaas-describe-tags
vDC capabilities iaas-describe-vdc-capabilities
akm-create-access-key
Syntax
5
Description
5
This command delivers the access key ID and the access key file containing the private
key of the newly created access key for the specified cloud user. The command also
registers the access key to the specified account.
The access key file created by this command is used for authentication of every iaas
command.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--user <username>
User name of the cloud user. The command validates the cloud user in the Oracle
Enterprise Manager Ops Center instance and verifies that the cloud user has the
correct privileges for the specified account. If this option is not specified, then the user
name is taken from the value set in the IAAS_USER environment variable.
--help | -h
Displays the usage information for this command.
--access-key-file | -a <access_key_file>
Complete path and name of the file that will store the access key created after using
this command (for example, /tmp/ak.file). If a path is not specified, the file is created
in the current directory.
--password-file | -p <password_file>
Complete path and name of the file containing the password of the cloud user (for
example, /tmp/akpsswd.file). If a path is not specified for this file, then the
command-line interface looks for the file in the current directory. If this option is not
5-4 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file that stores the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--for-user | -f <username>
User name of another cloud user to create an access key on behalf of that cloud user.
The user executing the command using this option requires cloud administrator
privileges.
--account | -d <account_id>
Account ID of the account for which the access key is created. The command checks
that the specified user is already registered for that account. To get the account ID, use
the akm-describe-accounts command.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates an access key with the ID AK_3. It uses the following options and
values:
AK_3
bash-3.2$
Example 2
This example creates an access key with ID AK_4 using the value set in the
environment variables. It uses the following options and values:
AK_4
bash-3.2$
Example 3
In this example a cloud administrator creates, on behalf of a cloud user, an access key
with ID AK_10. It uses the following options and values:
AK_10
bash-3.2$
Exit
5 Status
(Success) – The command returns the access key ID of the newly created access key.
When the akm-describe-access-keys command is used, the new access key ID is listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ akm-delete-access-key
■ akm-describe-access-keys
■ akm-describe-accounts
5-6 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
akm-delete-access-key
Syntax
5
Description
5
This command deletes the access key association to the account. The access key file is
not deleted with this command, but the access key is no longer usable.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--user <username>
User name of the cloud user. The command validates the cloud user in the Oracle
Enterprise Manager Ops Center instance and verifies that the cloud user has the
correct privileges for the specified account. If this option is not specified, then the user
name is taken from the value set in the IAAS_USER environment variable.
--help | -h
Displays the usage information for this command.
--password-file | -p <password_file>
Name of the file containing the password of the cloud user. If a path is not specified for
this file, then the command-line interface looks for the file in the current directory. If
this option is not specified, and the value is not set in the IAAS_PASSWORD_FILE
environment variable, then the cloud user is prompted for a password.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file that stores the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
<access_key_id>
Access key ID of the access key that will be unregistered. Access key IDs are displayed
in the user interface or by using the akm-describe-access-keys command.
Examples
5
Example 1
This example unregisters an access key. It uses the following options and values:
AK_3
bash-3.2$
Example 2
This example unregisters an access key. It uses the following options and values:
bash-3.2$
Exit
5 Status
(Success) – The command does not return any value, only the command prompt is
returned. When the akm-describe-access-keys command is used, the access key is not
listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ akm-create-access-key
5-8 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
■ akm-describe-access-keys
■ akm-describe-accounts
akm-describe-access-keys
Syntax
5
Description
5
This command list information about the access keys created for a cloud user. The
command displays the access key ID, the account ID, and user name of the cloud user
for each access key available for the specified cloud user.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--user <username>
Username of the cloud user. The command validates the cloud user in the Oracle
Enterprise Manager Ops Center instance and verifies that the cloud user has the
correct privileges for the specified account. If this option is not specified, then the user
name is taken from the value set in the IAAS_USER environment variable.
--help | -h
Displays the usage information for this command.
--password-file | -p <password_file>
Name of the file containing the password of the cloud user. If a path is not specified for
this file, then the command-line interface looks for the file in the current directory. If
this option is not specified, and the value is not set in the IAAS_PASSWORD_FILE
environment variable, then the cloud user is prompted for a password.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file that stores the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-10 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--for-user | -f <username>
User name of a different cloud user to display the access keys created for that cloud
user. The cloud user using this option requires cloud administrator privileges.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example displays the access keys of a cloud user. It uses the following options
and values:
Example 2
This example displays the access keys of a cloud user, adding a header row to the
output. It uses the following options and values:
bash-3.2$ ./akm-describe-access-keys -H
accessKeyId account user
Exit
5 Status
(Success) – The command displays a list containing the access key ID, the account ID,
and username of the specified cloud user.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ akm-create-access-key
■ akm-delete-access-key
■ akm-describe-accounts
5-12 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
akm-describe-accounts
Syntax
5
Description
5
This command lists information about the accounts available for a cloud user. The
command displays the user name of the specified cloud user along with the account
ID, name, and description of each account available for that cloud user.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--user <username>
Username of the cloud user. The command validates the cloud user in the Oracle
Enterprise Manager Ops Center instance and verifies that the cloud user has the
correct privileges for the specified account. If this option is not specified, then the user
name is taken from the value set in the IAAS_USER environment variable.
--help | -h
Displays the usage information for this command.
--password-file | -p <password_file>
Name of the file containing the password of the cloud user. If a path is not specified for
this file, then the command-line interface looks for the file in the current directory. If
this option is not specified, and the value is not set in the IAAS_PASSWORD_FILE
environment variable, then the cloud user is prompted for a password.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--for-user | -f <username>
User name of another cloud user. This option validates that the cloud user using this
option has cloud administrator privileges.
--account | -d <account_id>
Account ID of the account. This option can be used as a filter to limit the number of
accounts displayed.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example displays the account information for a cloud user. It uses the following
options and values:
Example 2
This example displays the account information for a different cloud user, and includes
a header row. It uses the following options and values:
5-14 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
Exit
5 Status
(Success) – The command returns a list containing the account ID, the account name,
the account description, and user name of the specified cloud user.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ akm-create-access-key
■ akm-delete-access-key
■ akm-describe-access-keys
iaas-allocate-ip-addresses
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vnet <vnet-id>
vNet ID from which IP addresses are allocated.
--num <num>
Number of IP addresses to be allocated. The default value is 1.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-16 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example allocates an IP address from the specified virtual network. It uses the
following options and values:
192.168.0.1
bash-3.2$
Example 2
This example allocates three IP addresses from the specified virtual network. It uses
the following options and values:
192.168.0.2
192.168.0.3
192.168.0.4
bash-3.2$
Exit
5 Status
(Success) – The command returns a list of the allocated IP addresses. When using the
iaas-describe-ip-addresses command, the new allocated IP addresses are listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-vnet
■ iaas-describe-ip-addresses
■ iaas-describe-vnets
■ iaas-release-ip-addresses
5-18 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-attach-volumes-to-vserver
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vserver-id | -i <vserver-id>
ID of the vServer to which the volume will be attached.
--volume-ids <vol-id>[,<vol-id>]*
IDs of the volumes to be attached.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example attaches a volume to a vServer. It uses the following options and values:
bash-3.2$./iaas-attach-volumes-to-vserver --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file -vserver-id
VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6 --volume-ids
VOL-052cb4b4-5e56-4303-8b3a-82d6ba743a15
bash-3.2$
Exit
5 Status
(Success) – The command attaches the specified volume to the vServer. This command
does not return any value, only the command prompt is returned. When the
iaas-describe-volumes command is used, the vServer is listed as part of the volume
information.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-volume
■ iaas-describe-volumes
■ iaas-describe-vservers
■ iaas-detach-volumes-from-vserver
■ iaas-import-volume
■ iaas-run-vserver
■ iaas-run-vservers
5-20 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-create-distribution-group
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--desc | -d <descr>
An optional description for the distribution group.
--name | -n <name>
Name of the distribution group.
--sep <separator>
Column separator character. The default separator is TAB.
--size <size>
Size of the distribution group. The size is the maximum limit of vServers that can be
added to a distribution group. The default size is 50000.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates a distribution group for an account. It uses the following options
and values:
DG-068ae84c-d0fc-406d-aa37-0be4f88d411c
bash-3.2$
Example 2
This example creates a distribution group with size for 10 vServers. It uses the
following options and values:
DG-9eb288c2-85e7-4392-80a6-d1c1709de4cd
bash-3.2$
Exit
5 Status
(Success) – The command returns the distribution group ID. When using the
iaas-describe-distribution-groups command, the new distribution group is listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-delete-distribution-group
5-22 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
■ iaas-describe-distribution-groups
■ iaas-run-vserver
■ iaas-run-vservers
iaas-create-key-pair
Syntax
5
Description
5
This command creates a key pair for an account. The command stores the private key
of the key pair in the specified key file.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--key-name | -n <key-pair-name>
Name of the key pair.
--key-file | -k <key-file-name>
Name of the key file that will store the private key of the key pair. If a path is not
specified, then the command creates the file in the current directory.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-24 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates a key pair in an account. It uses the following options and values:
dx a9:60:cb:88:4a:42:2d:c5:d4:f1:23:63:64:54:d9:0a:e0:c5:a5:9e
bash-3.2$
Exit
5 Status
(Success) – The command returns the key pair name and fingerprint. When using the
iaas-describe-key-pairs command, the new key pair is listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-delete-key-pair
■ iaas-describe-key-pairs
■ iaas-import-key-pair
■ iaas-run-vserver
■ iaas-run-vservers
iaas-create-server-template-from-assembly
Creates a set of new server templates based on an assembly. Names of the new server
templates are taken from the assembly.
Syntax
5
Description
5
This command imports an assembly and creates one or more server templates in an
account based on the assembly. Snapshots can be also created as a result of this action.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Add a header row to the output. If this option is not specified, then no header row is
displayed.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--desc | -d <descr>
Description of the server template.
--url | -u <url>
An assembly URL.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-26 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates a server template from the specified assembly. It uses the
following options and values:
ASSM-1110da89-64c7-4c11-a239-927b77e14c2
bash-3.2$
Exit
5 Status
(Success) – The command returns the assembly ID and loads the server templates for
an account. When the iaas-describe-server-templates command is used, the new server
templates are listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-server-template-from-url
■ iaas-create-server-template-from-vserver
■ iaas-delete-server-template
■ iaas-describe-attributes
■ iaas-describe-server-templates
■ iaas-describe-vservers
■ iaas-modify-attributes
■ iaas-run-vserver
■ iaas-run-vservers
iaas-create-server-template-from-url
Syntax
5
Description
5
This command downloads the server template from the specified URL and then loads
the server template to the associated account.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--name | -n <name>
Name of the server template.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--desc | -d <descr>
Description of the server template.
5-28 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--url | -u <url>
Server template URL from which the server template is downloaded.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates a server template from the specified URL. It uses the following
options and values:
TMPL-9330da89-64c7-4c11-a239-927b77e344d1
bash-3.2$
Exit
5 Status
(Success) – The command returns the server template ID and loads the server template
in an account. When using the iaas-describe-server-templates command, the server
template is listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-server-template-from-assembly
■ iaas-create-server-template-from-vserver
■ iaas-delete-server-template
■ iaas-describe-attributes
■ iaas-describe-server-templates
■ iaas-describe-vservers
■ iaas-modify-attributes
■ iaas-run-vserver
■ iaas-run-vservers
iaas-create-server-template-from-vserver
Syntax
5
Description
5
This command creates a new server template based on a stopped vServer in the
account.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--desc | -d <descr>
Description of the template.
--name | -n <name>
Name of the template.
--vserver-id | -i <vserver-id>
vServer ID.
--sep <separator>
Column separator character. The default separator is TAB.
5-30 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates a server template from the specified URL. It uses the following
options and values:
TMPL-00005a39-93fd-44d9-86e5-2755d506f16f
bash-3.2$
Exit
5 Status
(Success) – The command returns the server template ID and loads the server template
in the account. When using the iaas-describe-server-templates command, the server
template is listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-server-template-from-assembly
■ iaas-create-server-template-from-url
■ iaas-delete-server-template
■ iaas-describe-attributes
■ iaas-describe-server-templates
■ iaas-describe-vservers
■ iaas-modify-attributes
■ iaas-run-vserver
■ iaas-run-vservers
iaas-create-snapshot
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--desc | -d <descr>
Description of the snapshot.
--name | -n <name>
Name of the snapshot.
--volume-id <volume-id>
ID of the volume.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-32 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates a snapshot from the specified volume ID. It uses the following
options and values:
SNAP-d7ca2baf-d10b-4ae9-a2c5-5355da9d7004
bash-3.2$
Example 2
This example creates a snapshot from the specified volume ID. It uses the following
options and values:
SNAP-d7ca2baf-d10b-4ae9-a2c5-5355da9d7002
bash-3.2$
Exit
5 Status
(Success) – The command returns the snapshot ID of the snapshot created. When using
the iaas-describe-snapshots command, the snapshot is listed.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-volume
■ iaas-delete-snapshot
■ iaas-describe-snapshots
■ iaas-describe-volumes
5-34 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-create-tags
Syntax
5
Description
5
This command adds or overwrites tags for the specified resource ID that exists in an
account.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--id <resource-id>
ID of a resource in the account.
--tags <name>=<val>[,<name>=<val>]*
List of tag names and values.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example adds a tag to the specified virtual network ID. It uses the following
options and values:
bash-3.2$
Example 2
This example adds two tags to the specified virtual network ID. It uses the following
options and values:
bash-3.2$
Exit
5 Status
(Success) – The command adds or overwrites tags to the specified resource. This
command does not return any value, only the command prompt is returned. You can
see the attributes of the new tags using the iaas-describe-tags command.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-delete-tags
■ iaas-describe-tags
5-36 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-create-vnet
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--name | -n <name>
Name of the virtual network.
--size|-s <size>
Size of the subnet of the virtual network.
--desc | -d <descr>
Description of the virtual network.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates a virtual network with the default subnet size. It uses the
following options and values:
VNET-350c9c3f-0ee5-41be-917e-ebbaed0fa4ad
bash-3.2$
Example 2
This example creates a virtual network with a subnet size of 16. It uses the following
options and values:
VNET-480c9c3f-0ee5-41be-917e-ebbaed0fa4gt
bash-3.2$
Exit
5 Status
(Success) – The command returns the vNet ID of the vNet created. You can see the
attributes of the new vNet using the iaas-describe-vnets command.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-delete-vnet
■ iaas-describe-ip-addresses
■ iaas-describe-vnets
5-38 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
■ iaas-release-ip-addresses
■ iaas-run-vserver
■ iaas-run-vservers
iaas-create-volume
Syntax
5
Description
5
This command creates an empty volume of the specified size for the account. This
command also provides an option to create a volume from a snapshot.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--name | -n <name>
Name of the volume.
--shared
Specifies if the volume is a shared volume. The default is a nonshared volume.
--size|-s <size>
Size of the volume in gigabytes (GB). This option is required if a snapshot ID is not
given.
--snapshot-id|-i <snapshot-id>
Snapshot ID. The volume is created based on the specified snapshot.
--sep <separator>
Column separator character. The default separator is TAB.
5-40 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--desc | -d <descr>
Description of the volume.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates an empty volume of 2 GB. It uses the following options and
values:
VOL-f23a8ba1-ec55-4159-bbdf-de220d18a1c4
bash-3.2$
Example 2
This example creates a volume based on the specified snapshot. It uses the following
options and values:
VOL-g23a8ba1-ec55-4159-bbdf-de220d18a1b7
bash-3.2$
Exit
5 Status
(Success) – The command returns the volume ID of the volume created. Attributes of
the new volume are listed using the iaas-describe-volumes command.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-snapshot
■ iaas-delete-snapshot
■ iaas-delete-volume
■ iaas-describe-snapshots
■ iaas-describe-volumes
■ iaas-import-volume
5-42 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-delete-distribution-group
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes an existing distribution group from an account. It uses the
following options and values:
bash-3.2$
Exit
5 Status
(Success) – The command deletes the specified distribution group from the account.
The command does not return any value, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-distribution-group
■ iaas-describe-distribution-groups
■ iaas-run-vserver
■ iaas-run-vservers
5-44 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-delete-key-pair
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--key-name <key-pair-name>
ID of the key pair.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes an existing key pair from an account. It uses the following
options and values:
bash-3.2$
Exit
5 Status
(Success) – The command deletes the key pair. The command does not return any
value, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-key-pair
■ iaas-describe-key-pairs
■ iaas-import-volume
5-46 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-delete-server-template
Syntax
5
Description
5
This command deletes the server template with the specified server template ID.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
[--server-template-id] <server-template-id>
ID of the server template.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes an existing server template from an account. It uses the following
options and values:
bash-3.2$
Exit
5 Status
(Success) – The command deletes the server template. The command does not return
any value, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-server-template-from-assembly
■ iaas-create-server-template-from-url
■ iaas-create-server-template-from-vserver
■ iaas-describe-attributes
■ iaas-describe-server-templates
5-48 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-delete-snapshot
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--snapshot-id <snapshot-id>
ID of the snapshot
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes the specified snapshot from an account. It uses the following
options and values:
bash-3.2$
Exit
5 Status
(Success) – The command deletes the specified snapshot. The command does not
return any value, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-snapshot
■ iaas-create-volume
■ iaas-delete-volume
■ iaas-describe-snapshots
■ iaas-describe-volumes
5-50 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-delete-tags
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--id <resource-id>
ID of a resource in an account.
--tags <name>=<val>[,<name>=<val>]*
List of tag names or values of the tags to be deleted.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes a tag from the specified resource. It uses the following options
and values:
bash-3.2$
Example 2
This example deletes two tags from the specified resource. It uses the following
options and values:
bash-3.2$
Exit
5 Status
(Success) – The command deletes tags from the specified resource. This command does
not return any value as part of the output, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-tags
■ iaas-describe-tags
5-52 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-delete-vnet
Syntax
5
Description
5
This command deletes a private vNet from an account. The vNet must not be
associated with a vServer.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vnet <vnet-id>
ID of the virtual network.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes the specified virtual network. It uses the following options and
values:
bash-3.2$
Exit
5 Status
(Success) – The command deletes the specified vNet. This command does not return
any response, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-vnet
■ iaas-describe-ip-addresses
■ iaas-describe-vnets
■ iaas-release-ip-addresses
■ iaas-run-vserver
■ iaas-run-vservers
5-54 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-delete-volume
Syntax
5
Description
5
This command deletes a volume. A deletion of a volume does not affect any volume
snapshots that have been created prior based on the deleted volume.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--volume-id <volume-id>
ID of the volume.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes the specified volume. It uses the following options and values:
bash-3.2$
Exit
5 Status
(Success) The command deletes the specified volume. This command does not return
any response, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-snapshot
■ iaas-create-volume
■ iaas-delete-snapshot
■ iaas-describe-snapshots
■ iaas-describe-volumes
5-56 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-describe-attributes
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--id <resource-id>
The ID of the resource. The ID of the resource can be obtained using the corresponding
iaas-describe* command, for example iaas-describe-server-template.
--attr-names <name>[,<name>]*
List of attribute names. The name of the attribute is any of the names displayed in the
header of the output of an iaas-describe-* command (for example,
iaas-describe-server-template -H).
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example displays the name attribute of the specified vNet. It uses the following
options and values:
name myVnet2
bash-3.2$
Example 2
This example displays the name and status attributes of the specified server template.
It uses the following options and values:
name default-server-template1
status OK
bash-3.2$
Exit
5 Status
(Success) – The command returns the list of attributes of the specified resource.
(Failure) – The command displays a descriptive error message and error code.
5-58 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
See
5 Also
■ iaas-describe-server-templates
■ iaas-describe-snapshots
■ iaas-describe-vnets
■ iaas-describe-volumes
■ iaas-describe-vservers
■ iaas-modify-attributes
iaas-describe-distribution-groups
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters.
--ids|-i <dg-id>[,<dg-id>]*
List of distribution group IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
5-60 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists all the distribution groups in an account. It uses the following
options and values:
bash-3.2$././iaas-describe-distribution-groups --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file -H
Exit
5 Status
(Success) – The command returns the list of distribution groups and their attributes. If
no distribution groups are found, then the response is empty.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-distribution-group
■ iaas-delete-distribution-group
iaas-describe-ip-addresses
Syntax
5
Description
5
This command lists the IP addresses allocated in an account. The attributes displayed
as part of the list include the IP address, the vNet ID, and the vServer ID if the IP
address is associated with a vServer.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters. Valid names are ipAddress, vnet, and vserver.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
5-62 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists all allocated IP addresses for an account. It uses the following
options and values:
bash-3.2$./iaas-describe-ip-addresses --base-url
https://<EnterpriseControllerHostname>/ -a ak.file
192.168.2.5 VNET-cde375904-9d34-4ec8-86b9-d917712abaaa
VSRV-123456789-1234-1234-1234-123456789123
192.168.2.1 VNET-vfr4375904-9d34-4ec8-86b9-d917712abaaa
bash-3.2$
Example 2
This example lists the allocated IP addresses from the specified virtual network. It uses
the following options and values:
bash-3.2$./iaas-describe-ip-addresses --base-url
https://<EnterpriseControllerHostname>/ -a ak.file --filters
vnet=VNET-cbd75904-9d34-4ec8-86b9-d917712abaaa
192.168.2.5 VNET-cde375904-9d34-4ec8-86b9-d917712abaaa
VSRV-123456789-1234-1234-1234-123456789123
192.168.2.1 VNET-cde375904-9d34-4ec8-86b9-d917712abaaa
bash-3.2$
Exit
5 Status
(Success) – The command returns the list of allocated IP addresses and their attributes.
If no IP addresses are found, then the response is empty.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-allocate-ip-addresses
■ iaas-create-vnet
■ iaas-describe-vnets
■ iaas-release-ip-addresses
iaas-describe-key-pairs
Syntax
5
Description
5
This command lists the key pairs for an account. This command also allows filtering of
the key pairs displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters.
--key-name|-n <key-pair-name>
Name of key pairs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-64 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the attributes of all the existing key pairs in an account. It uses the
following options and values:
key1 d8:ab:f4:ca:51:ee:40:61:a1:c2:c0:13:49:7c:23:77
bash-3.2$
Example 2
This example lists the attributes of the specified key pair. It uses the following options
and values:
bash-3.2$./iaas-describe-key-pairs --base-url
https://<EnterpriseControllerHostname>/ -a ak.file --key-names key1 -H
name fingerprint
key1 d8:ab:f4:ca:51:ee:40:61:a1:c2:c0:13:49:7c:23:77
bash-3.2$
Exit
5 Status
(Success) – The command returns the list of existing key pairs and their attributes. If
no key pairs are found, then the response is empty.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-key-pair
■ iaas-delete-key-pair
■ iaas-import-key-pair
■ iaas-run-vserver
■ iaas-run-vservers
5-66 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-describe-server-templates
Syntax
5
Description
5
This command lists the server templates and their attributes associated with the
account. This command also allows filtering of the server templates displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters to limit the server templates listed by this command. Valid names for
filters are description, ID, imageType, memory, name, public, readOnly, size, and
status.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--ids|-i <t-id>[,<t-id>]*
List of server template IDs to filter the server templates listed by this command.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example displays all existing server templates of an account and adds a header
row. It uses the following options and values:
Example 2
This example displays server templates that are public to other accounts. It uses the
following options and values:
TMPL-aaaaaaa8-bbb4-ccc4-ddd4-eeeeeeeeee02 default-server-template2
Default Server Template OK 197912092999680 true VDMK false
TMPL-aaaaaaa8-bbb4-ccc4-ddd4-eeeeeeeeee01 default-server-template1
Default Server Template OK 197912092999680 true VDMK false
bash-3.2$
Exit
5 Status
(Success) – The command returns a list of the found server templates.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-server-template-from-assembly
■ iaas-create-server-template-from-url
5-68 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
■ iaas-create-server-template-from-vserver
■ iaas-delete-server-template
■ iaas-describe-attributes
■ iaas-describe-vservers
■ iaas-modify-attributes
■ iaas-run-vserver
■ iaas-run-vservers
iaas-describe-snapshots
Syntax
5
Description
5
This command lists the available snapshots for an account. The command also allows
filtering of the snapshots displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <val>[,<name>=<val>]*
List of filters. Valid names are description, id, name, and status.
--ids|-i <vs-id>[,<vs-id>]*
IDs of the snapshots.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-70 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the attributes of all the existing snapshots in an account. It uses the
following options and values:
Exit
5 Status
(Success) – The command returns a list of the snapshots and their attributes.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-snapshot
■ iaas-create-volume
■ iaas-delete-snapshot
■ iaas-describe-volumes
iaas-describe-tags
Syntax
5
Description
5
This command lists the resources in an account that have a tag associated with them.
The attributes displayed by this command are the resource ID, the name of the tag,
and the value of the tag. The command also allows filtering of the tags displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>[=<val>][,<name>[=<val>]]*
List of filters to limit the resources listed by this command.
Allows the filtering of tags by tag name, tag value, and resource identifier. The result
contains only tags that match all elements of the filter list.
--ids|-i <res-id>[,<res-id>]*
IDs of resources in the account to limit the output to only those tags associated with
these resources.
--sep <separator>
Column separator character. The default separator is TAB.
5-72 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the resources that have a tag associated with them in an account,
along with the tag name and value. It uses the following options and values:
Example 2
This example lists the tag names and values of the specified virtual network. It uses
the following options and values:
Example 3
This example identifies server templates from a particular assembly filtering with the
tag name assemblyKey. It uses the following options and values:
Exit
5 Status
(Success) – The command returns the list of resources with the name and value of the
associated tag.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-tags
■ iaas-delete-tags
5-74 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-describe-vdc-capabilities
Syntax
5
Description
5
This command displays the virtual datacenter (vDC) capabilities for an account. It also
allows filtering of the vDC capabilities displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--filters|-f <name>[=<val>][,<name>[=<val>]]*
List of capability names and optional values to filter.
--help | -h
Displays the usage information for this command.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the capabilities of the vDC associated with the account. It uses the
following options and values:
name value
VirtualizationType OVM
VirtualizationVersion 3.0.2
ProcessorArch Default_Intel_F6_M23
ProcessorVersion Default_Intel_Family:6_Model:23
DistributionGroupSupport disabled
HighAvailabilityUserControl=disabled
HighAvailabilityDefault=true
bash-3.2$
Example 2
This example lists only the virtualization type of the vDC for an account. It uses the
following options and values:
bash-3.2$./iaas-describe-vdc-capabilities --base-url
https://<EnterpriseControllerHostname>/ -a ak.file --filters VirtualizationType
VirtualizationType OVM
bash-3.2$
Exit
5 Status
(Success) – The command returns the list of vDC capabilities of the account.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-delete-distribution-group
■ iaas-run-vserver
■ iaas-run-vservers
5-76 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-describe-vnets
Syntax
5
Description
5
This command lists the available virtual networks for an account. It also allows
filtering of the vNets displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters to limit the virtual networks listed by this command. Valid names for
filters are id, name, description, status, and ipAddress. The result contains only virtual
networks that match all elements of the filter list.
--ids <vn-id>[,<vn-id>]*
IDs of the virtual networks.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the attributes of all the virtual networks in an account. It uses the
following options and values:
Example 2
This example lists the attributes of the specified virtual network IDs. It uses the
following options and values:
5-78 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
Exit
5 Status
(Success) – The command returns the list of existing virtual networks and their
attributes. If no virtual networks are found, the response is empty.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-vnet
■ iaas-delete-vnet
■ iaas-describe-ip-addresses
■ iaas-release-ip-addresses
■ iaas-run-vserver
■ iaas-run-vservers
iaas-describe-volumes
Syntax
5
Description
5
This command lists the available volumes for an account. This command also allows
filtering of the volumes displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters. Valid names are: id, status, name, description, size, shared, and vservers.
--ids|-i <vol-id>[,<vol-id>]*
List of volume IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
5-80 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the attributes of all the volumes found in an account. It uses the
following options and values:
Example 2
This example lists the attributes of the specified volume IDs. It uses the following
options and values:
bash-3.2$./iaas-describe-volumes --base-url
https://<EnterpriseControllerHostname>/ -a ak.file --ids
VOL-7f7b1963-283c-4f2d-9748-30cf87119cef,VOL-82b4661e-de12-4931-b9a4-cce8edd23532
Exit
5 Status
(Success) – The command returns the list of existing volumes and their attributes. If no
volumes are found, the response is empty.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-snapshot
■ iaas-create-volume
■ iaas-delete-snapshot
■ iaas-delete-volume
■ iaas-describe-snapshots
5-82 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-describe-vserver-metrics
Syntax
5
Description
5
This command displays attributes of vServers in an account. The command also allows
filtering of vServers displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters. Valid filter names are: description, name, id, and cpuUsage.
--ids|-i <id>[,<id>]*
List of vServer IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the attributes of all the vServers found in an account. It uses the
following options and values:
Example 2
This example lists the attributes of the specified vServers filtering by vServer name. It
uses the following options and values:
bash-3.2$./iaas-describe-vserver-metrics --base-url
https://<EnterpriseControllerHostname>/ -a ak.file --filters name="testvserver3"
-H
Exit
5 Status
(Success) – The command returns the list of existing vServers and their metrics. If no
vServers are found, the response is empty.
(Failure) – The command displays a descriptive error message and error code.
5-84 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
See
5 Also
■ iaas-describe-vservers
■ iaas-reboot-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-stop-vservers
■ iaas-terminate-vservers
iaas-describe-vservers
Syntax
5
Description
5
This command displays the attributes of vServers in an account. The command also
allows filtering of vServers displayed.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--filters|-f <name>=<val>[,<name>=<val>]*
List of filters. Valid filter names are: description, name, status, id, serverTemplateId,
keyPair, vserverType, ha, distributionGroup, volumes, vcpu, memoryMb,
dedicatedStorageMb, and attachedStorageMb.
--ids|-i <id>[,<id>]*
List of vServer IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-86 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists the attributes of all the vServers found in an account. It uses the
following options and values:
Example 2
This example lists the vServers that have a total of storage attached of 3221225472. It
uses the following options and values:
bash-3.2$./iaas-describe-vservers --base-url
https://<EnterpriseControllerHostname>/ -a ak.file --filters
attachedStorageMb=3221225472 -H
Exit
5 Status
(Success) – The command returns the list of existing vServers and their attributes. If no
vServers are found, the response is empty.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vserver-metrics
■ iaas-reboot-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-stop-vservers
■ iaas-terminate-vservers
5-88 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-describe-vserver-types
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example lists all the permitted vServer types for an account. It uses the following
options and values:
Exit
5 Status
(Success) – The command returns the list of existing vSever types and their attributes.
If no vServer types are found, then response is empty. If the response is an empty list,
contact your cloud administrator to verify your cloud user’s privileges.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-run-vserver
■ iaas-run-vservers
5-90 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-detach-volumes-from-vserver
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vserver-id | -i <vserver-id>
ID of the vServer.
[--volume-ids] <vol-id>[,<vol-id>]*
Volume IDs.
--force|-f
Force the detach operation.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example detaches the specified volume from a vServer. It uses the following
options and values:
bash-3.2$./iaas-detach-volumes-from-vserver --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file --vserver-id
VSRV-0fb57293-347c-4717-96ef-6dd23154596f --volume-ids
VOL-052cb4b4-5e56-4303-8b3a-82d6ba743a15 --force
bash-3.2$
Exit
5 Status
(Success) – The command detaches the specified volumes from the vServer. This
command does not return any response, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-attach-volumes-to-vserver
■ iaas-describe-volumes
■ iaas-describe-vservers
■ iaas-run-vserver
■ iaas-run-vservers
5-92 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-import-key-pair
Syntax
5
Description
5
This command stores a public RSA key to the application. This public key is created
with a third-party tool, and it is stored in the key-file used as part of this command.
The supported formats of the public key to be imported are:
■ OpenSSH
■ SECSH
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--key-file|-k <key-file-name>
Name of the file containing the public key.
--key-name|-n <key-pair-name>
Name of the key pair.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example imports a key pair based on the specified key pair file. It uses the
following options and values:
myOtherPair d9:ab:f4:ca:51:ee:40:61:a1:c2:c0:13:49:7c:23:77
bash-3.2$
Exit
5 Status
(Success) – The command returns the name and the fingerprint of the imported key.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-key-pair
■ iaas-delete-key-pair
■ iaas-describe-key-pairs
■ iaas-run-vserver
■ iaas-run-vservers
5-94 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-import-volume
Imports a volume.
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--name | -n <name>
Name of the volume.
--url <>
URL of the volume to import.
--sep <separator>
Column separator character. The default separator is TAB.
--shared
Flag to indicate that the volume is shared.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--desc | -d <descr>
Description of the volume.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example imports a volume based on the image file of the specified URL. It uses
the following options and values:
VOL-e9afec8c-dbe2-4e03-8561-15716650b81e
bash-3.2$
Exit
5 Status
(Success) – The command returns the volume ID.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-create-snapshot
■ iaas-create-volume
■ iaas-delete-snapshot
■ iaas-delete-volume
■ iaas-describe-snapshots
■ iaas-describe-volumes
5-96 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-modify-attributes
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--help | -h
Displays the usage information for this command.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--id <resource-id>
ID of the resource. The ID of the resource can be obtained by using the corresponding
iaas-describe* command (for example, iaas-describe-server-templates).
--attributes <name>=<val>[,<name>=<val>]*
List of attribute names. The name of the attribute is any of the names displayed in the
header of output of an iaas-describe-* command (for example,
iaas-describe-server-templates -H).
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example modifies the name attribute of the specified vNet. It uses the following
options and values:
bash-3.2$
Example 2
This example modifies the name and public attribute of the specified server template.
It uses the following options and values:
bash-3.2$
Exit
5 Status
(Success) – The command modifies the specified attributes. This command does not
return any value, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-server-templates
■ iaas-describe-snapshots
■ iaas-describe-vnets
■ iaas-describe-volumes
5-98 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
■ iaas-describe-vservers
iaas-reboot-vservers
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--help | -h
Displays the usage information for this command.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--vserver-ids <id>[,<id>]*
vServer IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
5-100 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
Examples
5
Example 1
This example reboots a vServer. It uses the following options and values:
bash-3.2$
Exit
5 Status
(Success) The command restarts the specified vServers. This command does not return
any response, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-stop-vservers
■ iaas-terminate-vservers
iaas-receive-message-from-vserver
Syntax
5
Description
5
This command receives a message from a vServer. The command reads the message
from the common buffer in the virtualization layer by name. This action might return
an error if the vServer is not in an appropriate state to receive messages.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vserver-id | -i <vserver-id>
vServer ID.
--key <key>
Key of the message to retrieve.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-102 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example receives a message from a vServer. It uses the following options and
values:
bash-3.2$../iaas-receive-message-from-server --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file --vserver-id
VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6 --key com.oracle.ovab.test-response
MyMessage
bash-3.2$
Exit
5 Status
(Success) – The command displays the message received from the specified vServer.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-reboot-vservers
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-stop-vservers
■ iaas-terminate-vservers
iaas-release-ip-addresses
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vnet <vnet-id>
vNet ID of the IP addresses to be released.
--ip-addresses <ip>[,<ip>]*
List of IP addresses to be released.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
5-104 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example releases an allocated IP address of the specified virtual network. It uses
the following options and values:
bash-3.2$
Example 2
This example releases three allocated IP addresses of the specified virtual network. It
uses the following options and values:
bash-3.2$
Exit
5 Status
(Success) – The command releases the allocated IP addresses of the specified virtual
network. The command does not return any messages.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-allocate-ip-addresses
■ iaas-create-vnet
■ iaas-describe-ip-addresses
■ iaas-describe-vnets
5-106 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-run-vserver
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--dist-group <dg-id>
A distribution group ID.
--ip-addresses <ip>[,<ip>]*
List of IP addresses, one for each virtual network.
--key-name|-k <key-pair-name>
Name of a key pair.
--name | -n <name>
Name of the vServer.
--desc | -d <descr>
Description of the vServer.
--server-template-id <server-template-id>
ID of the server template.
--vnets <vn-id>[,<vn-id>]*
List of virtual network IDs.
--volumes | -m <vol-id>[,<vol-id>]*
List of volume IDs.
--vserver-type <type>]
vServer type.
--ha <true/false>
Flag to indicate if HA is enabled or disabled for the vServer. Default value is taken
from the HighAvailabilityDefault capability of the vDC.
--messages <key>=<value>[,<key>=<value>]
List of messages for the vServer.
--hostname <hostname>
Internal host name for the vServer. It must be RFC 1123 compliant.
--root-password <root-password>
Root password for the vServer.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates and starts a vServer. It uses the following options and values:
5-108 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
VSRV-0fb57293-347c-4717-96ef-6dd23154596f
bash-3.2$
Exit
5 Status
(Success) – The command creates and starts a vServer. This command returns the
vServer ID.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-stop-vservers
■ iaas-terminate-vservers
iaas-run-vservers
Syntax
5
Description
5
This command creates and starts one or more vServers. A suffix is appended to the
vServer name to distinguish among all the vServers created. The suffix is a numerical
sequence.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--key-name|-k <key-pair-name>
Name of the key pair.
5-110 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
--name | -n <name>
Name of the vServer.
--desc | -d <descr>
Description of the vServer.
--dist-group <dg-id>
Distribution group ID.
--num <num>
The number of vServers to run. The default is 1.
--server-template-id <server-template-id>
ID of the server template.
--vnets <vn-id>[,<vn-id>]*
List of virtual network IDs.
--volumes|-m <vol-id>[,<vol-id>]*
List of volume IDs.
--vserver-type <type>]
vServer type.
--ha <true/false>
Flag to indicate wether HA is enabled or disabled for the vServer. Default value is
taken from the HighAvailabilityDefault capability of the vDC.
--messages <key>=<value>[,<key>=<value>]
List of messages for the vServers.
--hostname <hostname>
Internal host name for the vServers. It must be RFC 1123 compliant.
--root-password <root-password>
Root password for the vServers.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example creates two vServers. It uses the following options and values:
VSRV-d6800889-f59b-4798-a57d-3f9f31b0cf1c
VSRV-d6500889-f59b-4567-a65g-3f9f31b0se1d
bash-3.2$
Exit
5 Status
(Success) – The command creates and starts the number of specified vServers. This
command returns the vServer IDs.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-stop-vservers
■ iaas-terminate-vservers
5-112 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-send-messages-to-vserver
Syntax
5
Description
5
This command sends messages to a vServer. These messages can be read from the
guest operating system. The message is sent to a common buffer in the virtualization
layer that has a limited size. This action might return an error if the size limit is
reached or if the vServer is not in an appropriate state to send messages.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vserver-id | -i <vserver-id>
vServer ID.
--messages <key>=<value>[,<key>=<value>]*
List of messages.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example sends a message to a vServer. It uses the following options and values:
bash-3.2$../iaas-send-message-to-vserver --base-url
https://<EnterpriseControllerHostname>/ -a ak.file --vserver-id
VSRV-8ae29df9-ccfe-4184-acb8-10080665d7f6 --messages com.oracle.ovab.test=Running
bash-3.2$
Exit
5 Status
(Success) – The command sends the message to the specified vServer. This command
does not return any response, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-start-vservers
■ iaas-stop-vservers
■ iaas-terminate-vservers
5-114 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-start-vservers
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vserver-ids <id>[,<id>]*
List of vServer IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
The following example starts the specified vServer. It uses the following options and
values:
bash-3.2$
Exit
5 Status
(Success) – The command starts the specified vServer. This command does not return
any value, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-stop-vservers
■ iaas-terminate-vservers
5-116 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-stop-vservers
Syntax
5
Description
5
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--vserver-ids <id>[,<id>]*
List of vServer IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
The following example stops the specified vServer. It uses the following options and
values:
bash-3.2$
Exit
5 Status
(Success) – The command stops the specified vServer. This command does not return
any response, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-terminate-vservers
5-118 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
List of Commands
iaas-terminate-vservers
Syntax
5
Description
5
This command stops and deletes one or more vServers for an account.
Options
5
--base-url <base_url>
Base URL of the Enterprise Controller where the Web service is running. The value for
this option must use the following syntax:
https://<EnterpriseControllerHostname>. If this option is not specified, then the
URL information is taken from the value set in the IAAS_BASE_URL environment
variable.
--debug | -D
Starts the command in debug mode.
--header | -H
Adds a header row to the output. The default output shows no header.
--access-key-file | -a <access_key_file>
Complete path and name of the file that stores the access key (for example,
/tmp/ak.file). If a path is not specified, then the command looks for the file in the
current directory.
--help | -h
Displays the usage information for this command.
--force|f
Forces the execution of the command.
--vserver-ids <id>[,<id>]*
List of vServer IDs.
--sep <separator>
Column separator character. The default separator is TAB.
--trust-store <truststore_file>
Name of the file containing the trusted SSL certificate. The default is $HOME/.oracle_
iaas/truststore.
--verbose | -v
Starts the command in verbose mode.
--xml
Displays the output result in XML format. The default output is in table format.
Examples
5
Example 1
This example deletes a vServer. It uses the following options and values:
bash-3.2$./iaas-terminate-vservers --base-url
https://<EnterpriseControllerHostname>/ -a ~/ak.file --vserver-ids
VSRV-0fb57293-347c-4717-96ef-6dd23154596f --force
bash-3.2$
Exit
5 Status
(Success) – The command stops and deletes the specified vServers. This command does
not return any response, only the command prompt is returned.
(Failure) – The command displays a descriptive error message and error code.
See
5 Also
■ iaas-describe-vservers
■ iaas-receive-message-from-vserver
■ iaas-run-vserver
■ iaas-run-vservers
■ iaas-send-messages-to-vserver
■ iaas-start-vservers
■ iaas-stop-vservers
5-120 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
A
AWeb Service Client Example
This appendix provides an example for generating requests to the Web service of the
cloud infrastructure API described in Chapter 4, "Cloud Infrastructure API Reference".
This example uses the WebUtil application for generating the requests. The appendix
includes the following topics:
■ Description of Web Service API Requests
■ Sending a Web Service Request
■ Creating Public and Private Keys
■ Overview of the WebUtil Application
■ Examples of Web Service Requests
AKM Request
The following URL shows the information required in a typical access key
management (AKM) request to the Web service:
https://USER:PASSWORD@HOST/akm/?REQUEST_DATA
Name Description
USER Cloud user name
PASSWORD Cloud user password
HOST IP address or fully qualified host name
REQUEST_DATA The request data is made of a series of name=value
parameters separated by an ampersand (&).
REQUEST_DATA Specification
The parameters required as part of the REQUEST_DATA depend on the value used for
the AKM action. However, a set of common parameters is required for every AKM
request.
The following table shows the required parameters for the REQUEST_DATA in every
AKM request. Example A–1 shows how these parameters appear in a complete
request.
Name Description
Action One of the AKM actions. See RegisterAccessKeyRequest,
DescribeAccessKeysRequest, DeleteAccessKeyRequest, and
DescribeAccountsRequest actions for a complete description and
extra parameters for each AKM action.
Version 1
Timestamp Timestamp in milliseconds since January 1, 1970
Expires Expiry date in milliseconds (ms) since January 1, 1970 must be
greater than the timestamp field. A 300000 ms difference between
the two values must be enough.
IAAS Request
The following URL shows the information required in a typical infrastructure as a
service (IAAS) request to the Web service:
https://HOST/iaas/?REQUEST_IAAS_DATA&SIGNATURE_BLOCK
Name Description
HOST IP address or fully qualified host name
REQUEST_IAAS_DATA The request IAAS data is a series of name=value
parameters separated by an ampersand (&).
SIGNATURE_BLOCK The signature block is a series of name=value parameters
separated by an ampersand (&).
REQUEST_IAAS_DATA Specification
The parameters required as part of the REQUEST_IAAS_DATA depend on the value
used for the IAAS action. However, a set of common parameters is required for every
IAAS request.
The following table shows the common required parameters for the REQUEST_IAAS_
DATA in every IAAS request. Example A–2 show how these parameter appears in a
complete specification for REQUEST_IAAS_DATA.
Name Description
Action One of the IAAS actions. See "List of Actions" on page on
page 4-4, for a complete list of IAAS actions and extra
parameters for each IAAS action.
Version 1
A-2 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Description of Web Service API Requests
Name Description
Timestamp Timestamp in milliseconds since January 1, 1970
Expires Expiry date in milliseconds (ms) since January 1, 1970 must
be greater than the timestamp field. A 300000 ms difference
between the two values must be enough.
accessKeyId The value returned by the AKM RegisterAccessKeyRequest
action.
SIGNATURE_BLOCK Specification
The signature block consists of signing some IAAS data with a private key so that the
Web service can authenticate the request. The Web server should be able to verify the
signature with the public key registered with the RegisterAccessKeyRequest action.
The following table shows the series of name=value parameters that conform the
specification for the SIGNATURE_BLOCK. These parameters are separated by the
ampersand(&). Example A–3 shows a complete specification for a SIGNATURE_
BLOCK sample.
Name Description
SignatureVersion 1
SignatureMethod SHA512withRSA. This is the only method supported.
Signature Encoded Hash value of the data to be signed. See "IAAS Data
Used for Signature" for a complete description of the Signature
field.
Name Description
Http Request type POST
HostName IP address or fully qualified host name
Base URL of the Web service iaas
Name Description
REQUEST_IAAS_DATA The request data is made of a series of name=value
parameters separated by an ampersand (&). See also
"REQUEST_IAAS_DATA Specification".
A-4 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Overview of the WebUtil Application
--nocheck-certificate
Private Key
A private key must exist before you can create a public key. To create a private keys
use the following command:
openssl genrsa -out privatekey.pem 2048
The private key is stored in the privatekey.pem file. This file is used to create the
public key. After the public key is registered with the RegisterAccessKeyRequest
action, this private key can be used to sign the IAAS data.
If the WebUtil application is used to sign the IAAS data, then the private key must be
stored in DER format. You can use the following command:
openssl pkcs8 -topk8 -inform PEM -outform DER -in privatekey.pem -nocrypt >
privatekey.DER
Public Key
To create a public key use the following command:
openssl rsa -in privatekey.pem -pubout -out publickey.pem
The public key is stored in the publickey.pem file. After the public key is registered
using the RegisterAccessKeyRequest action, the Web server can verify the signed data
with the public key.
try{
if(argument.compareTo("template") == 0){
WebUtil.generateTemplate(args[1]);
}
static void usage(){
message.setLength(0);
message.append("POST").append("\n");
message.append("10.169.79.76").append("\n");
message.append("/iaas/").append("\n");
message.append("Action=DescribeVnets&Version=1");
message.append("&Timestamp=1330797956376");
message.append("&Expires=1330798256376");
message.append("&AccessKeyId=AK_1");
message.append("\n");
FileOutputStream iaas = new FileOutputStream(filename);
iaas.write(message.toString().getBytes(CHARSET_ENCODING_UTF_8));
iaas.close();
}
A-6 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Overview of the WebUtil Application
rsa.initSign(privKey);
rsa.update(messageStr.getBytes(CHARSET_ENCODING_UTF_8));
/* Now that all the data to be signed has been read in,
generate a signature for it */
/**
* @return a new base 64 encoder
*/
public static sun.misc.BASE64Encoder getBase64Encoder() {
/*
* This helper method was introduced to minimize the warnings about
* using a Sun proprietary API. Use full package names to avoid
* warning on import statement.
*/
return new sun.misc.BASE64Encoder();
}
To generate the signature and base64 encoding, use the WebUtil by running the
following command:
java WebUtil signature privatekey.DER "POST" "<EnterpriseControllerHostname>"
"Action=DescribeVnets&Version=1&accessKeyId=AK_1" signedData
WebUtil generates and stores the signed data in the signedData file:
Content of the signedData file:
bj8GfJCqvPZZPU2JoWAGzZdCF+N767rQejILMQwNdgKLfoGGqAwDPRYMr/ghUoBc6RB3nKYgAy
PdmtCfhzRGTqECgUWy0jCrE99+utGeeJ0/XRQ9LxyYeBgzjO3lHP+hFhUo+gUtQaSYPhUHH7eT
kxg/CrolMxibglypJM/rIf90yEqSeqhphQt7hWxlT0DNAy6/cZt8isT/Tu8V7ZFjBFkEpLfN97
bIOJ2vIIpOeetmftuw4ObtqjbUp6+7dpVkhhCQnX0MAIDj+mjorEOzcwK+F1pYuzES0fjaW0Mo
wG+cA/9gttDjg7r5H29i3qbbjIlvAt6fk1HPpSxQTSTOTg==
WebUtil also generates the iaasPartRequest file with the following information:
A-8 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Examples of Web Service Requests
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Version=
1&AccessKeyId=AK_
1&Timestamp=1331058169938&Expires=1331058469938&SignatureMethod=SHA512with
RSA&SignatureVersion=1&Signature=
To generate the complete HTTP request, append the content of the signedData file to
the iaasPartRequest file as a single-line command. After that, the HTTP request can be
sent, see "Sending a Web Service Request".
A-10 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Examples of Web Service Requests
3. Get the signed data that is stored in the iaasPartRequest and signedData files.
Content of the iaasPartRequest file:
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Versi
on=1&AccessKeyId=AK_
1&Timestamp=1331058169938&Expires=1331058469938&SignatureMethod=SHA512w
ithRSA&SignatureVersion=1&Signature=
Content of the signedData file:
bj8GfJCqvPZZPU2JoWAGzZdCF+N767rQejILMQwNdgKLfoGGqAwDPRYMr/ghUoBc6RB3nKY
gAyPdmtCfhzRGTqECgUWy0jCrE99+utGeeJ0/XRQ9LxyYeBgzjO3lHP+hFhUo+gUtQaSYPh
UHH7eTkxg/CrolMxibglypJM/rIf90yEqSeqhphQt7hWxlT0DNAy6/cZt8isT/Tu8V7ZFjB
FkEpLfN97bIOJ2vIIpOeetmftuw4ObtqjbUp6+7dpVkhhCQnX0MAIDj+mjorEOzcwK+F1pY
uzES0fjaW0MowG+cA/9gttDjg7r5H29i3qbbjIlvAt6fk1HPpSxQTSTOTg==
4. Append the signature to get the complete IAAS request, as show in the following
example:
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Versi
on=1&AccessKeyId=AK_
1&Timestamp=1331058169938&Expires=1331058469938&SignatureMethod=SHA512w
ithRSA&SignatureVersion=1&Signature=bj8GfJCqvPZZPU2JoWAGzZdCF+N767rQejI
LMQwNdgKLfoGGqAwDPRYMr/ghUoBc6RB3nKYgAyPdmtCfhzRGTqECgUWy0jCrE99+utGeeJ
0/XRQ9LxyYeBgzjO3lHP+hFhUo+gUtQaSYPhUHH7eTkxg/CrolMxibglypJM/rIf90yEqSe
qhphQt7hWxlT0DNAy6/cZt8isT/Tu8V7ZFjBFkEpLfN97bIOJ2vIIpOeetmftuw4ObtqjbU
p6+7dpVkhhCQnX0MAIDj+mjorEOzcwK+F1pYuzES0fjaW0MowG+cA/9gttDjg7r5H29i3qb
bjIlvAt6fk1HPpSxQTSTOTg==
5. Send the complete IAAS request using the browser or the WGET utility. The result
returned is similar to the following output:
<result xsi:type="DescribeVnetsResult" requestId="102">
<items>
<id>VNET-6c774d08-d0a7-493b-9fa1-c93a80702f8d</id>
<name>10.169.69.0/24</name>
<description>OVM Discovered Network</description>
<status>OK</status>
<ipAddress>10.169.69.0/24</ipAddress>
</items>
</result>
3. Get the signed data that is stored in the iaasPartRequest and signedData files.
Content of the iaasPartRequest file:
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Versi
on=1&AccessKeyId=AK_
1&ids.1=VNET-6c774d08-d0a7-493b-9fa1-c93a80702f8d&Timestamp=13310584499
00&Expires=1331058749900&SignatureMethod=SHA512withRSA&SignatureVersion
=1&Signature=
Content of the signedData file:
B15A5WdQkIwTrlR/NDXbn1RFwWyBFAQFtZTfZ1jH8ftkRgvfwU93nxukpw23sHBdRvhzLuh
yW2LWm90EIhZHd3H2x9s8D1wCAUFTsSAZoPuIlW40qn0sf9VTEXOlqwnxfray6eSGCcpHQW
XaA+TjpCitzguoPmHa3LjGKECnbNuqJS15L8VuVfE6otaxyTBzmhH7iI7pBC8gcpomnDZhx
ZkAFaVT0TFf88epbJal5Yl6aTpptjlUNEz6jDhuV2Qaa3bI5OqnJc0PJgCkhuKU7un8us1J
VEk/nf/or5RCBMmPGAluuILIfYBEe/euVUy7wQ00eyKPRuplZkORmVbFLg==
4. Append the signature to get the complete IAAS request, as show in the following
example:
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Versi
on=1&AccessKeyId=AK_
1&ids.1=VNET-6c774d08-d0a7-493b-9fa1-c93a80702f8d&Timestamp=13310584499
00&Expires=1331058749900&SignatureMethod=SHA512withRSA&SignatureVersion
=1&Signature=B15A5WdQkIwTrlR/NDXbn1RFwWyBFAQFtZTfZ1jH8ftkRgvfwU93nxukpw
23sHBdRvhzLuhyW2LWm90EIhZHd3H2x9s8D1wCAUFTsSAZoPuIlW40qn0sf9VTEXOlqwnxf
ray6eSGCcpHQWXaA+TjpCitzguoPmHa3LjGKECnbNuqJS15L8VuVfE6otaxyTBzmhH7iI7p
BC8gcpomnDZhxZkAFaVT0TFf88epbJal5Yl6aTpptjlUNEz6jDhuV2Qaa3bI5OqnJc0PJgC
khuKU7un8us1JVEk/nf/or5RCBMmPGAluuILIfYBEe/euVUy7wQ00eyKPRuplZkORmVbFLg
==
5. Send the complete IAAS request using the browser or WGET utility. The result
returned is similar to the following output:
<result xsi:type="DescribeVnetsResult" requestId="107">
<items>
<id>VNET-6c774d08-d0a7-493b-9fa1-c93a80702f8d</id>
<name>10.169.69.0/24</name>
<description>OVM Discovered Network</description>
<status>OK</status>
<ipAddress>10.169.69.0/24</ipAddress>
</items>
A-12 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Examples of Web Service Requests
</result>
3. Get the signed data that is stored in the iaasPartRequest and signedData files.
Content of the iaasPartRequest file:
https://<EnterpriseControllerHostname>/iaas/?Action=DescribeVnets&Versi
on=1&AccessKeyId=AK_
1&filters.1.filterValue=privatevnet1&filters.1.filterName=name&Timestam
p=1331058887344&Expires=1331059187344&SignatureMethod=SHA512withRSA&Sig
natureVersion=1&Signature=
Content of the signedData file:
B15A5WdQkIwTrlR/NDXbn1RFwWyBFAQFtZTfZ1jH8ftkRgvfwU93nxukpw23sHBdRvhzLuh
yW2LWm90EIhZHd3H2x9s8D1wCAUFTsSAZoPuIlW40qn0sf9VTEXOlqwnxfray6eSGCcpHQW
XaA+TjpCitzguoPmHa3LjGKECnbNuqJS15L8VuVfE6otaxyTBzmhH7iI7pBC8gcpomnDZhx
ZkAFaVT0TFf88epbJal5Yl6aTpptjlUNEz6jDhuV2Qaa3bI5OqnJc0PJgCkhuKU7un8us1J
VEk/nf/or5RCBMmPGAluuILIfYBEe/euVUy7wQ00eyKPRuplZkORmVbFLg==
4. Append the signature to get the complete IAAS request, as show in the following
example:
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVnet&Version=
1&AccessKeyId=AK_
1&name=privatevnetWebApi&Timestamp=1331058639019&Expires=1331058939019&
SignatureMethod=SHA512withRSA&SignatureVersion=1&Signature=B15A5WdQkIwT
rlR/NDXbn1RFwWyBFAQFtZTfZ1jH8ftkRgvfwU93nxukpw23sHBdRvhzLuhyW2LWm90EIhZ
Hd3H2x9s8D1wCAUFTsSAZoPuIlW40qn0sf9VTEXOlqwnxfray6eSGCcpHQWXaA+TjpCitzg
uoPmHa3LjGKECnbNuqJS15L8VuVfE6otaxyTBzmhH7iI7pBC8gcpomnDZhxZkAFaVT0TFf8
8epbJal5Yl6aTpptjlUNEz6jDhuV2Qaa3bI5OqnJc0PJgCkhuKU7un8us1JVEk/nf/or5RC
BMmPGAluuILIfYBEe/euVUy7wQ00eyKPRuplZkORmVbFLg==
5. Send the complete IAAS request using the browser or wget. The result returned is
similar to the following output:
<result xsi:type="DescribeVnetsResult" requestId="111">
<items>
<id>VNET-8028fbfa-9e6f-4494-82c5-b35367340240</id>
<name>privatevnet1</name>
<description>privatevnet1</description>
<status>OK</status>
<ipAddress>192.168.0.0/24</ipAddress>
</items>
</result>
3. Get the signed data that is stored in the iaasPartRequest and signedData files.
Content of the iaasPartRequest file:
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVnet&Version=
1&AccessKeyId=AK_
1&name=privatevnetWebApi&Timestamp=1331058639019&Expires=1331058939019&
SignatureMethod=SHA512withRSA&SignatureVersion=1&Signature=
Content of the signedData file:
B15A5WdQkIwTrlR/NDXbn1RFwWyBFAQFtZTfZ1jH8ftkRgvfwU93nxukpw23sHBdRvhzLuh
yW2LWm90EIhZHd3H2x9s8D1wCAUFTsSAZoPuIlW40qn0sf9VTEXOlqwnxfray6eSGCcpHQW
XaA+TjpCitzguoPmHa3LjGKECnbNuqJS15L8VuVfE6otaxyTBzmhH7iI7pBC8gcpomnDZhx
ZkAFaVT0TFf88epbJal5Yl6aTpptjlUNEz6jDhuV2Qaa3bI5OqnJc0PJgCkhuKU7un8us1J
VEk/nf/or5RCBMmPGAluuILIfYBEe/euVUy7wQ00eyKPRuplZkORmVbFLg==
4. Append the signature to get the complete IAAS request, as show in the following
example:
https://<EnterpriseControllerHostname>/iaas/?Action=CreateVnet&Version=
1&AccessKeyId=AK_
1&name=privatevnetWebApi&Timestamp=1331058639019&Expires=1331058939019&
SignatureMethod=SHA512withRSA&SignatureVersion=1&Signature=B15A5WdQkIwT
rlR/NDXbn1RFwWyBFAQFtZTfZ1jH8ftkRgvfwU93nxukpw23sHBdRvhzLuhyW2LWm90EIhZ
Hd3H2x9s8D1wCAUFTsSAZoPuIlW40qn0sf9VTEXOlqwnxfray6eSGCcpHQWXaA+TjpCitzg
uoPmHa3LjGKECnbNuqJS15L8VuVfE6otaxyTBzmhH7iI7pBC8gcpomnDZhxZkAFaVT0TFf8
8epbJal5Yl6aTpptjlUNEz6jDhuV2Qaa3bI5OqnJc0PJgCkhuKU7un8us1JVEk/nf/or5RC
BMmPGAluuILIfYBEe/euVUy7wQ00eyKPRuplZkORmVbFLg==
5. Send the complete IAAS request using the browser or WGET utility. The result
returned is similar to the following output:
<result xsi:type="CreateVnetResult" requestId="109">
<vnetId>VNET-7e33ee2e-d0f9-4b39-b8c9-32b8c8bfed87</vnetId>
</result>
A-14 Oracle Enterprise Manager Ops Center Cloud Infrastructure API and CLI Reference Guide
Index
Index-1
CreateTagsRequest action, 3-30, 4-18 I
CreateVnetRequest action, 3-6, 4-20
IaaS, 1-1
CreateVolumeRequest action, 3-13, 4-22
APIs, 1-1
APIs and CLI execution flow, 1-2
D CLI, 1-1
Data types, 4-99 iaas-allocate-ip-addresses command, 3-8, 5-16
DeleteAccessKeyRequest action, 3-5, 4-24 iaas-attach-volumes-to-vserver command, 3-15, 5-19
DeleteDistributionGroupRequest action, 3-19, 4-25 iaas-create-distribution-group command, 3-19, 5-21
DeleteKeyPairRequest action, 3-28, 4-26 iaas-create-key-pair command, 3-27, 5-24
DeleteSnapshotRequest action, 3-17, 4-27 iaas-create-server-template-from-assembly
DeleteTagsRequest action, 4-28 command, 3-11, 5-26
DeleteVnetRequest action, 3-7, 4-30 iaas-create-server-template-from-url
DeleteVolumeRequest action, 3-14, 4-31 command, 3-11, 5-28
DeregisterServerTemplateRequest action, 3-12, 4-32 iaas-create-server-template-from-vserver
DescribeAccessKeysRequest action, 3-4, 4-33 command, 3-10, 5-30
DescribeAccountsRequest action, 4-35 iaas-create-snapshot command, 3-17, 5-32
DescribeAttributesRequest action, 3-29, 4-37 iaas-create-tags command, 3-30, 5-35
DescribeDistributionGroupsRequest action, 3-20, iaas-create-vnet command, 3-6, 5-37
4-39 iaas-create-volume command, 3-13, 5-40
DescribeIpAddressesRequest action, 3-9, 4-41 iaas-delete-distribution-group command, 3-19, 5-43
DescribeKeyPairsRequest action, 3-28, 4-43 iaas-delete-key-pair command, 3-28, 5-45
DescribeServerTemplatesRequest action, 3-12, 4-45 iaas-delete-server-template command, 3-12, 5-47
DescribeSnapshotsRequest action, 3-18, 4-47 iaas-delete-snapshot command, 3-17, 5-49
DescribeTagsRequest action, 3-31, 4-49 iaas-delete-tags command, 3-31, 5-51
DescribeVdcCapabilitiesRequest action, 3-5, 4-51 iaas-delete-vnet command, 3-7, 5-53
DescribeVnetsRequest action, 3-7, 4-53 iaas-delete-volume command, 3-14, 5-55
DescribeVolumesRequest action, 3-14, 4-55 iaas-describe-attributes command, 3-29, 5-57
DescribeVserverMetricsRequest action, 3-24, 4-57 iaas-describe-distribution-groups command, 3-20,
DescribeVserversRequest action, 3-23, 4-59 5-60
DescribeVserverTypesRequest action, 3-21, 4-62 iaas-describe-ip-addresses command, 3-9, 5-62
DetachVolumesFromVserverRequest action, 3-15, iaas-describe-key-pairs command, 3-28, 5-64
4-64 iaas-describe-server-templates command, 3-12, 5-67
Distribution group management, 1-5, 3-18 iaas-describe-snapshots command, 3-18, 5-70
CLI commands iaas-describe-tags command, 3-31, 5-72
iaas-create-distribution-group, 3-19, 5-21 iaas-describe-vdc-capabilities command, 3-5, 5-75
iaas-delete-distribution-group, 3-19, 5-43 iaas-describe-vnets command, 3-7, 5-77
iaas-describe-distribution-groups, 3-20, 5-60 iaas-describe-volumes command, 3-14, 5-80
Cloud infrastructure API actions iaas-describe-vserver-metrics command, 3-24, 5-83
CreateDistributionGroupRequest, 3-19, 4-12 iaas-describe-vservers command, 3-23, 5-86
DeleteDistributionGroupRequest, 3-19, 4-25 iaas-describe-vserver-types command, 3-21, 5-89
DescribeDistributionGroupsRequest, 3-20, iaas-detach-volumes-from-vserver command, 3-15,
4-39 5-91
creating, 3-19 iaas-import-key-pair command, 3-27, 5-93
deleting, 3-19 iaas-import-volume command, 3-16, 5-95
viewing information, 3-19 iaas-modify-attributes command, 3-30, 5-97
Distribution groups, 3-18 iaas-reboot-vservers command, 3-25, 5-100
attributes, 3-19 iaas-receive-message-from-vserver command, 3-26,
create, 3-19 5-102
delete, 3-19 iaas-release-ip-addresses command, 3-8, 5-104
management, 1-5 iaas-run-vserver command, 3-22, 5-107
view information, 3-19 iaas-run-vservers command, 3-22, 5-110
iaas-send-messages-to-vserver command, 3-26,
5-113
E iaas-start-vservers command, 3-25, 5-115
Enterprise controller, 2-1, 2-2 iaas-stop-vservers command, 3-24, 5-117
iaas-terminate-vservers command, 3-22, 5-119
ImportKeyPairRequest action, 3-27, 4-66
H ImportVolumeRequest action, 3-16, 4-68
High availability, 3-22, 3-29
Index-2
J S
Java client API SendMessagesToVserverRequest action, 3-26, 4-92
See Cloud infrastructure Java API, 1-1 Server temaplate management
deleting, 3-12
Server template management, 1-3, 3-9
K CLI commands
Key pair management, 1-4, 3-26 iaas-create-server-template-from-assembly, 3-
CLI commands 11, 5-26
iaas-create-key-pair, 3-27, 5-24 iaas-create-server-template-from-url, 3-11,
iaas-delete-key-pair, 3-28, 5-45 5-28
iaas-describe-key-pairs, 3-28, 5-64 iaas-create-server-template-from-vserver, 3-10
iaas-import-key-pair, 3-27, 5-93 , 5-30
Cloud infrastructure API actions iaas-delete-server-template, 3-12, 5-47
CreateKeyPairAsObjectRequest, 4-14 iaas-describe-server-templates, 3-12, 5-67
CreateKeyPairToFileRequest, 4-15 Cloud infrastructure API actions
DeleteKeyPairRequest, 3-28, 4-26 DeregisterServerTemplateRequest, 3-12, 4-32
DescribeKeyPairsRequest, 3-28, 4-43 DescribeServerTemplatesRequest, 3-12, 4-45
ImportKeyPairRequest, 3-27, 4-66 RegisterServerTemplateFromUrlRequest, 3-11,
RegisterKeyPairRequest, 3-27, 4-77 4-79
creating, 3-27 RegisterServerTemplateFromVserverRequest,
deleting, 3-28 3-10, 4-81
importing, 3-27 RegisterServerTemplatesFromAssemblyRequest
viewing information, 3-28 , 3-11, 4-83
Key pairs, 3-26 viewing information, 3-12
create, 3-27 Server templates, 3-1
delete, 3-28 assembly, 3-11
import, 3-27 attributes, 3-12
view information, 3-28 delete, 3-12
management, 1-3, 3-9
M upload, 3-10, 3-11
view information, 3-12
Modify attributes Server templates management
high availability, 3-22 uploading, 3-10, 3-11
ModifyAttributesRequest action, 3-30, 4-70 Snapshot management, 1-4, 3-13
CLI commands
P iaas-create-snapshot, 3-17, 5-32
iaas-delete-snapshot, 3-17, 5-49
Package iaas-describe-snapshots, 3-18, 5-70
CLI, 2-2 Cloud infrastructure API actions
cloud infrastructure Java API, 2-1 CreateSnapshotRequest, 3-17, 4-16
Private vNets, 3-6 DeleteSnapshotRequest, 3-17, 4-27
Public networks, 3-6 DescribeSnapshotsRequest, 3-18, 4-47
creating, 3-16
R deleting, 3-17
viewing information, 3-17
RebootVserversRequest action, 3-25, 4-72
Snapshots, 3-13
ReceiveMessageFromVserverRequest action, 3-26,
attributes, 3-17
4-73
create, 3-16
RegisterAccessKeyRequest action, 3-4, 4-75
delete, 3-17
RegisterKeyPairRequest action, 3-27, 4-77
management, 1-4
RegisterServerTemplateFromUrlRequest
view information, 3-17
action, 3-11, 4-79
StartVserversRequest action, 3-25, 4-94
RegisterServerTemplateFromVserverRequest
Status, 3-2
action, 3-10, 4-81
StopVserversRequest action, 3-24, 4-95
RegisterServerTemplatesFromAssemblyRequest
Storage, 3-13
action, 3-11, 4-83
ReleaseIpAddressesRequest action, 3-8, 4-85
RunVserverRequest action, 3-22, 4-86 T
RunVserverRequests action, 3-22 Tag management, 1-5
RunVserversRequest action, 4-89 CLI commands
Index-3
iaas-create-tags, 3-30, 5-35 CreateVnetRequest, 3-6, 4-20
iaas-delete-tags, 3-31, 5-51 DeleteVnetRequest, 3-7, 4-30
iaas-describe-tags, 3-31, 5-72 DescribeVnetsRequest, 3-7, 4-53
Cloud infrastructure API actions creating, 3-6
CreateTagsRequest, 3-30, 4-18 deletion, 3-7
DeleteTagsRequest, 4-28 viewing information, 3-7
DescribeTagsRequest, 3-31, 4-49 Virtual networks, 3-1
creating, 3-30 attributes, 3-7
deleting, 3-31 create, 3-6
viewing information, 3-31 delete, 3-7
Tags, 3-2, 3-30 management, 1-4, 3-6
create, 3-30 viewing information, 3-7
delete, 3-31 Virtual server
management, 1-5 See vServers, 1-4
view information, 3-31 Virtual storage, 3-1
TerminateVserversRequest action, 3-22, 4-97 vNet
See Virtual networks, 1-4
Volume management, 1-4, 3-13
V CLI commands
vDC iaas-attach-volumes-to-vserver, 3-15, 5-19
See Virtual datacenters, 1-2 iaas-create-volume, 3-13, 5-40
vDC management, 1-3 iaas-delete-volume, 3-14, 5-55
CLI command iaas-describe-volumes, 3-14, 5-80
iaas-describe-vdc-capabilities, 3-5 iaas-detach-volumes-from-vserver, 3-15, 5-91
CLI commands iaas-import-volume, 3-16, 5-95
iaas-describe-vdc-capabilities, 5-75 Cloud infrastructure API acitons
Cloud infrastructure API actions DescribeVolumesRequest, 3-14
DescribeVdcCapabilitiesRequest, 3-5, 4-51 Cloud infrastructure API actions
viewing capabilities, 3-5 AttachVolumesToVserverRequest, 3-15, 4-7
vIP CreateVolumeRequest, 3-13, 4-22
See Virtual IP, 1-4 DeleteVolumeRequest, 3-14, 4-31
Virtual datacenters, 1-2 DescribeVolumesRequest, 4-55
capabilities, 3-5 DetachVolumesFromVserverRequest, 3-15,
infrastructure administration, 1-1 4-64
management, 1-3 ImportVolumeRequest, 3-16, 4-68
resources utlization, 1-1 creating, 3-13
virtualization technologies, 1-2 deleting, 3-14
Virtual IP importing volumes, 3-16
allocate, 3-8 viewing information, 3-14
deallocate, 3-8 Volumes, 3-13
management, 1-4, 3-8 attach, 3-15
view information, 3-9 attributes, 3-14
Virtual IP management, 1-4, 3-8 create, 3-13, 3-16
allocating, 3-8 delete, 3-14
CLI commands detach, 3-15
iaas-allocate-ip-addresses, 3-8, 5-16 import, 3-16
iaas-describe-ip-addresses, 3-9, 5-62 management, 1-4
iaas-release-ip-addresses, 3-8, 5-104 view information, 3-14
Cloud infrastructure API actions vServer management, 1-4
AllocateIpAddressesRequest, 3-8, 4-5 CLI commands
DescribeIpAddressesRequest, 3-9, 4-41 iaas-describe-vserver-metrics, 3-24, 5-83
ReleaseIpAddressesRequest, 3-8, 4-85 iaas-describe-vservers, 3-23, 5-86
deallocating, 3-8 iaas-reboot-vservers, 3-25, 5-100
Viewing information, 3-9 iaas-receive-message-from-vserver, 3-26, 5-102
Virtual network management, 1-4, 3-6 iaas-run-vserver, 3-22, 5-107
CLI commands iaas-run-vservers, 3-22, 5-110
iaas-create-vnet, 3-6, 5-37 iaas-send-messages-to-vserver, 3-26, 5-113
iaas-delete-vnet, 3-7, 5-53 iaas-start-vservers, 3-25, 5-115
iaas-describe-vnets, 3-7, 5-77 iaas-stop-vservers, 3-24, 5-117
Cloud infrastructure API actions iaas-terminate-vservers, 3-22, 5-119
Index-4
Cloud infrastructure API actions
DescribeVserverMetricsRequest, 4-57
DescribeVserverMetricssRequest, 3-24
DescribeVserversRequest, 3-23, 4-59
RebootVserversRequest, 3-25, 4-72
ReceiveMessageFromVserverRequest, 3-26,
4-73
RunVserverRequest, 3-22, 4-86
RunVserverRequests, 3-22
RunVserversRequest, 4-89
SendMessagesToVserverRequest, 3-26, 4-92
StartVserversRequest, 3-25, 4-94
StopVserversRequest, 3-24, 4-95
TerminateVserversRequest, 3-22, 4-97
creating, 3-21
deleting, 3-22
detaching volumes, 3-15
rebooting, 3-25
receiving messages, 3-26
sending messages, 3-25
starting, 3-25
stopping, 3-24
viewing information, 3-23
viewing metrics, 3-24
vServer types
attributes, 3-21
CLI commands
iaas-describe-vserver-types, 3-21, 5-89
Cloud infrastructure API actions
DescribeVserverTypesRequest, 3-21, 4-62
view information, 3-21
vServers, 3-1
access, 3-26
access management, 1-4
attributes, 3-23, 3-24
create, 3-21
delete, 3-22
high availability, 3-22, 3-29
management, 1-4, 3-20
reboot, 3-25
receive message, 3-26
send message, 3-25
start, 3-25
stop, 3-24
view information, 3-23
view metrics, 3-24
vServers management, 3-20
attaching volumes, 3-15
W
Web service
See Cloud infrastructure API, 1-1
Index-5
Index-6