Documentation ¶
Index ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWebHookID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GenerateUriOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountCustomPager
- type ListByAutomationAccountOperationOptions
- type ListByAutomationAccountOperationResponse
- type RunbookAssociationProperty
- type UpdateOperationResponse
- type WebHookId
- type Webhook
- type WebhookClient
- func (c WebhookClient) CreateOrUpdate(ctx context.Context, id WebHookId, input WebhookCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c WebhookClient) Delete(ctx context.Context, id WebHookId) (result DeleteOperationResponse, err error)
- func (c WebhookClient) GenerateUri(ctx context.Context, id AutomationAccountId) (result GenerateUriOperationResponse, err error)
- func (c WebhookClient) Get(ctx context.Context, id WebHookId) (result GetOperationResponse, err error)
- func (c WebhookClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountOperationResponse, err error)
- func (c WebhookClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error)
- func (c WebhookClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c WebhookClient) Update(ctx context.Context, id WebHookId, input WebhookUpdateParameters) (result UpdateOperationResponse, err error)
- type WebhookCreateOrUpdateParameters
- type WebhookCreateOrUpdateProperties
- type WebhookOperationPredicate
- type WebhookProperties
- func (o *WebhookProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *WebhookProperties) GetExpiryTimeAsTime() (*time.Time, error)
- func (o *WebhookProperties) GetLastInvokedTimeAsTime() (*time.Time, error)
- func (o *WebhookProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *WebhookProperties) SetCreationTimeAsTime(input time.Time)
- func (o *WebhookProperties) SetExpiryTimeAsTime(input time.Time)
- func (o *WebhookProperties) SetLastInvokedTimeAsTime(input time.Time)
- func (o *WebhookProperties) SetLastModifiedTimeAsTime(input time.Time)
- type WebhookUpdateParameters
- type WebhookUpdateProperties
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 ValidateWebHookID ¶
ValidateWebHookID checks that 'input' can be parsed as a Web Hook 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 GetOperationResponse ¶
type ListByAutomationAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByAutomationAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByAutomationAccountCustomPager) NextPageLink() *odata.Link
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct {
Filter *string
}
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
func (ListByAutomationAccountOperationOptions) ToHeaders ¶ added in v0.20240209.1164150
func (o ListByAutomationAccountOperationOptions) ToHeaders() *client.Headers
func (ListByAutomationAccountOperationOptions) ToOData ¶ added in v0.20240209.1164150
func (o ListByAutomationAccountOperationOptions) ToOData() *odata.Query
func (ListByAutomationAccountOperationOptions) ToQuery ¶ added in v0.20240209.1164150
func (o ListByAutomationAccountOperationOptions) ToQuery() *client.QueryParams
type RunbookAssociationProperty ¶
type RunbookAssociationProperty struct {
Name *string `json:"name,omitempty"`
}
type UpdateOperationResponse ¶
type WebHookId ¶
type WebHookId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string WebHookName string }
WebHookId is a struct representing the Resource ID for a Web Hook
func NewWebHookID ¶
func NewWebHookID(subscriptionId string, resourceGroupName string, automationAccountName string, webHookName string) WebHookId
NewWebHookID returns a new WebHookId struct
func ParseWebHookID ¶
ParseWebHookID parses 'input' into a WebHookId
func ParseWebHookIDInsensitively ¶
ParseWebHookIDInsensitively parses 'input' case-insensitively into a WebHookId note: this method should only be used for API response data and not user input
func (*WebHookId) FromParseResult ¶
func (id *WebHookId) FromParseResult(input resourceids.ParseResult) error
func (WebHookId) Segments ¶
func (id WebHookId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Web Hook ID
type Webhook ¶
type Webhook struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WebhookProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type WebhookClient ¶
type WebhookClient struct {
Client *resourcemanager.Client
}
func NewWebhookClientWithBaseURI ¶
func NewWebhookClientWithBaseURI(sdkApi sdkEnv.Api) (*WebhookClient, error)
func (WebhookClient) CreateOrUpdate ¶
func (c WebhookClient) CreateOrUpdate(ctx context.Context, id WebHookId, input WebhookCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (WebhookClient) Delete ¶
func (c WebhookClient) Delete(ctx context.Context, id WebHookId) (result DeleteOperationResponse, err error)
Delete ...
func (WebhookClient) GenerateUri ¶
func (c WebhookClient) GenerateUri(ctx context.Context, id AutomationAccountId) (result GenerateUriOperationResponse, err error)
GenerateUri ...
func (WebhookClient) Get ¶
func (c WebhookClient) Get(ctx context.Context, id WebHookId) (result GetOperationResponse, err error)
Get ...
func (WebhookClient) ListByAutomationAccount ¶
func (c WebhookClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (WebhookClient) ListByAutomationAccountComplete ¶
func (c WebhookClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (WebhookClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c WebhookClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions, predicate WebhookOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WebhookClient) Update ¶
func (c WebhookClient) Update(ctx context.Context, id WebHookId, input WebhookUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type WebhookCreateOrUpdateParameters ¶
type WebhookCreateOrUpdateParameters struct { Name string `json:"name"` Properties WebhookCreateOrUpdateProperties `json:"properties"` }
type WebhookCreateOrUpdateProperties ¶
type WebhookCreateOrUpdateProperties struct { ExpiryTime *string `json:"expiryTime,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` RunOn *string `json:"runOn,omitempty"` Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` Uri *string `json:"uri,omitempty"` }
func (*WebhookCreateOrUpdateProperties) GetExpiryTimeAsTime ¶
func (o *WebhookCreateOrUpdateProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (*WebhookCreateOrUpdateProperties) SetExpiryTimeAsTime ¶
func (o *WebhookCreateOrUpdateProperties) SetExpiryTimeAsTime(input time.Time)
type WebhookOperationPredicate ¶
func (WebhookOperationPredicate) Matches ¶
func (p WebhookOperationPredicate) Matches(input Webhook) bool
type WebhookProperties ¶
type WebhookProperties struct { CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` LastInvokedTime *string `json:"lastInvokedTime,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` RunOn *string `json:"runOn,omitempty"` Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` Uri *string `json:"uri,omitempty"` }
func (*WebhookProperties) GetCreationTimeAsTime ¶
func (o *WebhookProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*WebhookProperties) GetExpiryTimeAsTime ¶
func (o *WebhookProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (*WebhookProperties) GetLastInvokedTimeAsTime ¶
func (o *WebhookProperties) GetLastInvokedTimeAsTime() (*time.Time, error)
func (*WebhookProperties) GetLastModifiedTimeAsTime ¶
func (o *WebhookProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*WebhookProperties) SetCreationTimeAsTime ¶
func (o *WebhookProperties) SetCreationTimeAsTime(input time.Time)
func (*WebhookProperties) SetExpiryTimeAsTime ¶
func (o *WebhookProperties) SetExpiryTimeAsTime(input time.Time)
func (*WebhookProperties) SetLastInvokedTimeAsTime ¶
func (o *WebhookProperties) SetLastInvokedTimeAsTime(input time.Time)
func (*WebhookProperties) SetLastModifiedTimeAsTime ¶
func (o *WebhookProperties) SetLastModifiedTimeAsTime(input time.Time)
type WebhookUpdateParameters ¶
type WebhookUpdateParameters struct { Name *string `json:"name,omitempty"` Properties *WebhookUpdateProperties `json:"properties,omitempty"` }
Source Files ¶
- client.go
- id_automationaccount.go
- id_webhook.go
- method_createorupdate.go
- method_delete.go
- method_generateuri.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_runbookassociationproperty.go
- model_webhook.go
- model_webhookcreateorupdateparameters.go
- model_webhookcreateorupdateproperties.go
- model_webhookproperties.go
- model_webhookupdateparameters.go
- model_webhookupdateproperties.go
- predicates.go
- version.go