Documentation ¶
Index ¶
- func PossibleValuesForJobAgentState() []string
- func ValidateJobAgentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type JobAgent
- type JobAgentId
- type JobAgentOperationPredicate
- type JobAgentProperties
- type JobAgentState
- type JobAgentUpdate
- type JobAgentsClient
- func (c JobAgentsClient) CreateOrUpdate(ctx context.Context, id JobAgentId, input JobAgent) (result CreateOrUpdateOperationResponse, err error)
- func (c JobAgentsClient) CreateOrUpdateThenPoll(ctx context.Context, id JobAgentId, input JobAgent) error
- func (c JobAgentsClient) Delete(ctx context.Context, id JobAgentId) (result DeleteOperationResponse, err error)
- func (c JobAgentsClient) DeleteThenPoll(ctx context.Context, id JobAgentId) error
- func (c JobAgentsClient) Get(ctx context.Context, id JobAgentId) (result GetOperationResponse, err error)
- func (c JobAgentsClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
- func (c JobAgentsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
- func (c JobAgentsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate JobAgentOperationPredicate) (result ListByServerCompleteResult, err error)
- func (c JobAgentsClient) Update(ctx context.Context, id JobAgentId, input JobAgentUpdate) (result UpdateOperationResponse, err error)
- func (c JobAgentsClient) UpdateThenPoll(ctx context.Context, id JobAgentId, input JobAgentUpdate) error
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type ServerId
- type Sku
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJobAgentState ¶
func PossibleValuesForJobAgentState() []string
func ValidateJobAgentID ¶
ValidateJobAgentID checks that 'input' can be parsed as a Job Agent ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type JobAgent ¶
type JobAgent struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *JobAgentProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type JobAgentId ¶
type JobAgentId struct { SubscriptionId string ResourceGroupName string ServerName string JobAgentName string }
JobAgentId is a struct representing the Resource ID for a Job Agent
func NewJobAgentID ¶
func NewJobAgentID(subscriptionId string, resourceGroupName string, serverName string, jobAgentName string) JobAgentId
NewJobAgentID returns a new JobAgentId struct
func ParseJobAgentID ¶
func ParseJobAgentID(input string) (*JobAgentId, error)
ParseJobAgentID parses 'input' into a JobAgentId
func ParseJobAgentIDInsensitively ¶
func ParseJobAgentIDInsensitively(input string) (*JobAgentId, error)
ParseJobAgentIDInsensitively parses 'input' case-insensitively into a JobAgentId note: this method should only be used for API response data and not user input
func (JobAgentId) Segments ¶
func (id JobAgentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job Agent ID
func (JobAgentId) String ¶
func (id JobAgentId) String() string
String returns a human-readable description of this Job Agent ID
type JobAgentOperationPredicate ¶
func (JobAgentOperationPredicate) Matches ¶
func (p JobAgentOperationPredicate) Matches(input JobAgent) bool
type JobAgentProperties ¶
type JobAgentProperties struct { DatabaseId string `json:"databaseId"` State *JobAgentState `json:"state,omitempty"` }
type JobAgentState ¶
type JobAgentState string
const ( JobAgentStateCreating JobAgentState = "Creating" JobAgentStateDeleting JobAgentState = "Deleting" JobAgentStateDisabled JobAgentState = "Disabled" JobAgentStateReady JobAgentState = "Ready" JobAgentStateUpdating JobAgentState = "Updating" )
func (*JobAgentState) UnmarshalJSON ¶
func (s *JobAgentState) UnmarshalJSON(bytes []byte) error
type JobAgentUpdate ¶
type JobAgentsClient ¶
type JobAgentsClient struct {
Client *resourcemanager.Client
}
func NewJobAgentsClientWithBaseURI ¶
func NewJobAgentsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobAgentsClient, error)
func (JobAgentsClient) CreateOrUpdate ¶
func (c JobAgentsClient) CreateOrUpdate(ctx context.Context, id JobAgentId, input JobAgent) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (JobAgentsClient) CreateOrUpdateThenPoll ¶
func (c JobAgentsClient) CreateOrUpdateThenPoll(ctx context.Context, id JobAgentId, input JobAgent) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (JobAgentsClient) Delete ¶
func (c JobAgentsClient) Delete(ctx context.Context, id JobAgentId) (result DeleteOperationResponse, err error)
Delete ...
func (JobAgentsClient) DeleteThenPoll ¶
func (c JobAgentsClient) DeleteThenPoll(ctx context.Context, id JobAgentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (JobAgentsClient) Get ¶
func (c JobAgentsClient) Get(ctx context.Context, id JobAgentId) (result GetOperationResponse, err error)
Get ...
func (JobAgentsClient) ListByServer ¶
func (c JobAgentsClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (JobAgentsClient) ListByServerComplete ¶
func (c JobAgentsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (JobAgentsClient) ListByServerCompleteMatchingPredicate ¶
func (c JobAgentsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate JobAgentOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobAgentsClient) Update ¶
func (c JobAgentsClient) Update(ctx context.Context, id JobAgentId, input JobAgentUpdate) (result UpdateOperationResponse, err error)
Update ...
func (JobAgentsClient) UpdateThenPoll ¶
func (c JobAgentsClient) UpdateThenPoll(ctx context.Context, id JobAgentId, input JobAgentUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []JobAgent
}
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID