Prepare for the Lookup Service ----准备Lookup服务
原文:
Create the service registration filter.
See Create the Service Registration Filter and Retrieve the Registration Object. To understand how to use a Lookup Service registration filter, see “Introduction to Filters.
Retrieve the service registration object.
See Create the Service Registration Filter and Retrieve the Registration Object and Retrieve the Service Registration Object.
Connect to the Lookup Service.
See Connect to the Lookup Service.
Write the code to retrieve the information from the Lookup Service.
Options for Retrieving Information from the Lookup Service shows the different options that are available for you.
Options for Retrieving Information from the Lookup Service Option | Description | ||||
Retrieve the vCenter Single Sign-On service endpoint from the Lookup Service. See Retrieving vCenter Single Sign-On Endpoint for an overview of this option. | See Use the Lookup Service to Obtain a Service Endpoint. You use the LookupServiceUrls() function defined inUse the Lookup Service to Obtain a Set of Service Endpoints. | ||||
Retrieve a single vCloud Suite endpoint from the Lookup Service. SeeRetrieving a Single vCloud Suite Endpoint from the Lookup Servicefor an overview of this option. | Two steps retrieve a single vCloud Suite endpoint
| ||||
Retrieve a management node ID from the Lookup Service using theLookupServiceUrl()function. | |||||
Retrieve a single vCloud Suite endpoint from the Lookup Service usingLookupServiceUrl(). | See Use the Lookup Service to Obtain a Single vCloud Suite Endpoint. You use the LookupServiceUrl() function defined in Use the Lookup Service to Obtain a Service Endpoint. | ||||
Retrieve all vCloud Suite endpoints from the Lookup Service. You do not need to get a management node ID. You call the List()method. | See Use the Lookup Service to Obtain All vCloud Suite Endpoints. You use the LookupServiceUrls() function defined in Use the Lookup Service to Obtain a Set of Service Endpoints. | ||||
Retrieve the WS-API endpoint or other management endpoint from the Lookup Service. | Two steps to retrieve a WS-API endpoint or other management endpoint from the Lookup Service
| ||||
Retrieve the WS-API endpoint or other management node endpoint usingLookupServiceUrl(). | See Use the Lookup Service to Obtain the WS-API Endpoint and Other Management Node Endpoints. You use theLookupServiceUrl() function defined in Use the Lookup Service to Obtain a Service Endpoint. |
Retrieving vCenter Single Sign-On Endpoint describes the steps for retrieving the vCenter Single Sign-On service endpoint from the Lookup Service.
Retrieving vCenter Single Sign-On Endpoint
Retrieving a Single vCloud Suite Endpoint from the Lookup Service describes the steps for retrieving a single vCloud Suite endpoint from the Lookup Service.
Retrieving a Single vCloud Suite Endpoint from the Lookup Service
5 | Use your authentication credentials to obtain a SAML token from the vCenter Single Sign-On service or through a vCloud Suite endpoint. |
See VMware vCenter Single Sign-On Service.
6 | Present the SAML token to a service endpoint for access to the requested operation. |
See Connections and Sessions.
翻译:
准备Lookup服务
1、创建服务注册器:
详细步骤查考: Create the Service Registration Filter and Retrieve the Registration Object。在下面将讲解如何使用Lookup服务注册器,请查考Introduction to Filters.
2、检索服务注册对象:
查考 Create the Service Registration Filter and Retrieve the Registration Object 和 Create the Service Registration Filter and Retrieve the Registration Object。
3、连接Lookup服务
查考 Connect to the Lookup Service。
4、编写代码检索Lookup服务查询相关信息。
参考:Options for Retrieving Information from the Lookup Service 显示可供你不同的选择。
Option(选项) | Description(描述) |
检索vCenter 单点服务端点查找Lookup | 查考: Use the Lookup Service to Obtain a Service Endpoint,你可以使用LookupServiceUrls()定义Use the Lookup Service to Obtain a Set of Service Endpoints. |
检索vCent 单点端点查找Lookup服务, 参考:Retrieving a Single vCloud Suite Endpoint from the Lookup Service |
两步骤定义vCloud 单点端点 1、定义Lookup服务管理节点Id。 2、定义vCent单点端点关联Lookup服务,可以通过 LookupServiceUrl() 函数。 |
使用LookupServiceUrl()函数,检索 Lookup服务管理节点Id | |
使用LookupServiceUrl()函数,为 vCent 单点端点注册Lookup服务。 | 查考:Use the Lookup Service to Obtain a Single vCloud Suite Endpoint 你可以使用LookupServiceUrl() 函数定义LookupServiceUrl() 。 |
检索VCloud所有端点查找特定Lookup服务,你不需要提供管理节点ID,你可以 使用List()方法 | 查考: Use the Lookup Service to Obtain All vCloud Suite Endpoints 你可以使用函数LookupServiceUrls()来定义Use the Lookup Service to Obtain a Set of Service Endpoints. |
检索 WS-API 端点或者其他管理节点端点查找Lookup服务 | 两步骤定义WS-API 端点或者其他管理节点端 3、定义Lookup服务管理节点Id。 4、定义vCent单点端点关联Lookup服务,可以通过 LookupServiceUrl() 函数。 |
检索 WS-API 端点或者其他管理节点端点可以使用LookupServiceUrl()函数 | 查考: Use the Lookup Service to Obtain the WS-API Endpoint and Other Management Node Endpoint你可以使用函数LookupServiceUrl()定义 Use the Lookup Service to Obtain a Service Endpoint. |
图形结构已经描述的很清楚,在此不做翻译。
用你的身份验证凭据从vCenter单点登录服务或通过的vCloud端点获得令牌。
查考:VMware vCenter Single Sign-On Service.
通过SAML 令牌对服务端进行相关的请求操作。
查考: Connections and Sessions.
还没有评论,来说两句吧...