Documentation ¶
Index ¶
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- type DataBoxEdgeDeviceId
- type SupportPackageRequestProperties
- func (o *SupportPackageRequestProperties) GetMaximumTimeStampAsTime() (*time.Time, error)
- func (o *SupportPackageRequestProperties) GetMinimumTimeStampAsTime() (*time.Time, error)
- func (o *SupportPackageRequestProperties) SetMaximumTimeStampAsTime(input time.Time)
- func (o *SupportPackageRequestProperties) SetMinimumTimeStampAsTime(input time.Time)
- type SupportPackagesClient
- type TriggerSupportPackageOperationResponse
- type TriggerSupportPackageRequest
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 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 ¶ added in v0.20231127.1171502
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 SupportPackageRequestProperties ¶
type SupportPackageRequestProperties struct { Include *string `json:"include,omitempty"` MaximumTimeStamp *string `json:"maximumTimeStamp,omitempty"` MinimumTimeStamp *string `json:"minimumTimeStamp,omitempty"` }
func (*SupportPackageRequestProperties) GetMaximumTimeStampAsTime ¶
func (o *SupportPackageRequestProperties) GetMaximumTimeStampAsTime() (*time.Time, error)
func (*SupportPackageRequestProperties) GetMinimumTimeStampAsTime ¶
func (o *SupportPackageRequestProperties) GetMinimumTimeStampAsTime() (*time.Time, error)
func (*SupportPackageRequestProperties) SetMaximumTimeStampAsTime ¶
func (o *SupportPackageRequestProperties) SetMaximumTimeStampAsTime(input time.Time)
func (*SupportPackageRequestProperties) SetMinimumTimeStampAsTime ¶
func (o *SupportPackageRequestProperties) SetMinimumTimeStampAsTime(input time.Time)
type SupportPackagesClient ¶
type SupportPackagesClient struct {
Client *resourcemanager.Client
}
func NewSupportPackagesClientWithBaseURI ¶
func NewSupportPackagesClientWithBaseURI(sdkApi sdkEnv.Api) (*SupportPackagesClient, error)
func (SupportPackagesClient) TriggerSupportPackage ¶
func (c SupportPackagesClient) TriggerSupportPackage(ctx context.Context, id DataBoxEdgeDeviceId, input TriggerSupportPackageRequest) (result TriggerSupportPackageOperationResponse, err error)
TriggerSupportPackage ...
func (SupportPackagesClient) TriggerSupportPackageThenPoll ¶
func (c SupportPackagesClient) TriggerSupportPackageThenPoll(ctx context.Context, id DataBoxEdgeDeviceId, input TriggerSupportPackageRequest) error
TriggerSupportPackageThenPoll performs TriggerSupportPackage then polls until it's completed
type TriggerSupportPackageRequest ¶
type TriggerSupportPackageRequest struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties SupportPackageRequestProperties `json:"properties"` Type *string `json:"type,omitempty"` }