Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 string + const ApplicationTypeDesktop + const ApplicationTypeRemoteApp + func (s *ApplicationType) UnmarshalJSON(bytes []byte) error + type DeleteOperationOptions struct + Force *bool + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DisconnectOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *UserSession + OData *odata.OData + type HostPoolId struct + HostPoolName string + ResourceGroupName string + SubscriptionId string + func NewHostPoolID(subscriptionId string, resourceGroupName string, hostPoolName string) HostPoolId + func ParseHostPoolID(input string) (*HostPoolId, error) + func ParseHostPoolIDInsensitively(input string) (*HostPoolId, error) + func (id *HostPoolId) FromParseResult(input resourceids.ParseResult) error + func (id HostPoolId) ID() string + func (id HostPoolId) Segments() []resourceids.Segment + func (id HostPoolId) String() string + type ListByHostPoolCompleteResult struct + Items []UserSession + LatestHttpResponse *http.Response + type ListByHostPoolCustomPager struct + NextLink *odata.Link + func (p *ListByHostPoolCustomPager) NextPageLink() *odata.Link + type ListByHostPoolOperationOptions struct + Filter *string + func DefaultListByHostPoolOperationOptions() ListByHostPoolOperationOptions + func (o ListByHostPoolOperationOptions) ToHeaders() *client.Headers + func (o ListByHostPoolOperationOptions) ToOData() *odata.Query + func (o ListByHostPoolOperationOptions) ToQuery() *client.QueryParams + type ListByHostPoolOperationResponse struct + HttpResponse *http.Response + Model *[]UserSession + OData *odata.OData + type ListCompleteResult struct + Items []UserSession + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]UserSession + OData *odata.OData + type SendMessage struct + MessageBody *string + MessageTitle *string + type SendMessageOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type SessionHostId struct + HostPoolName string + ResourceGroupName string + SessionHostName string + SubscriptionId string + func NewSessionHostID(subscriptionId string, resourceGroupName string, hostPoolName string, ...) SessionHostId + func ParseSessionHostID(input string) (*SessionHostId, error) + func ParseSessionHostIDInsensitively(input string) (*SessionHostId, error) + func (id *SessionHostId) FromParseResult(input resourceids.ParseResult) error + func (id SessionHostId) ID() string + func (id SessionHostId) Segments() []resourceids.Segment + func (id SessionHostId) String() string + type SessionState string + const SessionStateActive + const SessionStateDisconnected + const SessionStateLogOff + const SessionStatePending + const SessionStateUnknown + const SessionStateUserProfileDiskMounted + func (s *SessionState) UnmarshalJSON(bytes []byte) error + type UserSession struct + Id *string + Name *string + Properties *UserSessionProperties + SystemData *systemdata.SystemData + Type *string + type UserSessionClient struct + Client *resourcemanager.Client + func NewUserSessionClientWithBaseURI(sdkApi sdkEnv.Api) (*UserSessionClient, error) + 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) (result ListOperationResponse, err error) + func (c UserSessionClient) ListByHostPool(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions) (result 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, ...) (result ListByHostPoolCompleteResult, err error) + func (c UserSessionClient) ListComplete(ctx context.Context, id SessionHostId) (ListCompleteResult, error) + func (c UserSessionClient) ListCompleteMatchingPredicate(ctx context.Context, id SessionHostId, predicate UserSessionOperationPredicate) (result ListCompleteResult, err error) + func (c UserSessionClient) SendMessage(ctx context.Context, id UserSessionId, input SendMessage) (result SendMessageOperationResponse, err error) + type UserSessionId struct + HostPoolName string + ResourceGroupName string + SessionHostName string + SubscriptionId string + UserSessionId string + func NewUserSessionID(subscriptionId string, resourceGroupName string, hostPoolName string, ...) UserSessionId + func ParseUserSessionID(input string) (*UserSessionId, error) + func ParseUserSessionIDInsensitively(input string) (*UserSessionId, error) + func (id *UserSessionId) FromParseResult(input resourceids.ParseResult) error + func (id UserSessionId) ID() string + func (id UserSessionId) Segments() []resourceids.Segment + func (id UserSessionId) String() string + type UserSessionOperationPredicate struct + Id *string + Name *string + Type *string + func (p UserSessionOperationPredicate) Matches(input UserSession) bool + type UserSessionProperties struct + ActiveDirectoryUserName *string + ApplicationType *ApplicationType + CreateTime *string + ObjectId *string + SessionState *SessionState + UserPrincipalName *string + func (o *UserSessionProperties) GetCreateTimeAsTime() (*time.Time, error) + func (o *UserSessionProperties) SetCreateTimeAsTime(input time.Time)