Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWatcherID(input interface{}, key string) (warnings []string, errors []error) + type AutomationAccountId struct + AutomationAccountName string + ResourceGroupName string + SubscriptionId string + func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId + func ParseAutomationAccountID(input string) (*AutomationAccountId, error) + func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error) + func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error + func (id AutomationAccountId) ID() string + func (id AutomationAccountId) Segments() []resourceids.Segment + func (id AutomationAccountId) String() string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Watcher + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *Watcher + OData *odata.OData + type ListByAutomationAccountCompleteResult struct + Items []Watcher + LatestHttpResponse *http.Response + type ListByAutomationAccountCustomPager struct + NextLink *odata.Link + func (p *ListByAutomationAccountCustomPager) NextPageLink() *odata.Link + type ListByAutomationAccountOperationOptions struct + Filter *string + func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions + func (o ListByAutomationAccountOperationOptions) ToHeaders() *client.Headers + func (o ListByAutomationAccountOperationOptions) ToOData() *odata.Query + func (o ListByAutomationAccountOperationOptions) ToQuery() *client.QueryParams + type ListByAutomationAccountOperationResponse struct + HttpResponse *http.Response + Model *[]Watcher + OData *odata.OData + type StartOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type StopOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Watcher + OData *odata.OData + type Watcher struct + Etag *string + Id *string + Location *string + Name *string + Properties *WatcherProperties + Tags *map[string]string + Type *string + type WatcherClient struct + Client *resourcemanager.Client + func NewWatcherClientWithBaseURI(sdkApi sdkEnv.Api) (*WatcherClient, error) + func (c WatcherClient) CreateOrUpdate(ctx context.Context, id WatcherId, input Watcher) (result CreateOrUpdateOperationResponse, err error) + func (c WatcherClient) Delete(ctx context.Context, id WatcherId) (result DeleteOperationResponse, err error) + func (c WatcherClient) Get(ctx context.Context, id WatcherId) (result GetOperationResponse, err error) + func (c WatcherClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountOperationResponse, err error) + func (c WatcherClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error) + func (c WatcherClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error) + func (c WatcherClient) Start(ctx context.Context, id WatcherId) (result StartOperationResponse, err error) + func (c WatcherClient) Stop(ctx context.Context, id WatcherId) (result StopOperationResponse, err error) + func (c WatcherClient) Update(ctx context.Context, id WatcherId, input WatcherUpdateParameters) (result UpdateOperationResponse, err error) + type WatcherId struct + AutomationAccountName string + ResourceGroupName string + SubscriptionId string + WatcherName string + func NewWatcherID(subscriptionId string, resourceGroupName string, automationAccountName string, ...) WatcherId + func ParseWatcherID(input string) (*WatcherId, error) + func ParseWatcherIDInsensitively(input string) (*WatcherId, error) + func (id *WatcherId) FromParseResult(input resourceids.ParseResult) error + func (id WatcherId) ID() string + func (id WatcherId) Segments() []resourceids.Segment + func (id WatcherId) String() string + type WatcherOperationPredicate struct + Etag *string + Id *string + Location *string + Name *string + Type *string + func (p WatcherOperationPredicate) Matches(input Watcher) bool + type WatcherProperties struct + CreationTime *string + Description *string + ExecutionFrequencyInSeconds *int64 + LastModifiedBy *string + LastModifiedTime *string + ScriptName *string + ScriptParameters *map[string]string + ScriptRunOn *string + Status *string + func (o *WatcherProperties) GetCreationTimeAsTime() (*time.Time, error) + func (o *WatcherProperties) GetLastModifiedTimeAsTime() (*time.Time, error) + func (o *WatcherProperties) SetCreationTimeAsTime(input time.Time) + func (o *WatcherProperties) SetLastModifiedTimeAsTime(input time.Time) + type WatcherUpdateParameters struct + Name *string + Properties *WatcherUpdateProperties + type WatcherUpdateProperties struct + ExecutionFrequencyInSeconds *int64