Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForHostPoolType() []string
- func PossibleValuesForHostpoolPublicNetworkAccess() []string
- func PossibleValuesForLoadBalancerType() []string
- func PossibleValuesForOperation() []string
- func PossibleValuesForPersonalDesktopAssignmentType() []string
- func PossibleValuesForPreferredAppGroupType() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForRegistrationTokenOperation() []string
- func PossibleValuesForSSOSecretType() []string
- func PossibleValuesForSessionHostComponentUpdateType() []string
- func PossibleValuesForSkuTier() []string
- func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)
- type AgentUpdatePatchProperties
- type AgentUpdateProperties
- type CreateOrUpdateOperationResponse
- type DayOfWeek
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type HostPool
- type HostPoolClient
- func (c HostPoolClient) CreateOrUpdate(ctx context.Context, id HostPoolId, input HostPool) (result CreateOrUpdateOperationResponse, err error)
- func (c HostPoolClient) Delete(ctx context.Context, id HostPoolId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c HostPoolClient) Get(ctx context.Context, id HostPoolId) (result GetOperationResponse, err error)
- func (c HostPoolClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c HostPoolClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c HostPoolClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c HostPoolClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c HostPoolClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c HostPoolClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c HostPoolClient) RetrieveRegistrationToken(ctx context.Context, id HostPoolId) (result RetrieveRegistrationTokenOperationResponse, err error)
- func (c HostPoolClient) Update(ctx context.Context, id HostPoolId, input HostPoolPatch) (result UpdateOperationResponse, err error)
- type HostPoolId
- type HostPoolOperationPredicate
- type HostPoolPatch
- type HostPoolPatchProperties
- type HostPoolProperties
- type HostPoolType
- type HostpoolPublicNetworkAccess
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type LoadBalancerType
- type MaintenanceWindowPatchProperties
- type MaintenanceWindowProperties
- type MigrationRequestProperties
- type Operation
- type PersonalDesktopAssignmentType
- type Plan
- type PreferredAppGroupType
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type RegistrationInfo
- type RegistrationInfoPatch
- type RegistrationTokenOperation
- type RetrieveRegistrationTokenOperationResponse
- type SSOSecretType
- type SessionHostComponentUpdateType
- type Sku
- type SkuTier
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForHostPoolType ¶
func PossibleValuesForHostPoolType() []string
func PossibleValuesForHostpoolPublicNetworkAccess ¶
func PossibleValuesForHostpoolPublicNetworkAccess() []string
func PossibleValuesForLoadBalancerType ¶
func PossibleValuesForLoadBalancerType() []string
func PossibleValuesForOperation ¶
func PossibleValuesForOperation() []string
func PossibleValuesForPersonalDesktopAssignmentType ¶
func PossibleValuesForPersonalDesktopAssignmentType() []string
func PossibleValuesForPreferredAppGroupType ¶
func PossibleValuesForPreferredAppGroupType() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForRegistrationTokenOperation ¶
func PossibleValuesForRegistrationTokenOperation() []string
func PossibleValuesForSSOSecretType ¶
func PossibleValuesForSSOSecretType() []string
func PossibleValuesForSessionHostComponentUpdateType ¶
func PossibleValuesForSessionHostComponentUpdateType() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateHostPoolID ¶
ValidateHostPoolID checks that 'input' can be parsed as a Host Pool ID
Types ¶
type AgentUpdatePatchProperties ¶
type AgentUpdatePatchProperties struct { MaintenanceWindowTimeZone *string `json:"maintenanceWindowTimeZone,omitempty"` MaintenanceWindows *[]MaintenanceWindowPatchProperties `json:"maintenanceWindows,omitempty"` Type *SessionHostComponentUpdateType `json:"type,omitempty"` UseSessionHostLocalTime *bool `json:"useSessionHostLocalTime,omitempty"` }
type AgentUpdateProperties ¶
type AgentUpdateProperties struct { MaintenanceWindowTimeZone *string `json:"maintenanceWindowTimeZone,omitempty"` MaintenanceWindows *[]MaintenanceWindowProperties `json:"maintenanceWindows,omitempty"` Type *SessionHostComponentUpdateType `json:"type,omitempty"` UseSessionHostLocalTime *bool `json:"useSessionHostLocalTime,omitempty"` }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type HostPool ¶
type HostPool struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan"` Properties HostPoolProperties `json:"properties"` Sku *Sku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type HostPoolClient ¶
func NewHostPoolClientWithBaseURI ¶
func NewHostPoolClientWithBaseURI(endpoint string) HostPoolClient
func (HostPoolClient) CreateOrUpdate ¶
func (c HostPoolClient) CreateOrUpdate(ctx context.Context, id HostPoolId, input HostPool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (HostPoolClient) Delete ¶
func (c HostPoolClient) Delete(ctx context.Context, id HostPoolId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (HostPoolClient) Get ¶
func (c HostPoolClient) Get(ctx context.Context, id HostPoolId) (result GetOperationResponse, err error)
Get ...
func (HostPoolClient) List ¶
func (c HostPoolClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (HostPoolClient) ListByResourceGroup ¶
func (c HostPoolClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (HostPoolClient) ListByResourceGroupComplete ¶
func (c HostPoolClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (HostPoolClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c HostPoolClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate HostPoolOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (HostPoolClient) ListComplete ¶
func (c HostPoolClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (HostPoolClient) ListCompleteMatchingPredicate ¶
func (c HostPoolClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate HostPoolOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (HostPoolClient) RetrieveRegistrationToken ¶
func (c HostPoolClient) RetrieveRegistrationToken(ctx context.Context, id HostPoolId) (result RetrieveRegistrationTokenOperationResponse, err error)
RetrieveRegistrationToken ...
func (HostPoolClient) Update ¶
func (c HostPoolClient) Update(ctx context.Context, id HostPoolId, input HostPoolPatch) (result UpdateOperationResponse, err error)
Update ...
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 HostPoolOperationPredicate ¶
type HostPoolOperationPredicate struct { Etag *string Id *string Kind *string Location *string ManagedBy *string Name *string Type *string }
func (HostPoolOperationPredicate) Matches ¶
func (p HostPoolOperationPredicate) Matches(input HostPool) bool
type HostPoolPatch ¶
type HostPoolPatchProperties ¶
type HostPoolPatchProperties struct { AgentUpdate *AgentUpdatePatchProperties `json:"agentUpdate"` CustomRdpProperty *string `json:"customRdpProperty,omitempty"` Description *string `json:"description,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` LoadBalancerType *LoadBalancerType `json:"loadBalancerType,omitempty"` MaxSessionLimit *int64 `json:"maxSessionLimit,omitempty"` PersonalDesktopAssignmentType *PersonalDesktopAssignmentType `json:"personalDesktopAssignmentType,omitempty"` PreferredAppGroupType *PreferredAppGroupType `json:"preferredAppGroupType,omitempty"` PublicNetworkAccess *HostpoolPublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RegistrationInfo *RegistrationInfoPatch `json:"registrationInfo"` Ring *int64 `json:"ring,omitempty"` SsoClientId *string `json:"ssoClientId,omitempty"` SsoClientSecretKeyVaultPath *string `json:"ssoClientSecretKeyVaultPath,omitempty"` SsoSecretType *SSOSecretType `json:"ssoSecretType,omitempty"` SsoadfsAuthority *string `json:"ssoadfsAuthority,omitempty"` StartVMOnConnect *bool `json:"startVMOnConnect,omitempty"` ValidationEnvironment *bool `json:"validationEnvironment,omitempty"` VmTemplate *string `json:"vmTemplate,omitempty"` }
type HostPoolProperties ¶
type HostPoolProperties struct { AgentUpdate *AgentUpdateProperties `json:"agentUpdate"` ApplicationGroupReferences *[]string `json:"applicationGroupReferences,omitempty"` CloudPcResource *bool `json:"cloudPcResource,omitempty"` CustomRdpProperty *string `json:"customRdpProperty,omitempty"` Description *string `json:"description,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HostPoolType HostPoolType `json:"hostPoolType"` LoadBalancerType LoadBalancerType `json:"loadBalancerType"` MaxSessionLimit *int64 `json:"maxSessionLimit,omitempty"` MigrationRequest *MigrationRequestProperties `json:"migrationRequest"` ObjectId *string `json:"objectId,omitempty"` PersonalDesktopAssignmentType *PersonalDesktopAssignmentType `json:"personalDesktopAssignmentType,omitempty"` PreferredAppGroupType PreferredAppGroupType `json:"preferredAppGroupType"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` PublicNetworkAccess *HostpoolPublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RegistrationInfo *RegistrationInfo `json:"registrationInfo"` Ring *int64 `json:"ring,omitempty"` SsoClientId *string `json:"ssoClientId,omitempty"` SsoClientSecretKeyVaultPath *string `json:"ssoClientSecretKeyVaultPath,omitempty"` SsoSecretType *SSOSecretType `json:"ssoSecretType,omitempty"` SsoadfsAuthority *string `json:"ssoadfsAuthority,omitempty"` StartVMOnConnect *bool `json:"startVMOnConnect,omitempty"` ValidationEnvironment *bool `json:"validationEnvironment,omitempty"` VmTemplate *string `json:"vmTemplate,omitempty"` }
type HostPoolType ¶
type HostPoolType string
const ( HostPoolTypeBYODesktop HostPoolType = "BYODesktop" HostPoolTypePersonal HostPoolType = "Personal" HostPoolTypePooled HostPoolType = "Pooled" )
type HostpoolPublicNetworkAccess ¶
type HostpoolPublicNetworkAccess string
const ( HostpoolPublicNetworkAccessDisabled HostpoolPublicNetworkAccess = "Disabled" HostpoolPublicNetworkAccessEnabled HostpoolPublicNetworkAccess = "Enabled" HostpoolPublicNetworkAccessEnabledForClientsOnly HostpoolPublicNetworkAccess = "EnabledForClientsOnly" HostpoolPublicNetworkAccessEnabledForSessionHostsOnly HostpoolPublicNetworkAccess = "EnabledForSessionHostsOnly" )
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []HostPool
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]HostPool // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []HostPool
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]HostPool // 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 LoadBalancerType ¶
type LoadBalancerType string
const ( LoadBalancerTypeBreadthFirst LoadBalancerType = "BreadthFirst" LoadBalancerTypeDepthFirst LoadBalancerType = "DepthFirst" LoadBalancerTypePersistent LoadBalancerType = "Persistent" )
type PersonalDesktopAssignmentType ¶
type PersonalDesktopAssignmentType string
const ( PersonalDesktopAssignmentTypeAutomatic PersonalDesktopAssignmentType = "Automatic" PersonalDesktopAssignmentTypeDirect PersonalDesktopAssignmentType = "Direct" )
type PreferredAppGroupType ¶
type PreferredAppGroupType string
const ( PreferredAppGroupTypeDesktop PreferredAppGroupType = "Desktop" PreferredAppGroupTypeNone PreferredAppGroupType = "None" PreferredAppGroupTypeRailApplications PreferredAppGroupType = "RailApplications" )
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint"` PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
const ( PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type RegistrationInfo ¶
type RegistrationInfo struct { ExpirationTime *string `json:"expirationTime,omitempty"` RegistrationTokenOperation *RegistrationTokenOperation `json:"registrationTokenOperation,omitempty"` Token *string `json:"token,omitempty"` }
func (*RegistrationInfo) GetExpirationTimeAsTime ¶
func (o *RegistrationInfo) GetExpirationTimeAsTime() (*time.Time, error)
func (*RegistrationInfo) SetExpirationTimeAsTime ¶
func (o *RegistrationInfo) SetExpirationTimeAsTime(input time.Time)
type RegistrationInfoPatch ¶
type RegistrationInfoPatch struct { ExpirationTime *string `json:"expirationTime,omitempty"` RegistrationTokenOperation *RegistrationTokenOperation `json:"registrationTokenOperation,omitempty"` }
func (*RegistrationInfoPatch) GetExpirationTimeAsTime ¶
func (o *RegistrationInfoPatch) GetExpirationTimeAsTime() (*time.Time, error)
func (*RegistrationInfoPatch) SetExpirationTimeAsTime ¶
func (o *RegistrationInfoPatch) SetExpirationTimeAsTime(input time.Time)
type RegistrationTokenOperation ¶
type RegistrationTokenOperation string
const ( RegistrationTokenOperationDelete RegistrationTokenOperation = "Delete" RegistrationTokenOperationNone RegistrationTokenOperation = "None" RegistrationTokenOperationUpdate RegistrationTokenOperation = "Update" )
type RetrieveRegistrationTokenOperationResponse ¶
type RetrieveRegistrationTokenOperationResponse struct { HttpResponse *http.Response Model *RegistrationInfo }
type SSOSecretType ¶
type SSOSecretType string
const ( SSOSecretTypeCertificate SSOSecretType = "Certificate" SSOSecretTypeCertificateInKeyVault SSOSecretType = "CertificateInKeyVault" )
type SessionHostComponentUpdateType ¶
type SessionHostComponentUpdateType string
const ( SessionHostComponentUpdateTypeDefault SessionHostComponentUpdateType = "Default" SessionHostComponentUpdateTypeScheduled SessionHostComponentUpdateType = "Scheduled" )
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_hostpool.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_retrieveregistrationtoken_autorest.go
- method_update_autorest.go
- model_agentupdatepatchproperties.go
- model_agentupdateproperties.go
- model_hostpool.go
- model_hostpoolpatch.go
- model_hostpoolpatchproperties.go
- model_hostpoolproperties.go
- model_maintenancewindowpatchproperties.go
- model_maintenancewindowproperties.go
- model_migrationrequestproperties.go
- model_plan.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_registrationinfo.go
- model_registrationinfopatch.go
- model_sku.go
- predicates.go
- version.go