Skip to main content
版本:v1.7

VMware vSphere Folder

描述

vSphere folder 资源可以用于管理 vSphere inventory 文件夹。

示例

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: vsphere-test-folder
spec:
components:
- name: folder-comp
type: vsphere-folder
properties:
folder_path: terraform-test-folder
folder_type: vm

参数说明

属性

名称描述类型是否必须默认值
folder_pathThe path of the folder to be created.stringfalse
folder_typeThe type of folder to create. Allowed options: datacenter, host, vm, datastore and network.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

writeConnectionSecretToRef

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse

输出

如果设置了 writeConnectionSecretToRef,一个 Kubernetes Secret 将会被创建,并且,它的数据里有这些键(key):

名称描述
FOLDER