storage

package
v1.2.112 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseClient

type BaseClient struct {
}

Client structure

func New

func New() BaseClient

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 ContainerInfo struct {
	AvailableSize string `json:"AvailableSize,omitempty"`
	TotalSize     string `json:"TotalSize,omitempty"`
}

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"`
}

VirtualHardDiskProperties defines the structure of a Load Balancer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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