cloudassembly

package
v0.0.0-...-525bda9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package cloudassembly Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package cloudassembly Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package cloudassembly Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package cloudassembly Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package cloudassembly Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package cloudassembly Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Package cloudassembly Copyright 2021 VMware, Inc. SPDX-License-Identifier: BSD-2-Clause

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCloudAccountAWS

func CreateCloudAccountAWS(APIClient *types.APIClientOptions, name, accesskey, secretkey, regions, tags string) (*models.CloudAccountAws, error)

CreateCloudAccountAWS creates a new AWS cloud account

func CreateCloudAccountAzure

func CreateCloudAccountAzure(APIClient *types.APIClientOptions, name, description, subscriptionID, tenantID, clientApplicationID, clientApplicationSecretKey, regions, tags string) (*models.CloudAccountAzure, error)

CreateCloudAccountAzure creates a new AWS cloud account

func CreateCloudAccountNsxT

func CreateCloudAccountNsxT(APIClient *types.APIClientOptions, name, description, fqdn, username, password, vccloudaccount, cloudproxy, tags string, global, manager, insecure bool) (*models.CloudAccountNsxT, error)

CreateCloudAccountNsxT creates a new NSX-T cloud account

func CreateCloudAccountvSphere

func CreateCloudAccountvSphere(APIClient *types.APIClientOptions, name, description, fqdn, username, password, nsxcloudaccount, cloudproxy, tags string, insecure, createcloudzone bool) (*models.CloudAccountVsphere, error)

CreateCloudAccountvSphere creates a new vSphere cloud account

func CreateCloudTemplate

func CreateCloudTemplate(APIClient *types.APIClientOptions, name string, description string, projectID string, content string, scope bool) (*models.Blueprint, error)

CreateCloudTemplate - Create a new Cloud Assembly Cloud Template

func CreateProject

func CreateProject(APIClient *types.APIClientOptions, name string, description string, administrators []*models.User, members []*models.User, viewers []*models.User, zoneAssignment []*models.ZoneAssignmentSpecification, constraints map[string][]models.Constraint, operationTimeout int64, machineNamingTemplate string, sharedResources *bool) (*models.IaaSProject, error)

CreateProject - Create Project

func DeleteCloudAccount

func DeleteCloudAccount(APIClient *types.APIClientOptions, id string) error

DeleteCloudAccount deletes a cloud account

func DeleteCloudTemplate

func DeleteCloudTemplate(APIClient *types.APIClientOptions, id string) error

DeleteCloudTemplate - Delete a Cloud Assembly Cloud Template

func DeleteDeployment

func DeleteDeployment(APIClient *types.APIClientOptions, id string) error

DeleteDeployment - Delete a deployment

func DeleteProject

func DeleteProject(APIClient *types.APIClientOptions, id string) error

DeleteProject - Delete Project

func ExportCloudTemplate

func ExportCloudTemplate(name, project, content, path string) error

ExportCloudTemplate - Export a Cloud Assembly Cloud Template

func GetCloudAccounts

func GetCloudAccounts(APIClient *types.APIClientOptions, id string, name string, cloudaccounttype string) ([]*models.CloudAccount, error)

GetCloudAccounts returns a list of cloud accounts

func GetCloudTemplate

func GetCloudTemplate(APIClient *types.APIClientOptions, id string, name string, project string) ([]*models.Blueprint, error)

GetCloudTemplate - Get a Cloud Assembly Cloud Template

func GetDataCollector

func GetDataCollector(APIClient *types.APIClientOptions, id string) ([]*models.DataCollector, error)

GetDataCollector gets the data collector

func GetDeployments

func GetDeployments(APIClient *types.APIClientOptions, id string, name string, project string, status string) ([]*models.Deployment, error)

GetDeployments returns a list of deployments

func GetProject

func GetProject(APIClient *types.APIClientOptions, name string, id string) ([]*models.IaaSProject, error)

GetProject - Get Projects

func GetPropertyGroups

func GetPropertyGroups(APIClient *types.APIClientOptions, id string, name string, project string) ([]*models.PropertyGroup, error)

GetPropertyGroups returns a list of Property Groups

func GetvSphereRegions

func GetvSphereRegions(APIClient *types.APIClientOptions, fqdn, username, password, cloudproxy string, insecure bool) (*models.CloudAccountRegions, error)

GetvSphereRegions returns a list of vSphere regions

func UpdateProject

func UpdateProject(APIClient *types.APIClientOptions, id string, name string, description string, administrators []*models.User, members []*models.User, viewers []*models.User, zoneAssignment []*models.ZoneAssignmentSpecification, constraints map[string][]models.Constraint, operationTimeout int64, machineNamingTemplate string, sharedResources *bool) (*models.IaaSProject, error)

UpdateProject - Update Project

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL