Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
autorest.Response `json:"-"`
// Properties
*ContainerProperties `json:"properties,omitempty"`
// ID
ID *string `json:"ID,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Type
Type *string `json:"type,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Tags - Custom resource tags
Tags map[string]*string `json:"tags"`
}
Container defines the structure of a VHD
type ContainerInfo ¶ added in v0.10.11
type ContainerProperties ¶
type ContainerProperties struct {
// Path
Path *string `json:"path,omitempty"`
Isolated bool `json:"isolated,omitempty"`
// State - State
Statuses map[string]*string `json:"statuses"`
*ContainerInfo `json:"info"`
}
ContainerProperties defines the structure of a Load Balancer
type VirtualHardDisk ¶
type VirtualHardDisk struct {
autorest.Response `json:"-"`
// Properties
*VirtualHardDiskProperties `json:"properties,omitempty"`
// ID
ID *string `json:"ID,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Type
Type *string `json:"type,omitempty"`
// Version
Version *string `json:"version,omitempty"`
// Tags - Custom resource tags
Tags map[string]*string `json:"tags"`
}
VirtualHardDisk defines the structure of a VHD
type VirtualHardDiskProperties ¶
type VirtualHardDiskProperties struct {
// DiskSizeBytes
DiskSizeBytes *int64 `json:"diskSizeGB,omitempty"`
// Dynamic
Dynamic *bool `json:"dynamic,omitempty"`
// Blocksizebytes - TODO: Revisit exposing this
Blocksizebytes *int32 `json:"blocksizebytes,omitempty"`
//Logicalsectorbytes - TODO: Revisit exposing this
Logicalsectorbytes *int32 `json:"logicalsectorbytes,omitempty"`
//Physicalsectorbytes - TODO: Revisit exposing this
Physicalsectorbytes *int32 `json:"physicalsectorbytes,omitempty"`
//Controllernumber - TODO: Revisit exposing this
Controllernumber *int64 `json:"controllernumber,omitempty"`
//Controllerlocation - TODO: Revisit exposing this
Controllerlocation *int64 `json:"controllerlocation,omitempty"`
//Disknumber - TODO: Revisit exposing this
Disknumber *int64 `json:"disknumber,omitempty"`
// READONLY - VirtualMachineName to which this disk is attached to
VirtualMachineName *string `json:"virtualmachinename,omitempty"`
//Scsipath - TODO: Revisit exposing this
Scsipath *string `json:"scsipath,omitempty"`
// State - State
Statuses map[string]*string `json:"statuses"`
//HyperVGeneration - Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values are common.HyperVGeneration_HyperVGenerationV1 and common.HyperVGeneration_HyperVGenerationV2
HyperVGeneration common.HyperVGeneration `json:"hyperVGeneration,omitempty"`
//DiskFileFormat - File format of the disk. possible values are common.DiskFileFormat_DiskFileFormatVHD, common.DiskFileFormat_DiskFileFormatVHDX and common.DiskFileFormat_DiskFileFormatUNKNOWN.
//If not specified, default value is common.DiskFileFormat_DiskFileFormatVHDX
DiskFileFormat common.DiskFileFormat `json:"diskFileFormat,omitempty"`
// CloudInitDataSource - The cloud init data source to be used with the image. [NoCloud, Azure]. Default Value – NoCloud. For marketplace images it will be Azure.
CloudInitDataSource common.CloudInitDataSource `json:"cloudInitDataSource,omitempty"`
// Container name
ContainerName *string `json:"containername,omitempty"`
// Path - Full path of the disk file
Path *string `json:"path,omitempty"`
// PlatformDiskId of the VHD
PlatformDiskId *string `json:"platformDiskId,omitempty"`
}
VirtualHardDiskProperties defines the structure of a Load Balancer
Click to show internal directories.
Click to hide internal directories.