Documentation ¶
Index ¶
- func PossibleValuesForNodeStatus() []string
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- type DataBoxEdgeDeviceId
- type ListByDataBoxEdgeDeviceCompleteResult
- type ListByDataBoxEdgeDeviceOperationResponse
- type Node
- type NodeOperationPredicate
- type NodeProperties
- type NodeStatus
- type NodesClient
- func (c NodesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
- func (c NodesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
- func (c NodesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate NodeOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForNodeStatus ¶
func PossibleValuesForNodeStatus() []string
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
Types ¶
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) 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 ListByDataBoxEdgeDeviceCompleteResult ¶
type ListByDataBoxEdgeDeviceCompleteResult struct {
Items []Node
}
type Node ¶
type Node struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NodeProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type NodeOperationPredicate ¶
func (NodeOperationPredicate) Matches ¶
func (p NodeOperationPredicate) Matches(input Node) bool
type NodeProperties ¶
type NodeProperties struct { NodeChassisSerialNumber *string `json:"nodeChassisSerialNumber,omitempty"` NodeDisplayName *string `json:"nodeDisplayName,omitempty"` NodeFriendlySoftwareVersion *string `json:"nodeFriendlySoftwareVersion,omitempty"` NodeHcsVersion *string `json:"nodeHcsVersion,omitempty"` NodeInstanceId *string `json:"nodeInstanceId,omitempty"` NodeSerialNumber *string `json:"nodeSerialNumber,omitempty"` NodeStatus *NodeStatus `json:"nodeStatus,omitempty"` }
type NodeStatus ¶
type NodeStatus string
const ( NodeStatusDown NodeStatus = "Down" NodeStatusRebooting NodeStatus = "Rebooting" NodeStatusShuttingDown NodeStatus = "ShuttingDown" NodeStatusUnknown NodeStatus = "Unknown" NodeStatusUp NodeStatus = "Up" )
func (*NodeStatus) UnmarshalJSON ¶
func (s *NodeStatus) UnmarshalJSON(bytes []byte) error
type NodesClient ¶
type NodesClient struct {
Client *resourcemanager.Client
}
func NewNodesClientWithBaseURI ¶
func NewNodesClientWithBaseURI(api environments.Api) (*NodesClient, error)
func (NodesClient) ListByDataBoxEdgeDevice ¶
func (c NodesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (NodesClient) ListByDataBoxEdgeDeviceComplete ¶
func (c NodesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all the results into a single object
func (NodesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c NodesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate NodeOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all the results and then applies the predicate