Documentation ¶
Index ¶
- func PossibleValuesForModuleProvisioningState() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateModuleID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type ContentHash
- type ContentLink
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationResponse
- type Module
- type ModuleClient
- func (c ModuleClient) CreateOrUpdate(ctx context.Context, id ModuleId, input ModuleCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c ModuleClient) Delete(ctx context.Context, id ModuleId) (result DeleteOperationResponse, err error)
- func (c ModuleClient) Get(ctx context.Context, id ModuleId) (result GetOperationResponse, err error)
- func (c ModuleClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (resp ListByAutomationAccountOperationResponse, err error)
- func (c ModuleClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
- func (c ModuleClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (resp ListByAutomationAccountCompleteResult, err error)
- func (c ModuleClient) Update(ctx context.Context, id ModuleId, input ModuleUpdateParameters) (result UpdateOperationResponse, err error)
- type ModuleCreateOrUpdateParameters
- type ModuleCreateOrUpdateProperties
- type ModuleErrorInfo
- type ModuleId
- type ModuleOperationPredicate
- type ModuleProperties
- type ModuleProvisioningState
- type ModuleUpdateParameters
- type ModuleUpdateProperties
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForModuleProvisioningState ¶
func PossibleValuesForModuleProvisioningState() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateModuleID ¶
ValidateModuleID checks that 'input' can be parsed as a Module 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) 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 ContentHash ¶
type ContentLink ¶
type ContentLink struct { ContentHash *ContentHash `json:"contentHash"` Uri *string `json:"uri,omitempty"` Version *string `json:"version,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []Module
}
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response Model *[]Module // 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 Module ¶
type Module struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ModuleProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ModuleClient ¶
func NewModuleClientWithBaseURI ¶
func NewModuleClientWithBaseURI(endpoint string) ModuleClient
func (ModuleClient) CreateOrUpdate ¶
func (c ModuleClient) CreateOrUpdate(ctx context.Context, id ModuleId, input ModuleCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ModuleClient) Delete ¶
func (c ModuleClient) Delete(ctx context.Context, id ModuleId) (result DeleteOperationResponse, err error)
Delete ...
func (ModuleClient) Get ¶
func (c ModuleClient) Get(ctx context.Context, id ModuleId) (result GetOperationResponse, err error)
Get ...
func (ModuleClient) ListByAutomationAccount ¶
func (c ModuleClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (resp ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (ModuleClient) ListByAutomationAccountComplete ¶
func (c ModuleClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all of the results into a single object
func (ModuleClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c ModuleClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, predicate ModuleOperationPredicate) (resp ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ModuleClient) Update ¶
func (c ModuleClient) Update(ctx context.Context, id ModuleId, input ModuleUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type ModuleCreateOrUpdateParameters ¶
type ModuleCreateOrUpdateParameters struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ModuleCreateOrUpdateProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type ModuleCreateOrUpdateProperties ¶
type ModuleCreateOrUpdateProperties struct {
ContentLink ContentLink `json:"contentLink"`
}
type ModuleErrorInfo ¶
type ModuleId ¶
type ModuleId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string ModuleName string }
ModuleId is a struct representing the Resource ID for a Module
func NewModuleID ¶
func NewModuleID(subscriptionId string, resourceGroupName string, automationAccountName string, moduleName string) ModuleId
NewModuleID returns a new ModuleId struct
func ParseModuleID ¶
ParseModuleID parses 'input' into a ModuleId
func ParseModuleIDInsensitively ¶
ParseModuleIDInsensitively parses 'input' case-insensitively into a ModuleId note: this method should only be used for API response data and not user input
func (ModuleId) Segments ¶
func (id ModuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Module ID
type ModuleOperationPredicate ¶
type ModuleOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (ModuleOperationPredicate) Matches ¶
func (p ModuleOperationPredicate) Matches(input Module) bool
type ModuleProperties ¶
type ModuleProperties struct { ActivityCount *int64 `json:"activityCount,omitempty"` ContentLink *ContentLink `json:"contentLink"` CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` Error *ModuleErrorInfo `json:"error"` IsComposite *bool `json:"isComposite,omitempty"` IsGlobal *bool `json:"isGlobal,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` ProvisioningState *ModuleProvisioningState `json:"provisioningState,omitempty"` SizeInBytes *int64 `json:"sizeInBytes,omitempty"` Version *string `json:"version,omitempty"` }
func (*ModuleProperties) GetCreationTimeAsTime ¶
func (o *ModuleProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ModuleProperties) GetLastModifiedTimeAsTime ¶
func (o *ModuleProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*ModuleProperties) SetCreationTimeAsTime ¶
func (o *ModuleProperties) SetCreationTimeAsTime(input time.Time)
func (*ModuleProperties) SetLastModifiedTimeAsTime ¶
func (o *ModuleProperties) SetLastModifiedTimeAsTime(input time.Time)
type ModuleProvisioningState ¶
type ModuleProvisioningState string
const ( ModuleProvisioningStateActivitiesStored ModuleProvisioningState = "ActivitiesStored" ModuleProvisioningStateCancelled ModuleProvisioningState = "Cancelled" ModuleProvisioningStateConnectionTypeImported ModuleProvisioningState = "ConnectionTypeImported" ModuleProvisioningStateContentDownloaded ModuleProvisioningState = "ContentDownloaded" ModuleProvisioningStateContentRetrieved ModuleProvisioningState = "ContentRetrieved" ModuleProvisioningStateContentStored ModuleProvisioningState = "ContentStored" ModuleProvisioningStateContentValidated ModuleProvisioningState = "ContentValidated" ModuleProvisioningStateCreated ModuleProvisioningState = "Created" ModuleProvisioningStateCreating ModuleProvisioningState = "Creating" ModuleProvisioningStateFailed ModuleProvisioningState = "Failed" ModuleProvisioningStateModuleDataStored ModuleProvisioningState = "ModuleDataStored" ModuleProvisioningStateModuleImportRunbookComplete ModuleProvisioningState = "ModuleImportRunbookComplete" ModuleProvisioningStateRunningImportModuleRunbook ModuleProvisioningState = "RunningImportModuleRunbook" ModuleProvisioningStateStartingImportModuleRunbook ModuleProvisioningState = "StartingImportModuleRunbook" ModuleProvisioningStateSucceeded ModuleProvisioningState = "Succeeded" ModuleProvisioningStateUpdating ModuleProvisioningState = "Updating" )
type ModuleUpdateParameters ¶
type ModuleUpdateParameters struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ModuleUpdateProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type ModuleUpdateProperties ¶
type ModuleUpdateProperties struct {
ContentLink *ContentLink `json:"contentLink"`
}
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- id_module.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyautomationaccount_autorest.go
- method_update_autorest.go
- model_contenthash.go
- model_contentlink.go
- model_module.go
- model_modulecreateorupdateparameters.go
- model_modulecreateorupdateproperties.go
- model_moduleerrorinfo.go
- model_moduleproperties.go
- model_moduleupdateparameters.go
- model_moduleupdateproperties.go
- predicates.go
- version.go