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, ...) (result ListByAutomationAccountOperationResponse, err error)
- func (c DscNodeClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error)
- func (c DscNodeClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result 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 DscNodeUpdateParameters
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountCustomPager
- 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 { AccountId *string `json:"accountId,omitempty"` Etag *string `json:"etag,omitempty"` ExtensionHandler *[]DscNodeExtensionHandlerAssociationProperty `json:"extensionHandler,omitempty"` IP *string `json:"ip,omitempty"` Id *string `json:"id,omitempty"` LastSeen *string `json:"lastSeen,omitempty"` Name *string `json:"name,omitempty"` NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"` NodeId *string `json:"nodeId,omitempty"` RegistrationTime *string `json:"registrationTime,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
func (*DscNode) GetRegistrationTimeAsTime ¶
func (*DscNode) SetLastSeenAsTime ¶
func (*DscNode) SetRegistrationTimeAsTime ¶
type DscNodeClient ¶
type DscNodeClient struct {
Client *resourcemanager.Client
}
func NewDscNodeClientWithBaseURI ¶
func NewDscNodeClientWithBaseURI(sdkApi sdkEnv.Api) (*DscNodeClient, error)
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) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (DscNodeClient) ListByAutomationAccountComplete ¶
func (c DscNodeClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (DscNodeClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c DscNodeClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions, predicate DscNodeOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies 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 ¶
type DscNodeOperationPredicate struct { AccountId *string Etag *string IP *string Id *string LastSeen *string Name *string NodeId *string RegistrationTime *string Status *string Type *string }
func (DscNodeOperationPredicate) Matches ¶
func (p DscNodeOperationPredicate) Matches(input DscNode) bool
type DscNodeUpdateParameters ¶
type DscNodeUpdateParameters struct { NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"` NodeId *string `json:"nodeId,omitempty"` }
type GetOperationResponse ¶
type ListByAutomationAccountCustomPager ¶
func (*ListByAutomationAccountCustomPager) NextPageLink ¶
func (p *ListByAutomationAccountCustomPager) NextPageLink() *odata.Link
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct {
Filter *string
}
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
func (ListByAutomationAccountOperationOptions) ToHeaders ¶
func (o ListByAutomationAccountOperationOptions) ToHeaders() *client.Headers
func (ListByAutomationAccountOperationOptions) ToOData ¶
func (o ListByAutomationAccountOperationOptions) ToOData() *odata.Query
func (ListByAutomationAccountOperationOptions) ToQuery ¶
func (o ListByAutomationAccountOperationOptions) ToQuery() *client.QueryParams
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
Source Files ¶
- client.go
- id_automationaccount.go
- id_node.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_dscnode.go
- model_dscnodeconfigurationassociationproperty.go
- model_dscnodeextensionhandlerassociationproperty.go
- model_dscnodeupdateparameters.go
- predicates.go
- version.go