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 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 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 GetOperationResponse struct + HttpResponse *http.Response + Model *SessionHost + OData *odata.OData + type HealthCheckName string + const HealthCheckNameAppAttachHealthCheck + const HealthCheckNameDomainJoinedCheck + const HealthCheckNameDomainReachable + const HealthCheckNameDomainTrustCheck + const HealthCheckNameFSLogixHealthCheck + const HealthCheckNameMetaDataServiceCheck + const HealthCheckNameMonitoringAgentCheck + const HealthCheckNameSupportedEncryptionCheck + const HealthCheckNameSxSStackListenerCheck + const HealthCheckNameURLsAccessibleCheck + const HealthCheckNameWebRTCRedirectorCheck + func (s *HealthCheckName) UnmarshalJSON(bytes []byte) error + type HealthCheckResult string + const HealthCheckResultHealthCheckFailed + const HealthCheckResultHealthCheckSucceeded + const HealthCheckResultSessionHostShutdown + const HealthCheckResultUnknown + func (s *HealthCheckResult) UnmarshalJSON(bytes []byte) error + 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 ListCompleteResult struct + Items []SessionHost + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]SessionHost + OData *odata.OData + type SessionHost struct + Id *string + Name *string + Properties *SessionHostProperties + SystemData *systemdata.SystemData + Type *string + type SessionHostClient struct + Client *resourcemanager.Client + func NewSessionHostClientWithBaseURI(sdkApi sdkEnv.Api) (*SessionHostClient, error) + 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) (result ListOperationResponse, err error) + func (c SessionHostClient) ListComplete(ctx context.Context, id HostPoolId) (ListCompleteResult, error) + func (c SessionHostClient) ListCompleteMatchingPredicate(ctx context.Context, id HostPoolId, predicate SessionHostOperationPredicate) (result ListCompleteResult, err error) + func (c SessionHostClient) Update(ctx context.Context, id SessionHostId, input SessionHostPatch, ...) (result UpdateOperationResponse, err error) + type SessionHostHealthCheckFailureDetails struct + ErrorCode *int64 + LastHealthCheckDateTime *string + Message *string + func (o *SessionHostHealthCheckFailureDetails) GetLastHealthCheckDateTimeAsTime() (*time.Time, error) + func (o *SessionHostHealthCheckFailureDetails) SetLastHealthCheckDateTimeAsTime(input time.Time) + type SessionHostHealthCheckReport struct + AdditionalFailureDetails *SessionHostHealthCheckFailureDetails + HealthCheckName *HealthCheckName + HealthCheckResult *HealthCheckResult + 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 SessionHostOperationPredicate struct + Id *string + Name *string + Type *string + func (p SessionHostOperationPredicate) Matches(input SessionHost) bool + type SessionHostPatch struct + Id *string + Name *string + Properties *SessionHostPatchProperties + Type *string + type SessionHostPatchProperties struct + AllowNewSession *bool + AssignedUser *string + FriendlyName *string + type SessionHostProperties struct + AgentVersion *string + AllowNewSession *bool + AssignedUser *string + FriendlyName *string + LastHeartBeat *string + LastUpdateTime *string + ObjectId *string + OsVersion *string + ResourceId *string + SessionHostHealthCheckResults *[]SessionHostHealthCheckReport + Sessions *int64 + Status *Status + StatusTimestamp *string + SxSStackVersion *string + UpdateErrorMessage *string + UpdateState *UpdateState + VirtualMachineId *string + 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 string + const StatusAvailable + const StatusDisconnected + const StatusDomainTrustRelationshipLost + const StatusFSLogixNotHealthy + const StatusNeedsAssistance + const StatusNoHeartbeat + const StatusNotJoinedToDomain + const StatusShutdown + const StatusSxSStackListenerNotReady + const StatusUnavailable + const StatusUpgradeFailed + const StatusUpgrading + func (s *Status) UnmarshalJSON(bytes []byte) error + type UpdateOperationOptions struct + Force *bool + func DefaultUpdateOperationOptions() UpdateOperationOptions + func (o UpdateOperationOptions) ToHeaders() *client.Headers + func (o UpdateOperationOptions) ToOData() *odata.Query + func (o UpdateOperationOptions) ToQuery() *client.QueryParams + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *SessionHost + OData *odata.OData + type UpdateState string + const UpdateStateFailed + const UpdateStateInitial + const UpdateStatePending + const UpdateStateStarted + const UpdateStateSucceeded + func (s *UpdateState) UnmarshalJSON(bytes []byte) error