N VSphere 6 - Vdc-repo.vmware

1y ago
18 Views
4 Downloads
4.75 MB
314 Pages
Last View : 2d ago
Last Download : 3m ago
Upload by : Noelle Grant
Transcription

vSphere Web ServicesSDK Programming GuideUpdate 2VMware vSphere 6.7VMware ESXi 6.7vCenter Server 6.7

vSphere Web Services SDK Programming GuideYou can find the most up-to-date technical documentation on the VMware website at:https://docs.vmware.com/If you have comments about this documentation, submit your feedback todocfeedback@vmware.comVMware, Inc.3401 Hillview Ave.Palo Alto, CA 94304www.vmware.comCopyright 2011–2019 VMware, Inc. All rights reserved. Copyright and trademark information.VMware, Inc.2

ContentsAbout This Book131 VMware vSphere and the vSphere Web Services SDK 15vSphere Web Services SDK15SDK Developer Setup for the Web Services SDKSDK Samples for the Web Services SDK1616UML Diagrams Used in the Web Services SDK Programming Guide162 vSphere Web Services API Programming Model 17vSphere Client-Server Architecture17Web Services API as a Web Service18WSDL Files and the Client-Side Proxy InterfaceNetwork Access to the vSphere Web ServiceLanguage-Specific Classes and Methods181920Mapping XML Data Types to Java and C# Data TypesAccess to Managed Objects2121Access to vSphere Server Data22Obtaining Information from a ServerWorking with Data StructuresAccessing Property Values222323Nested Properties and Property Paths in Composite Data Structuresxsd:anyType Arrays2424Indexed Array and Key-Based Array PropertiesUnset Optional Properties2727Escape Character in Name and Path Properties283 Client Applications for the Web Services API 29vCenter Server Connections29Establishing a Single Sign-On Session with a vCenter ServerLoginByToken to vCenter Server By Using C#30vCenter Server Single Sign On Session Using C#Persistent vCenter Server SessionsSample Code303131Using LoginByToken in C#31LoginByToken to vCenter Server By Using Java37vCenter Server Single Sign-On Session Using JavaHTTP and SOAP Header Handlers in JavaCreating the HTTP Connection in JavaVMware, Inc.303737393

vSphere Web Services SDK Programming GuideUsing LoginByToken in Java40Establishing a Session with Username and Password Credentials43Overview of a Java Sample Application for the Web Services SDK43Build a Simple vSphere Client Application for the Web Services SDKJava Client Example for the Web Services SDKWeb Server Session Token444547Accessing the vSphere Web Services HTTP Endpoint with JAX-WSAccessing the vSphere Server from a Web Services ClientClosing the Connection from a Web Services ClientUsing the Java Samples as ReferenceMultiple Versions of the vSphere API4850515153Java and C# Sample Applications in the Web Services SDKJava Samples in the Web Services SDKC# Samples in the Web Services SDK5454544 Datacenter Inventory 56Inventory Overview for the Web Services SDKInventory Hierarchies and ServiceInstanceFolders in the Hierarchy5657ESXi Inventory Hierarchy58Accessing Inventory Objects58Creating Inventory Objects59Privileges Required for Inventory ManagementPrivileges566060Permissions60Managed and Standalone ESXi Hosts615 Property Collector 63Introduction to the PropertyCollectorData Retrieval6364Inventory Traversal and Object SelectionvSphere Data Objects for Property CollectionvSphere Methods for Property Collection646465Retrieve Properties with the PropertyCollector66Simple Property Collector Program in Java for Web Services SDKInventory Traversal73TraversalSpec Traversal73Traverse the Inventory By Using the Property CollectorInventory Traversal Example in JavaSelectionSpec TraversalVMware, Inc.757681Client Data Synchronization (WaitForUpdatesEx)Property Filters6887884

vSphere Web Services SDK Programming GuideWaitForUpdatesEx88Server Data Transmission90PropertyCollector PerformanceSearchIndex90916 Authentication and Authorization 92Objects for Authentication and Authorization Management92Authentication and Authorization for ESXi and vCenter ServerESXi User Model9394vCenter Server User ModelvSphere Security Model9595Setting Up Users, Groups, and Permissions97Obtaining User and Group Information from UserDirectoryRetrieveUserGroups Method9798Managing ESXi Users with HostLocalAccountManager98Methods Available for Local Account Management99Create a Local User Account on an ESXi System99Managing Roles and Permissions with AuthorizationManagerUsing Roles to Consolidate Sets of Privileges101Modifying Sample Roles to Create New Roles102Granting Privileges Through Permissions102Authenticating Users Through SessionManager104Using VMware Single Sign On for vCenter Server SessionsUsing the Credential Store for Automated LoginCredential Store Libraries106Credential Store Methods106Credential Store Backing FileCredential Store Samples99105105107107Specifying Roles and Users with the Credential StoreManaging Licenses with LicenseManager1081097 Hosts 110Host Management Objects110Retrieving Host Information111Configuring and Reconfiguring HostsManaging the Host LifecycleReboot and ShutdownUsing Standby Mode112112112112Disconnecting and Reconnecting HostsQuerying and Changing the Host Time113Querying Virtual Machine Memory OverheadVMware, Inc.1131145

vSphere Web Services SDK Programming Guide8 Storage 115Storage Management ObjectsIntroduction to Storage115116How Virtual Machines Access StorageDatastores117118Choosing the Storage API to Use119Managed Objects for Working with StorageConfiguring Disk PartitionsMultipath Management120120121Configuring iSCSI Storage121Configure the VMkernel To Support Software iSCSIConfigure iSCSI Initiators123Creating and Managing DatastoresAccessing Datastores122124125Creating and Modifying a VMFS DatastoreRemoving and Updating Datastores125127Managing VMFS Datastores with HostStorageSystemManaging VMFS Volume Copies (Resignaturing)127128Resignaturing Volumes with ResignatureUnresolvedVmfsVolume Task 129Managing Diagnostic Partitions129Retrieving Diagnostic Partition InformationCreate a Diagnostic PartitionSample Code Reference1301301319 vSphere Networks 132Virtual Switches132Port Groups132Virtual Machine Network InterfacesVMkernel Network Interfaces133133Physical Network Adapter (pnic)Using a Distributed Virtual Switch134134Distributed Virtual Switch Configuration135Backup, Rollback, and Query OperationsVMware Standard Virtual Switch137Configuring a Standard Virtual Switch137vNetwork Standard Switch EnvironmentSetting Up Networking with vSS141141Setting Up IPv6 Networking142Adding Networking Services143Sample Code ReferenceVMware, Inc.138139Defining the Host Network PoliciesNIC Teaming1361446

vSphere Web Services SDK Programming Guide10 Virtual Machine Configuration 146VirtualMachine Management Objects and Methods146Creating Virtual Machines and Virtual Machine Templates147Creating a Virtual Machine Using VirtualMachineConfigSpecCreating Virtual Machine TemplatesCloning a Virtual Machine149149Converting a Template to a Virtual Machine150Accessing Information About a Virtual MachineConfiguring a Virtual MachineName and LocationHardware VersionBoot Options150151152153153Operating System154CPU and Memory InformationNetworks147154155Fibre Channel NPIV SettingsFile Locations156156Adding Devices to Virtual Machines157Performing Virtual Machine Power OperationsRegistering and Unregistering Virtual MachinesCustomizing the Guest Operating SystemInstalling VMware Tools158160160161Upgrading a Virtual Machine16211 Virtual Machine Management 163Virtual Machine MigrationCold Migration163164Migration with vMotion164Using Storage vMotion164Snapshots165Creating a Snapshot165Reverting to a SnapshotDeleting a Snapshot166Linked Virtual Machines166166Linked Virtual Machines and Disk BackingsCreating a Linked Virtual MachineInstant Clone Virtual Machines166167169Removing Snapshots and Deleting Linked Virtual Machines176Relocating a Virtual Machine in a Linked Virtual Machine GroupPromoting a Virtual Machine's DiskPerforming Advanced Manipulation of Delta DisksVMware, Inc.1761771777

vSphere Web Services SDK Programming Guide12 Virtual Machine Encryption APIs 179How Virtual Machine Encryption Protects a DatacenterWhat Keys are UsedWhat Is Encrypted179179180What Is Not Encrypted180Who Can Perform Cryptographic Operations181How Can I Perform Cryptographic Operations181vSphere Virtual Machine Encryption Components181Key Management ServervCenter ServerESXi Hosts182182183Encryption Process Flow183Prerequisites and Required Privileges for Encryption TasksCryptography Privileges and RolesHost Encryption Mode184184184Encrypted vSphere vMotion185API Methods for vSphere Virtual Machine EncryptionvSphere API Methods for KMS ManagementAPI Methods to Prepare an ESXi Host185185186vSphere API Methods for Cryptographic Operations187SPBM API Methods for Encryption 188Workflows for vSphere Virtual Machine EncryptionSet Up the Key Management Server ClusterCreate an Encryption Storage Policy191Create an Encrypted Virtual Machine194Clone an Encrypted Virtual Machine195Encrypt an Existing Virtual Machine or Disk196Decrypt an Encrypted Virtual Machine or DiskEncrypt Using Different KeysQuery Crypto Key In-Use StatusEncrypted vSphere vMotionBest Practices196197Recrypting Encrypted Virtual MachinesVirtual Disk Manager18818819819920020020113 Virtual Applications 203About Virtual ApplicationsManagement Overview203203Direct and Linked ChildrenOVF PackagesCreating a VirtualAppVMware, Inc.2042052058

vSphere Web Services SDK Programming GuideManaging VirtualApp Children206Exporting a Virtual Application206VirtualApp and OvfManager MethodsVirtualApp Data Structures207208OvfManager Data Structures209Example of Generating an OVF PackageImporting an OVF Package210211Virtual Application Life Cycle212Powering a Virtual Application On or OffUnregistering a Virtual ApplicationSuspending a Virtual Application212213213Destroying a Virtual Application21314 Resource Management 214Resource Management Objects214Introduction to Resource ManagementResource Allocation215215Resource Pool Hierarchies216Resource Pool Management GuidelinesCluster Overview216217Creating and Configuring Resource Pools217Understanding Expandable ReservationDeleting Child Resource Pools218219Moving Resource Pools or Virtual Machines Into a Resource PoolIntroduction to vSphere ClustersVMware DRSVMware HAVMware HCI219220220221221Creating and Configuring ClustersCreating a Cluster222222Adding a Host to a ClusterReconfiguring a ClusterManaging DRS ClustersManaging HA Clusters223223224224Primary and Secondary Hosts224Failure Detection and Host Network IsolationUsing VMware HA and DRS Together22522515 Tasks and Scheduled Tasks 227Creating Tasks227Session PersistenceCancelling a TaskVMware, Inc.2282289

vSphere Web Services SDK Programming GuideUsing TaskInfo to Determine Task StatusMonitoring TaskInfo Properties228229Accessing and Manipulating Multiple Tasks230Gathering Data with a ViewManager Object231Gathering Data with a TaskManager Interface241Understanding the ScheduledTaskManager InterfaceScheduling Tasks243244Cancelling a Scheduled TaskUsing a TaskHistoryCollector248Managing the HistoryCollectorSample Code Reference24724824916 Events and Alarms 251Event and Alarm Management ObjectsUnderstanding Events251252Managing Events with EventManagerEvent Data Objects252253Formatting Event Message ContentCreating Custom Events254254Using an EventHistoryCollector256Creating an EventHistoryCollector FilterManaging the HistoryCollectorUsing Alarms257257257Obtaining a List of AlarmsCreating an Alarm258258Defining Alarms Using the AlarmSpec Data Object259Specifying Alarm Trigger Conditions with AlarmExpressionSpecifying Alarm Actions261Deleting or Disabling an AlarmSample Code Reference26026226217 vSphere Performance 264vSphere Performance Data Collection264PerformanceManager Objects and MethodsRetrieving vSphere Performance Data266268Performance Counter Example (QueryPerf)Large-Scale Performance Data Retrieval269277Using the QueryPerf Method as a Raw Data FeedComparison of Query Methods278Retrieving Summary Performance DataPerformance Counter MetadataPerfCounterInfoVMware, Inc.27827927927910

vSphere Web Services SDK Programming GuidePerformance Intervals280ESXi Server Performance Intervals281vCenter Server Performance IntervalsvSphere Performance and Data StorageModifying Historical Intervals281282282Modifying Performance Counter Collection LevelsSample Code Reference28328418 Diagnostics and Troubleshooting 286Troubleshooting Best Practices286Overview of Configuration Files and Log FilesESXi Log File287288Virtual Machine Log Files288vCenter Server Log Files289Modifying the Log Level to Obtain Detailed InformationSetting the Log Level on ESXi SystemsGenerating Logs289290290Setting the Log Level on vCenter Server SystemsUsing DiagnosticManager291291Using the MOB to Explore the DiagnosticManagerGenerating Diagnostic Bundles293294Export Diagnostic Data By Using the vSphere Client29419 Managed Object Browser 295Using the MOB to Explore the Object ModelAccessing the MOB295295Using the MOB to Navigate the VMware Infrastructure Object ModelUsing the MOB to Invoke Methods296297Passing Primitive Datatypes to Method297Passing Arrays of Primitives to Methods297Passing Complex Structures to Methods298Using the MOB Along With the API Reference30120 HTTP Access to vSphere Server Files 303Introduction to HTTP Access303URL Syntax for HTTP Access304Datastore Access (/folder)304Host File Access (/host)305Update Package Access (/tmp)306Privilege Requirements for HTTP AccessVMware, Inc.30611

vSphere Web Services SDK Programming Guide21 Sample Program Overview 307Java Sample Programs (JAXWS Bindings)C# Sample ProgramsVMware, Inc.30731112

About This BookThe vSphere Web Services SDK Programming Guide provides information about developing applications using the VMware vSphere Web Services SDK 6.7.VMware provides different APIs and SDKs for various applications and goals. The vSphere Web Services SDK targets developers who create client applications for managing VMware vSphere componentsavailable on VMware ESXi and VMware vCenter Server systems.To view the current version of this book as well as all VMware API and SDK documentation, go tohttp://www.vmware.com/support/pubs/sdk pubs.html.Revision HistoryThis book is revised with each release of the product or when necessary. A revised version can containminor or major changes. The following table summarizes the significant changes in each version of thisbook.Table 1. Revision HistoryRevision DateDescription11APR2019vSphere 6.7 Update 2Bug fixes. Added section on crypto key query for VM encryption.16OCT2018vSphere 6.7 Update1Added section on Hyperconverged Infrastructure (HCI) clusters.17APR2018vSphere 6.7 - GAAdded Instant Clone material to VM Management chapter.Minor updates elsewhere.12APR2017Removed appendix with list of permissions. Was not maintained.15NOV2016vSphere 6.5 - GAAdded chapter about vSphere virtual machine encryption.Removed description of deprecated CIM Storage Management API.Updated information about session cookie management.04SEP2015Updated information about migrating VMs with vMotion across data centers.12MAR2015vSphere 6.0 - Rewrote “Exporting a Virtual Application” section in Virtual Applications chapter.19SEP2013vSphere 5.5 – Added a C# example of using LoginByToken; clarified limitation for HA clusters.VMware, Inc.13

vSphere Web Services SDK Programming GuideTable 1. Revision History (Continued)Revision DateDescription10SEP2012vSphere 5.1 – Added information about using the SessionManager.LoginByToken method; added informationabout distributed virtual switches.24AUG2011vSphere 5.0 - Revised performance manager chapter. Added information about: unset properties, usingvCenter to access host data, and using the QueryConfigOption to add devices; emphasized ListView instead ofTaskManager; clarified limits and limitations of Linked Virtual Machines; updated samples in chapters 3,5,14,and 16; replaced information about Axis bindings with JAX-WS; and updated paths to samples supplied withSDK.13JUL2010Restructured manual and added chapters about host, storage, and networking. Revised property collectorchapter and added appendix about HTTP access.07MAY2009vSphere Web Services SDK 4.0 Programming Guide.Intended AudienceThis book is intended for anyone who needs to develop applications using the vSphere Web ServicesSDK. Developers typically create client applications using Java or C# (in the Microsoft .NET environment)targeting VMware vSphere. An understanding of Web Services technology and some programmingbackground in one of the stub languages (C# or Java) is required.VMware Technical Publications GlossaryVMware Technical Publications provides a glossary of terms that might be unfamiliar to you. Fordefinitions of terms as they are used in VMware technical documentation go tohttp://www.vmware.com/support/pubs.Document FeedbackVMware welcomes your suggestions for improving our documentation. Send your feedback todocfeedback@vmware.com.VMware, Inc.14

VMware vSphere and thevSphere Web Services SDK1VMware vSphere supports robust, fault-tolerant virtualized applications, networking, and storage.vSphere offers many optional components and modules such as VMware High Availability and VMwareVMotion. The VMware vSphere Web Services SDK gives Web services developers programmatic accessto vSphere components.This chapter includes the following topics:nvSphere Web Services SDKnSDK Developer Setup for the Web Services SDKnSDK Samples for the Web Services SDKnUML Diagrams Used in the Web Services SDK Programming GuidevSphere Web Services SDKThe vSphere Web Services SDK is the most comprehensive of the available management APIs. The SDKworks against both ESXi and vCenter Server systems.As a Web Services SDK, the SDK is language neutral. The SDK includes stubs and examples for Javaand C# and a comprehensive documentation set including an API Reference generated from the source.Figure 1‑1. vSphere APIs and CLIsVMware, Inc.15

vSphere Web Services SDK Programming GuideSDK Developer Setup for the Web Services SDKBefore you can start developing applications with the vSphere Web Services SDK, you must downloadthe software and set up your system. The vSphere Web Services SDK Developers Setup Guide hascomplete instructions for Java and C# development and discusses a simplified security configuration fordevelopment environments.SDK Samples for the Web Services SDKThe SDK includes a set of samples that illustrate much of the SDK features. Two sample sets areavailable:nJava samples use the generated Java stubs that are shipped with the SDK.nC# samples use the generated C# stubs that are shipped with the SDK.Both sample sets include a set of utility applications that are used by the sample code.The code fragments in this guide are in part based on the Java sample applications, but present code thatdoes not require utility applications to run.See #unique 7 for lists of samples for the two languages and a brief explanation of what each sampledoes.UML Diagrams Used in the Web Services SDKProgramming GuideThis guide uses UML (unified modeling language) diagrams to illustrate the API objects and theirrelationships.The guide includes class diagrams and instance diagrams. Figure 1‑2 shows the UML notation used formanaged objects and data objects. The diagrams use a tilde ( ) if an object has no properties ormethods. Ellipses (.) means some properties or methods are omitted.Figure 1‑2. Legend for UML Class DiagramsVMware, Inc.16

vSphere Web Services APIProgramming Model2The vSphere Web Services API is implemented as a language-neutral Web service. The API is based ona remote procedure call mechanism that client applications use to access services and components onESXi and vCenter Server systems.This chapter includes the following topics:nvSphere Client-Server ArchitecturenWeb Services API as a Web ServicenAccess to Managed ObjectsnAccess to vSphere Server DatavSphere Client-Server ArchitectureVMware vSphere client applications participate in a distributed architecture that uses an asynchronouscommunications model. This architecture is based on server-side managed objects, client-side managedobject references, and data objects.nManaged objects exist on a vSphere server (ESX/ESXi or vCenter Server system). They representvSphere services and components. Services include PropertyCollector, SearchIndex,PerformanceManager, and ViewManager. Components include inventory objects such asVirtualMachine, Datastore, and Folder.nManaged object references are client application references to server-side managed objects. Yourclient application uses ManagedObjectReference objects when it invokes operations on a server. AManagedObjectReference is guaranteed to be unique and persistent during an object's lifetime. Thereference persists after an object has moved within the inventory, across sessions, and across serverrestarts. If you remove an object, for example, a virtual machine, from the inventory, and then put itback, the reference changes.nData objects contain information about managed objects. Your client application sends data objects toand receives data objects from a vSphere server. Examples are the different specification andcapability objects such as VirtualMachineConfigSpec and HostCapability.VMware, Inc.17

vSphere Web Services SDK Programming GuideFigure 2‑1 shows a vSphere server and client application. The client has a managed object reference to avirtual machine on the server, and a copy of the GuestInfo data object for the virtual machine. A clientmust maintain its copy of a data object because, depending on the type of client request, a vSphereserver might send property data for a data object as a set of name-value pairs associated with amanaged object reference. See the description of the ObjectContent data object in the vSphere APIReference.Figure 2‑1. vSphere Server and ClientThe VMware vSphere application model uses an asynchronous client-server communication model inmost cases. Methods are nonblocking and return a reference to a Task managed object. For moreinformation about the Task managed object, see Tasks and Scheduled Tasks.Web Services API as a Web ServiceThe vSphere Web Services API is a language-neutral Web service that runs on ESXi and vCenter Serversystems.The API complies with the Web Services Interoperability Organization (WS-I) Basic Profile 1.0. The WS-IBasic Profile 1.0 includes support for the following standards:nXML Schema 1.0nSOAP 1.1nWSDL 1.1For information about the WS-I Basic Profile 1.0, go to the Web Services Interoperability Organization(WS-I) Web site at http://www.ws-i.org.Web services support operations, which are the same as methods in other programming languages. ThevSphere API Web service provides access to all operations necessary for monitoring and managingvSphere components, such as compute resources, virtual machines, networks, storage, and so on.WSDL Files and the Client-Side Proxy InterfaceThe vSphere Web Services SDK provides a set of WSDL (Web Services Description Language) files thatdefine the vSphere Web Services API. Web-services development tools such as JAX-WS wsimport, orMicrosoft .NET wsdl.exe use these WSDL files to generate client-side proxy code (stubs).VMware, Inc.18

vSphere Web Services SDK Programming GuideThe client proxy provides a language-specific interface proxy, for example, using Java or C#. The proxyfacilitates remote method invocation, organization of object data, and other aspects of distributed, objectoriented, applications programming. Your client application calls proxy interface methods. The client proxyuses SOAP (Simple Object Access Protocol) to exchange WSDL messages with a vSphere server.Figure 2‑2 is a representation of a client application that uses the client proxy interface to call a method.The client proxy interface is based on the WSDL definitions.Figure 2‑2. Client-Server Communication Through a Client Proxy InterfaceTo use the VMware client proxy interface, you must import the vSphere Web Services API client librariesin to your client application using the following Java and C# statements.C#using VimApi;Javaimport com.vmware.vim25.*;Important The vSphere Web Services SDK includes Java client-side proxy code that was generatedusing the JAX-WS toolkit. If the versions of Java and JAX-WS on your development platform are thesame as those used to generate the proxy interface shipped in the SDK, you do not have to generateclient-side proxy code from the WSDL. See the Developer’s Setup Guide for information about how toconfigure a development environment for the vSphere Web Services SDK.Network Access to the vSphere Web ServiceYour client application can use the vSphere Web Services API to communicate with vSphere servers overHTTPS (HTTP over an encrypted Secure Sockets Layer connection) at port 443. HTTPS is the defaultprotocol.You can configure the server to support HTTP. Use HTTP access only for test or developmentenvironments, not for production. For information about how to configure the server to support HTTPaccess, see the vSphere Web Services SDK Developer’s Setup Guide.VMware, Inc.19

vSphere Web Services SDK Programming GuideLanguage-Specific Classes and MethodsThe SOAP tools generate language-specific classes and methods that match the WSDL definitions. Thetools also produce objects and methods that are not in the WSDL files.Generated objects. The additional objects provide access to the vSphere Web Service to establishthe client-server connection (VimService, AppUtil) and declare the methods defined for thenvSphere API (VimPortType, VimService).Generated methods. The additional methods are accessor (getter) and mutator (setter) methods forproperties. For Java, the method names are constructed by adding get and set prefixes to anproperty name, and changing the first character of the property name to upper case.The following table identifies client proxy definitions for the vSphere Web Services SDK WSDL.Element AccessJavaC#Access tovSphere Webservice(HTTPS/HTTP)VimService classAppUtil classAccess tovSphere APImethodsVimPortType classVimPortType classAccess tovSphere APIpropertiesgetPropertyName andvSphere API dataobjects(Vim25Api.VimService in vSphere 6.0 and before)get and set methods defined for propertiessetPropertyName methods defined fordata objectsData objects in the vSphere API (see the vSphere API Reference) defined as objects in the proxy interfaceThe following code fragments show getter and setter method definitions for theAfterStartupTaskScheduler.minute property.Javapublic int getMinute() {return minute; }public void setMinute(int minute) {this.minute minute; }C#public int minute {set; get; }VMware, Inc.20

vSphere Web Services SDK Programming GuideYou can extrapolate the getter and setter methods that are available in the client proxy interface from thevSphere API Reference. For example, the ScsiLun data object has a displayName property. For theJava API, you can use a setDisplayName method to assign a string value to the property, and obtain thestring value by using the getDisplayName method. The vSphere Web Services SDK includes Java andC# sample code that illustrates how to use the proxy interfaces. See #unique 18.Mapping XML Data Types to Java and C# Data TypesIn this guide, the UML class and object diagrams use the primitive data type names such as string andinteger, without the XML Schema definition namespace prefix (xsd:). The vSphere API Referencecontains the complete data type name, such as xsd:string. The data types map to the primitive datatypes of the programming language used for the client application.The following table lists some of the more common XML primitive data type mappings.XML SchemaJava.NET Data ntInt32xsd:stringjava.lang.StringStringAccess to Managed ObjectsYour client application obtains access to managed objects through the ServiceInstance managedobject and its associated ServiceContent data object. The ServiceContent data object containsmanaged object references to services and manager entities, and to the root folder of the inventory.The ServiceInstance managed object is the root object of the inventory on both ESX/ESXi and vCenterServer systems. The server creates the ServiceInstance, and creates the manager entities that provideservices in the virtual environment. Examples of manager entities are LicenseManager,PerformanceManager, and ViewManager.The ServiceInstance is the primary point of access to the server inventory. Your client application startsby connecting to a server and creating a reference to the ServiceInstance. After you have connected tothe server, you can call the ServiceInstance.RetrieveServiceContent method to aServiceContent data object. ServiceContent provides access to the vSphere managed objectservices. See Overview of a Java Sample Application for the Web Services SDK for an example ofconnecting to a server and using the ServiceInstance reference to retrieve the ServiceContentobject.VMware, Inc.21

vSphere Web Services SDK Programming GuideFigure 2‑3 shows the object model for the ServiceInstance and ServiceContent objects. The figureshows some of the ServiceContent managed object references and the target objects of the references.Each managed object reference identifies a specific managed object on the server with its type and avalue. (The value property is an opaque string.)Figure 2‑3. ManagedObjectReference Data ObjectAccess to vSphere Server DataTo obtain information about the virtual infrastructure, you retrieve managed object properties. Managedobject properties can be simple data types, such as integer or string data, or they can be complex typessuch as data objects that contain sets of properties.Obtaining Information from a ServerWith a reference to a managed object, you can obtain information about the state of the server-sideinventory objects and populate client-side data o

1 VMware vSphere and the vSphere Web Services SDK 15 . Introduction to vSphere Clusters 220 VMware DRS 220 VMware HA 221 VMware HCI 221 Creating and Configuring Clusters 222 . 17 vSphere Performance 264 vSphere Performance Data Collection 264 PerformanceManager Objects and Methods 266

Related Documents:

s -1 Vdc to 24 Vdc V s 24 Vdcto 25 Vdc V s 25 Vdc to 26 Vdc V s 26 Vdc to 27 Vdc V s 27 Vdc to 28 Vdc V s 28 Vdc to 29 Vdc V s 29 Vdc to 30 Vdc I sink — — — — — — — — — — — — — — 50 37 33 28 24 19 15 mA Magnetic flux — — — no limit Gauss NOTICE Absolute maximum ratings are the extreme limits the .

o VMware vSphere Web Client o DR to the Cloud services Optional Features: o VMware vSphereSDKs o vSphere Virtual Machine File System (VMFS) o vSphere Virtual SMP o vSphere vMotion o vSphere Storage vMotion o vSphere High Availability (HA) o vSphere Distributed Resource Scheduler (DRS) o vSphere Storage DRS o vSphere Fault Tolerance o vSphere .

100 w 12.0 vdc 8.33 a ahm100ps12 100 w 15.0 vdc 6.67 a ahm100ps15 100 w 19.0 vdc 5.26 a ahm100ps19 100 w 24.0 vdc 4.16 a ahm100ps24 100 w 48.0 vdc 2.08 a ahm100ps48 100 w 12.0 vdc 8.33 a ahm100ps12c2 100 w 15.0 vdc 6.67 a ahm100ps15c2 100 w 19.0 vdc 5.26 a ahm100ps19c2 100 w 24.0 vdc 4.16 a ahm100ps24

Finally, the article presents an analysis of a repo squeeze, in which a repo trader with market power chooses the optimal mix of funding via a triparty repo and funding directly in the repo market. Two appen-dixes provide additional analysis on the term struc-ture of repo spreads and on how repo rates affect the

CUI Inc SERIES: CFM-50 DESCRIPTION: DC AXIAL FAN date 07/09/2019 page 2 of 5 INPUT parameter conditions/description min typ max units operating input voltage 5 Vdc input models 12 Vdc input models 4 6 5 12 5.75 13.8 Vdc Vdc current 5 Vdc input models 12 Vdc input models 0.21 0.11 0.28 0.14 A A power 5 Vdc input models 12 Vdc input .

CUI Devices SERIES: CFM-50 DESCRIPTION: DC AXIAL FAN INPUT parameter conditions/description min typ max units operating input voltage 5 Vdc input models 12 Vdc input models 4 6 5 12 5.75 13.8 Vdc Vdc current 5 Vdc input models 12 Vdc input models 0.21 0.11 0.28 0.14 A A power 5 Vdc input models 12 Vdc input models 1.05 1.32 1.4 1.68 W W .

CUI Inc SERIES : CFM-50 DESCRIPTION: DC AXIAL FAN date 07/27/2017 page 2 of 5 INPUT parameter conditions/description min typ max units operating input voltage 5 Vdc input models 12 Vdc input models 4 6 5 12 5.75 13.8 Vdc Vdc current 5 Vdc input models 12 Vdc input models 0.21 0.11 0.28 0.14 A A power 5 Vdc input models 12 Vdc input models 1.05 .

3006 AGMA Toilet Additive 1338 (3006) 19.0% 2914 CERAVON BLUE V10 DC (2914) 0.05% 2922 FORMALDEHYDE REODORANT ALTERNATIVE (2922) 0.6% 3 Water (3) 80.05% Constituent Chemicals 1 Water (3) 80.05% CAS number: 7732-18-5 EC number: 231-791-2 Product number: — EU index number: — Physical hazards Not Classified Health hazards Not Classified Environmental hazards Not Classified 2 Bronopol (INN .