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) (result 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) (result ListByServerCompleteResult, err error)
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerCustomPager
- 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) FromParseResult ¶
func (id *AdvisorId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type AdvisorsClient struct {
Client *resourcemanager.Client
}
func NewAdvisorsClientWithBaseURI ¶
func NewAdvisorsClientWithBaseURI(sdkApi sdkEnv.Api) (*AdvisorsClient, error)
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) (result ListByServerOperationResponse, err error)
ListByServer ...
func (AdvisorsClient) ListByServerComplete ¶
func (c AdvisorsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (AdvisorsClient) ListByServerCompleteMatchingPredicate ¶
func (c AdvisorsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate AdvisorOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type ListByServerCustomPager ¶
func (*ListByServerCustomPager) NextPageLink ¶
func (p *ListByServerCustomPager) NextPageLink() *odata.Link
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) FromParseResult ¶
func (id *ServerId) FromParseResult(input resourceids.ParseResult) error
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID