Documentation ¶
Index ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNodeID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type DeleteOperationResponse
- type DscNode
- type DscNodeClient
- func (c DscNodeClient) Delete(ctx context.Context, id NodeId) (result DeleteOperationResponse, err error)
- func (c DscNodeClient) Get(ctx context.Context, id NodeId) (result GetOperationResponse, err error)
- func (c DscNodeClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, ...) (resp ListByAutomationAccountOperationResponse, err error)
- func (c DscNodeClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error)
- func (c DscNodeClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (resp ListByAutomationAccountCompleteResult, err error)
- func (c DscNodeClient) Update(ctx context.Context, id NodeId, input DscNodeUpdateParameters) (result UpdateOperationResponse, err error)
- type DscNodeConfigurationAssociationProperty
- type DscNodeExtensionHandlerAssociationProperty
- type DscNodeOperationPredicate
- type DscNodeProperties
- type DscNodeUpdateParameters
- type DscNodeUpdateParametersProperties
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationOptions
- type ListByAutomationAccountOperationResponse
- type NodeId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateNodeID ¶
ValidateNodeID checks that 'input' can be parsed as a Node ID
Types ¶
type AutomationAccountId ¶
type AutomationAccountId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string }
AutomationAccountId is a struct representing the Resource ID for a Automation Account
func NewAutomationAccountID ¶
func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId
NewAutomationAccountID returns a new AutomationAccountId struct
func ParseAutomationAccountID ¶
func ParseAutomationAccountID(input string) (*AutomationAccountId, error)
ParseAutomationAccountID parses 'input' into a AutomationAccountId
func ParseAutomationAccountIDInsensitively ¶
func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)
ParseAutomationAccountIDInsensitively parses 'input' case-insensitively into a AutomationAccountId note: this method should only be used for API response data and not user input
func (*AutomationAccountId) FromParseResult ¶
func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error
func (AutomationAccountId) ID ¶
func (id AutomationAccountId) ID() string
ID returns the formatted Automation Account ID
func (AutomationAccountId) Segments ¶
func (id AutomationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Account ID
func (AutomationAccountId) String ¶
func (id AutomationAccountId) String() string
String returns a human-readable description of this Automation Account ID
type DeleteOperationResponse ¶
type DscNode ¶
type DscNode struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DscNodeProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DscNodeClient ¶
func NewDscNodeClientWithBaseURI ¶
func NewDscNodeClientWithBaseURI(endpoint string) DscNodeClient
func (DscNodeClient) Delete ¶
func (c DscNodeClient) Delete(ctx context.Context, id NodeId) (result DeleteOperationResponse, err error)
Delete ...
func (DscNodeClient) Get ¶
func (c DscNodeClient) Get(ctx context.Context, id NodeId) (result GetOperationResponse, err error)
Get ...
func (DscNodeClient) ListByAutomationAccount ¶
func (c DscNodeClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (resp ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (DscNodeClient) ListByAutomationAccountComplete ¶
func (c DscNodeClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all of the results into a single object
func (DscNodeClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c DscNodeClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions, predicate DscNodeOperationPredicate) (resp ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DscNodeClient) Update ¶
func (c DscNodeClient) Update(ctx context.Context, id NodeId, input DscNodeUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type DscNodeConfigurationAssociationProperty ¶
type DscNodeConfigurationAssociationProperty struct {
Name *string `json:"name,omitempty"`
}
type DscNodeOperationPredicate ¶
func (DscNodeOperationPredicate) Matches ¶
func (p DscNodeOperationPredicate) Matches(input DscNode) bool
type DscNodeProperties ¶
type DscNodeProperties struct { AccountId *string `json:"accountId,omitempty"` Etag *string `json:"etag,omitempty"` ExtensionHandler *[]DscNodeExtensionHandlerAssociationProperty `json:"extensionHandler,omitempty"` IP *string `json:"ip,omitempty"` LastSeen *string `json:"lastSeen,omitempty"` NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"` NodeId *string `json:"nodeId,omitempty"` RegistrationTime *string `json:"registrationTime,omitempty"` Status *string `json:"status,omitempty"` TotalCount *int64 `json:"totalCount,omitempty"` }
func (*DscNodeProperties) GetLastSeenAsTime ¶
func (o *DscNodeProperties) GetLastSeenAsTime() (*time.Time, error)
func (*DscNodeProperties) GetRegistrationTimeAsTime ¶
func (o *DscNodeProperties) GetRegistrationTimeAsTime() (*time.Time, error)
func (*DscNodeProperties) SetLastSeenAsTime ¶
func (o *DscNodeProperties) SetLastSeenAsTime(input time.Time)
func (*DscNodeProperties) SetRegistrationTimeAsTime ¶
func (o *DscNodeProperties) SetRegistrationTimeAsTime(input time.Time)
type DscNodeUpdateParameters ¶
type DscNodeUpdateParameters struct { NodeId *string `json:"nodeId,omitempty"` Properties *DscNodeUpdateParametersProperties `json:"properties,omitempty"` }
type DscNodeUpdateParametersProperties ¶
type DscNodeUpdateParametersProperties struct {
NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"`
}
type GetOperationResponse ¶
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []DscNode
}
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct { Filter *string Inlinecount *string Skip *int64 Top *int64 }
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response Model *[]DscNode // contains filtered or unexported fields }
func (ListByAutomationAccountOperationResponse) HasMore ¶
func (r ListByAutomationAccountOperationResponse) HasMore() bool
func (ListByAutomationAccountOperationResponse) LoadMore ¶
func (r ListByAutomationAccountOperationResponse) LoadMore(ctx context.Context) (resp ListByAutomationAccountOperationResponse, err error)
type NodeId ¶
type NodeId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string NodeId string }
NodeId is a struct representing the Resource ID for a Node
func NewNodeID ¶
func NewNodeID(subscriptionId string, resourceGroupName string, automationAccountName string, nodeId string) NodeId
NewNodeID returns a new NodeId struct
func ParseNodeID ¶
ParseNodeID parses 'input' into a NodeId
func ParseNodeIDInsensitively ¶
ParseNodeIDInsensitively parses 'input' case-insensitively into a NodeId note: this method should only be used for API response data and not user input
func (*NodeId) FromParseResult ¶
func (id *NodeId) FromParseResult(input resourceids.ParseResult) error
func (NodeId) Segments ¶
func (id NodeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Node ID
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- id_automationaccount.go
- id_node.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyautomationaccount_autorest.go
- method_update_autorest.go
- model_dscnode.go
- model_dscnodeconfigurationassociationproperty.go
- model_dscnodeextensionhandlerassociationproperty.go
- model_dscnodeproperties.go
- model_dscnodeupdateparameters.go
- model_dscnodeupdateparametersproperties.go
- predicates.go
- version.go