Documentation ¶
Index ¶
- func PossibleValuesForHealthCheckName() []string
- func PossibleValuesForHealthCheckResult() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForUpdateState() []string
- func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSessionHostID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type HealthCheckName
- type HealthCheckResult
- type HostPoolId
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type SessionHost
- type SessionHostClient
- func (c SessionHostClient) Delete(ctx context.Context, id SessionHostId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c SessionHostClient) Get(ctx context.Context, id SessionHostId) (result GetOperationResponse, err error)
- func (c SessionHostClient) List(ctx context.Context, id HostPoolId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c SessionHostClient) ListComplete(ctx context.Context, id HostPoolId, options ListOperationOptions) (ListCompleteResult, error)
- func (c SessionHostClient) ListCompleteMatchingPredicate(ctx context.Context, id HostPoolId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c SessionHostClient) Update(ctx context.Context, id SessionHostId, input SessionHostPatch, ...) (result UpdateOperationResponse, err error)
- type SessionHostHealthCheckFailureDetails
- type SessionHostHealthCheckReport
- type SessionHostId
- type SessionHostOperationPredicate
- type SessionHostPatch
- type SessionHostPatchProperties
- type SessionHostProperties
- func (o *SessionHostProperties) GetLastHeartBeatAsTime() (*time.Time, error)
- func (o *SessionHostProperties) GetLastUpdateTimeAsTime() (*time.Time, error)
- func (o *SessionHostProperties) GetStatusTimestampAsTime() (*time.Time, error)
- func (o *SessionHostProperties) SetLastHeartBeatAsTime(input time.Time)
- func (o *SessionHostProperties) SetLastUpdateTimeAsTime(input time.Time)
- func (o *SessionHostProperties) SetStatusTimestampAsTime(input time.Time)
- type Status
- type UpdateOperationOptions
- type UpdateOperationResponse
- type UpdateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHealthCheckName ¶
func PossibleValuesForHealthCheckName() []string
func PossibleValuesForHealthCheckResult ¶
func PossibleValuesForHealthCheckResult() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForUpdateState ¶
func PossibleValuesForUpdateState() []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
Types ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SessionHost }
type HealthCheckName ¶
type HealthCheckName string
const ( HealthCheckNameAppAttachHealthCheck HealthCheckName = "AppAttachHealthCheck" HealthCheckNameDomainJoinedCheck HealthCheckName = "DomainJoinedCheck" HealthCheckNameDomainReachable HealthCheckName = "DomainReachable" HealthCheckNameDomainTrustCheck HealthCheckName = "DomainTrustCheck" HealthCheckNameFSLogixHealthCheck HealthCheckName = "FSLogixHealthCheck" HealthCheckNameMetaDataServiceCheck HealthCheckName = "MetaDataServiceCheck" HealthCheckNameMonitoringAgentCheck HealthCheckName = "MonitoringAgentCheck" HealthCheckNameSupportedEncryptionCheck HealthCheckName = "SupportedEncryptionCheck" HealthCheckNameSxSStackListenerCheck HealthCheckName = "SxSStackListenerCheck" HealthCheckNameUrlsAccessibleCheck HealthCheckName = "UrlsAccessibleCheck" HealthCheckNameWebRTCRedirectorCheck HealthCheckName = "WebRTCRedirectorCheck" )
func (*HealthCheckName) UnmarshalJSON ¶
func (s *HealthCheckName) UnmarshalJSON(bytes []byte) error
type HealthCheckResult ¶
type HealthCheckResult string
const ( HealthCheckResultHealthCheckFailed HealthCheckResult = "HealthCheckFailed" HealthCheckResultHealthCheckSucceeded HealthCheckResult = "HealthCheckSucceeded" HealthCheckResultSessionHostShutdown HealthCheckResult = "SessionHostShutdown" HealthCheckResultUnknown HealthCheckResult = "Unknown" )
func (*HealthCheckResult) UnmarshalJSON ¶
func (s *HealthCheckResult) UnmarshalJSON(bytes []byte) error
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 ListCompleteResult ¶
type ListCompleteResult struct {
Items []SessionHost
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SessionHost }
type SessionHost ¶
type SessionHost struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SessionHostProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SessionHostClient ¶
type SessionHostClient struct {
Client *resourcemanager.Client
}
func NewSessionHostClientWithBaseURI ¶
func NewSessionHostClientWithBaseURI(api environments.Api) (*SessionHostClient, error)
func (SessionHostClient) Delete ¶
func (c SessionHostClient) Delete(ctx context.Context, id SessionHostId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (SessionHostClient) Get ¶
func (c SessionHostClient) Get(ctx context.Context, id SessionHostId) (result GetOperationResponse, err error)
Get ...
func (SessionHostClient) List ¶
func (c SessionHostClient) List(ctx context.Context, id HostPoolId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (SessionHostClient) ListComplete ¶
func (c SessionHostClient) ListComplete(ctx context.Context, id HostPoolId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SessionHostClient) ListCompleteMatchingPredicate ¶
func (c SessionHostClient) ListCompleteMatchingPredicate(ctx context.Context, id HostPoolId, options ListOperationOptions, predicate SessionHostOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SessionHostClient) Update ¶
func (c SessionHostClient) Update(ctx context.Context, id SessionHostId, input SessionHostPatch, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type SessionHostHealthCheckFailureDetails ¶
type SessionHostHealthCheckFailureDetails struct { ErrorCode *int64 `json:"errorCode,omitempty"` LastHealthCheckDateTime *string `json:"lastHealthCheckDateTime,omitempty"` Message *string `json:"message,omitempty"` }
func (*SessionHostHealthCheckFailureDetails) GetLastHealthCheckDateTimeAsTime ¶
func (o *SessionHostHealthCheckFailureDetails) GetLastHealthCheckDateTimeAsTime() (*time.Time, error)
func (*SessionHostHealthCheckFailureDetails) SetLastHealthCheckDateTimeAsTime ¶
func (o *SessionHostHealthCheckFailureDetails) SetLastHealthCheckDateTimeAsTime(input time.Time)
type SessionHostHealthCheckReport ¶
type SessionHostHealthCheckReport struct { AdditionalFailureDetails *SessionHostHealthCheckFailureDetails `json:"additionalFailureDetails,omitempty"` HealthCheckName *HealthCheckName `json:"healthCheckName,omitempty"` HealthCheckResult *HealthCheckResult `json:"healthCheckResult,omitempty"` }
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 SessionHostOperationPredicate ¶
func (SessionHostOperationPredicate) Matches ¶
func (p SessionHostOperationPredicate) Matches(input SessionHost) bool
type SessionHostPatch ¶
type SessionHostPatch struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SessionHostPatchProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SessionHostProperties ¶
type SessionHostProperties struct { AgentVersion *string `json:"agentVersion,omitempty"` AllowNewSession *bool `json:"allowNewSession,omitempty"` AssignedUser *string `json:"assignedUser,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` LastHeartBeat *string `json:"lastHeartBeat,omitempty"` LastUpdateTime *string `json:"lastUpdateTime,omitempty"` ObjectId *string `json:"objectId,omitempty"` OsVersion *string `json:"osVersion,omitempty"` ResourceId *string `json:"resourceId,omitempty"` SessionHostHealthCheckResults *[]SessionHostHealthCheckReport `json:"sessionHostHealthCheckResults,omitempty"` Sessions *int64 `json:"sessions,omitempty"` Status *Status `json:"status,omitempty"` StatusTimestamp *string `json:"statusTimestamp,omitempty"` SxSStackVersion *string `json:"sxSStackVersion,omitempty"` UpdateErrorMessage *string `json:"updateErrorMessage,omitempty"` UpdateState *UpdateState `json:"updateState,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` }
func (*SessionHostProperties) GetLastHeartBeatAsTime ¶
func (o *SessionHostProperties) GetLastHeartBeatAsTime() (*time.Time, error)
func (*SessionHostProperties) GetLastUpdateTimeAsTime ¶
func (o *SessionHostProperties) GetLastUpdateTimeAsTime() (*time.Time, error)
func (*SessionHostProperties) GetStatusTimestampAsTime ¶
func (o *SessionHostProperties) GetStatusTimestampAsTime() (*time.Time, error)
func (*SessionHostProperties) SetLastHeartBeatAsTime ¶
func (o *SessionHostProperties) SetLastHeartBeatAsTime(input time.Time)
func (*SessionHostProperties) SetLastUpdateTimeAsTime ¶
func (o *SessionHostProperties) SetLastUpdateTimeAsTime(input time.Time)
func (*SessionHostProperties) SetStatusTimestampAsTime ¶
func (o *SessionHostProperties) SetStatusTimestampAsTime(input time.Time)
type Status ¶
type Status string
const ( StatusAvailable Status = "Available" StatusDisconnected Status = "Disconnected" StatusDomainTrustRelationshipLost Status = "DomainTrustRelationshipLost" StatusFSLogixNotHealthy Status = "FSLogixNotHealthy" StatusNeedsAssistance Status = "NeedsAssistance" StatusNoHeartbeat Status = "NoHeartbeat" StatusNotJoinedToDomain Status = "NotJoinedToDomain" StatusShutdown Status = "Shutdown" StatusSxSStackListenerNotReady Status = "SxSStackListenerNotReady" StatusUpgradeFailed Status = "UpgradeFailed" StatusUpgrading Status = "Upgrading" )
func (*Status) UnmarshalJSON ¶
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
Force *bool
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SessionHost }
type UpdateState ¶
type UpdateState string
const ( UpdateStateFailed UpdateState = "Failed" UpdateStateInitial UpdateState = "Initial" UpdateStatePending UpdateState = "Pending" UpdateStateStarted UpdateState = "Started" UpdateStateSucceeded UpdateState = "Succeeded" )
func (*UpdateState) UnmarshalJSON ¶
func (s *UpdateState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_hostpool.go
- id_sessionhost.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_sessionhost.go
- model_sessionhosthealthcheckfailuredetails.go
- model_sessionhosthealthcheckreport.go
- model_sessionhostpatch.go
- model_sessionhostpatchproperties.go
- model_sessionhostproperties.go
- predicates.go
- version.go