Documentation ¶
Index ¶
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterCapacityViewData
- type ClusterGpuCapacity
- type ClusterMemoryCapacity
- type ClusterStorageViewData
- type DataBoxEdgeDeviceId
- type DeviceCapacityInfo
- type DeviceCapacityInfoClient
- type DeviceCapacityInfoProperties
- type GetDeviceCapacityInfoOperationResponse
- type HostCapacity
- type NumaNodeData
- type VMMemory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
Types ¶
type ClusterCapacityViewData ¶
type ClusterCapacityViewData struct { Fqdn *string `json:"fqdn,omitempty"` GpuCapacity *ClusterGpuCapacity `json:"gpuCapacity,omitempty"` LastRefreshedTime *string `json:"lastRefreshedTime,omitempty"` MemoryCapacity *ClusterMemoryCapacity `json:"memoryCapacity,omitempty"` TotalProvisionedNonHpnCores *int64 `json:"totalProvisionedNonHpnCores,omitempty"` }
func (*ClusterCapacityViewData) GetLastRefreshedTimeAsTime ¶
func (o *ClusterCapacityViewData) GetLastRefreshedTimeAsTime() (*time.Time, error)
func (*ClusterCapacityViewData) SetLastRefreshedTimeAsTime ¶
func (o *ClusterCapacityViewData) SetLastRefreshedTimeAsTime(input time.Time)
type ClusterGpuCapacity ¶
type ClusterGpuCapacity struct { GpuFreeUnitsCount *int64 `json:"gpuFreeUnitsCount,omitempty"` GpuReservedForFailoverUnitsCount *int64 `json:"gpuReservedForFailoverUnitsCount,omitempty"` GpuTotalUnitsCount *int64 `json:"gpuTotalUnitsCount,omitempty"` GpuType *string `json:"gpuType,omitempty"` GpuUsedUnitsCount *int64 `json:"gpuUsedUnitsCount,omitempty"` }
type ClusterMemoryCapacity ¶
type ClusterMemoryCapacity struct { ClusterFailoverMemoryMb *float64 `json:"clusterFailoverMemoryMb,omitempty"` ClusterFragmentationMemoryMb *float64 `json:"clusterFragmentationMemoryMb,omitempty"` ClusterFreeMemoryMb *float64 `json:"clusterFreeMemoryMb,omitempty"` ClusterHypervReserveMemoryMb *float64 `json:"clusterHypervReserveMemoryMb,omitempty"` ClusterInfraVMMemoryMb *float64 `json:"clusterInfraVmMemoryMb,omitempty"` ClusterMemoryUsedByVMsMb *float64 `json:"clusterMemoryUsedByVmsMb,omitempty"` ClusterNonFailoverVMMb *float64 `json:"clusterNonFailoverVmMb,omitempty"` ClusterTotalMemoryMb *float64 `json:"clusterTotalMemoryMb,omitempty"` ClusterUsedMemoryMb *float64 `json:"clusterUsedMemoryMb,omitempty"` }
type ClusterStorageViewData ¶
type DataBoxEdgeDeviceId ¶
type DataBoxEdgeDeviceId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string }
DataBoxEdgeDeviceId is a struct representing the Resource ID for a Data Box Edge Device
func NewDataBoxEdgeDeviceID ¶
func NewDataBoxEdgeDeviceID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string) DataBoxEdgeDeviceId
NewDataBoxEdgeDeviceID returns a new DataBoxEdgeDeviceId struct
func ParseDataBoxEdgeDeviceID ¶
func ParseDataBoxEdgeDeviceID(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceID parses 'input' into a DataBoxEdgeDeviceId
func ParseDataBoxEdgeDeviceIDInsensitively ¶
func ParseDataBoxEdgeDeviceIDInsensitively(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceIDInsensitively parses 'input' case-insensitively into a DataBoxEdgeDeviceId note: this method should only be used for API response data and not user input
func (*DataBoxEdgeDeviceId) FromParseResult ¶
func (id *DataBoxEdgeDeviceId) FromParseResult(input resourceids.ParseResult) error
func (DataBoxEdgeDeviceId) ID ¶
func (id DataBoxEdgeDeviceId) ID() string
ID returns the formatted Data Box Edge Device ID
func (DataBoxEdgeDeviceId) Segments ¶
func (id DataBoxEdgeDeviceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Box Edge Device ID
func (DataBoxEdgeDeviceId) String ¶
func (id DataBoxEdgeDeviceId) String() string
String returns a human-readable description of this Data Box Edge Device ID
type DeviceCapacityInfo ¶
type DeviceCapacityInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeviceCapacityInfoProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DeviceCapacityInfoClient ¶
type DeviceCapacityInfoClient struct {
Client *resourcemanager.Client
}
func NewDeviceCapacityInfoClientWithBaseURI ¶
func NewDeviceCapacityInfoClientWithBaseURI(sdkApi sdkEnv.Api) (*DeviceCapacityInfoClient, error)
func (DeviceCapacityInfoClient) GetDeviceCapacityInfo ¶
func (c DeviceCapacityInfoClient) GetDeviceCapacityInfo(ctx context.Context, id DataBoxEdgeDeviceId) (result GetDeviceCapacityInfoOperationResponse, err error)
GetDeviceCapacityInfo ...
type DeviceCapacityInfoProperties ¶
type DeviceCapacityInfoProperties struct { ClusterComputeCapacityInfo *ClusterCapacityViewData `json:"clusterComputeCapacityInfo,omitempty"` ClusterStorageCapacityInfo *ClusterStorageViewData `json:"clusterStorageCapacityInfo,omitempty"` NodeCapacityInfos *map[string]HostCapacity `json:"nodeCapacityInfos,omitempty"` TimeStamp *string `json:"timeStamp,omitempty"` }
func (*DeviceCapacityInfoProperties) GetTimeStampAsTime ¶
func (o *DeviceCapacityInfoProperties) GetTimeStampAsTime() (*time.Time, error)
func (*DeviceCapacityInfoProperties) SetTimeStampAsTime ¶
func (o *DeviceCapacityInfoProperties) SetTimeStampAsTime(input time.Time)
type GetDeviceCapacityInfoOperationResponse ¶
type GetDeviceCapacityInfoOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeviceCapacityInfo }
type HostCapacity ¶
type HostCapacity struct { AvailableGpuCount *int64 `json:"availableGpuCount,omitempty"` EffectiveAvailableMemoryMbOnHost *int64 `json:"effectiveAvailableMemoryMbOnHost,omitempty"` GpuType *string `json:"gpuType,omitempty"` HostName *string `json:"hostName,omitempty"` NumaNodesData *[]NumaNodeData `json:"numaNodesData,omitempty"` VMUsedMemory *map[string]VMMemory `json:"vmUsedMemory,omitempty"` }
type NumaNodeData ¶
type NumaNodeData struct { EffectiveAvailableMemoryInMb *int64 `json:"effectiveAvailableMemoryInMb,omitempty"` FreeVCPUIndexesForHpn *[]int64 `json:"freeVCpuIndexesForHpn,omitempty"` LogicalCoreCountPerCore *int64 `json:"logicalCoreCountPerCore,omitempty"` NumaNodeIndex *int64 `json:"numaNodeIndex,omitempty"` TotalMemoryInMb *int64 `json:"totalMemoryInMb,omitempty"` VCPUIndexesForHpn *[]int64 `json:"vCpuIndexesForHpn,omitempty"` VCPUIndexesForRoot *[]int64 `json:"vCpuIndexesForRoot,omitempty"` }
Source Files ¶
- client.go
- id_databoxedgedevice.go
- method_getdevicecapacityinfo.go
- model_clustercapacityviewdata.go
- model_clustergpucapacity.go
- model_clustermemorycapacity.go
- model_clusterstorageviewdata.go
- model_devicecapacityinfo.go
- model_devicecapacityinfoproperties.go
- model_hostcapacity.go
- model_numanodedata.go
- model_vmmemory.go
- version.go