Documentation ¶
Index ¶
- func PossibleValuesForHealthStatus() []string
- func PossibleValuesForLicenseType() []string
- func PossibleValuesForLocalAdminStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSingleSignOnStatus() []string
- func PossibleValuesForStopOnDisconnectEnableStatus() []string
- func PossibleValuesForVirtualNetworkType() []string
- func ValidatePoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HealthStatus
- type HealthStatusDetail
- type LicenseType
- type ListByProjectCompleteResult
- type ListByProjectOperationResponse
- type LocalAdminStatus
- type Pool
- type PoolId
- type PoolOperationPredicate
- type PoolProperties
- type PoolUpdate
- type PoolUpdateProperties
- type PoolsClient
- func (c PoolsClient) CreateOrUpdate(ctx context.Context, id PoolId, input Pool) (result CreateOrUpdateOperationResponse, err error)
- func (c PoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id PoolId, input Pool) error
- func (c PoolsClient) Delete(ctx context.Context, id PoolId) (result DeleteOperationResponse, err error)
- func (c PoolsClient) DeleteThenPoll(ctx context.Context, id PoolId) error
- func (c PoolsClient) Get(ctx context.Context, id PoolId) (result GetOperationResponse, err error)
- func (c PoolsClient) ListByProject(ctx context.Context, id ProjectId) (result ListByProjectOperationResponse, err error)
- func (c PoolsClient) ListByProjectComplete(ctx context.Context, id ProjectId) (ListByProjectCompleteResult, error)
- func (c PoolsClient) ListByProjectCompleteMatchingPredicate(ctx context.Context, id ProjectId, predicate PoolOperationPredicate) (result ListByProjectCompleteResult, err error)
- func (c PoolsClient) RunHealthChecks(ctx context.Context, id PoolId) (result RunHealthChecksOperationResponse, err error)
- func (c PoolsClient) RunHealthChecksThenPoll(ctx context.Context, id PoolId) error
- func (c PoolsClient) Update(ctx context.Context, id PoolId, input PoolUpdate) (result UpdateOperationResponse, err error)
- func (c PoolsClient) UpdateThenPoll(ctx context.Context, id PoolId, input PoolUpdate) error
- type ProjectId
- type ProvisioningState
- type RunHealthChecksOperationResponse
- type SingleSignOnStatus
- type StopOnDisconnectConfiguration
- type StopOnDisconnectEnableStatus
- type UpdateOperationResponse
- type VirtualNetworkType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHealthStatus ¶
func PossibleValuesForHealthStatus() []string
func PossibleValuesForLicenseType ¶
func PossibleValuesForLicenseType() []string
func PossibleValuesForLocalAdminStatus ¶
func PossibleValuesForLocalAdminStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSingleSignOnStatus ¶
func PossibleValuesForSingleSignOnStatus() []string
func PossibleValuesForStopOnDisconnectEnableStatus ¶
func PossibleValuesForStopOnDisconnectEnableStatus() []string
func PossibleValuesForVirtualNetworkType ¶
func PossibleValuesForVirtualNetworkType() []string
func ValidatePoolID ¶
ValidatePoolID checks that 'input' can be parsed as a Pool ID
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type HealthStatus ¶
type HealthStatus string
const ( HealthStatusHealthy HealthStatus = "Healthy" HealthStatusPending HealthStatus = "Pending" HealthStatusUnhealthy HealthStatus = "Unhealthy" HealthStatusUnknown HealthStatus = "Unknown" HealthStatusWarning HealthStatus = "Warning" )
func (*HealthStatus) UnmarshalJSON ¶
func (s *HealthStatus) UnmarshalJSON(bytes []byte) error
type HealthStatusDetail ¶
type LicenseType ¶
type LicenseType string
const (
LicenseTypeWindowsClient LicenseType = "Windows_Client"
)
func (*LicenseType) UnmarshalJSON ¶
func (s *LicenseType) UnmarshalJSON(bytes []byte) error
type LocalAdminStatus ¶
type LocalAdminStatus string
const ( LocalAdminStatusDisabled LocalAdminStatus = "Disabled" LocalAdminStatusEnabled LocalAdminStatus = "Enabled" )
func (*LocalAdminStatus) UnmarshalJSON ¶
func (s *LocalAdminStatus) UnmarshalJSON(bytes []byte) error
type Pool ¶
type Pool struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *PoolProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PoolId ¶
type PoolId struct { SubscriptionId string ResourceGroupName string ProjectName string PoolName string }
PoolId is a struct representing the Resource ID for a Pool
func NewPoolID ¶
func NewPoolID(subscriptionId string, resourceGroupName string, projectName string, poolName string) PoolId
NewPoolID returns a new PoolId struct
func ParsePoolID ¶
ParsePoolID parses 'input' into a PoolId
func ParsePoolIDInsensitively ¶
ParsePoolIDInsensitively parses 'input' case-insensitively into a PoolId note: this method should only be used for API response data and not user input
func (*PoolId) FromParseResult ¶
func (id *PoolId) FromParseResult(input resourceids.ParseResult) error
func (PoolId) Segments ¶
func (id PoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pool ID
type PoolOperationPredicate ¶
func (PoolOperationPredicate) Matches ¶
func (p PoolOperationPredicate) Matches(input Pool) bool
type PoolProperties ¶
type PoolProperties struct { DevBoxCount *int64 `json:"devBoxCount,omitempty"` DevBoxDefinitionName *string `json:"devBoxDefinitionName,omitempty"` DisplayName *string `json:"displayName,omitempty"` HealthStatus *HealthStatus `json:"healthStatus,omitempty"` HealthStatusDetails *[]HealthStatusDetail `json:"healthStatusDetails,omitempty"` LicenseType *LicenseType `json:"licenseType,omitempty"` LocalAdministrator *LocalAdminStatus `json:"localAdministrator,omitempty"` ManagedVirtualNetworkRegions *[]string `json:"managedVirtualNetworkRegions,omitempty"` NetworkConnectionName *string `json:"networkConnectionName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SingleSignOnStatus *SingleSignOnStatus `json:"singleSignOnStatus,omitempty"` StopOnDisconnect *StopOnDisconnectConfiguration `json:"stopOnDisconnect,omitempty"` VirtualNetworkType *VirtualNetworkType `json:"virtualNetworkType,omitempty"` }
type PoolUpdate ¶
type PoolUpdate struct { Location *string `json:"location,omitempty"` Properties *PoolUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type PoolUpdateProperties ¶
type PoolUpdateProperties struct { DevBoxDefinitionName *string `json:"devBoxDefinitionName,omitempty"` DisplayName *string `json:"displayName,omitempty"` LicenseType *LicenseType `json:"licenseType,omitempty"` LocalAdministrator *LocalAdminStatus `json:"localAdministrator,omitempty"` ManagedVirtualNetworkRegions *[]string `json:"managedVirtualNetworkRegions,omitempty"` NetworkConnectionName *string `json:"networkConnectionName,omitempty"` SingleSignOnStatus *SingleSignOnStatus `json:"singleSignOnStatus,omitempty"` StopOnDisconnect *StopOnDisconnectConfiguration `json:"stopOnDisconnect,omitempty"` VirtualNetworkType *VirtualNetworkType `json:"virtualNetworkType,omitempty"` }
type PoolsClient ¶
type PoolsClient struct {
Client *resourcemanager.Client
}
func NewPoolsClientWithBaseURI ¶
func NewPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*PoolsClient, error)
func (PoolsClient) CreateOrUpdate ¶
func (c PoolsClient) CreateOrUpdate(ctx context.Context, id PoolId, input Pool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PoolsClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PoolsClient) Delete ¶
func (c PoolsClient) Delete(ctx context.Context, id PoolId) (result DeleteOperationResponse, err error)
Delete ...
func (PoolsClient) DeleteThenPoll ¶
func (c PoolsClient) DeleteThenPoll(ctx context.Context, id PoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PoolsClient) Get ¶
func (c PoolsClient) Get(ctx context.Context, id PoolId) (result GetOperationResponse, err error)
Get ...
func (PoolsClient) ListByProject ¶
func (c PoolsClient) ListByProject(ctx context.Context, id ProjectId) (result ListByProjectOperationResponse, err error)
ListByProject ...
func (PoolsClient) ListByProjectComplete ¶
func (c PoolsClient) ListByProjectComplete(ctx context.Context, id ProjectId) (ListByProjectCompleteResult, error)
ListByProjectComplete retrieves all the results into a single object
func (PoolsClient) ListByProjectCompleteMatchingPredicate ¶
func (c PoolsClient) ListByProjectCompleteMatchingPredicate(ctx context.Context, id ProjectId, predicate PoolOperationPredicate) (result ListByProjectCompleteResult, err error)
ListByProjectCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PoolsClient) RunHealthChecks ¶
func (c PoolsClient) RunHealthChecks(ctx context.Context, id PoolId) (result RunHealthChecksOperationResponse, err error)
RunHealthChecks ...
func (PoolsClient) RunHealthChecksThenPoll ¶
func (c PoolsClient) RunHealthChecksThenPoll(ctx context.Context, id PoolId) error
RunHealthChecksThenPoll performs RunHealthChecks then polls until it's completed
func (PoolsClient) Update ¶
func (c PoolsClient) Update(ctx context.Context, id PoolId, input PoolUpdate) (result UpdateOperationResponse, err error)
Update ...
func (PoolsClient) UpdateThenPoll ¶
func (c PoolsClient) UpdateThenPoll(ctx context.Context, id PoolId, input PoolUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ProjectId ¶
ProjectId is a struct representing the Resource ID for a Project
func NewProjectID ¶
NewProjectID returns a new ProjectId struct
func ParseProjectID ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input
func (*ProjectId) FromParseResult ¶
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMovingResources ProvisioningState = "MovingResources" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateRolloutInProgress ProvisioningState = "RolloutInProgress" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateStorageProvisioningFailed ProvisioningState = "StorageProvisioningFailed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateTransientFailure ProvisioningState = "TransientFailure" ProvisioningStateUpdated ProvisioningState = "Updated" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SingleSignOnStatus ¶
type SingleSignOnStatus string
const ( SingleSignOnStatusDisabled SingleSignOnStatus = "Disabled" SingleSignOnStatusEnabled SingleSignOnStatus = "Enabled" )
func (*SingleSignOnStatus) UnmarshalJSON ¶
func (s *SingleSignOnStatus) UnmarshalJSON(bytes []byte) error
type StopOnDisconnectConfiguration ¶
type StopOnDisconnectConfiguration struct { GracePeriodMinutes *int64 `json:"gracePeriodMinutes,omitempty"` Status *StopOnDisconnectEnableStatus `json:"status,omitempty"` }
type StopOnDisconnectEnableStatus ¶
type StopOnDisconnectEnableStatus string
const ( StopOnDisconnectEnableStatusDisabled StopOnDisconnectEnableStatus = "Disabled" StopOnDisconnectEnableStatusEnabled StopOnDisconnectEnableStatus = "Enabled" )
func (*StopOnDisconnectEnableStatus) UnmarshalJSON ¶
func (s *StopOnDisconnectEnableStatus) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VirtualNetworkType ¶
type VirtualNetworkType string
const ( VirtualNetworkTypeManaged VirtualNetworkType = "Managed" VirtualNetworkTypeUnmanaged VirtualNetworkType = "Unmanaged" )
func (*VirtualNetworkType) UnmarshalJSON ¶
func (s *VirtualNetworkType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_pool.go
- id_project.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyproject.go
- method_runhealthchecks.go
- method_update.go
- model_healthstatusdetail.go
- model_pool.go
- model_poolproperties.go
- model_poolupdate.go
- model_poolupdateproperties.go
- model_stopondisconnectconfiguration.go
- predicates.go
- version.go