Documentation ¶
Index ¶
- func PossibleValuesForOS() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAgentPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- type AgentPool
- type AgentPoolId
- type AgentPoolOperationPredicate
- type AgentPoolProperties
- type AgentPoolPropertiesUpdateParameters
- type AgentPoolQueueStatus
- type AgentPoolUpdateParameters
- type AgentPoolsClient
- func (c AgentPoolsClient) Create(ctx context.Context, id AgentPoolId, input AgentPool) (result CreateOperationResponse, err error)
- func (c AgentPoolsClient) CreateThenPoll(ctx context.Context, id AgentPoolId, input AgentPool) error
- func (c AgentPoolsClient) Delete(ctx context.Context, id AgentPoolId) (result DeleteOperationResponse, err error)
- func (c AgentPoolsClient) DeleteThenPoll(ctx context.Context, id AgentPoolId) error
- func (c AgentPoolsClient) Get(ctx context.Context, id AgentPoolId) (result GetOperationResponse, err error)
- func (c AgentPoolsClient) GetQueueStatus(ctx context.Context, id AgentPoolId) (result GetQueueStatusOperationResponse, err error)
- func (c AgentPoolsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
- func (c AgentPoolsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
- func (c AgentPoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate AgentPoolOperationPredicate) (result ListCompleteResult, err error)
- func (c AgentPoolsClient) Update(ctx context.Context, id AgentPoolId, input AgentPoolUpdateParameters) (result UpdateOperationResponse, err error)
- func (c AgentPoolsClient) UpdateThenPoll(ctx context.Context, id AgentPoolId, input AgentPoolUpdateParameters) error
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GetQueueStatusOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type OS
- type ProvisioningState
- type RegistryId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOS ¶
func PossibleValuesForOS() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateAgentPoolID ¶
ValidateAgentPoolID checks that 'input' can be parsed as a Agent Pool ID
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
Types ¶
type AgentPool ¶
type AgentPool struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AgentPoolProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AgentPoolId ¶
type AgentPoolId struct { SubscriptionId string ResourceGroupName string RegistryName string AgentPoolName string }
AgentPoolId is a struct representing the Resource ID for a Agent Pool
func NewAgentPoolID ¶
func NewAgentPoolID(subscriptionId string, resourceGroupName string, registryName string, agentPoolName string) AgentPoolId
NewAgentPoolID returns a new AgentPoolId struct
func ParseAgentPoolID ¶
func ParseAgentPoolID(input string) (*AgentPoolId, error)
ParseAgentPoolID parses 'input' into a AgentPoolId
func ParseAgentPoolIDInsensitively ¶
func ParseAgentPoolIDInsensitively(input string) (*AgentPoolId, error)
ParseAgentPoolIDInsensitively parses 'input' case-insensitively into a AgentPoolId note: this method should only be used for API response data and not user input
func (*AgentPoolId) FromParseResult ¶
func (id *AgentPoolId) FromParseResult(input resourceids.ParseResult) error
func (AgentPoolId) Segments ¶
func (id AgentPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Agent Pool ID
func (AgentPoolId) String ¶
func (id AgentPoolId) String() string
String returns a human-readable description of this Agent Pool ID
type AgentPoolOperationPredicate ¶
func (AgentPoolOperationPredicate) Matches ¶
func (p AgentPoolOperationPredicate) Matches(input AgentPool) bool
type AgentPoolProperties ¶
type AgentPoolProperties struct { Count *int64 `json:"count,omitempty"` Os *OS `json:"os,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Tier *string `json:"tier,omitempty"` VirtualNetworkSubnetResourceId *string `json:"virtualNetworkSubnetResourceId,omitempty"` }
type AgentPoolPropertiesUpdateParameters ¶
type AgentPoolPropertiesUpdateParameters struct {
Count *int64 `json:"count,omitempty"`
}
type AgentPoolQueueStatus ¶
type AgentPoolQueueStatus struct {
Count *int64 `json:"count,omitempty"`
}
type AgentPoolUpdateParameters ¶
type AgentPoolUpdateParameters struct { Properties *AgentPoolPropertiesUpdateParameters `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AgentPoolsClient ¶
type AgentPoolsClient struct {
Client *resourcemanager.Client
}
func NewAgentPoolsClientWithBaseURI ¶
func NewAgentPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*AgentPoolsClient, error)
func (AgentPoolsClient) Create ¶
func (c AgentPoolsClient) Create(ctx context.Context, id AgentPoolId, input AgentPool) (result CreateOperationResponse, err error)
Create ...
func (AgentPoolsClient) CreateThenPoll ¶
func (c AgentPoolsClient) CreateThenPoll(ctx context.Context, id AgentPoolId, input AgentPool) error
CreateThenPoll performs Create then polls until it's completed
func (AgentPoolsClient) Delete ¶
func (c AgentPoolsClient) Delete(ctx context.Context, id AgentPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (AgentPoolsClient) DeleteThenPoll ¶
func (c AgentPoolsClient) DeleteThenPoll(ctx context.Context, id AgentPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AgentPoolsClient) Get ¶
func (c AgentPoolsClient) Get(ctx context.Context, id AgentPoolId) (result GetOperationResponse, err error)
Get ...
func (AgentPoolsClient) GetQueueStatus ¶
func (c AgentPoolsClient) GetQueueStatus(ctx context.Context, id AgentPoolId) (result GetQueueStatusOperationResponse, err error)
GetQueueStatus ...
func (AgentPoolsClient) List ¶
func (c AgentPoolsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
List ...
func (AgentPoolsClient) ListComplete ¶
func (c AgentPoolsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AgentPoolsClient) ListCompleteMatchingPredicate ¶
func (c AgentPoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate AgentPoolOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AgentPoolsClient) Update ¶
func (c AgentPoolsClient) Update(ctx context.Context, id AgentPoolId, input AgentPoolUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (AgentPoolsClient) UpdateThenPoll ¶
func (c AgentPoolsClient) UpdateThenPoll(ctx context.Context, id AgentPoolId, input AgentPoolUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetQueueStatusOperationResponse ¶
type GetQueueStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AgentPoolQueueStatus }
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (*RegistryId) FromParseResult ¶
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID
Source Files ¶
- client.go
- constants.go
- id_agentpool.go
- id_registry.go
- method_create.go
- method_delete.go
- method_get.go
- method_getqueuestatus.go
- method_list.go
- method_update.go
- model_agentpool.go
- model_agentpoolproperties.go
- model_agentpoolpropertiesupdateparameters.go
- model_agentpoolqueuestatus.go
- model_agentpoolupdateparameters.go
- predicates.go
- version.go