Documentation ¶
Index ¶
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type FlexibleServerId
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type LogFile
- type LogFileOperationPredicate
- type LogFileProperties
- type LogFilesClient
- func (c LogFilesClient) ListByServer(ctx context.Context, id FlexibleServerId) (resp ListByServerOperationResponse, err error)
- func (c LogFilesClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
- func (c LogFilesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate LogFileOperationPredicate) (resp ListByServerCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
Types ¶
type FlexibleServerId ¶
type FlexibleServerId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string }
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []LogFile
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response Model *[]LogFile // contains filtered or unexported fields }
func (ListByServerOperationResponse) HasMore ¶
func (r ListByServerOperationResponse) HasMore() bool
func (ListByServerOperationResponse) LoadMore ¶
func (r ListByServerOperationResponse) LoadMore(ctx context.Context) (resp ListByServerOperationResponse, err error)
type LogFile ¶
type LogFile struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LogFileProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type LogFileOperationPredicate ¶
func (LogFileOperationPredicate) Matches ¶
func (p LogFileOperationPredicate) Matches(input LogFile) bool
type LogFileProperties ¶
type LogFileProperties struct { CreatedTime *string `json:"createdTime,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` SizeInKB *int64 `json:"sizeInKB,omitempty"` Type *string `json:"type,omitempty"` Url *string `json:"url,omitempty"` }
func (*LogFileProperties) GetCreatedTimeAsTime ¶
func (o *LogFileProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*LogFileProperties) GetLastModifiedTimeAsTime ¶
func (o *LogFileProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*LogFileProperties) SetCreatedTimeAsTime ¶
func (o *LogFileProperties) SetCreatedTimeAsTime(input time.Time)
func (*LogFileProperties) SetLastModifiedTimeAsTime ¶
func (o *LogFileProperties) SetLastModifiedTimeAsTime(input time.Time)
type LogFilesClient ¶
func NewLogFilesClientWithBaseURI ¶
func NewLogFilesClientWithBaseURI(endpoint string) LogFilesClient
func (LogFilesClient) ListByServer ¶
func (c LogFilesClient) ListByServer(ctx context.Context, id FlexibleServerId) (resp ListByServerOperationResponse, err error)
ListByServer ...
func (LogFilesClient) ListByServerComplete ¶
func (c LogFilesClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all of the results into a single object
func (LogFilesClient) ListByServerCompleteMatchingPredicate ¶
func (c LogFilesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate LogFileOperationPredicate) (resp ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all of the results and then applied the predicate