Documentation ¶
Index ¶
- func PossibleValuesForApplicationType() []string
- func PossibleValuesForSessionState() []string
- func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSessionHostID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUserSessionID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationType
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DisconnectOperationResponse
- type GetOperationResponse
- type HostPoolId
- type ListByHostPoolCompleteResult
- type ListByHostPoolOperationOptions
- type ListByHostPoolOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type SendMessage
- type SendMessageOperationResponse
- type SessionHostId
- type SessionState
- type UserSession
- type UserSessionClient
- func (c UserSessionClient) Delete(ctx context.Context, id UserSessionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c UserSessionClient) Disconnect(ctx context.Context, id UserSessionId) (result DisconnectOperationResponse, err error)
- func (c UserSessionClient) Get(ctx context.Context, id UserSessionId) (result GetOperationResponse, err error)
- func (c UserSessionClient) List(ctx context.Context, id SessionHostId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c UserSessionClient) ListByHostPool(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions) (resp ListByHostPoolOperationResponse, err error)
- func (c UserSessionClient) ListByHostPoolComplete(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions) (ListByHostPoolCompleteResult, error)
- func (c UserSessionClient) ListByHostPoolCompleteMatchingPredicate(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions, ...) (resp ListByHostPoolCompleteResult, err error)
- func (c UserSessionClient) ListComplete(ctx context.Context, id SessionHostId, options ListOperationOptions) (ListCompleteResult, error)
- func (c UserSessionClient) ListCompleteMatchingPredicate(ctx context.Context, id SessionHostId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c UserSessionClient) SendMessage(ctx context.Context, id UserSessionId, input SendMessage) (result SendMessageOperationResponse, err error)
- type UserSessionId
- type UserSessionOperationPredicate
- type UserSessionProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApplicationType ¶
func PossibleValuesForApplicationType() []string
func PossibleValuesForSessionState ¶
func PossibleValuesForSessionState() []string
func ValidateHostPoolID ¶
ValidateHostPoolID checks that 'input' can be parsed as a Host Pool ID
func ValidateSessionHostID ¶
ValidateSessionHostID checks that 'input' can be parsed as a Session Host ID
func ValidateUserSessionID ¶
ValidateUserSessionID checks that 'input' can be parsed as a User Session ID
Types ¶
type ApplicationType ¶
type ApplicationType string
const ( ApplicationTypeDesktop ApplicationType = "Desktop" ApplicationTypeRemoteApp ApplicationType = "RemoteApp" )
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *UserSession }
type HostPoolId ¶
HostPoolId is a struct representing the Resource ID for a Host Pool
func NewHostPoolID ¶
func NewHostPoolID(subscriptionId string, resourceGroupName string, hostPoolName string) HostPoolId
NewHostPoolID returns a new HostPoolId struct
func ParseHostPoolID ¶
func ParseHostPoolID(input string) (*HostPoolId, error)
ParseHostPoolID parses 'input' into a HostPoolId
func ParseHostPoolIDInsensitively ¶
func ParseHostPoolIDInsensitively(input string) (*HostPoolId, error)
ParseHostPoolIDInsensitively parses 'input' case-insensitively into a HostPoolId note: this method should only be used for API response data and not user input
func (HostPoolId) Segments ¶
func (id HostPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Host Pool ID
func (HostPoolId) String ¶
func (id HostPoolId) String() string
String returns a human-readable description of this Host Pool ID
type ListByHostPoolCompleteResult ¶
type ListByHostPoolCompleteResult struct {
Items []UserSession
}
type ListByHostPoolOperationOptions ¶
type ListByHostPoolOperationOptions struct { Filter *string InitialSkip *int64 IsDescending *bool PageSize *int64 }
func DefaultListByHostPoolOperationOptions ¶
func DefaultListByHostPoolOperationOptions() ListByHostPoolOperationOptions
type ListByHostPoolOperationResponse ¶
type ListByHostPoolOperationResponse struct { HttpResponse *http.Response Model *[]UserSession // contains filtered or unexported fields }
func (ListByHostPoolOperationResponse) HasMore ¶
func (r ListByHostPoolOperationResponse) HasMore() bool
func (ListByHostPoolOperationResponse) LoadMore ¶
func (r ListByHostPoolOperationResponse) LoadMore(ctx context.Context) (resp ListByHostPoolOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []UserSession
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]UserSession // 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)
type SendMessage ¶
type SessionHostId ¶
type SessionHostId struct { SubscriptionId string ResourceGroupName string HostPoolName string SessionHostName string }
SessionHostId is a struct representing the Resource ID for a Session Host
func NewSessionHostID ¶
func NewSessionHostID(subscriptionId string, resourceGroupName string, hostPoolName string, sessionHostName string) SessionHostId
NewSessionHostID returns a new SessionHostId struct
func ParseSessionHostID ¶
func ParseSessionHostID(input string) (*SessionHostId, error)
ParseSessionHostID parses 'input' into a SessionHostId
func ParseSessionHostIDInsensitively ¶
func ParseSessionHostIDInsensitively(input string) (*SessionHostId, error)
ParseSessionHostIDInsensitively parses 'input' case-insensitively into a SessionHostId note: this method should only be used for API response data and not user input
func (SessionHostId) ID ¶
func (id SessionHostId) ID() string
ID returns the formatted Session Host ID
func (SessionHostId) Segments ¶
func (id SessionHostId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Session Host ID
func (SessionHostId) String ¶
func (id SessionHostId) String() string
String returns a human-readable description of this Session Host ID
type SessionState ¶
type SessionState string
const ( SessionStateActive SessionState = "Active" SessionStateDisconnected SessionState = "Disconnected" SessionStateLogOff SessionState = "LogOff" SessionStatePending SessionState = "Pending" SessionStateUnknown SessionState = "Unknown" SessionStateUserProfileDiskMounted SessionState = "UserProfileDiskMounted" )
type UserSession ¶
type UserSession struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *UserSessionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UserSessionClient ¶
func NewUserSessionClientWithBaseURI ¶
func NewUserSessionClientWithBaseURI(endpoint string) UserSessionClient
func (UserSessionClient) Delete ¶
func (c UserSessionClient) Delete(ctx context.Context, id UserSessionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (UserSessionClient) Disconnect ¶
func (c UserSessionClient) Disconnect(ctx context.Context, id UserSessionId) (result DisconnectOperationResponse, err error)
Disconnect ...
func (UserSessionClient) Get ¶
func (c UserSessionClient) Get(ctx context.Context, id UserSessionId) (result GetOperationResponse, err error)
Get ...
func (UserSessionClient) List ¶
func (c UserSessionClient) List(ctx context.Context, id SessionHostId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (UserSessionClient) ListByHostPool ¶
func (c UserSessionClient) ListByHostPool(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions) (resp ListByHostPoolOperationResponse, err error)
ListByHostPool ...
func (UserSessionClient) ListByHostPoolComplete ¶
func (c UserSessionClient) ListByHostPoolComplete(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions) (ListByHostPoolCompleteResult, error)
ListByHostPoolComplete retrieves all of the results into a single object
func (UserSessionClient) ListByHostPoolCompleteMatchingPredicate ¶
func (c UserSessionClient) ListByHostPoolCompleteMatchingPredicate(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions, predicate UserSessionOperationPredicate) (resp ListByHostPoolCompleteResult, err error)
ListByHostPoolCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (UserSessionClient) ListComplete ¶
func (c UserSessionClient) ListComplete(ctx context.Context, id SessionHostId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (UserSessionClient) ListCompleteMatchingPredicate ¶
func (c UserSessionClient) ListCompleteMatchingPredicate(ctx context.Context, id SessionHostId, options ListOperationOptions, predicate UserSessionOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (UserSessionClient) SendMessage ¶
func (c UserSessionClient) SendMessage(ctx context.Context, id UserSessionId, input SendMessage) (result SendMessageOperationResponse, err error)
SendMessage ...
type UserSessionId ¶
type UserSessionId struct { SubscriptionId string ResourceGroupName string HostPoolName string SessionHostName string UserSessionId string }
UserSessionId is a struct representing the Resource ID for a User Session
func NewUserSessionID ¶
func NewUserSessionID(subscriptionId string, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionId string) UserSessionId
NewUserSessionID returns a new UserSessionId struct
func ParseUserSessionID ¶
func ParseUserSessionID(input string) (*UserSessionId, error)
ParseUserSessionID parses 'input' into a UserSessionId
func ParseUserSessionIDInsensitively ¶
func ParseUserSessionIDInsensitively(input string) (*UserSessionId, error)
ParseUserSessionIDInsensitively parses 'input' case-insensitively into a UserSessionId note: this method should only be used for API response data and not user input
func (UserSessionId) ID ¶
func (id UserSessionId) ID() string
ID returns the formatted User Session ID
func (UserSessionId) Segments ¶
func (id UserSessionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this User Session ID
func (UserSessionId) String ¶
func (id UserSessionId) String() string
String returns a human-readable description of this User Session ID
type UserSessionOperationPredicate ¶
func (UserSessionOperationPredicate) Matches ¶
func (p UserSessionOperationPredicate) Matches(input UserSession) bool
type UserSessionProperties ¶
type UserSessionProperties struct { ActiveDirectoryUserName *string `json:"activeDirectoryUserName,omitempty"` ApplicationType *ApplicationType `json:"applicationType,omitempty"` CreateTime *string `json:"createTime,omitempty"` ObjectId *string `json:"objectId,omitempty"` SessionState *SessionState `json:"sessionState,omitempty"` UserPrincipalName *string `json:"userPrincipalName,omitempty"` }
func (*UserSessionProperties) GetCreateTimeAsTime ¶
func (o *UserSessionProperties) GetCreateTimeAsTime() (*time.Time, error)
func (*UserSessionProperties) SetCreateTimeAsTime ¶
func (o *UserSessionProperties) SetCreateTimeAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_hostpool.go
- id_sessionhost.go
- id_usersession.go
- method_delete_autorest.go
- method_disconnect_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyhostpool_autorest.go
- method_sendmessage_autorest.go
- model_sendmessage.go
- model_usersession.go
- model_usersessionproperties.go
- predicates.go
- version.go