Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func ValidateBandwidthScheduleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- type BandwidthSchedule
- type BandwidthScheduleId
- type BandwidthScheduleOperationPredicate
- type BandwidthScheduleProperties
- type BandwidthSchedulesClient
- func (c BandwidthSchedulesClient) CreateOrUpdate(ctx context.Context, id BandwidthScheduleId, input BandwidthSchedule) (result CreateOrUpdateOperationResponse, err error)
- func (c BandwidthSchedulesClient) CreateOrUpdateThenPoll(ctx context.Context, id BandwidthScheduleId, input BandwidthSchedule) error
- func (c BandwidthSchedulesClient) Delete(ctx context.Context, id BandwidthScheduleId) (result DeleteOperationResponse, err error)
- func (c BandwidthSchedulesClient) DeleteThenPoll(ctx context.Context, id BandwidthScheduleId) error
- func (c BandwidthSchedulesClient) Get(ctx context.Context, id BandwidthScheduleId) (result GetOperationResponse, err error)
- func (c BandwidthSchedulesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
- func (c BandwidthSchedulesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
- func (c BandwidthSchedulesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, ...) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DataBoxEdgeDeviceId
- type DayOfWeek
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByDataBoxEdgeDeviceCompleteResult
- type ListByDataBoxEdgeDeviceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func ValidateBandwidthScheduleID ¶
ValidateBandwidthScheduleID checks that 'input' can be parsed as a Bandwidth Schedule ID
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
Types ¶
type BandwidthSchedule ¶
type BandwidthSchedule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties BandwidthScheduleProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type BandwidthScheduleId ¶
type BandwidthScheduleId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string BandwidthScheduleName string }
BandwidthScheduleId is a struct representing the Resource ID for a Bandwidth Schedule
func NewBandwidthScheduleID ¶
func NewBandwidthScheduleID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string, bandwidthScheduleName string) BandwidthScheduleId
NewBandwidthScheduleID returns a new BandwidthScheduleId struct
func ParseBandwidthScheduleID ¶
func ParseBandwidthScheduleID(input string) (*BandwidthScheduleId, error)
ParseBandwidthScheduleID parses 'input' into a BandwidthScheduleId
func ParseBandwidthScheduleIDInsensitively ¶
func ParseBandwidthScheduleIDInsensitively(input string) (*BandwidthScheduleId, error)
ParseBandwidthScheduleIDInsensitively parses 'input' case-insensitively into a BandwidthScheduleId note: this method should only be used for API response data and not user input
func (*BandwidthScheduleId) FromParseResult ¶
func (id *BandwidthScheduleId) FromParseResult(input resourceids.ParseResult) error
func (BandwidthScheduleId) ID ¶
func (id BandwidthScheduleId) ID() string
ID returns the formatted Bandwidth Schedule ID
func (BandwidthScheduleId) Segments ¶
func (id BandwidthScheduleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Bandwidth Schedule ID
func (BandwidthScheduleId) String ¶
func (id BandwidthScheduleId) String() string
String returns a human-readable description of this Bandwidth Schedule ID
type BandwidthScheduleOperationPredicate ¶
func (BandwidthScheduleOperationPredicate) Matches ¶
func (p BandwidthScheduleOperationPredicate) Matches(input BandwidthSchedule) bool
type BandwidthSchedulesClient ¶
type BandwidthSchedulesClient struct {
Client *resourcemanager.Client
}
func NewBandwidthSchedulesClientWithBaseURI ¶
func NewBandwidthSchedulesClientWithBaseURI(sdkApi sdkEnv.Api) (*BandwidthSchedulesClient, error)
func (BandwidthSchedulesClient) CreateOrUpdate ¶
func (c BandwidthSchedulesClient) CreateOrUpdate(ctx context.Context, id BandwidthScheduleId, input BandwidthSchedule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BandwidthSchedulesClient) CreateOrUpdateThenPoll ¶
func (c BandwidthSchedulesClient) CreateOrUpdateThenPoll(ctx context.Context, id BandwidthScheduleId, input BandwidthSchedule) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BandwidthSchedulesClient) Delete ¶
func (c BandwidthSchedulesClient) Delete(ctx context.Context, id BandwidthScheduleId) (result DeleteOperationResponse, err error)
Delete ...
func (BandwidthSchedulesClient) DeleteThenPoll ¶
func (c BandwidthSchedulesClient) DeleteThenPoll(ctx context.Context, id BandwidthScheduleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BandwidthSchedulesClient) Get ¶
func (c BandwidthSchedulesClient) Get(ctx context.Context, id BandwidthScheduleId) (result GetOperationResponse, err error)
Get ...
func (BandwidthSchedulesClient) ListByDataBoxEdgeDevice ¶
func (c BandwidthSchedulesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (BandwidthSchedulesClient) ListByDataBoxEdgeDeviceComplete ¶
func (c BandwidthSchedulesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all the results into a single object
func (BandwidthSchedulesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c BandwidthSchedulesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate BandwidthScheduleOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BandwidthSchedule }
type ListByDataBoxEdgeDeviceCompleteResult ¶
type ListByDataBoxEdgeDeviceCompleteResult struct { LatestHttpResponse *http.Response Items []BandwidthSchedule }
type ListByDataBoxEdgeDeviceOperationResponse ¶
type ListByDataBoxEdgeDeviceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BandwidthSchedule }