types

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTargetManifest

func GetTargetManifest() *provider.ProviderTargetManifest

Types

type TargetOptions

type TargetOptions struct {
	Region         string `json:"Region"`
	TenantId       string `json:"Tenant Id"`
	ClientId       string `json:"Client Id"`
	ClientSecret   string `json:"Client Secret"`
	SubscriptionId string `json:"Subscription Id"`
	ResourceGroup  string `json:"Resource Group"`
	ImageURN       string `json:"Image URN"`
	VMSize         string `json:"VM Size"`
	DiskType       string `json:"Disk Type"`
	DiskSize       int    `json:"Disk Size"`
}

func ParseTargetOptions

func ParseTargetOptions(optionsJson string) (*TargetOptions, error)

ParseTargetOptions parses the target options from the JSON string.

type WorkspaceMetadata

type WorkspaceMetadata struct {
	VirtualMachineId       string
	VirtualMachineName     string
	VirtualMachineSizeType string
	Location               string
	Created                string
}

func ToWorkspaceMetadata

func ToWorkspaceMetadata(vm *armcompute.VirtualMachine) WorkspaceMetadata

ToWorkspaceMetadata converts and maps values from an armcompute.VirtualMachine to a WorkspaceMetadata.

Jump to

Keyboard shortcuts

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