palette-sdk-typescript
Version:
TypeScript SDK for Spectro Cloud Palette API
34 lines • 1.74 kB
TypeScript
/**
* Copyright (c) Spectro Cloud
* SPDX-License-Identifier: Apache-2.0
*/
/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* Palette APIs - 4.8
* OpenAPI spec version: v1
*/
import type { VsphereNetworkConfigEntity } from './vsphereNetworkConfigEntity';
/**
* Both ClusterConfig and MachinePoolConfig will have PlacementConfig MachinePoolconfig.Placements will overwrite values defined in ClusterConfig Currently the convention is: Datacenter / Folder / ImageTemplateFolder / Network should be defined at ClusterConfig Cluster / ResourcePool / Datastore / Network is defined at MachinePool ClusterConfig Network should only indicate use DHCP or not MachinePool Network should contain the actual network and IPPool
*/
export type VspherePlacementConfigEntity = {
/** Cluster is the computecluster in vsphere */
cluster?: string;
/** Datacenter is the name or inventory path of the datacenter where this machine's VM is created/located. */
datacenter?: string;
/** Datastore is the datastore in which VMs are created/located. */
datastore?: string;
/** Folder is the folder in which VMs are created/located. */
folder?: string;
/** ImageTemplateFolder is the folder in which VMs templates are created/located. if empty will use default value spectro-templates */
imageTemplateFolder?: string;
network?: VsphereNetworkConfigEntity;
/** ResourcePool is the resource pool within the above computecluster Cluster */
resourcePool?: string;
/** StoragePolicyName of the storage policy to use with this Virtual Machine */
storagePolicyName?: string;
/** UID for this placement */
uid?: string;
};
//# sourceMappingURL=vspherePlacementConfigEntity.d.ts.map