constants

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultVmcURL defines the default VMC server url.
	DefaultVmcURL string = "https://vmc.vmware.com"

	// DefaultCspURL defines the default URL for CSP.
	DefaultCspURL string = "https://console.cloud.vmware.com"

	// CspRefreshURLSuffix defines the CSP Refresh Token API endpoint.
	CspRefreshURLSuffix string = "/csp/gateway/am/api/auth/api-tokens/authorize"

	// CspTokenURLSuffix defines the CSP Oauth API endpoint.
	CspTokenURLSuffix string = "/csp/gateway/am/api/auth/token"

	// sksNSXTManager to be stripped from nsxt reverse proxy url for public IP resource
	SksNSXTManager string = "/sks-nsxt-manager"

	// ESX Host instance types supported for SDDC creation.
	HostInstancetypeI3      string = "I3_METAL"
	HostInstancetypeI3EN    string = "I3EN_METAL"
	HostInstancetypeI4I     string = "I4I_METAL"
	HostInstancetypeC6I     string = "C6I_METAL"
	HostInstancetypeM7i24xl string = "M7I_24XL_METAL"
	HostInstancetypeM7i48xl string = "M7I_48XL_METAL"

	// Availability Zones
	SingleAvailabilityZone string = "SingleAZ"
	MultiAvailabilityZone  string = "MultiAZ"

	// SDDC Size
	MediumSddcSize        = "medium"
	CapitalMediumSddcSize = "MEDIUM"
	LargeSddcSize         = "large"
	CapitalLargeSddcSize  = "LARGE"

	ClusterIDFieldName = "clusterId"
	SrmPrefix          = "srm-"
	SddcSuffix         = ".sddc-"

	// EDRS Policy types
	CostPolicyType           = "cost"
	PerformancePolicyType    = "performance"
	StorageScaleUpPolicyType = "storage-scaleup"
	RapidScaleUpPolicyType   = "rapid-scaleup"

	// Microsoft licensing config actions
	LicenseConfigEnabled         = "enabled"
	LicenseConfigDisabled        = "disabled"
	CapitalLicenseConfigEnabled  = "ENABLED"
	CapitalLicenseConfigDisabled = "DISABLED"

	// SDDC Type
	OneNodeSddcType = "1NODE"

	// Provider Types
	AwsProviderType       = "AWS"
	ZeroCloudProviderType = "ZEROCLOUD"

	// Intranet Uplink MTU Range
	MinIntranetMtuLink = 1500
	MaxIntranetMtuLink = 8900

	// Range for number of hosts
	MinHosts = 2
	MaxHosts = 16

	// Env variables used in acceptance tests
	VmcURL         string = "VMC_URL"
	CspURL         string = "CSP_URL"
	APIToken       string = "API_TOKEN"
	ClientID       string = "CLIENT_ID"
	ClientSecret   string = "CLIENT_SECRET"
	OrgID          string = "ORG_ID"
	OrgDisplayName string = "ORG_DISPLAY_NAME"
	// TestSddcID ID of an existing SDDC used for sddc data source, site recovery and srm node tests
	TestSddcID string = "TEST_SDDC_ID"
	// TestSddcName Name of an existing SDDC used for sddc data source tests
	TestSddcName        string = "TEST_SDDC_NAME"
	AwsAccountNumber    string = "AWS_ACCOUNT_NUMBER"
	NsxtReverseProxyURL string = "NSXT_REVERSE_PROXY_URL"
	// SddcGroupTestSddc1Id ID of an existing SDDC used for sddc group test
	SddcGroupTestSddc1Id string = "SDDC_GROUP_TEST_SDDC_1_ID"
	// SddcGroupTestSddc2Id ID of an existing SDDC used for sddc group test
	SddcGroupTestSddc2Id string = "SDDC_GROUP_TEST_SDDC_2_ID"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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