Versions in this module Expand all Collapse all v7 v7.2.4 Mar 14, 2024 v7.2.3 Mar 14, 2024 v7.2.2 Mar 14, 2024 v7.2.1 Mar 13, 2024 v7.2.0 Mar 11, 2024 v7.1.2 Mar 10, 2024 v7.1.1 Mar 10, 2024 v7.1.0 Mar 10, 2024 Changes in this version + var ElasticAgentStateValues = elasticAgentStateValuesType + var ElasticComputeStateValues = elasticComputeStateValuesType + var ElasticNodeStateValues = elasticNodeStateValuesType + var ElasticPoolStateValues = elasticPoolStateValuesType + var LogLevelValues = logLevelValuesType + var OperatingSystemTypeValues = operatingSystemTypeValuesType + var OperationTypeValues = operationTypeValuesType + var OrchestrationTypeValues = orchestrationTypeValuesType + var TaskAgentPoolOptionsValues = taskAgentPoolOptionsValuesType + var TaskAgentPoolTypeValues = taskAgentPoolTypeValuesType + var TaskResultValues = taskResultValuesType + type Client interface + CreateElasticPool func(context.Context, CreateElasticPoolArgs) (*ElasticPoolCreationResult, error) + GetElasticNodes func(context.Context, GetElasticNodesArgs) (*[]ElasticNode, error) + GetElasticPool func(context.Context, GetElasticPoolArgs) (*ElasticPool, error) + GetElasticPoolLogs func(context.Context, GetElasticPoolLogsArgs) (*[]ElasticPoolLog, error) + GetElasticPools func(context.Context, GetElasticPoolsArgs) (*[]ElasticPool, error) + UpdateElasticNode func(context.Context, UpdateElasticNodeArgs) (*ElasticNode, error) + UpdateElasticPool func(context.Context, UpdateElasticPoolArgs) (*ElasticPool, error) + func NewClient(ctx context.Context, connection *azuredevops.Connection) Client + type ClientImpl struct + Client azuredevops.Client + func (client *ClientImpl) CreateElasticPool(ctx context.Context, args CreateElasticPoolArgs) (*ElasticPoolCreationResult, error) + func (client *ClientImpl) GetElasticNodes(ctx context.Context, args GetElasticNodesArgs) (*[]ElasticNode, error) + func (client *ClientImpl) GetElasticPool(ctx context.Context, args GetElasticPoolArgs) (*ElasticPool, error) + func (client *ClientImpl) GetElasticPoolLogs(ctx context.Context, args GetElasticPoolLogsArgs) (*[]ElasticPoolLog, error) + func (client *ClientImpl) GetElasticPools(ctx context.Context, args GetElasticPoolsArgs) (*[]ElasticPool, error) + func (client *ClientImpl) UpdateElasticNode(ctx context.Context, args UpdateElasticNodeArgs) (*ElasticNode, error) + func (client *ClientImpl) UpdateElasticPool(ctx context.Context, args UpdateElasticPoolArgs) (*ElasticPool, error) + type CreateElasticPoolArgs struct + AuthorizeAllPipelines *bool + AutoProvisionProjectPools *bool + ElasticPool *ElasticPool + PoolName *string + ProjectId *uuid.UUID + type ElasticAgentState string + type ElasticComputeState string + type ElasticNode struct + AgentId *int + AgentState *ElasticAgentState + ComputeId *string + ComputeState *ElasticComputeState + DesiredState *ElasticNodeState + Id *int + Name *string + PoolId *int + RequestId *uint64 + State *ElasticNodeState + StateChangedOn *azuredevops.Time + type ElasticNodeSettings struct + State *ElasticNodeState + type ElasticNodeState string + type ElasticPool struct + AgentInteractiveUI *bool + AzureId *string + DesiredIdle *int + DesiredSize *int + MaxCapacity *int + MaxSavedNodeCount *int + OfflineSince *azuredevops.Time + OrchestrationType *OrchestrationType + OsType *OperatingSystemType + PoolId *int + RecycleAfterEachUse *bool + ServiceEndpointId *uuid.UUID + ServiceEndpointScope *uuid.UUID + SizingAttempts *int + State *ElasticPoolState + TimeToLiveMinutes *int + type ElasticPoolCreationResult struct + AgentPool *TaskAgentPool + AgentQueue *TaskAgentQueue + ElasticPool *ElasticPool + type ElasticPoolLog struct + Id *uint64 + Level *LogLevel + Message *string + Operation *OperationType + PoolId *int + Timestamp *azuredevops.Time + type ElasticPoolSettings struct + AgentInteractiveUI *bool + AzureId *string + DesiredIdle *int + MaxCapacity *int + MaxSavedNodeCount *int + OrchestrationType *OrchestrationType + OsType *OperatingSystemType + RecycleAfterEachUse *bool + ServiceEndpointId *uuid.UUID + ServiceEndpointScope *uuid.UUID + TimeToLiveMinutes *int + type ElasticPoolState string + type GetElasticNodesArgs struct + PoolId *int + State *ElasticNodeState + type GetElasticPoolArgs struct + PoolId *int + type GetElasticPoolLogsArgs struct + PoolId *int + Top *int + type GetElasticPoolsArgs struct + type LogLevel string + type OperatingSystemType string + type OperationType string + type OrchestrationType string + type TaskAgentPool struct + AgentCloudId *int + AutoProvision *bool + AutoSize *bool + AutoUpdate *bool + CreatedBy *webapi.IdentityRef + CreatedOn *azuredevops.Time + Id *int + IsHosted *bool + IsLegacy *bool + Name *string + Options *TaskAgentPoolOptions + Owner *webapi.IdentityRef + PoolType *TaskAgentPoolType + Properties interface{} + Scope *uuid.UUID + Size *int + TargetSize *int + type TaskAgentPoolOptions string + type TaskAgentPoolReference struct + Id *int + IsHosted *bool + IsLegacy *bool + Name *string + Options *TaskAgentPoolOptions + PoolType *TaskAgentPoolType + Scope *uuid.UUID + Size *int + type TaskAgentPoolType string + type TaskAgentQueue struct + Id *int + Name *string + Pool *TaskAgentPoolReference + ProjectId *uuid.UUID + type TaskResult string + type UpdateElasticNodeArgs struct + ElasticNodeId *int + ElasticNodeSettings *ElasticNodeSettings + PoolId *int + type UpdateElasticPoolArgs struct + ElasticPoolSettings *ElasticPoolSettings + PoolId *int