1package automationapi 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20import ( 21 "context" 22 "github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation" 23 "github.com/Azure/go-autorest/autorest" 24 "github.com/satori/go.uuid" 25 "io" 26) 27 28// AccountClientAPI contains the set of methods on the AccountClient type. 29type AccountClientAPI interface { 30 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, parameters automation.AccountCreateOrUpdateParameters) (result automation.Account, err error) 31 Delete(ctx context.Context, resourceGroupName string, automationAccountName string) (result autorest.Response, err error) 32 Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.Account, err error) 33 List(ctx context.Context) (result automation.AccountListResultPage, err error) 34 ListByResourceGroup(ctx context.Context, resourceGroupName string) (result automation.AccountListResultPage, err error) 35 Update(ctx context.Context, resourceGroupName string, automationAccountName string, parameters automation.AccountUpdateParameters) (result automation.Account, err error) 36} 37 38var _ AccountClientAPI = (*automation.AccountClient)(nil) 39 40// OperationsClientAPI contains the set of methods on the OperationsClient type. 41type OperationsClientAPI interface { 42 List(ctx context.Context) (result automation.OperationListResult, err error) 43} 44 45var _ OperationsClientAPI = (*automation.OperationsClient)(nil) 46 47// StatisticsClientAPI contains the set of methods on the StatisticsClient type. 48type StatisticsClientAPI interface { 49 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.StatisticsListResult, err error) 50} 51 52var _ StatisticsClientAPI = (*automation.StatisticsClient)(nil) 53 54// UsagesClientAPI contains the set of methods on the UsagesClient type. 55type UsagesClientAPI interface { 56 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.UsageListResult, err error) 57} 58 59var _ UsagesClientAPI = (*automation.UsagesClient)(nil) 60 61// KeysClientAPI contains the set of methods on the KeysClient type. 62type KeysClientAPI interface { 63 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.KeyListResult, err error) 64} 65 66var _ KeysClientAPI = (*automation.KeysClient)(nil) 67 68// CertificateClientAPI contains the set of methods on the CertificateClient type. 69type CertificateClientAPI interface { 70 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters automation.CertificateCreateOrUpdateParameters) (result automation.Certificate, err error) 71 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string) (result autorest.Response, err error) 72 Get(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string) (result automation.Certificate, err error) 73 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.CertificateListResultPage, err error) 74 Update(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters automation.CertificateUpdateParameters) (result automation.Certificate, err error) 75} 76 77var _ CertificateClientAPI = (*automation.CertificateClient)(nil) 78 79// ConnectionClientAPI contains the set of methods on the ConnectionClient type. 80type ConnectionClientAPI interface { 81 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters automation.ConnectionCreateOrUpdateParameters) (result automation.Connection, err error) 82 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string) (result automation.Connection, err error) 83 Get(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string) (result automation.Connection, err error) 84 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.ConnectionListResultPage, err error) 85 Update(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters automation.ConnectionUpdateParameters) (result automation.Connection, err error) 86} 87 88var _ ConnectionClientAPI = (*automation.ConnectionClient)(nil) 89 90// ConnectionTypeClientAPI contains the set of methods on the ConnectionTypeClient type. 91type ConnectionTypeClientAPI interface { 92 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string, parameters automation.ConnectionTypeCreateOrUpdateParameters) (result automation.ConnectionType, err error) 93 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string) (result autorest.Response, err error) 94 Get(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string) (result automation.ConnectionType, err error) 95 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.ConnectionTypeListResultPage, err error) 96} 97 98var _ ConnectionTypeClientAPI = (*automation.ConnectionTypeClient)(nil) 99 100// CredentialClientAPI contains the set of methods on the CredentialClient type. 101type CredentialClientAPI interface { 102 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters automation.CredentialCreateOrUpdateParameters) (result automation.Credential, err error) 103 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string) (result autorest.Response, err error) 104 Get(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string) (result automation.Credential, err error) 105 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.CredentialListResultPage, err error) 106 Update(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters automation.CredentialUpdateParameters) (result automation.Credential, err error) 107} 108 109var _ CredentialClientAPI = (*automation.CredentialClient)(nil) 110 111// DscCompilationJobClientAPI contains the set of methods on the DscCompilationJobClient type. 112type DscCompilationJobClientAPI interface { 113 Create(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID, parameters automation.DscCompilationJobCreateParameters) (result automation.DscCompilationJob, err error) 114 Get(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID) (result automation.DscCompilationJob, err error) 115 GetStream(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID, jobStreamID string) (result automation.JobStream, err error) 116 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.DscCompilationJobListResultPage, err error) 117} 118 119var _ DscCompilationJobClientAPI = (*automation.DscCompilationJobClient)(nil) 120 121// DscCompilationJobStreamClientAPI contains the set of methods on the DscCompilationJobStreamClient type. 122type DscCompilationJobStreamClientAPI interface { 123 ListByJob(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result automation.JobStreamListResult, err error) 124} 125 126var _ DscCompilationJobStreamClientAPI = (*automation.DscCompilationJobStreamClient)(nil) 127 128// DscConfigurationClientAPI contains the set of methods on the DscConfigurationClient type. 129type DscConfigurationClientAPI interface { 130 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters automation.DscConfigurationCreateOrUpdateParameters) (result automation.DscConfiguration, err error) 131 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (result autorest.Response, err error) 132 Get(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (result automation.DscConfiguration, err error) 133 GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (result automation.ReadCloser, err error) 134 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string, skip *int32, top *int32, inlinecount string) (result automation.DscConfigurationListResultPage, err error) 135 Update(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters *automation.DscConfigurationUpdateParameters) (result automation.DscConfiguration, err error) 136} 137 138var _ DscConfigurationClientAPI = (*automation.DscConfigurationClient)(nil) 139 140// AgentRegistrationInformationClientAPI contains the set of methods on the AgentRegistrationInformationClient type. 141type AgentRegistrationInformationClientAPI interface { 142 Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.AgentRegistration, err error) 143 RegenerateKey(ctx context.Context, resourceGroupName string, automationAccountName string, parameters automation.AgentRegistrationRegenerateKeyParameter) (result automation.AgentRegistration, err error) 144} 145 146var _ AgentRegistrationInformationClientAPI = (*automation.AgentRegistrationInformationClient)(nil) 147 148// DscNodeClientAPI contains the set of methods on the DscNodeClient type. 149type DscNodeClientAPI interface { 150 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string) (result automation.DscNode, err error) 151 Get(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string) (result automation.DscNode, err error) 152 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.DscNodeListResultPage, err error) 153 Update(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, parameters automation.DscNodeUpdateParameters) (result automation.DscNode, err error) 154} 155 156var _ DscNodeClientAPI = (*automation.DscNodeClient)(nil) 157 158// NodeReportsClientAPI contains the set of methods on the NodeReportsClient type. 159type NodeReportsClientAPI interface { 160 Get(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (result automation.DscNodeReport, err error) 161 GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (result automation.SetObject, err error) 162 ListByNode(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, filter string) (result automation.DscNodeReportListResultPage, err error) 163} 164 165var _ NodeReportsClientAPI = (*automation.NodeReportsClient)(nil) 166 167// DscNodeConfigurationClientAPI contains the set of methods on the DscNodeConfigurationClient type. 168type DscNodeConfigurationClientAPI interface { 169 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string, parameters automation.DscNodeConfigurationCreateOrUpdateParameters) (result automation.DscNodeConfiguration, err error) 170 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string) (result autorest.Response, err error) 171 Get(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string) (result automation.DscNodeConfiguration, err error) 172 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.DscNodeConfigurationListResultPage, err error) 173} 174 175var _ DscNodeConfigurationClientAPI = (*automation.DscNodeConfigurationClient)(nil) 176 177// HybridRunbookWorkerGroupClientAPI contains the set of methods on the HybridRunbookWorkerGroupClient type. 178type HybridRunbookWorkerGroupClientAPI interface { 179 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string) (result autorest.Response, err error) 180 Get(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string) (result automation.HybridRunbookWorkerGroup, err error) 181 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.HybridRunbookWorkerGroupsListResultPage, err error) 182 Update(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string, parameters automation.HybridRunbookWorkerGroupUpdateParameters) (result automation.HybridRunbookWorkerGroup, err error) 183} 184 185var _ HybridRunbookWorkerGroupClientAPI = (*automation.HybridRunbookWorkerGroupClient)(nil) 186 187// JobClientAPI contains the set of methods on the JobClient type. 188type JobClientAPI interface { 189 Create(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID, parameters automation.JobCreateParameters) (result automation.Job, err error) 190 Get(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result automation.Job, err error) 191 GetOutput(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string) (result automation.ReadCloser, err error) 192 GetRunbookContent(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string) (result automation.ReadCloser, err error) 193 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.JobListResultPage, err error) 194 Resume(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error) 195 Stop(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error) 196 Suspend(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error) 197} 198 199var _ JobClientAPI = (*automation.JobClient)(nil) 200 201// JobStreamClientAPI contains the set of methods on the JobStreamClient type. 202type JobStreamClientAPI interface { 203 Get(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string, jobStreamID string) (result automation.JobStream, err error) 204 ListByJob(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string, filter string) (result automation.JobStreamListResultPage, err error) 205} 206 207var _ JobStreamClientAPI = (*automation.JobStreamClient)(nil) 208 209// JobScheduleClientAPI contains the set of methods on the JobScheduleClient type. 210type JobScheduleClientAPI interface { 211 Create(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID, parameters automation.JobScheduleCreateParameters) (result automation.JobSchedule, err error) 212 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (result autorest.Response, err error) 213 Get(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (result automation.JobSchedule, err error) 214 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.JobScheduleListResultPage, err error) 215} 216 217var _ JobScheduleClientAPI = (*automation.JobScheduleClient)(nil) 218 219// LinkedWorkspaceClientAPI contains the set of methods on the LinkedWorkspaceClient type. 220type LinkedWorkspaceClientAPI interface { 221 Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.LinkedWorkspace, err error) 222} 223 224var _ LinkedWorkspaceClientAPI = (*automation.LinkedWorkspaceClient)(nil) 225 226// ActivityClientAPI contains the set of methods on the ActivityClient type. 227type ActivityClientAPI interface { 228 Get(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, activityName string) (result automation.Activity, err error) 229 ListByModule(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (result automation.ActivityListResultPage, err error) 230} 231 232var _ ActivityClientAPI = (*automation.ActivityClient)(nil) 233 234// ModuleClientAPI contains the set of methods on the ModuleClient type. 235type ModuleClientAPI interface { 236 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters automation.ModuleCreateOrUpdateParameters) (result automation.Module, err error) 237 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (result autorest.Response, err error) 238 Get(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (result automation.Module, err error) 239 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.ModuleListResultPage, err error) 240 Update(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters automation.ModuleUpdateParameters) (result automation.Module, err error) 241} 242 243var _ ModuleClientAPI = (*automation.ModuleClient)(nil) 244 245// ObjectDataTypesClientAPI contains the set of methods on the ObjectDataTypesClient type. 246type ObjectDataTypesClientAPI interface { 247 ListFieldsByModuleAndType(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, typeName string) (result automation.TypeFieldListResult, err error) 248 ListFieldsByType(ctx context.Context, resourceGroupName string, automationAccountName string, typeName string) (result automation.TypeFieldListResult, err error) 249} 250 251var _ ObjectDataTypesClientAPI = (*automation.ObjectDataTypesClient)(nil) 252 253// FieldsClientAPI contains the set of methods on the FieldsClient type. 254type FieldsClientAPI interface { 255 ListByType(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, typeName string) (result automation.TypeFieldListResult, err error) 256} 257 258var _ FieldsClientAPI = (*automation.FieldsClient)(nil) 259 260// RunbookDraftClientAPI contains the set of methods on the RunbookDraftClient type. 261type RunbookDraftClientAPI interface { 262 Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result automation.RunbookDraft, err error) 263 GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result automation.ReadCloser, err error) 264 Publish(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result automation.RunbookDraftPublishFuture, err error) 265 ReplaceContent(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, runbookContent io.ReadCloser) (result automation.RunbookDraftReplaceContentFuture, err error) 266 UndoEdit(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result automation.RunbookDraftUndoEditResult, err error) 267} 268 269var _ RunbookDraftClientAPI = (*automation.RunbookDraftClient)(nil) 270 271// RunbookClientAPI contains the set of methods on the RunbookClient type. 272type RunbookClientAPI interface { 273 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters automation.RunbookCreateOrUpdateParameters) (result automation.Runbook, err error) 274 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error) 275 Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result automation.Runbook, err error) 276 GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result automation.ReadCloser, err error) 277 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.RunbookListResultPage, err error) 278 Update(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters automation.RunbookUpdateParameters) (result automation.Runbook, err error) 279} 280 281var _ RunbookClientAPI = (*automation.RunbookClient)(nil) 282 283// TestJobStreamsClientAPI contains the set of methods on the TestJobStreamsClient type. 284type TestJobStreamsClientAPI interface { 285 Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, jobStreamID string) (result automation.JobStream, err error) 286 ListByTestJob(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, filter string) (result automation.JobStreamListResultPage, err error) 287} 288 289var _ TestJobStreamsClientAPI = (*automation.TestJobStreamsClient)(nil) 290 291// TestJobClientAPI contains the set of methods on the TestJobClient type. 292type TestJobClientAPI interface { 293 Create(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters automation.TestJobCreateParameters) (result automation.TestJob, err error) 294 Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result automation.TestJob, err error) 295 Resume(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error) 296 Stop(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error) 297 Suspend(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error) 298} 299 300var _ TestJobClientAPI = (*automation.TestJobClient)(nil) 301 302// ScheduleClientAPI contains the set of methods on the ScheduleClient type. 303type ScheduleClientAPI interface { 304 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters automation.ScheduleCreateOrUpdateParameters) (result automation.Schedule, err error) 305 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string) (result autorest.Response, err error) 306 Get(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string) (result automation.Schedule, err error) 307 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.ScheduleListResultPage, err error) 308 Update(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters automation.ScheduleUpdateParameters) (result automation.Schedule, err error) 309} 310 311var _ ScheduleClientAPI = (*automation.ScheduleClient)(nil) 312 313// VariableClientAPI contains the set of methods on the VariableClient type. 314type VariableClientAPI interface { 315 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters automation.VariableCreateOrUpdateParameters) (result automation.Variable, err error) 316 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string) (result autorest.Response, err error) 317 Get(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string) (result automation.Variable, err error) 318 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.VariableListResultPage, err error) 319 Update(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters automation.VariableUpdateParameters) (result automation.Variable, err error) 320} 321 322var _ VariableClientAPI = (*automation.VariableClient)(nil) 323 324// WebhookClientAPI contains the set of methods on the WebhookClient type. 325type WebhookClientAPI interface { 326 CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters automation.WebhookCreateOrUpdateParameters) (result automation.Webhook, err error) 327 Delete(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string) (result autorest.Response, err error) 328 GenerateURI(ctx context.Context, resourceGroupName string, automationAccountName string) (result automation.String, err error) 329 Get(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string) (result automation.Webhook, err error) 330 ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result automation.WebhookListResultPage, err error) 331 Update(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters automation.WebhookUpdateParameters) (result automation.Webhook, err error) 332} 333 334var _ WebhookClientAPI = (*automation.WebhookClient)(nil) 335