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.
Click to show internal directories.
Click to hide internal directories.