Documentation ¶
Index ¶
- func ValidateAdvisorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type Advisor
- type AdvisorId
- type AdvisorOperationPredicate
- type AdvisorsClient
- func (c AdvisorsClient) Get(ctx context.Context, id AdvisorId) (result GetOperationResponse, err error)
- func (c AdvisorsClient) ListByServer(ctx context.Context, id ServerId) (resp ListByServerOperationResponse, err error)
- func (c AdvisorsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
- func (c AdvisorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate AdvisorOperationPredicate) (resp ListByServerCompleteResult, err error)
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type ServerId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAdvisorID ¶
ValidateAdvisorID checks that 'input' can be parsed as a Advisor ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type AdvisorId ¶
type AdvisorId struct { SubscriptionId string ResourceGroupName string ServerName string AdvisorName string }
AdvisorId is a struct representing the Resource ID for a Advisor
func NewAdvisorID ¶
func NewAdvisorID(subscriptionId string, resourceGroupName string, serverName string, advisorName string) AdvisorId
NewAdvisorID returns a new AdvisorId struct
func ParseAdvisorID ¶
ParseAdvisorID parses 'input' into a AdvisorId
func ParseAdvisorIDInsensitively ¶
ParseAdvisorIDInsensitively parses 'input' case-insensitively into a AdvisorId note: this method should only be used for API response data and not user input
func (AdvisorId) Segments ¶
func (id AdvisorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Advisor ID
type AdvisorOperationPredicate ¶
type AdvisorOperationPredicate struct { Id *string Name *string Properties *interface{} Type *string }
func (AdvisorOperationPredicate) Matches ¶
func (p AdvisorOperationPredicate) Matches(input Advisor) bool
type AdvisorsClient ¶
func NewAdvisorsClientWithBaseURI ¶
func NewAdvisorsClientWithBaseURI(endpoint string) AdvisorsClient
func (AdvisorsClient) Get ¶
func (c AdvisorsClient) Get(ctx context.Context, id AdvisorId) (result GetOperationResponse, err error)
Get ...
func (AdvisorsClient) ListByServer ¶
func (c AdvisorsClient) ListByServer(ctx context.Context, id ServerId) (resp ListByServerOperationResponse, err error)
ListByServer ...
func (AdvisorsClient) ListByServerComplete ¶
func (c AdvisorsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all of the results into a single object
func (AdvisorsClient) ListByServerCompleteMatchingPredicate ¶
func (c AdvisorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate AdvisorOperationPredicate) (resp ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type GetOperationResponse ¶
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []Advisor
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response Model *[]Advisor // 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 ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID