usersession

package
v0.20220623.1111642 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: MPL-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForApplicationType

func PossibleValuesForApplicationType() []string

func PossibleValuesForSessionState

func PossibleValuesForSessionState() []string

func ValidateHostPoolID

func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)

ValidateHostPoolID checks that 'input' can be parsed as a Host Pool ID

func ValidateSessionHostID

func ValidateSessionHostID(input interface{}, key string) (warnings []string, errors []error)

ValidateSessionHostID checks that 'input' can be parsed as a Session Host ID

func ValidateUserSessionID

func ValidateUserSessionID(input interface{}, key string) (warnings []string, errors []error)

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 DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type DisconnectOperationResponse

type DisconnectOperationResponse struct {
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *UserSession
}

type HostPoolId

type HostPoolId struct {
	SubscriptionId    string
	ResourceGroupName string
	HostPoolName      string
}

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) ID

func (id HostPoolId) ID() string

ID returns the formatted Host Pool ID

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
}

func DefaultListByHostPoolOperationOptions

func DefaultListByHostPoolOperationOptions() ListByHostPoolOperationOptions

type ListByHostPoolOperationResponse

type ListByHostPoolOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]UserSession
	// contains filtered or unexported fields
}

func (ListByHostPoolOperationResponse) HasMore

func (ListByHostPoolOperationResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []UserSession
}

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 SendMessage struct {
	MessageBody  *string `json:"messageBody,omitempty"`
	MessageTitle *string `json:"messageTitle,omitempty"`
}

type SendMessageOperationResponse

type SendMessageOperationResponse struct {
	HttpResponse *http.Response
}

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

type UserSessionClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewUserSessionClientWithBaseURI

func NewUserSessionClientWithBaseURI(endpoint string) UserSessionClient

func (UserSessionClient) Delete

Delete ...

func (UserSessionClient) Disconnect

Disconnect ...

func (UserSessionClient) Get

Get ...

func (UserSessionClient) List

List ...

func (UserSessionClient) ListByHostPool

ListByHostPool ...

func (UserSessionClient) ListByHostPoolComplete

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

ListComplete retrieves all of the results into a single object

func (UserSessionClient) ListCompleteMatchingPredicate

func (c UserSessionClient) ListCompleteMatchingPredicate(ctx context.Context, id SessionHostId, 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

type UserSessionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (UserSessionOperationPredicate) Matches

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL