Documentation ¶
Index ¶
- func PossibleValuesForWorkerType() []string
- func ValidateHybridRunbookWorkerGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateHybridRunbookWorkerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HybridRunbookWorker
- type HybridRunbookWorkerClient
- func (c HybridRunbookWorkerClient) Create(ctx context.Context, id HybridRunbookWorkerId, ...) (result CreateOperationResponse, err error)
- func (c HybridRunbookWorkerClient) Delete(ctx context.Context, id HybridRunbookWorkerId) (result DeleteOperationResponse, err error)
- func (c HybridRunbookWorkerClient) Get(ctx context.Context, id HybridRunbookWorkerId) (result GetOperationResponse, err error)
- func (c HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroup(ctx context.Context, id HybridRunbookWorkerGroupId, ...) (result ListByHybridRunbookWorkerGroupOperationResponse, err error)
- func (c HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroupComplete(ctx context.Context, id HybridRunbookWorkerGroupId, ...) (ListByHybridRunbookWorkerGroupCompleteResult, error)
- func (c HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroupCompleteMatchingPredicate(ctx context.Context, id HybridRunbookWorkerGroupId, ...) (result ListByHybridRunbookWorkerGroupCompleteResult, err error)
- func (c HybridRunbookWorkerClient) Move(ctx context.Context, id HybridRunbookWorkerId, ...) (result MoveOperationResponse, err error)
- type HybridRunbookWorkerCreateOrUpdateParameters
- type HybridRunbookWorkerCreateParameters
- type HybridRunbookWorkerGroupId
- func NewHybridRunbookWorkerGroupID(subscriptionId string, resourceGroupName string, automationAccountName string, ...) HybridRunbookWorkerGroupId
- func ParseHybridRunbookWorkerGroupID(input string) (*HybridRunbookWorkerGroupId, error)
- func ParseHybridRunbookWorkerGroupIDInsensitively(input string) (*HybridRunbookWorkerGroupId, error)
- type HybridRunbookWorkerId
- func NewHybridRunbookWorkerID(subscriptionId string, resourceGroupName string, automationAccountName string, ...) HybridRunbookWorkerId
- func ParseHybridRunbookWorkerID(input string) (*HybridRunbookWorkerId, error)
- func ParseHybridRunbookWorkerIDInsensitively(input string) (*HybridRunbookWorkerId, error)
- type HybridRunbookWorkerMoveParameters
- type HybridRunbookWorkerOperationPredicate
- type HybridRunbookWorkerProperties
- func (o *HybridRunbookWorkerProperties) GetLastSeenDateTimeAsTime() (*time.Time, error)
- func (o *HybridRunbookWorkerProperties) GetRegisteredDateTimeAsTime() (*time.Time, error)
- func (o *HybridRunbookWorkerProperties) SetLastSeenDateTimeAsTime(input time.Time)
- func (o *HybridRunbookWorkerProperties) SetRegisteredDateTimeAsTime(input time.Time)
- type ListByHybridRunbookWorkerGroupCompleteResult
- type ListByHybridRunbookWorkerGroupOperationOptions
- type ListByHybridRunbookWorkerGroupOperationResponse
- type MoveOperationResponse
- type WorkerType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForWorkerType ¶
func PossibleValuesForWorkerType() []string
func ValidateHybridRunbookWorkerGroupID ¶
func ValidateHybridRunbookWorkerGroupID(input interface{}, key string) (warnings []string, errors []error)
ValidateHybridRunbookWorkerGroupID checks that 'input' can be parsed as a Hybrid Runbook Worker Group ID
func ValidateHybridRunbookWorkerID ¶
func ValidateHybridRunbookWorkerID(input interface{}, key string) (warnings []string, errors []error)
ValidateHybridRunbookWorkerID checks that 'input' can be parsed as a Hybrid Runbook Worker ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HybridRunbookWorker }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HybridRunbookWorker }
type HybridRunbookWorker ¶
type HybridRunbookWorker struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HybridRunbookWorkerProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type HybridRunbookWorkerClient ¶
type HybridRunbookWorkerClient struct {
Client *resourcemanager.Client
}
func NewHybridRunbookWorkerClientWithBaseURI ¶
func NewHybridRunbookWorkerClientWithBaseURI(api environments.Api) (*HybridRunbookWorkerClient, error)
func (HybridRunbookWorkerClient) Create ¶
func (c HybridRunbookWorkerClient) Create(ctx context.Context, id HybridRunbookWorkerId, input HybridRunbookWorkerCreateParameters) (result CreateOperationResponse, err error)
Create ...
func (HybridRunbookWorkerClient) Delete ¶
func (c HybridRunbookWorkerClient) Delete(ctx context.Context, id HybridRunbookWorkerId) (result DeleteOperationResponse, err error)
Delete ...
func (HybridRunbookWorkerClient) Get ¶
func (c HybridRunbookWorkerClient) Get(ctx context.Context, id HybridRunbookWorkerId) (result GetOperationResponse, err error)
Get ...
func (HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroup ¶
func (c HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroup(ctx context.Context, id HybridRunbookWorkerGroupId, options ListByHybridRunbookWorkerGroupOperationOptions) (result ListByHybridRunbookWorkerGroupOperationResponse, err error)
ListByHybridRunbookWorkerGroup ...
func (HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroupComplete ¶
func (c HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroupComplete(ctx context.Context, id HybridRunbookWorkerGroupId, options ListByHybridRunbookWorkerGroupOperationOptions) (ListByHybridRunbookWorkerGroupCompleteResult, error)
ListByHybridRunbookWorkerGroupComplete retrieves all the results into a single object
func (HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroupCompleteMatchingPredicate ¶
func (c HybridRunbookWorkerClient) ListByHybridRunbookWorkerGroupCompleteMatchingPredicate(ctx context.Context, id HybridRunbookWorkerGroupId, options ListByHybridRunbookWorkerGroupOperationOptions, predicate HybridRunbookWorkerOperationPredicate) (result ListByHybridRunbookWorkerGroupCompleteResult, err error)
ListByHybridRunbookWorkerGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (HybridRunbookWorkerClient) Move ¶
func (c HybridRunbookWorkerClient) Move(ctx context.Context, id HybridRunbookWorkerId, input HybridRunbookWorkerMoveParameters) (result MoveOperationResponse, err error)
Move ...
type HybridRunbookWorkerCreateOrUpdateParameters ¶
type HybridRunbookWorkerCreateOrUpdateParameters struct {
VMResourceId *string `json:"vmResourceId,omitempty"`
}
type HybridRunbookWorkerCreateParameters ¶
type HybridRunbookWorkerCreateParameters struct { Name *string `json:"name,omitempty"` Properties HybridRunbookWorkerCreateOrUpdateParameters `json:"properties"` }
type HybridRunbookWorkerGroupId ¶
type HybridRunbookWorkerGroupId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string HybridRunbookWorkerGroupName string }
HybridRunbookWorkerGroupId is a struct representing the Resource ID for a Hybrid Runbook Worker Group
func NewHybridRunbookWorkerGroupID ¶
func NewHybridRunbookWorkerGroupID(subscriptionId string, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string) HybridRunbookWorkerGroupId
NewHybridRunbookWorkerGroupID returns a new HybridRunbookWorkerGroupId struct
func ParseHybridRunbookWorkerGroupID ¶
func ParseHybridRunbookWorkerGroupID(input string) (*HybridRunbookWorkerGroupId, error)
ParseHybridRunbookWorkerGroupID parses 'input' into a HybridRunbookWorkerGroupId
func ParseHybridRunbookWorkerGroupIDInsensitively ¶
func ParseHybridRunbookWorkerGroupIDInsensitively(input string) (*HybridRunbookWorkerGroupId, error)
ParseHybridRunbookWorkerGroupIDInsensitively parses 'input' case-insensitively into a HybridRunbookWorkerGroupId note: this method should only be used for API response data and not user input
func (HybridRunbookWorkerGroupId) ID ¶
func (id HybridRunbookWorkerGroupId) ID() string
ID returns the formatted Hybrid Runbook Worker Group ID
func (HybridRunbookWorkerGroupId) Segments ¶
func (id HybridRunbookWorkerGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hybrid Runbook Worker Group ID
func (HybridRunbookWorkerGroupId) String ¶
func (id HybridRunbookWorkerGroupId) String() string
String returns a human-readable description of this Hybrid Runbook Worker Group ID
type HybridRunbookWorkerId ¶
type HybridRunbookWorkerId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string HybridRunbookWorkerGroupName string HybridRunbookWorkerId string }
HybridRunbookWorkerId is a struct representing the Resource ID for a Hybrid Runbook Worker
func NewHybridRunbookWorkerID ¶
func NewHybridRunbookWorkerID(subscriptionId string, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string, hybridRunbookWorkerId string) HybridRunbookWorkerId
NewHybridRunbookWorkerID returns a new HybridRunbookWorkerId struct
func ParseHybridRunbookWorkerID ¶
func ParseHybridRunbookWorkerID(input string) (*HybridRunbookWorkerId, error)
ParseHybridRunbookWorkerID parses 'input' into a HybridRunbookWorkerId
func ParseHybridRunbookWorkerIDInsensitively ¶
func ParseHybridRunbookWorkerIDInsensitively(input string) (*HybridRunbookWorkerId, error)
ParseHybridRunbookWorkerIDInsensitively parses 'input' case-insensitively into a HybridRunbookWorkerId note: this method should only be used for API response data and not user input
func (HybridRunbookWorkerId) ID ¶
func (id HybridRunbookWorkerId) ID() string
ID returns the formatted Hybrid Runbook Worker ID
func (HybridRunbookWorkerId) Segments ¶
func (id HybridRunbookWorkerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hybrid Runbook Worker ID
func (HybridRunbookWorkerId) String ¶
func (id HybridRunbookWorkerId) String() string
String returns a human-readable description of this Hybrid Runbook Worker ID
type HybridRunbookWorkerMoveParameters ¶
type HybridRunbookWorkerMoveParameters struct {
HybridRunbookWorkerGroupName *string `json:"hybridRunbookWorkerGroupName,omitempty"`
}
type HybridRunbookWorkerOperationPredicate ¶
func (HybridRunbookWorkerOperationPredicate) Matches ¶
func (p HybridRunbookWorkerOperationPredicate) Matches(input HybridRunbookWorker) bool
type HybridRunbookWorkerProperties ¶
type HybridRunbookWorkerProperties struct { IP *string `json:"ip,omitempty"` LastSeenDateTime *string `json:"lastSeenDateTime,omitempty"` RegisteredDateTime *string `json:"registeredDateTime,omitempty"` VMResourceId *string `json:"vmResourceId,omitempty"` WorkerName *string `json:"workerName,omitempty"` WorkerType *WorkerType `json:"workerType,omitempty"` }
func (*HybridRunbookWorkerProperties) GetLastSeenDateTimeAsTime ¶
func (o *HybridRunbookWorkerProperties) GetLastSeenDateTimeAsTime() (*time.Time, error)
func (*HybridRunbookWorkerProperties) GetRegisteredDateTimeAsTime ¶
func (o *HybridRunbookWorkerProperties) GetRegisteredDateTimeAsTime() (*time.Time, error)
func (*HybridRunbookWorkerProperties) SetLastSeenDateTimeAsTime ¶
func (o *HybridRunbookWorkerProperties) SetLastSeenDateTimeAsTime(input time.Time)
func (*HybridRunbookWorkerProperties) SetRegisteredDateTimeAsTime ¶
func (o *HybridRunbookWorkerProperties) SetRegisteredDateTimeAsTime(input time.Time)
type ListByHybridRunbookWorkerGroupCompleteResult ¶
type ListByHybridRunbookWorkerGroupCompleteResult struct {
Items []HybridRunbookWorker
}
type ListByHybridRunbookWorkerGroupOperationOptions ¶
type ListByHybridRunbookWorkerGroupOperationOptions struct {
Filter *string
}
func DefaultListByHybridRunbookWorkerGroupOperationOptions ¶
func DefaultListByHybridRunbookWorkerGroupOperationOptions() ListByHybridRunbookWorkerGroupOperationOptions
func (ListByHybridRunbookWorkerGroupOperationOptions) ToHeaders ¶
func (o ListByHybridRunbookWorkerGroupOperationOptions) ToHeaders() *client.Headers
func (ListByHybridRunbookWorkerGroupOperationOptions) ToOData ¶
func (o ListByHybridRunbookWorkerGroupOperationOptions) ToOData() *odata.Query
func (ListByHybridRunbookWorkerGroupOperationOptions) ToQuery ¶
func (o ListByHybridRunbookWorkerGroupOperationOptions) ToQuery() *client.QueryParams
type ListByHybridRunbookWorkerGroupOperationResponse ¶
type ListByHybridRunbookWorkerGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]HybridRunbookWorker }
type MoveOperationResponse ¶
type WorkerType ¶
type WorkerType string
const ( WorkerTypeHybridVOne WorkerType = "HybridV1" WorkerTypeHybridVTwo WorkerType = "HybridV2" )
func (*WorkerType) UnmarshalJSON ¶
func (s *WorkerType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_hybridrunbookworker.go
- id_hybridrunbookworkergroup.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyhybridrunbookworkergroup.go
- method_move.go
- model_hybridrunbookworker.go
- model_hybridrunbookworkercreateorupdateparameters.go
- model_hybridrunbookworkercreateparameters.go
- model_hybridrunbookworkermoveparameters.go
- model_hybridrunbookworkerproperties.go
- predicates.go
- version.go