Documentation ¶
Index ¶
- func ValidateApplicationGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDesktopID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationGroupId
- type Desktop
- type DesktopClient
- func (c DesktopClient) Get(ctx context.Context, id DesktopId) (result GetOperationResponse, err error)
- func (c DesktopClient) List(ctx context.Context, id ApplicationGroupId) (resp ListOperationResponse, err error)
- func (c DesktopClient) ListComplete(ctx context.Context, id ApplicationGroupId) (ListCompleteResult, error)
- func (c DesktopClient) ListCompleteMatchingPredicate(ctx context.Context, id ApplicationGroupId, ...) (resp ListCompleteResult, err error)
- func (c DesktopClient) Update(ctx context.Context, id DesktopId, input DesktopPatch) (result UpdateOperationResponse, err error)
- type DesktopId
- type DesktopOperationPredicate
- type DesktopPatch
- type DesktopPatchProperties
- type DesktopProperties
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApplicationGroupID ¶
ValidateApplicationGroupID checks that 'input' can be parsed as a Application Group ID
func ValidateDesktopID ¶
ValidateDesktopID checks that 'input' can be parsed as a Desktop ID
Types ¶
type ApplicationGroupId ¶
type ApplicationGroupId struct { SubscriptionId string ResourceGroupName string ApplicationGroupName string }
ApplicationGroupId is a struct representing the Resource ID for a Application Group
func NewApplicationGroupID ¶
func NewApplicationGroupID(subscriptionId string, resourceGroupName string, applicationGroupName string) ApplicationGroupId
NewApplicationGroupID returns a new ApplicationGroupId struct
func ParseApplicationGroupID ¶
func ParseApplicationGroupID(input string) (*ApplicationGroupId, error)
ParseApplicationGroupID parses 'input' into a ApplicationGroupId
func ParseApplicationGroupIDInsensitively ¶
func ParseApplicationGroupIDInsensitively(input string) (*ApplicationGroupId, error)
ParseApplicationGroupIDInsensitively parses 'input' case-insensitively into a ApplicationGroupId note: this method should only be used for API response data and not user input
func (ApplicationGroupId) ID ¶
func (id ApplicationGroupId) ID() string
ID returns the formatted Application Group ID
func (ApplicationGroupId) Segments ¶
func (id ApplicationGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application Group ID
func (ApplicationGroupId) String ¶
func (id ApplicationGroupId) String() string
String returns a human-readable description of this Application Group ID
type Desktop ¶
type Desktop struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DesktopProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DesktopClient ¶
func NewDesktopClientWithBaseURI ¶
func NewDesktopClientWithBaseURI(endpoint string) DesktopClient
func (DesktopClient) Get ¶
func (c DesktopClient) Get(ctx context.Context, id DesktopId) (result GetOperationResponse, err error)
Get ...
func (DesktopClient) List ¶
func (c DesktopClient) List(ctx context.Context, id ApplicationGroupId) (resp ListOperationResponse, err error)
List ...
func (DesktopClient) ListComplete ¶
func (c DesktopClient) ListComplete(ctx context.Context, id ApplicationGroupId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (DesktopClient) ListCompleteMatchingPredicate ¶
func (c DesktopClient) ListCompleteMatchingPredicate(ctx context.Context, id ApplicationGroupId, predicate DesktopOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DesktopClient) Update ¶
func (c DesktopClient) Update(ctx context.Context, id DesktopId, input DesktopPatch) (result UpdateOperationResponse, err error)
Update ...
type DesktopId ¶
type DesktopId struct { SubscriptionId string ResourceGroupName string ApplicationGroupName string DesktopName string }
DesktopId is a struct representing the Resource ID for a Desktop
func NewDesktopID ¶
func NewDesktopID(subscriptionId string, resourceGroupName string, applicationGroupName string, desktopName string) DesktopId
NewDesktopID returns a new DesktopId struct
func ParseDesktopID ¶
ParseDesktopID parses 'input' into a DesktopId
func ParseDesktopIDInsensitively ¶
ParseDesktopIDInsensitively parses 'input' case-insensitively into a DesktopId note: this method should only be used for API response data and not user input
func (DesktopId) Segments ¶
func (id DesktopId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Desktop ID
type DesktopOperationPredicate ¶
func (DesktopOperationPredicate) Matches ¶
func (p DesktopOperationPredicate) Matches(input Desktop) bool
type DesktopPatch ¶
type DesktopPatch struct { Properties *DesktopPatchProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DesktopPatchProperties ¶
type DesktopProperties ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Desktop
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Desktop // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)