Method: projects.locations.privateClouds.showVcenterCredentials

获取 Vcenter 设备凭据的详细信息。

HTTP 请求

GET https://vmwareengine.googleapis.com/v1/{privateCloud=projects/*/locations/*/privateClouds/*}:showVcenterCredentials

网址采用 gRPC 转码语法。

路径参数

参数
privateCloud

string

必需。要查询凭据的私有云的资源名称。资源名称是无方案 URI,遵循 https://cloud.google.com/apis/design/resource_names 中的惯例。例如 projects/my-project/locations/us-central1-a/privateClouds/my-cloud

必须对指定的资源 privateCloud 具有以下 IAM 权限才能进行授权:

  • vmwareengine.privateClouds.showVcenterCredentials

查询参数

参数
username

string

可选。要查询凭据的用户的用户名。此字段的默认值为 CloudOwner@gve.local。提供的值必须是以下值之一:CloudOwner@gve.localsolution-user-01@gve.localsolution-user-02@gve.localsolution-user-03@gve.localsolution-user-04@gve.localsolution-user-05@gve.localzertoadmin@gve.local

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 Credentials 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

如需了解详情,请参阅 Authentication Overview