Documentation ¶
Overview ¶
Package automation implements the Azure ARM Automation service API version 2015-10-31.
Automation Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Account
- type AccountClient
- func (client AccountClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Account, err error)
- func (client AccountClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client AccountClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)
- func (client AccountClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client AccountClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string) (result autorest.Response, err error)
- func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client AccountClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AccountClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result Account, err error)
- func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client AccountClient) GetResponder(resp *http.Response) (result Account, err error)
- func (client AccountClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AccountClient) List(ctx context.Context) (result AccountListResultPage, err error)
- func (client AccountClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResultPage, err error)
- func (client AccountClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AccountListResultIterator, err error)
- func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client AccountClient) ListByResourceGroupResponder(resp *http.Response) (result AccountListResult, err error)
- func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client AccountClient) ListComplete(ctx context.Context) (result AccountListResultIterator, err error)
- func (client AccountClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client AccountClient) ListResponder(resp *http.Response) (result AccountListResult, err error)
- func (client AccountClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AccountClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Account, err error)
- func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client AccountClient) UpdateResponder(resp *http.Response) (result Account, err error)
- func (client AccountClient) UpdateSender(req *http.Request) (*http.Response, error)
- type AccountCreateOrUpdateParameters
- type AccountCreateOrUpdateProperties
- type AccountListResult
- type AccountListResultIterator
- type AccountListResultPage
- type AccountProperties
- type AccountState
- type AccountUpdateParameters
- type AccountUpdateProperties
- type Activity
- type ActivityClient
- func (client ActivityClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Activity, err error)
- func (client ActivityClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ActivityClient) GetResponder(resp *http.Response) (result Activity, err error)
- func (client ActivityClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ActivityClient) ListByModule(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result ActivityListResultPage, err error)
- func (client ActivityClient) ListByModuleComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result ActivityListResultIterator, err error)
- func (client ActivityClient) ListByModulePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ActivityClient) ListByModuleResponder(resp *http.Response) (result ActivityListResult, err error)
- func (client ActivityClient) ListByModuleSender(req *http.Request) (*http.Response, error)
- type ActivityListResult
- type ActivityListResultIterator
- type ActivityListResultPage
- type ActivityOutputType
- type ActivityParameter
- type ActivityParameterSet
- type ActivityProperties
- type AdvancedSchedule
- type AdvancedScheduleMonthlyOccurrence
- type AgentRegistration
- type AgentRegistrationInformationClient
- func (client AgentRegistrationInformationClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result AgentRegistration, err error)
- func (client AgentRegistrationInformationClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client AgentRegistrationInformationClient) GetResponder(resp *http.Response) (result AgentRegistration, err error)
- func (client AgentRegistrationInformationClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AgentRegistrationInformationClient) RegenerateKey(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result AgentRegistration, err error)
- func (client AgentRegistrationInformationClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client AgentRegistrationInformationClient) RegenerateKeyResponder(resp *http.Response) (result AgentRegistration, err error)
- func (client AgentRegistrationInformationClient) RegenerateKeySender(req *http.Request) (*http.Response, error)
- type AgentRegistrationKeyName
- type AgentRegistrationKeys
- type AgentRegistrationRegenerateKeyParameter
- type BaseClient
- type Certificate
- type CertificateClient
- func (client CertificateClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Certificate, err error)
- func (client CertificateClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CertificateClient) CreateOrUpdateResponder(resp *http.Response) (result Certificate, err error)
- func (client CertificateClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client CertificateClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client CertificateClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CertificateClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client CertificateClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Certificate, err error)
- func (client CertificateClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CertificateClient) GetResponder(resp *http.Response) (result Certificate, err error)
- func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error)
- func (client CertificateClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result CertificateListResultPage, err error)
- func (client CertificateClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result CertificateListResultIterator, err error)
- func (client CertificateClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client CertificateClient) ListByAutomationAccountResponder(resp *http.Response) (result CertificateListResult, err error)
- func (client CertificateClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client CertificateClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Certificate, err error)
- func (client CertificateClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CertificateClient) UpdateResponder(resp *http.Response) (result Certificate, err error)
- func (client CertificateClient) UpdateSender(req *http.Request) (*http.Response, error)
- type CertificateCreateOrUpdateParameters
- type CertificateCreateOrUpdateProperties
- type CertificateListResult
- type CertificateListResultIterator
- type CertificateListResultPage
- type CertificateProperties
- type CertificateUpdateParameters
- type CertificateUpdateProperties
- type Connection
- type ConnectionClient
- func (client ConnectionClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Connection, err error)
- func (client ConnectionClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ConnectionClient) CreateOrUpdateResponder(resp *http.Response) (result Connection, err error)
- func (client ConnectionClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ConnectionClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Connection, err error)
- func (client ConnectionClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ConnectionClient) DeleteResponder(resp *http.Response) (result Connection, err error)
- func (client ConnectionClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ConnectionClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Connection, err error)
- func (client ConnectionClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ConnectionClient) GetResponder(resp *http.Response) (result Connection, err error)
- func (client ConnectionClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConnectionClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionListResultPage, err error)
- func (client ConnectionClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionListResultIterator, err error)
- func (client ConnectionClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client ConnectionClient) ListByAutomationAccountResponder(resp *http.Response) (result ConnectionListResult, err error)
- func (client ConnectionClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client ConnectionClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Connection, err error)
- func (client ConnectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ConnectionClient) UpdateResponder(resp *http.Response) (result Connection, err error)
- func (client ConnectionClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ConnectionCreateOrUpdateParameters
- type ConnectionCreateOrUpdateProperties
- type ConnectionListResult
- type ConnectionListResultIterator
- type ConnectionListResultPage
- type ConnectionProperties
- type ConnectionType
- type ConnectionTypeAssociationProperty
- type ConnectionTypeClient
- func (client ConnectionTypeClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result ConnectionType, err error)
- func (client ConnectionTypeClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ConnectionTypeClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectionType, err error)
- func (client ConnectionTypeClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ConnectionTypeClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client ConnectionTypeClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ConnectionTypeClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConnectionTypeClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ConnectionTypeClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result ConnectionType, err error)
- func (client ConnectionTypeClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ConnectionTypeClient) GetResponder(resp *http.Response) (result ConnectionType, err error)
- func (client ConnectionTypeClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConnectionTypeClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionTypeListResultPage, err error)
- func (client ConnectionTypeClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionTypeListResultIterator, err error)
- func (client ConnectionTypeClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client ConnectionTypeClient) ListByAutomationAccountResponder(resp *http.Response) (result ConnectionTypeListResult, err error)
- func (client ConnectionTypeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- type ConnectionTypeCreateOrUpdateParameters
- type ConnectionTypeCreateOrUpdateProperties
- type ConnectionTypeListResult
- type ConnectionTypeListResultIterator
- type ConnectionTypeListResultPage
- type ConnectionTypeProperties
- type ConnectionUpdateParameters
- type ConnectionUpdateProperties
- type ContentHash
- type ContentLink
- type ContentSource
- type ContentSourceType
- type Credential
- type CredentialClient
- func (client CredentialClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Credential, err error)
- func (client CredentialClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CredentialClient) CreateOrUpdateResponder(resp *http.Response) (result Credential, err error)
- func (client CredentialClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client CredentialClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client CredentialClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CredentialClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client CredentialClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client CredentialClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Credential, err error)
- func (client CredentialClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CredentialClient) GetResponder(resp *http.Response) (result Credential, err error)
- func (client CredentialClient) GetSender(req *http.Request) (*http.Response, error)
- func (client CredentialClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result CredentialListResultPage, err error)
- func (client CredentialClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result CredentialListResultIterator, err error)
- func (client CredentialClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client CredentialClient) ListByAutomationAccountResponder(resp *http.Response) (result CredentialListResult, err error)
- func (client CredentialClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client CredentialClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Credential, err error)
- func (client CredentialClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client CredentialClient) UpdateResponder(resp *http.Response) (result Credential, err error)
- func (client CredentialClient) UpdateSender(req *http.Request) (*http.Response, error)
- type CredentialCreateOrUpdateParameters
- type CredentialCreateOrUpdateProperties
- type CredentialListResult
- type CredentialListResultIterator
- type CredentialListResultPage
- type CredentialProperties
- type CredentialUpdateParameters
- type CredentialUpdateProperties
- type DscCompilationJob
- type DscCompilationJobClient
- func (client DscCompilationJobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscCompilationJob, err error)
- func (client DscCompilationJobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscCompilationJobClient) CreateResponder(resp *http.Response) (result DscCompilationJob, err error)
- func (client DscCompilationJobClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client DscCompilationJobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscCompilationJob, err error)
- func (client DscCompilationJobClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscCompilationJobClient) GetResponder(resp *http.Response) (result DscCompilationJob, err error)
- func (client DscCompilationJobClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DscCompilationJobClient) GetStream(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStream, err error)
- func (client DscCompilationJobClient) GetStreamPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscCompilationJobClient) GetStreamResponder(resp *http.Response) (result JobStream, err error)
- func (client DscCompilationJobClient) GetStreamSender(req *http.Request) (*http.Response, error)
- func (client DscCompilationJobClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscCompilationJobListResultPage, err error)
- func (client DscCompilationJobClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscCompilationJobListResultIterator, err error)
- func (client DscCompilationJobClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscCompilationJobClient) ListByAutomationAccountResponder(resp *http.Response) (result DscCompilationJobListResult, err error)
- func (client DscCompilationJobClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- type DscCompilationJobCreateParameters
- type DscCompilationJobCreateProperties
- type DscCompilationJobListResult
- type DscCompilationJobListResultIterator
- type DscCompilationJobListResultPage
- type DscCompilationJobProperties
- type DscCompilationJobStreamClient
- func (client DscCompilationJobStreamClient) ListByJob(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStreamListResult, err error)
- func (client DscCompilationJobStreamClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscCompilationJobStreamClient) ListByJobResponder(resp *http.Response) (result JobStreamListResult, err error)
- func (client DscCompilationJobStreamClient) ListByJobSender(req *http.Request) (*http.Response, error)
- type DscConfiguration
- type DscConfigurationAssociationProperty
- type DscConfigurationClient
- func (client DscConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscConfiguration, err error)
- func (client DscConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscConfiguration, err error)
- func (client DscConfigurationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DscConfigurationClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client DscConfigurationClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscConfigurationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DscConfigurationClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DscConfigurationClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscConfiguration, err error)
- func (client DscConfigurationClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result String, err error)
- func (client DscConfigurationClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscConfigurationClient) GetContentResponder(resp *http.Response) (result String, err error)
- func (client DscConfigurationClient) GetContentSender(req *http.Request) (*http.Response, error)
- func (client DscConfigurationClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscConfigurationClient) GetResponder(resp *http.Response) (result DscConfiguration, err error)
- func (client DscConfigurationClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DscConfigurationClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result DscConfigurationListResultPage, err error)
- func (client DscConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result DscConfigurationListResultIterator, err error)
- func (client DscConfigurationClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client DscConfigurationClient) ListByAutomationAccountResponder(resp *http.Response) (result DscConfigurationListResult, err error)
- func (client DscConfigurationClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client DscConfigurationClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscConfiguration, err error)
- func (client DscConfigurationClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscConfigurationClient) UpdateResponder(resp *http.Response) (result DscConfiguration, err error)
- func (client DscConfigurationClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DscConfigurationCreateOrUpdateParameters
- type DscConfigurationCreateOrUpdateProperties
- type DscConfigurationListResult
- type DscConfigurationListResultIterator
- type DscConfigurationListResultPage
- type DscConfigurationParameter
- type DscConfigurationProperties
- type DscConfigurationProvisioningState
- type DscConfigurationState
- type DscConfigurationUpdateParameters
- type DscMetaConfiguration
- type DscNode
- type DscNodeClient
- func (client DscNodeClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNode, err error)
- func (client DscNodeClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeClient) DeleteResponder(resp *http.Response) (result DscNode, err error)
- func (client DscNodeClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DscNodeClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNode, err error)
- func (client DscNodeClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeClient) GetResponder(resp *http.Response) (result DscNode, err error)
- func (client DscNodeClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DscNodeClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeListResultPage, err error)
- func (client DscNodeClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeListResultIterator, err error)
- func (client DscNodeClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeClient) ListByAutomationAccountResponder(resp *http.Response) (result DscNodeListResult, err error)
- func (client DscNodeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client DscNodeClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNode, err error)
- func (client DscNodeClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeClient) UpdateResponder(resp *http.Response) (result DscNode, err error)
- func (client DscNodeClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DscNodeConfiguration
- type DscNodeConfigurationAssociationProperty
- type DscNodeConfigurationClient
- func (client DscNodeConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeConfiguration, err error)
- func (client DscNodeConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscNodeConfiguration, err error)
- func (client DscNodeConfigurationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DscNodeConfigurationClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client DscNodeConfigurationClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeConfigurationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DscNodeConfigurationClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DscNodeConfigurationClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeConfiguration, err error)
- func (client DscNodeConfigurationClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeConfigurationClient) GetResponder(resp *http.Response) (result DscNodeConfiguration, err error)
- func (client DscNodeConfigurationClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DscNodeConfigurationClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeConfigurationListResultPage, err error)
- func (client DscNodeConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeConfigurationListResultIterator, err error)
- func (client DscNodeConfigurationClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client DscNodeConfigurationClient) ListByAutomationAccountResponder(resp *http.Response) (result DscNodeConfigurationListResult, err error)
- func (client DscNodeConfigurationClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- type DscNodeConfigurationCreateOrUpdateParameters
- type DscNodeConfigurationListResult
- type DscNodeConfigurationListResultIterator
- func (iter *DscNodeConfigurationListResultIterator) Next() error
- func (iter DscNodeConfigurationListResultIterator) NotDone() bool
- func (iter DscNodeConfigurationListResultIterator) Response() DscNodeConfigurationListResult
- func (iter DscNodeConfigurationListResultIterator) Value() DscNodeConfiguration
- type DscNodeConfigurationListResultPage
- type DscNodeExtensionHandlerAssociationProperty
- type DscNodeListResult
- type DscNodeListResultIterator
- type DscNodeListResultPage
- type DscNodeReport
- type DscNodeReportListResult
- type DscNodeReportListResultIterator
- type DscNodeReportListResultPage
- type DscNodeUpdateParameters
- type DscReportError
- type DscReportResource
- type DscReportResourceNavigation
- type ErrorResponse
- type FieldDefinition
- type FieldsClient
- func (client FieldsClient) ListByType(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result TypeFieldListResult, err error)
- func (client FieldsClient) ListByTypePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client FieldsClient) ListByTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)
- func (client FieldsClient) ListByTypeSender(req *http.Request) (*http.Response, error)
- type HTTPStatusCode
- type HybridRunbookWorker
- type HybridRunbookWorkerGroup
- type HybridRunbookWorkerGroupClient
- func (client HybridRunbookWorkerGroupClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client HybridRunbookWorkerGroupClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client HybridRunbookWorkerGroupClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HybridRunbookWorkerGroupClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client HybridRunbookWorkerGroupClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result HybridRunbookWorkerGroup, err error)
- func (client HybridRunbookWorkerGroupClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client HybridRunbookWorkerGroupClient) GetResponder(resp *http.Response) (result HybridRunbookWorkerGroup, err error)
- func (client HybridRunbookWorkerGroupClient) GetSender(req *http.Request) (*http.Response, error)
- func (client HybridRunbookWorkerGroupClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result HybridRunbookWorkerGroupsListResultPage, err error)
- func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result HybridRunbookWorkerGroupsListResultIterator, err error)
- func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountResponder(resp *http.Response) (result HybridRunbookWorkerGroupsListResult, err error)
- func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client HybridRunbookWorkerGroupClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result HybridRunbookWorkerGroup, err error)
- func (client HybridRunbookWorkerGroupClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client HybridRunbookWorkerGroupClient) UpdateResponder(resp *http.Response) (result HybridRunbookWorkerGroup, err error)
- func (client HybridRunbookWorkerGroupClient) UpdateSender(req *http.Request) (*http.Response, error)
- type HybridRunbookWorkerGroupUpdateParameters
- type HybridRunbookWorkerGroupsListResult
- type HybridRunbookWorkerGroupsListResultIterator
- func (iter *HybridRunbookWorkerGroupsListResultIterator) Next() error
- func (iter HybridRunbookWorkerGroupsListResultIterator) NotDone() bool
- func (iter HybridRunbookWorkerGroupsListResultIterator) Response() HybridRunbookWorkerGroupsListResult
- func (iter HybridRunbookWorkerGroupsListResultIterator) Value() HybridRunbookWorkerGroup
- type HybridRunbookWorkerGroupsListResultPage
- func (page *HybridRunbookWorkerGroupsListResultPage) Next() error
- func (page HybridRunbookWorkerGroupsListResultPage) NotDone() bool
- func (page HybridRunbookWorkerGroupsListResultPage) Response() HybridRunbookWorkerGroupsListResult
- func (page HybridRunbookWorkerGroupsListResultPage) Values() []HybridRunbookWorkerGroup
- type Job
- type JobClient
- func (client JobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Job, err error)
- func (client JobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) CreateResponder(resp *http.Response) (result Job, err error)
- func (client JobClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client JobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Job, err error)
- func (client JobClient) GetOutput(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result ReadCloser, err error)
- func (client JobClient) GetOutputPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) GetOutputResponder(resp *http.Response) (result ReadCloser, err error)
- func (client JobClient) GetOutputSender(req *http.Request) (*http.Response, error)
- func (client JobClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) GetResponder(resp *http.Response) (result Job, err error)
- func (client JobClient) GetRunbookContent(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result ReadCloser, err error)
- func (client JobClient) GetRunbookContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) GetRunbookContentResponder(resp *http.Response) (result ReadCloser, err error)
- func (client JobClient) GetRunbookContentSender(req *http.Request) (*http.Response, error)
- func (client JobClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobListResultPage, err error)
- func (client JobClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobListResultIterator, err error)
- func (client JobClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) ListByAutomationAccountResponder(resp *http.Response) (result JobListResult, err error)
- func (client JobClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client JobClient) Resume(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client JobClient) ResumePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobClient) ResumeSender(req *http.Request) (*http.Response, error)
- func (client JobClient) Stop(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client JobClient) StopPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobClient) StopSender(req *http.Request) (*http.Response, error)
- func (client JobClient) Suspend(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client JobClient) SuspendPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobClient) SuspendSender(req *http.Request) (*http.Response, error)
- type JobCreateParameters
- type JobCreateProperties
- type JobListResult
- type JobListResultIterator
- type JobListResultPage
- type JobProperties
- type JobProvisioningState
- type JobProvisioningStateProperty
- type JobSchedule
- type JobScheduleClient
- func (client JobScheduleClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobSchedule, err error)
- func (client JobScheduleClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobScheduleClient) CreateResponder(resp *http.Response) (result JobSchedule, err error)
- func (client JobScheduleClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client JobScheduleClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client JobScheduleClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobScheduleClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobScheduleClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client JobScheduleClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobSchedule, err error)
- func (client JobScheduleClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobScheduleClient) GetResponder(resp *http.Response) (result JobSchedule, err error)
- func (client JobScheduleClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobScheduleClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result JobScheduleListResultPage, err error)
- func (client JobScheduleClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result JobScheduleListResultIterator, err error)
- func (client JobScheduleClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client JobScheduleClient) ListByAutomationAccountResponder(resp *http.Response) (result JobScheduleListResult, err error)
- func (client JobScheduleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- type JobScheduleCreateParameters
- type JobScheduleCreateProperties
- type JobScheduleListResult
- type JobScheduleListResultIterator
- type JobScheduleListResultPage
- type JobScheduleProperties
- type JobStatus
- type JobStream
- type JobStreamClient
- func (client JobStreamClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStream, err error)
- func (client JobStreamClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobStreamClient) GetResponder(resp *http.Response) (result JobStream, err error)
- func (client JobStreamClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobStreamClient) ListByJob(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStreamListResultPage, err error)
- func (client JobStreamClient) ListByJobComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStreamListResultIterator, err error)
- func (client JobStreamClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client JobStreamClient) ListByJobResponder(resp *http.Response) (result JobStreamListResult, err error)
- func (client JobStreamClient) ListByJobSender(req *http.Request) (*http.Response, error)
- type JobStreamListResult
- type JobStreamListResultIterator
- type JobStreamListResultPage
- type JobStreamProperties
- type JobStreamType
- type Key
- type KeyListResult
- type KeyName
- type KeyPermissions
- type KeysClient
- func (client KeysClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result KeyListResult, err error)
- func (client KeysClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client KeysClient) ListByAutomationAccountResponder(resp *http.Response) (result KeyListResult, err error)
- func (client KeysClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- type LinkedWorkspace
- type LinkedWorkspaceClient
- func (client LinkedWorkspaceClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result LinkedWorkspace, err error)
- func (client LinkedWorkspaceClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client LinkedWorkspaceClient) GetResponder(resp *http.Response) (result LinkedWorkspace, err error)
- func (client LinkedWorkspaceClient) GetSender(req *http.Request) (*http.Response, error)
- type Module
- type ModuleClient
- func (client ModuleClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Module, err error)
- func (client ModuleClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ModuleClient) CreateOrUpdateResponder(resp *http.Response) (result Module, err error)
- func (client ModuleClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ModuleClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client ModuleClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ModuleClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ModuleClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ModuleClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Module, err error)
- func (client ModuleClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ModuleClient) GetResponder(resp *http.Response) (result Module, err error)
- func (client ModuleClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ModuleClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ModuleListResultPage, err error)
- func (client ModuleClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ModuleListResultIterator, err error)
- func (client ModuleClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client ModuleClient) ListByAutomationAccountResponder(resp *http.Response) (result ModuleListResult, err error)
- func (client ModuleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client ModuleClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Module, err error)
- func (client ModuleClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ModuleClient) UpdateResponder(resp *http.Response) (result Module, err error)
- func (client ModuleClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ModuleCreateOrUpdateParameters
- type ModuleCreateOrUpdateProperties
- type ModuleErrorInfo
- type ModuleListResult
- type ModuleListResultIterator
- type ModuleListResultPage
- type ModuleProperties
- type ModuleProvisioningState
- type ModuleUpdateParameters
- type ModuleUpdateProperties
- type NodeReportsClient
- func (client NodeReportsClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeReport, err error)
- func (client NodeReportsClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result SetObject, err error)
- func (client NodeReportsClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client NodeReportsClient) GetContentResponder(resp *http.Response) (result SetObject, err error)
- func (client NodeReportsClient) GetContentSender(req *http.Request) (*http.Response, error)
- func (client NodeReportsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client NodeReportsClient) GetResponder(resp *http.Response) (result DscNodeReport, err error)
- func (client NodeReportsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client NodeReportsClient) ListByNode(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeReportListResultPage, err error)
- func (client NodeReportsClient) ListByNodeComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result DscNodeReportListResultIterator, err error)
- func (client NodeReportsClient) ListByNodePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client NodeReportsClient) ListByNodeResponder(resp *http.Response) (result DscNodeReportListResult, err error)
- func (client NodeReportsClient) ListByNodeSender(req *http.Request) (*http.Response, error)
- type ObjectDataTypesClient
- func (client ObjectDataTypesClient) ListFieldsByModuleAndType(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result TypeFieldListResult, err error)
- func (client ObjectDataTypesClient) ListFieldsByModuleAndTypePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ObjectDataTypesClient) ListFieldsByModuleAndTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)
- func (client ObjectDataTypesClient) ListFieldsByModuleAndTypeSender(req *http.Request) (*http.Response, error)
- func (client ObjectDataTypesClient) ListFieldsByType(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result TypeFieldListResult, err error)
- func (client ObjectDataTypesClient) ListFieldsByTypePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ObjectDataTypesClient) ListFieldsByTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)
- func (client ObjectDataTypesClient) ListFieldsByTypeSender(req *http.Request) (*http.Response, error)
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type ProxyResource
- type ReadCloser
- type Resource
- type RunAsCredentialAssociationProperty
- type Runbook
- type RunbookAssociationProperty
- type RunbookClient
- func (client RunbookClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Runbook, err error)
- func (client RunbookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookClient) CreateOrUpdateResponder(resp *http.Response) (result Runbook, err error)
- func (client RunbookClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client RunbookClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client RunbookClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RunbookClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client RunbookClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Runbook, err error)
- func (client RunbookClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result String, err error)
- func (client RunbookClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookClient) GetContentResponder(resp *http.Response) (result String, err error)
- func (client RunbookClient) GetContentSender(req *http.Request) (*http.Response, error)
- func (client RunbookClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookClient) GetResponder(resp *http.Response) (result Runbook, err error)
- func (client RunbookClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RunbookClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result RunbookListResultPage, err error)
- func (client RunbookClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result RunbookListResultIterator, err error)
- func (client RunbookClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client RunbookClient) ListByAutomationAccountResponder(resp *http.Response) (result RunbookListResult, err error)
- func (client RunbookClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client RunbookClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Runbook, err error)
- func (client RunbookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookClient) UpdateResponder(resp *http.Response) (result Runbook, err error)
- func (client RunbookClient) UpdateSender(req *http.Request) (*http.Response, error)
- type RunbookCreateOrUpdateDraftParameters
- type RunbookCreateOrUpdateDraftProperties
- type RunbookCreateOrUpdateParameters
- type RunbookCreateOrUpdateProperties
- type RunbookDraft
- type RunbookDraftClient
- func (client RunbookDraftClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result RunbookDraft, err error)
- func (client RunbookDraftClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result String, err error)
- func (client RunbookDraftClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookDraftClient) GetContentResponder(resp *http.Response) (result String, err error)
- func (client RunbookDraftClient) GetContentSender(req *http.Request) (*http.Response, error)
- func (client RunbookDraftClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookDraftClient) GetResponder(resp *http.Response) (result RunbookDraft, err error)
- func (client RunbookDraftClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RunbookDraftClient) Publish(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result RunbookDraftPublishFuture, err error)
- func (client RunbookDraftClient) PublishPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookDraftClient) PublishResponder(resp *http.Response) (result String, err error)
- func (client RunbookDraftClient) PublishSender(req *http.Request) (future RunbookDraftPublishFuture, err error)
- func (client RunbookDraftClient) ReplaceContent(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result RunbookDraftReplaceContentFuture, err error)
- func (client RunbookDraftClient) ReplaceContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookDraftClient) ReplaceContentResponder(resp *http.Response) (result String, err error)
- func (client RunbookDraftClient) ReplaceContentSender(req *http.Request) (future RunbookDraftReplaceContentFuture, err error)
- func (client RunbookDraftClient) UndoEdit(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result RunbookDraftUndoEditResult, err error)
- func (client RunbookDraftClient) UndoEditPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client RunbookDraftClient) UndoEditResponder(resp *http.Response) (result RunbookDraftUndoEditResult, err error)
- func (client RunbookDraftClient) UndoEditSender(req *http.Request) (*http.Response, error)
- type RunbookDraftPublishFuture
- type RunbookDraftReplaceContentFuture
- type RunbookDraftUndoEditResult
- type RunbookListResult
- type RunbookListResultIterator
- type RunbookListResultPage
- type RunbookParameter
- type RunbookProperties
- type RunbookProvisioningState
- type RunbookState
- type RunbookTypeEnum
- type RunbookUpdateParameters
- type RunbookUpdateProperties
- type Schedule
- type ScheduleAssociationProperty
- type ScheduleClient
- func (client ScheduleClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Schedule, err error)
- func (client ScheduleClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ScheduleClient) CreateOrUpdateResponder(resp *http.Response) (result Schedule, err error)
- func (client ScheduleClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ScheduleClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client ScheduleClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ScheduleClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ScheduleClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ScheduleClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Schedule, err error)
- func (client ScheduleClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ScheduleClient) GetResponder(resp *http.Response) (result Schedule, err error)
- func (client ScheduleClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ScheduleClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ScheduleListResultPage, err error)
- func (client ScheduleClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ScheduleListResultIterator, err error)
- func (client ScheduleClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client ScheduleClient) ListByAutomationAccountResponder(resp *http.Response) (result ScheduleListResult, err error)
- func (client ScheduleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client ScheduleClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Schedule, err error)
- func (client ScheduleClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client ScheduleClient) UpdateResponder(resp *http.Response) (result Schedule, err error)
- func (client ScheduleClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ScheduleCreateOrUpdateParameters
- type ScheduleCreateOrUpdateProperties
- type ScheduleDay
- type ScheduleFrequency
- type ScheduleListResult
- type ScheduleListResultIterator
- type ScheduleListResultPage
- type ScheduleProperties
- type ScheduleUpdateParameters
- type ScheduleUpdateProperties
- type SetObject
- type Sku
- type SkuNameEnum
- type Statistics
- type StatisticsClient
- func (client StatisticsClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result StatisticsListResult, err error)
- func (client StatisticsClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client StatisticsClient) ListByAutomationAccountResponder(resp *http.Response) (result StatisticsListResult, err error)
- func (client StatisticsClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- type StatisticsListResult
- type String
- type SubResource
- type TestJob
- type TestJobClient
- func (client TestJobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result TestJob, err error)
- func (client TestJobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client TestJobClient) CreateResponder(resp *http.Response) (result TestJob, err error)
- func (client TestJobClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client TestJobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result TestJob, err error)
- func (client TestJobClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client TestJobClient) GetResponder(resp *http.Response) (result TestJob, err error)
- func (client TestJobClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TestJobClient) Resume(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client TestJobClient) ResumePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client TestJobClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TestJobClient) ResumeSender(req *http.Request) (*http.Response, error)
- func (client TestJobClient) Stop(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client TestJobClient) StopPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client TestJobClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TestJobClient) StopSender(req *http.Request) (*http.Response, error)
- func (client TestJobClient) Suspend(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client TestJobClient) SuspendPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client TestJobClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TestJobClient) SuspendSender(req *http.Request) (*http.Response, error)
- type TestJobCreateParameters
- type TestJobStreamsClient
- func (client TestJobStreamsClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStream, err error)
- func (client TestJobStreamsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client TestJobStreamsClient) GetResponder(resp *http.Response) (result JobStream, err error)
- func (client TestJobStreamsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TestJobStreamsClient) ListByTestJob(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStreamListResultPage, err error)
- func (client TestJobStreamsClient) ListByTestJobComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result JobStreamListResultIterator, err error)
- func (client TestJobStreamsClient) ListByTestJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client TestJobStreamsClient) ListByTestJobResponder(resp *http.Response) (result JobStreamListResult, err error)
- func (client TestJobStreamsClient) ListByTestJobSender(req *http.Request) (*http.Response, error)
- type TypeField
- type TypeFieldListResult
- type Usage
- type UsageCounterName
- type UsageListResult
- type UsagesClient
- func (client UsagesClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result UsageListResult, err error)
- func (client UsagesClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client UsagesClient) ListByAutomationAccountResponder(resp *http.Response) (result UsageListResult, err error)
- func (client UsagesClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- type Variable
- type VariableClient
- func (client VariableClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Variable, err error)
- func (client VariableClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client VariableClient) CreateOrUpdateResponder(resp *http.Response) (result Variable, err error)
- func (client VariableClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client VariableClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client VariableClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client VariableClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VariableClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VariableClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Variable, err error)
- func (client VariableClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client VariableClient) GetResponder(resp *http.Response) (result Variable, err error)
- func (client VariableClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VariableClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result VariableListResultPage, err error)
- func (client VariableClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result VariableListResultIterator, err error)
- func (client VariableClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client VariableClient) ListByAutomationAccountResponder(resp *http.Response) (result VariableListResult, err error)
- func (client VariableClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client VariableClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Variable, err error)
- func (client VariableClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client VariableClient) UpdateResponder(resp *http.Response) (result Variable, err error)
- func (client VariableClient) UpdateSender(req *http.Request) (*http.Response, error)
- type VariableCreateOrUpdateParameters
- type VariableCreateOrUpdateProperties
- type VariableListResult
- type VariableListResultIterator
- type VariableListResultPage
- type VariableProperties
- type VariableUpdateParameters
- type VariableUpdateProperties
- type Webhook
- type WebhookClient
- func (client WebhookClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Webhook, err error)
- func (client WebhookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client WebhookClient) CreateOrUpdateResponder(resp *http.Response) (result Webhook, err error)
- func (client WebhookClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client WebhookClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result autorest.Response, err error)
- func (client WebhookClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client WebhookClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WebhookClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client WebhookClient) GenerateURI(ctx context.Context, resourceGroupName string, automationAccountName string) (result String, err error)
- func (client WebhookClient) GenerateURIPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
- func (client WebhookClient) GenerateURIResponder(resp *http.Response) (result String, err error)
- func (client WebhookClient) GenerateURISender(req *http.Request) (*http.Response, error)
- func (client WebhookClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Webhook, err error)
- func (client WebhookClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client WebhookClient) GetResponder(resp *http.Response) (result Webhook, err error)
- func (client WebhookClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WebhookClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result WebhookListResultPage, err error)
- func (client WebhookClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result WebhookListResultIterator, err error)
- func (client WebhookClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client WebhookClient) ListByAutomationAccountResponder(resp *http.Response) (result WebhookListResult, err error)
- func (client WebhookClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
- func (client WebhookClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (result Webhook, err error)
- func (client WebhookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, ...) (*http.Request, error)
- func (client WebhookClient) UpdateResponder(resp *http.Response) (result Webhook, err error)
- func (client WebhookClient) UpdateSender(req *http.Request) (*http.Response, error)
- type WebhookCreateOrUpdateParameters
- type WebhookCreateOrUpdateProperties
- type WebhookListResult
- type WebhookListResultIterator
- type WebhookListResultPage
- type WebhookProperties
- type WebhookUpdateParameters
- type WebhookUpdateProperties
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Automation
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type Account ¶
type Account struct { autorest.Response `json:"-"` // AccountProperties - Gets or sets the automation account properties. *AccountProperties `json:"properties,omitempty"` // Etag - Gets or sets the etag of the resource. Etag *string `json:"etag,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Account definition of the automation account type.
func (Account) MarshalJSON ¶
MarshalJSON is the custom marshaler for Account.
func (*Account) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Account struct.
type AccountClient ¶
type AccountClient struct {
BaseClient
}
AccountClient is the automation Client
func NewAccountClient ¶
func NewAccountClient(subscriptionID string) AccountClient
NewAccountClient creates an instance of the AccountClient client.
func NewAccountClientWithBaseURI ¶
func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient
NewAccountClientWithBaseURI creates an instance of the AccountClient client.
func (AccountClient) CreateOrUpdate ¶
func (client AccountClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountCreateOrUpdateParameters) (result Account, err error)
CreateOrUpdate create or update automation account.
resourceGroupName is the resource group name. automationAccountName is parameters supplied to the create or update automation account. parameters is parameters supplied to the create or update automation account.
func (AccountClient) CreateOrUpdatePreparer ¶
func (client AccountClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AccountClient) CreateOrUpdateResponder ¶
func (client AccountClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AccountClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AccountClient) Delete ¶
func (client AccountClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string) (result autorest.Response, err error)
Delete delete an automation account.
resourceGroupName is the resource group name. automationAccountName is automation account name.
func (AccountClient) DeletePreparer ¶
func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AccountClient) DeleteResponder ¶
func (client AccountClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (AccountClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AccountClient) Get ¶
func (client AccountClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result Account, err error)
Get get information about an Automation Account.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (AccountClient) GetPreparer ¶
func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AccountClient) GetResponder ¶
func (client AccountClient) GetResponder(resp *http.Response) (result Account, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AccountClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AccountClient) List ¶
func (client AccountClient) List(ctx context.Context) (result AccountListResultPage, err error)
List retrieve a list of accounts within a given subscription.
func (AccountClient) ListByResourceGroup ¶
func (client AccountClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResultPage, err error)
ListByResourceGroup retrieve a list of accounts within a given resource group.
resourceGroupName is the resource group name.
func (AccountClient) ListByResourceGroupComplete ¶
func (client AccountClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AccountListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (AccountClient) ListByResourceGroupPreparer ¶
func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (AccountClient) ListByResourceGroupResponder ¶
func (client AccountClient) ListByResourceGroupResponder(resp *http.Response) (result AccountListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (AccountClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (AccountClient) ListComplete ¶
func (client AccountClient) ListComplete(ctx context.Context) (result AccountListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AccountClient) ListPreparer ¶
ListPreparer prepares the List request.
func (AccountClient) ListResponder ¶
func (client AccountClient) ListResponder(resp *http.Response) (result AccountListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AccountClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (AccountClient) Update ¶
func (client AccountClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountUpdateParameters) (result Account, err error)
Update update an automation account.
resourceGroupName is the resource group name. automationAccountName is automation account name. parameters is parameters supplied to the update automation account.
func (AccountClient) UpdatePreparer ¶
func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (AccountClient) UpdateResponder ¶
func (client AccountClient) UpdateResponder(resp *http.Response) (result Account, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (AccountClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type AccountCreateOrUpdateParameters ¶
type AccountCreateOrUpdateParameters struct { // AccountCreateOrUpdateProperties - Gets or sets account create or update properties. *AccountCreateOrUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
AccountCreateOrUpdateParameters the parameters supplied to the create or update automation account operation.
func (AccountCreateOrUpdateParameters) MarshalJSON ¶
func (acoup AccountCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountCreateOrUpdateParameters.
func (*AccountCreateOrUpdateParameters) UnmarshalJSON ¶
func (acoup *AccountCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AccountCreateOrUpdateParameters struct.
type AccountCreateOrUpdateProperties ¶
type AccountCreateOrUpdateProperties struct { // Sku - Gets or sets account SKU. Sku *Sku `json:"sku,omitempty"` }
AccountCreateOrUpdateProperties the parameters supplied to the create or update account properties.
type AccountListResult ¶
type AccountListResult struct { autorest.Response `json:"-"` // Value - Gets or sets list of accounts. Value *[]Account `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
AccountListResult the response model for the list account operation.
func (AccountListResult) IsEmpty ¶
func (alr AccountListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AccountListResultIterator ¶
type AccountListResultIterator struct {
// contains filtered or unexported fields
}
AccountListResultIterator provides access to a complete listing of Account values.
func (*AccountListResultIterator) Next ¶
func (iter *AccountListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AccountListResultIterator) NotDone ¶
func (iter AccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AccountListResultIterator) Response ¶
func (iter AccountListResultIterator) Response() AccountListResult
Response returns the raw server response from the last page request.
func (AccountListResultIterator) Value ¶
func (iter AccountListResultIterator) Value() Account
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AccountListResultPage ¶
type AccountListResultPage struct {
// contains filtered or unexported fields
}
AccountListResultPage contains a page of Account values.
func (*AccountListResultPage) Next ¶
func (page *AccountListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AccountListResultPage) NotDone ¶
func (page AccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AccountListResultPage) Response ¶
func (page AccountListResultPage) Response() AccountListResult
Response returns the raw server response from the last page request.
func (AccountListResultPage) Values ¶
func (page AccountListResultPage) Values() []Account
Values returns the slice of values for the current page or nil if there are no values.
type AccountProperties ¶
type AccountProperties struct { // Sku - Gets or sets the SKU of account. Sku *Sku `json:"sku,omitempty"` // LastModifiedBy - Gets or sets the last modified by. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // State - Gets status of account. Possible values include: 'Ok', 'Unavailable', 'Suspended' State AccountState `json:"state,omitempty"` // CreationTime - Gets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
AccountProperties definition of the account property.
type AccountState ¶
type AccountState string
AccountState enumerates the values for account state.
const ( // Ok ... Ok AccountState = "Ok" // Suspended ... Suspended AccountState = "Suspended" Unavailable AccountState = "Unavailable" )
func PossibleAccountStateValues ¶
func PossibleAccountStateValues() []AccountState
PossibleAccountStateValues returns an array of possible values for the AccountState const type.
type AccountUpdateParameters ¶
type AccountUpdateParameters struct { // AccountUpdateProperties - Gets or sets account update properties. *AccountUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets the name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
AccountUpdateParameters the parameters supplied to the update automation account operation.
func (AccountUpdateParameters) MarshalJSON ¶
func (aup AccountUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountUpdateParameters.
func (*AccountUpdateParameters) UnmarshalJSON ¶
func (aup *AccountUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AccountUpdateParameters struct.
type AccountUpdateProperties ¶
type AccountUpdateProperties struct { // Sku - Gets or sets account SKU. Sku *Sku `json:"sku,omitempty"` }
AccountUpdateProperties the parameters supplied to the update account properties.
type Activity ¶
type Activity struct { autorest.Response `json:"-"` // ID - Gets or sets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the activity. Name *string `json:"name,omitempty"` // ActivityProperties - Gets or sets the properties of the activity. *ActivityProperties `json:"properties,omitempty"` }
Activity definition of the activity.
func (Activity) MarshalJSON ¶
MarshalJSON is the custom marshaler for Activity.
func (*Activity) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Activity struct.
type ActivityClient ¶
type ActivityClient struct {
BaseClient
}
ActivityClient is the automation Client
func NewActivityClient ¶
func NewActivityClient(subscriptionID string) ActivityClient
NewActivityClient creates an instance of the ActivityClient client.
func NewActivityClientWithBaseURI ¶
func NewActivityClientWithBaseURI(baseURI string, subscriptionID string) ActivityClient
NewActivityClientWithBaseURI creates an instance of the ActivityClient client.
func (ActivityClient) Get ¶
func (client ActivityClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, activityName string) (result Activity, err error)
Get retrieve the activity in the module identified by module name and activity name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the name of module. activityName is the name of activity.
func (ActivityClient) GetPreparer ¶
func (client ActivityClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, activityName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ActivityClient) GetResponder ¶
func (client ActivityClient) GetResponder(resp *http.Response) (result Activity, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ActivityClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ActivityClient) ListByModule ¶
func (client ActivityClient) ListByModule(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (result ActivityListResultPage, err error)
ListByModule retrieve a list of activities in the module identified by module name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the name of module.
func (ActivityClient) ListByModuleComplete ¶
func (client ActivityClient) ListByModuleComplete(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (result ActivityListResultIterator, err error)
ListByModuleComplete enumerates all values, automatically crossing page boundaries as required.
func (ActivityClient) ListByModulePreparer ¶
func (client ActivityClient) ListByModulePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (*http.Request, error)
ListByModulePreparer prepares the ListByModule request.
func (ActivityClient) ListByModuleResponder ¶
func (client ActivityClient) ListByModuleResponder(resp *http.Response) (result ActivityListResult, err error)
ListByModuleResponder handles the response to the ListByModule request. The method always closes the http.Response Body.
func (ActivityClient) ListByModuleSender ¶
ListByModuleSender sends the ListByModule request. The method will close the http.Response Body if it receives an error.
type ActivityListResult ¶
type ActivityListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of activities. Value *[]Activity `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
ActivityListResult the response model for the list activity operation.
func (ActivityListResult) IsEmpty ¶
func (alr ActivityListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ActivityListResultIterator ¶
type ActivityListResultIterator struct {
// contains filtered or unexported fields
}
ActivityListResultIterator provides access to a complete listing of Activity values.
func (*ActivityListResultIterator) Next ¶
func (iter *ActivityListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ActivityListResultIterator) NotDone ¶
func (iter ActivityListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ActivityListResultIterator) Response ¶
func (iter ActivityListResultIterator) Response() ActivityListResult
Response returns the raw server response from the last page request.
func (ActivityListResultIterator) Value ¶
func (iter ActivityListResultIterator) Value() Activity
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ActivityListResultPage ¶
type ActivityListResultPage struct {
// contains filtered or unexported fields
}
ActivityListResultPage contains a page of Activity values.
func (*ActivityListResultPage) Next ¶
func (page *ActivityListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ActivityListResultPage) NotDone ¶
func (page ActivityListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ActivityListResultPage) Response ¶
func (page ActivityListResultPage) Response() ActivityListResult
Response returns the raw server response from the last page request.
func (ActivityListResultPage) Values ¶
func (page ActivityListResultPage) Values() []Activity
Values returns the slice of values for the current page or nil if there are no values.
type ActivityOutputType ¶
type ActivityOutputType struct { // Name - Gets or sets the name of the activity output type. Name *string `json:"name,omitempty"` // Type - Gets or sets the type of the activity output type. Type *string `json:"type,omitempty"` }
ActivityOutputType definition of the activity output type.
type ActivityParameter ¶
type ActivityParameter struct { // Name - Gets or sets the name of the activity parameter. Name *string `json:"name,omitempty"` // Type - Gets or sets the type of the activity parameter. Type *string `json:"type,omitempty"` // IsMandatory - Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional. IsMandatory *bool `json:"isMandatory,omitempty"` // IsDynamic - Gets or sets a Boolean value that indicates true if the parameter is dynamic. IsDynamic *bool `json:"isDynamic,omitempty"` // Position - Gets or sets the position of the activity parameter. Position *bool `json:"position,omitempty"` // ValueFromPipeline - Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object. ValueFromPipeline *bool `json:"valueFromPipeline,omitempty"` // ValueFromPipelineByPropertyName - Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name. ValueFromPipelineByPropertyName *bool `json:"valueFromPipelineByPropertyName,omitempty"` // ValueFromRemainingArguments - Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values. ValueFromRemainingArguments *bool `json:"valueFromRemainingArguments,omitempty"` }
ActivityParameter definition of the activity parameter.
type ActivityParameterSet ¶
type ActivityParameterSet struct { // Name - Gets or sets the name of the activity parameter set. Name *string `json:"name,omitempty"` // Parameters - Gets or sets the parameters of the activity parameter set. Parameters *[]ActivityParameter `json:"parameters,omitempty"` }
ActivityParameterSet definition of the activity parameter set.
type ActivityProperties ¶
type ActivityProperties struct { // Definition - Gets or sets the user name of the activity. Definition *string `json:"definition,omitempty"` // ParameterSets - Gets or sets the parameter sets of the activity. ParameterSets *[]ActivityParameterSet `json:"parameterSets,omitempty"` // OutputTypes - Gets or sets the output types of the activity. OutputTypes *[]ActivityOutputType `json:"outputTypes,omitempty"` // CreationTime - Gets or sets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
ActivityProperties properties of the activity.
type AdvancedSchedule ¶
type AdvancedSchedule struct { // WeekDays - Days of the week that the job should execute on. WeekDays *[]string `json:"weekDays,omitempty"` // MonthDays - Days of the month that the job should execute on. Must be between 1 and 31. MonthDays *[]int32 `json:"monthDays,omitempty"` // MonthlyOccurrences - Occurrences of days within a month. MonthlyOccurrences *[]AdvancedScheduleMonthlyOccurrence `json:"monthlyOccurrences,omitempty"` }
AdvancedSchedule the properties of the create Advanced Schedule.
type AdvancedScheduleMonthlyOccurrence ¶
type AdvancedScheduleMonthlyOccurrence struct { // Occurrence - Occurrence of the week within the month. Must be between 1 and 5 Occurrence *int32 `json:"occurrence,omitempty"` // Day - Day of the occurrence. Must be one of monday, tuesday, wednesday,thursday, friday, saturday, sunday. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday' Day ScheduleDay `json:"day,omitempty"` }
AdvancedScheduleMonthlyOccurrence the properties of the create advanced schedule monthly occurrence.
type AgentRegistration ¶
type AgentRegistration struct { autorest.Response `json:"-"` // DscMetaConfiguration - Gets or sets the dsc meta configuration. DscMetaConfiguration *string `json:"dscMetaConfiguration,omitempty"` // Endpoint - Gets or sets the dsc server endpoint. Endpoint *string `json:"endpoint,omitempty"` // Keys - Gets or sets the agent registration keys. Keys *AgentRegistrationKeys `json:"keys,omitempty"` // ID - Gets or sets the id. ID *string `json:"id,omitempty"` }
AgentRegistration definition of the agent registration infomration type.
type AgentRegistrationInformationClient ¶
type AgentRegistrationInformationClient struct {
BaseClient
}
AgentRegistrationInformationClient is the automation Client
func NewAgentRegistrationInformationClient ¶
func NewAgentRegistrationInformationClient(subscriptionID string) AgentRegistrationInformationClient
NewAgentRegistrationInformationClient creates an instance of the AgentRegistrationInformationClient client.
func NewAgentRegistrationInformationClientWithBaseURI ¶
func NewAgentRegistrationInformationClientWithBaseURI(baseURI string, subscriptionID string) AgentRegistrationInformationClient
NewAgentRegistrationInformationClientWithBaseURI creates an instance of the AgentRegistrationInformationClient client.
func (AgentRegistrationInformationClient) Get ¶
func (client AgentRegistrationInformationClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result AgentRegistration, err error)
Get retrieve the automation agent registration information.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (AgentRegistrationInformationClient) GetPreparer ¶
func (client AgentRegistrationInformationClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AgentRegistrationInformationClient) GetResponder ¶
func (client AgentRegistrationInformationClient) GetResponder(resp *http.Response) (result AgentRegistration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AgentRegistrationInformationClient) GetSender ¶
func (client AgentRegistrationInformationClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AgentRegistrationInformationClient) RegenerateKey ¶
func (client AgentRegistrationInformationClient) RegenerateKey(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AgentRegistrationRegenerateKeyParameter) (result AgentRegistration, err error)
RegenerateKey regenerate a primary or secondary agent registration key
resourceGroupName is the resource group name. automationAccountName is the automation account name. parameters is the name of the agent registration key to be regenerated
func (AgentRegistrationInformationClient) RegenerateKeyPreparer ¶
func (client AgentRegistrationInformationClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AgentRegistrationRegenerateKeyParameter) (*http.Request, error)
RegenerateKeyPreparer prepares the RegenerateKey request.
func (AgentRegistrationInformationClient) RegenerateKeyResponder ¶
func (client AgentRegistrationInformationClient) RegenerateKeyResponder(resp *http.Response) (result AgentRegistration, err error)
RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.
func (AgentRegistrationInformationClient) RegenerateKeySender ¶
func (client AgentRegistrationInformationClient) RegenerateKeySender(req *http.Request) (*http.Response, error)
RegenerateKeySender sends the RegenerateKey request. The method will close the http.Response Body if it receives an error.
type AgentRegistrationKeyName ¶
type AgentRegistrationKeyName string
AgentRegistrationKeyName enumerates the values for agent registration key name.
const ( // Primary ... Primary AgentRegistrationKeyName = "primary" // Secondary ... Secondary AgentRegistrationKeyName = "secondary" )
func PossibleAgentRegistrationKeyNameValues ¶
func PossibleAgentRegistrationKeyNameValues() []AgentRegistrationKeyName
PossibleAgentRegistrationKeyNameValues returns an array of possible values for the AgentRegistrationKeyName const type.
type AgentRegistrationKeys ¶
type AgentRegistrationKeys struct { // Primary - Gets or sets the primary key. Primary *string `json:"primary,omitempty"` // Secondary - Gets or sets the secondary key. Secondary *string `json:"secondary,omitempty"` }
AgentRegistrationKeys definition of the agent registration keys.
type AgentRegistrationRegenerateKeyParameter ¶
type AgentRegistrationRegenerateKeyParameter struct { // KeyName - Gets or sets the agent registration key name - primary or secondary. Possible values include: 'Primary', 'Secondary' KeyName AgentRegistrationKeyName `json:"keyName,omitempty"` // Name - Gets or sets the name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
AgentRegistrationRegenerateKeyParameter the parameters supplied to the regenerate keys operation.
func (AgentRegistrationRegenerateKeyParameter) MarshalJSON ¶
func (arrkp AgentRegistrationRegenerateKeyParameter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AgentRegistrationRegenerateKeyParameter.
type BaseClient ¶
BaseClient is the base client for Automation.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type Certificate ¶
type Certificate struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the certificate. Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // CertificateProperties - Gets or sets the properties of the certificate. *CertificateProperties `json:"properties,omitempty"` }
Certificate definition of the certificate.
func (Certificate) MarshalJSON ¶
func (c Certificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Certificate.
func (*Certificate) UnmarshalJSON ¶
func (c *Certificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Certificate struct.
type CertificateClient ¶
type CertificateClient struct {
BaseClient
}
CertificateClient is the automation Client
func NewCertificateClient ¶
func NewCertificateClient(subscriptionID string) CertificateClient
NewCertificateClient creates an instance of the CertificateClient client.
func NewCertificateClientWithBaseURI ¶
func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient
NewCertificateClientWithBaseURI creates an instance of the CertificateClient client.
func (CertificateClient) CreateOrUpdate ¶
func (client CertificateClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters CertificateCreateOrUpdateParameters) (result Certificate, err error)
CreateOrUpdate create a certificate.
resourceGroupName is the resource group name. automationAccountName is the automation account name. certificateName is the parameters supplied to the create or update certificate operation. parameters is the parameters supplied to the create or update certificate operation.
func (CertificateClient) CreateOrUpdatePreparer ¶
func (client CertificateClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters CertificateCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (CertificateClient) CreateOrUpdateResponder ¶
func (client CertificateClient) CreateOrUpdateResponder(resp *http.Response) (result Certificate, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (CertificateClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (CertificateClient) Delete ¶
func (client CertificateClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string) (result autorest.Response, err error)
Delete delete the certificate.
resourceGroupName is the resource group name. automationAccountName is the automation account name. certificateName is the name of certificate.
func (CertificateClient) DeletePreparer ¶
func (client CertificateClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (CertificateClient) DeleteResponder ¶
func (client CertificateClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (CertificateClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (CertificateClient) Get ¶
func (client CertificateClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string) (result Certificate, err error)
Get retrieve the certificate identified by certificate name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. certificateName is the name of certificate.
func (CertificateClient) GetPreparer ¶
func (client CertificateClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (CertificateClient) GetResponder ¶
func (client CertificateClient) GetResponder(resp *http.Response) (result Certificate, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (CertificateClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (CertificateClient) ListByAutomationAccount ¶
func (client CertificateClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result CertificateListResultPage, err error)
ListByAutomationAccount retrieve a list of certificates.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (CertificateClient) ListByAutomationAccountComplete ¶
func (client CertificateClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result CertificateListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (CertificateClient) ListByAutomationAccountPreparer ¶
func (client CertificateClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (CertificateClient) ListByAutomationAccountResponder ¶
func (client CertificateClient) ListByAutomationAccountResponder(resp *http.Response) (result CertificateListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (CertificateClient) ListByAutomationAccountSender ¶
func (client CertificateClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (CertificateClient) Update ¶
func (client CertificateClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters CertificateUpdateParameters) (result Certificate, err error)
Update update a certificate.
resourceGroupName is the resource group name. automationAccountName is the automation account name. certificateName is the parameters supplied to the update certificate operation. parameters is the parameters supplied to the update certificate operation.
func (CertificateClient) UpdatePreparer ¶
func (client CertificateClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters CertificateUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (CertificateClient) UpdateResponder ¶
func (client CertificateClient) UpdateResponder(resp *http.Response) (result Certificate, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (CertificateClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type CertificateCreateOrUpdateParameters ¶
type CertificateCreateOrUpdateParameters struct { // Name - Gets or sets the name of the certificate. Name *string `json:"name,omitempty"` // CertificateCreateOrUpdateProperties - Gets or sets the properties of the certificate. *CertificateCreateOrUpdateProperties `json:"properties,omitempty"` }
CertificateCreateOrUpdateParameters the parameters supplied to the create or update or replace certificate operation.
func (CertificateCreateOrUpdateParameters) MarshalJSON ¶
func (ccoup CertificateCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificateCreateOrUpdateParameters.
func (*CertificateCreateOrUpdateParameters) UnmarshalJSON ¶
func (ccoup *CertificateCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CertificateCreateOrUpdateParameters struct.
type CertificateCreateOrUpdateProperties ¶
type CertificateCreateOrUpdateProperties struct { // Base64Value - Gets or sets the base64 encoded value of the certificate. Base64Value *string `json:"base64Value,omitempty"` // Description - Gets or sets the description of the certificate. Description *string `json:"description,omitempty"` // Thumbprint - Gets or sets the thumbprint of the certificate. Thumbprint *string `json:"thumbprint,omitempty"` // IsExportable - Gets or sets the is exportable flag of the certificate. IsExportable *bool `json:"isExportable,omitempty"` }
CertificateCreateOrUpdateProperties the properties of the create certificate operation.
type CertificateListResult ¶
type CertificateListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of certificates. Value *[]Certificate `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
CertificateListResult the response model for the list certificate operation.
func (CertificateListResult) IsEmpty ¶
func (clr CertificateListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type CertificateListResultIterator ¶
type CertificateListResultIterator struct {
// contains filtered or unexported fields
}
CertificateListResultIterator provides access to a complete listing of Certificate values.
func (*CertificateListResultIterator) Next ¶
func (iter *CertificateListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (CertificateListResultIterator) NotDone ¶
func (iter CertificateListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (CertificateListResultIterator) Response ¶
func (iter CertificateListResultIterator) Response() CertificateListResult
Response returns the raw server response from the last page request.
func (CertificateListResultIterator) Value ¶
func (iter CertificateListResultIterator) Value() Certificate
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type CertificateListResultPage ¶
type CertificateListResultPage struct {
// contains filtered or unexported fields
}
CertificateListResultPage contains a page of Certificate values.
func (*CertificateListResultPage) Next ¶
func (page *CertificateListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (CertificateListResultPage) NotDone ¶
func (page CertificateListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (CertificateListResultPage) Response ¶
func (page CertificateListResultPage) Response() CertificateListResult
Response returns the raw server response from the last page request.
func (CertificateListResultPage) Values ¶
func (page CertificateListResultPage) Values() []Certificate
Values returns the slice of values for the current page or nil if there are no values.
type CertificateProperties ¶
type CertificateProperties struct { // Thumbprint - Gets the thumbprint of the certificate. Thumbprint *string `json:"thumbprint,omitempty"` // ExpiryTime - Gets the expiry time of the certificate. ExpiryTime *date.Time `json:"expiryTime,omitempty"` // IsExportable - Gets the is exportable flag of the certificate. IsExportable *bool `json:"isExportable,omitempty"` // CreationTime - Gets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
CertificateProperties properties of the certificate.
type CertificateUpdateParameters ¶
type CertificateUpdateParameters struct { // Name - Gets or sets the name of the certificate. Name *string `json:"name,omitempty"` // CertificateUpdateProperties - Gets or sets the properties of the certificate. *CertificateUpdateProperties `json:"properties,omitempty"` }
CertificateUpdateParameters the parameters supplied to the update certificate operation.
func (CertificateUpdateParameters) MarshalJSON ¶
func (cup CertificateUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CertificateUpdateParameters.
func (*CertificateUpdateParameters) UnmarshalJSON ¶
func (cup *CertificateUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CertificateUpdateParameters struct.
type CertificateUpdateProperties ¶
type CertificateUpdateProperties struct { // Description - Gets or sets the description of the certificate. Description *string `json:"description,omitempty"` }
CertificateUpdateProperties the properties of the update certificate operation
type Connection ¶
type Connection struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the connection. Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // ConnectionProperties - Gets or sets the properties of the connection. *ConnectionProperties `json:"properties,omitempty"` }
Connection definition of the connection.
func (Connection) MarshalJSON ¶
func (c Connection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Connection.
func (*Connection) UnmarshalJSON ¶
func (c *Connection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Connection struct.
type ConnectionClient ¶
type ConnectionClient struct {
BaseClient
}
ConnectionClient is the automation Client
func NewConnectionClient ¶
func NewConnectionClient(subscriptionID string) ConnectionClient
NewConnectionClient creates an instance of the ConnectionClient client.
func NewConnectionClientWithBaseURI ¶
func NewConnectionClientWithBaseURI(baseURI string, subscriptionID string) ConnectionClient
NewConnectionClientWithBaseURI creates an instance of the ConnectionClient client.
func (ConnectionClient) CreateOrUpdate ¶
func (client ConnectionClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters ConnectionCreateOrUpdateParameters) (result Connection, err error)
CreateOrUpdate create or update a connection.
resourceGroupName is the resource group name. automationAccountName is the automation account name. connectionName is the parameters supplied to the create or update connection operation. parameters is the parameters supplied to the create or update connection operation.
func (ConnectionClient) CreateOrUpdatePreparer ¶
func (client ConnectionClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters ConnectionCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ConnectionClient) CreateOrUpdateResponder ¶
func (client ConnectionClient) CreateOrUpdateResponder(resp *http.Response) (result Connection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ConnectionClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ConnectionClient) Delete ¶
func (client ConnectionClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string) (result Connection, err error)
Delete delete the connection.
resourceGroupName is the resource group name. automationAccountName is the automation account name. connectionName is the name of connection.
func (ConnectionClient) DeletePreparer ¶
func (client ConnectionClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConnectionClient) DeleteResponder ¶
func (client ConnectionClient) DeleteResponder(resp *http.Response) (result Connection, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ConnectionClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ConnectionClient) Get ¶
func (client ConnectionClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string) (result Connection, err error)
Get retrieve the connection identified by connection name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. connectionName is the name of connection.
func (ConnectionClient) GetPreparer ¶
func (client ConnectionClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConnectionClient) GetResponder ¶
func (client ConnectionClient) GetResponder(resp *http.Response) (result Connection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ConnectionClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ConnectionClient) ListByAutomationAccount ¶
func (client ConnectionClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionListResultPage, err error)
ListByAutomationAccount retrieve a list of connections.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (ConnectionClient) ListByAutomationAccountComplete ¶
func (client ConnectionClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (ConnectionClient) ListByAutomationAccountPreparer ¶
func (client ConnectionClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (ConnectionClient) ListByAutomationAccountResponder ¶
func (client ConnectionClient) ListByAutomationAccountResponder(resp *http.Response) (result ConnectionListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (ConnectionClient) ListByAutomationAccountSender ¶
func (client ConnectionClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (ConnectionClient) Update ¶
func (client ConnectionClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters ConnectionUpdateParameters) (result Connection, err error)
Update update a connection.
resourceGroupName is the resource group name. automationAccountName is the automation account name. connectionName is the parameters supplied to the update a connection operation. parameters is the parameters supplied to the update a connection operation.
func (ConnectionClient) UpdatePreparer ¶
func (client ConnectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters ConnectionUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ConnectionClient) UpdateResponder ¶
func (client ConnectionClient) UpdateResponder(resp *http.Response) (result Connection, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ConnectionClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ConnectionCreateOrUpdateParameters ¶
type ConnectionCreateOrUpdateParameters struct { // Name - Gets or sets the name of the connection. Name *string `json:"name,omitempty"` // ConnectionCreateOrUpdateProperties - Gets or sets the properties of the connection. *ConnectionCreateOrUpdateProperties `json:"properties,omitempty"` }
ConnectionCreateOrUpdateParameters the parameters supplied to the create or update connection operation.
func (ConnectionCreateOrUpdateParameters) MarshalJSON ¶
func (ccoup ConnectionCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionCreateOrUpdateParameters.
func (*ConnectionCreateOrUpdateParameters) UnmarshalJSON ¶
func (ccoup *ConnectionCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectionCreateOrUpdateParameters struct.
type ConnectionCreateOrUpdateProperties ¶
type ConnectionCreateOrUpdateProperties struct { // Description - Gets or sets the description of the connection. Description *string `json:"description,omitempty"` // ConnectionType - Gets or sets the connectionType of the connection. ConnectionType *ConnectionTypeAssociationProperty `json:"connectionType,omitempty"` // FieldDefinitionValues - Gets or sets the field definition properties of the connection. FieldDefinitionValues map[string]*string `json:"fieldDefinitionValues"` }
ConnectionCreateOrUpdateProperties the properties of the create connection properties
func (ConnectionCreateOrUpdateProperties) MarshalJSON ¶
func (ccoup ConnectionCreateOrUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionCreateOrUpdateProperties.
type ConnectionListResult ¶
type ConnectionListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of connection. Value *[]Connection `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
ConnectionListResult the response model for the list connection operation.
func (ConnectionListResult) IsEmpty ¶
func (clr ConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ConnectionListResultIterator ¶
type ConnectionListResultIterator struct {
// contains filtered or unexported fields
}
ConnectionListResultIterator provides access to a complete listing of Connection values.
func (*ConnectionListResultIterator) Next ¶
func (iter *ConnectionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ConnectionListResultIterator) NotDone ¶
func (iter ConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ConnectionListResultIterator) Response ¶
func (iter ConnectionListResultIterator) Response() ConnectionListResult
Response returns the raw server response from the last page request.
func (ConnectionListResultIterator) Value ¶
func (iter ConnectionListResultIterator) Value() Connection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ConnectionListResultPage ¶
type ConnectionListResultPage struct {
// contains filtered or unexported fields
}
ConnectionListResultPage contains a page of Connection values.
func (*ConnectionListResultPage) Next ¶
func (page *ConnectionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ConnectionListResultPage) NotDone ¶
func (page ConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ConnectionListResultPage) Response ¶
func (page ConnectionListResultPage) Response() ConnectionListResult
Response returns the raw server response from the last page request.
func (ConnectionListResultPage) Values ¶
func (page ConnectionListResultPage) Values() []Connection
Values returns the slice of values for the current page or nil if there are no values.
type ConnectionProperties ¶
type ConnectionProperties struct { // ConnectionType - Gets or sets the connectionType of the connection. ConnectionType *ConnectionTypeAssociationProperty `json:"connectionType,omitempty"` // FieldDefinitionValues - Gets the field definition values of the connection. FieldDefinitionValues map[string]*string `json:"fieldDefinitionValues"` // CreationTime - Gets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
ConnectionProperties definition of the connection properties.
func (ConnectionProperties) MarshalJSON ¶
func (cp ConnectionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionProperties.
type ConnectionType ¶
type ConnectionType struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the connection type. Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // ConnectionTypeProperties - Gets or sets the properties of the connection type. *ConnectionTypeProperties `json:"properties,omitempty"` }
ConnectionType definition of the connection type.
func (ConnectionType) MarshalJSON ¶
func (ct ConnectionType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionType.
func (*ConnectionType) UnmarshalJSON ¶
func (ct *ConnectionType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectionType struct.
type ConnectionTypeAssociationProperty ¶
type ConnectionTypeAssociationProperty struct { // Name - Gets or sets the name of the connection type. Name *string `json:"name,omitempty"` }
ConnectionTypeAssociationProperty the connection type property associated with the entity.
type ConnectionTypeClient ¶
type ConnectionTypeClient struct {
BaseClient
}
ConnectionTypeClient is the automation Client
func NewConnectionTypeClient ¶
func NewConnectionTypeClient(subscriptionID string) ConnectionTypeClient
NewConnectionTypeClient creates an instance of the ConnectionTypeClient client.
func NewConnectionTypeClientWithBaseURI ¶
func NewConnectionTypeClientWithBaseURI(baseURI string, subscriptionID string) ConnectionTypeClient
NewConnectionTypeClientWithBaseURI creates an instance of the ConnectionTypeClient client.
func (ConnectionTypeClient) CreateOrUpdate ¶
func (client ConnectionTypeClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string, parameters ConnectionTypeCreateOrUpdateParameters) (result ConnectionType, err error)
CreateOrUpdate create a connectiontype.
resourceGroupName is the resource group name. automationAccountName is the automation account name. connectionTypeName is the parameters supplied to the create or update connectiontype operation. parameters is the parameters supplied to the create or update connectiontype operation.
func (ConnectionTypeClient) CreateOrUpdatePreparer ¶
func (client ConnectionTypeClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string, parameters ConnectionTypeCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ConnectionTypeClient) CreateOrUpdateResponder ¶
func (client ConnectionTypeClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectionType, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ConnectionTypeClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ConnectionTypeClient) Delete ¶
func (client ConnectionTypeClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string) (result autorest.Response, err error)
Delete delete the connectiontype.
resourceGroupName is the resource group name. automationAccountName is the automation account name. connectionTypeName is the name of connectiontype.
func (ConnectionTypeClient) DeletePreparer ¶
func (client ConnectionTypeClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConnectionTypeClient) DeleteResponder ¶
func (client ConnectionTypeClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ConnectionTypeClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ConnectionTypeClient) Get ¶
func (client ConnectionTypeClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string) (result ConnectionType, err error)
Get retrieve the connectiontype identified by connectiontype name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. connectionTypeName is the name of connectiontype.
func (ConnectionTypeClient) GetPreparer ¶
func (client ConnectionTypeClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConnectionTypeClient) GetResponder ¶
func (client ConnectionTypeClient) GetResponder(resp *http.Response) (result ConnectionType, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ConnectionTypeClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ConnectionTypeClient) ListByAutomationAccount ¶
func (client ConnectionTypeClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionTypeListResultPage, err error)
ListByAutomationAccount retrieve a list of connectiontypes.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (ConnectionTypeClient) ListByAutomationAccountComplete ¶
func (client ConnectionTypeClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ConnectionTypeListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (ConnectionTypeClient) ListByAutomationAccountPreparer ¶
func (client ConnectionTypeClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (ConnectionTypeClient) ListByAutomationAccountResponder ¶
func (client ConnectionTypeClient) ListByAutomationAccountResponder(resp *http.Response) (result ConnectionTypeListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (ConnectionTypeClient) ListByAutomationAccountSender ¶
func (client ConnectionTypeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
type ConnectionTypeCreateOrUpdateParameters ¶
type ConnectionTypeCreateOrUpdateParameters struct { // Name - Gets or sets the name of the connection type. Name *string `json:"name,omitempty"` // ConnectionTypeCreateOrUpdateProperties - Gets or sets the value of the connection type. *ConnectionTypeCreateOrUpdateProperties `json:"properties,omitempty"` }
ConnectionTypeCreateOrUpdateParameters the parameters supplied to the create or update connection type operation.
func (ConnectionTypeCreateOrUpdateParameters) MarshalJSON ¶
func (ctcoup ConnectionTypeCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionTypeCreateOrUpdateParameters.
func (*ConnectionTypeCreateOrUpdateParameters) UnmarshalJSON ¶
func (ctcoup *ConnectionTypeCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectionTypeCreateOrUpdateParameters struct.
type ConnectionTypeCreateOrUpdateProperties ¶
type ConnectionTypeCreateOrUpdateProperties struct { // IsGlobal - Gets or sets a Boolean value to indicate if the connection type is global. IsGlobal *bool `json:"isGlobal,omitempty"` // FieldDefinitions - Gets or sets the field definitions of the connection type. FieldDefinitions map[string]*FieldDefinition `json:"fieldDefinitions"` }
ConnectionTypeCreateOrUpdateProperties the properties of the create connection type.
func (ConnectionTypeCreateOrUpdateProperties) MarshalJSON ¶
func (ctcoup ConnectionTypeCreateOrUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionTypeCreateOrUpdateProperties.
type ConnectionTypeListResult ¶
type ConnectionTypeListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of connection types. Value *[]ConnectionType `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
ConnectionTypeListResult the response model for the list connection type operation.
func (ConnectionTypeListResult) IsEmpty ¶
func (ctlr ConnectionTypeListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ConnectionTypeListResultIterator ¶
type ConnectionTypeListResultIterator struct {
// contains filtered or unexported fields
}
ConnectionTypeListResultIterator provides access to a complete listing of ConnectionType values.
func (*ConnectionTypeListResultIterator) Next ¶
func (iter *ConnectionTypeListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ConnectionTypeListResultIterator) NotDone ¶
func (iter ConnectionTypeListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ConnectionTypeListResultIterator) Response ¶
func (iter ConnectionTypeListResultIterator) Response() ConnectionTypeListResult
Response returns the raw server response from the last page request.
func (ConnectionTypeListResultIterator) Value ¶
func (iter ConnectionTypeListResultIterator) Value() ConnectionType
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ConnectionTypeListResultPage ¶
type ConnectionTypeListResultPage struct {
// contains filtered or unexported fields
}
ConnectionTypeListResultPage contains a page of ConnectionType values.
func (*ConnectionTypeListResultPage) Next ¶
func (page *ConnectionTypeListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ConnectionTypeListResultPage) NotDone ¶
func (page ConnectionTypeListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ConnectionTypeListResultPage) Response ¶
func (page ConnectionTypeListResultPage) Response() ConnectionTypeListResult
Response returns the raw server response from the last page request.
func (ConnectionTypeListResultPage) Values ¶
func (page ConnectionTypeListResultPage) Values() []ConnectionType
Values returns the slice of values for the current page or nil if there are no values.
type ConnectionTypeProperties ¶
type ConnectionTypeProperties struct { // IsGlobal - Gets or sets a Boolean value to indicate if the connection type is global. IsGlobal *bool `json:"isGlobal,omitempty"` // FieldDefinitions - Gets the field definitions of the connection type. FieldDefinitions map[string]*FieldDefinition `json:"fieldDefinitions"` // CreationTime - Gets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
ConnectionTypeProperties properties of the connection type.
func (ConnectionTypeProperties) MarshalJSON ¶
func (ctp ConnectionTypeProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionTypeProperties.
type ConnectionUpdateParameters ¶
type ConnectionUpdateParameters struct { // Name - Gets or sets the name of the connection. Name *string `json:"name,omitempty"` // ConnectionUpdateProperties - Gets or sets the properties of the connection. *ConnectionUpdateProperties `json:"properties,omitempty"` }
ConnectionUpdateParameters the parameters supplied to the update connection operation.
func (ConnectionUpdateParameters) MarshalJSON ¶
func (cup ConnectionUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionUpdateParameters.
func (*ConnectionUpdateParameters) UnmarshalJSON ¶
func (cup *ConnectionUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectionUpdateParameters struct.
type ConnectionUpdateProperties ¶
type ConnectionUpdateProperties struct { // Description - Gets or sets the description of the connection. Description *string `json:"description,omitempty"` // FieldDefinitionValues - Gets or sets the field definition values of the connection. FieldDefinitionValues map[string]*string `json:"fieldDefinitionValues"` }
ConnectionUpdateProperties the properties of the update connection operation.
func (ConnectionUpdateProperties) MarshalJSON ¶
func (cup ConnectionUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionUpdateProperties.
type ContentHash ¶
type ContentHash struct { // Algorithm - Gets or sets the content hash algorithm used to hash the content. Algorithm *string `json:"algorithm,omitempty"` // Value - Gets or sets expected hash value of the content. Value *string `json:"value,omitempty"` }
ContentHash definition of the runbook property type.
type ContentLink ¶
type ContentLink struct { // URI - Gets or sets the uri of the runbook content. URI *string `json:"uri,omitempty"` // ContentHash - Gets or sets the hash. ContentHash *ContentHash `json:"contentHash,omitempty"` // Version - Gets or sets the version of the content. Version *string `json:"version,omitempty"` }
ContentLink definition of the content link.
type ContentSource ¶
type ContentSource struct { // Hash - Gets or sets the hash. Hash *ContentHash `json:"hash,omitempty"` // Type - Gets or sets the content source type. Possible values include: 'EmbeddedContent', 'URI' Type ContentSourceType `json:"type,omitempty"` // Value - Gets or sets the value of the content. This is based on the content source type. Value *string `json:"value,omitempty"` // Version - Gets or sets the version of the content. Version *string `json:"version,omitempty"` }
ContentSource definition of the content source.
type ContentSourceType ¶
type ContentSourceType string
ContentSourceType enumerates the values for content source type.
const ( // EmbeddedContent ... EmbeddedContent ContentSourceType = "embeddedContent" // URI ... URI ContentSourceType = "uri" )
func PossibleContentSourceTypeValues ¶
func PossibleContentSourceTypeValues() []ContentSourceType
PossibleContentSourceTypeValues returns an array of possible values for the ContentSourceType const type.
type Credential ¶
type Credential struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the credential. Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // CredentialProperties - Gets or sets the properties of the credential. *CredentialProperties `json:"properties,omitempty"` }
Credential definition of the credential.
func (Credential) MarshalJSON ¶
func (c Credential) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Credential.
func (*Credential) UnmarshalJSON ¶
func (c *Credential) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Credential struct.
type CredentialClient ¶
type CredentialClient struct {
BaseClient
}
CredentialClient is the automation Client
func NewCredentialClient ¶
func NewCredentialClient(subscriptionID string) CredentialClient
NewCredentialClient creates an instance of the CredentialClient client.
func NewCredentialClientWithBaseURI ¶
func NewCredentialClientWithBaseURI(baseURI string, subscriptionID string) CredentialClient
NewCredentialClientWithBaseURI creates an instance of the CredentialClient client.
func (CredentialClient) CreateOrUpdate ¶
func (client CredentialClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters CredentialCreateOrUpdateParameters) (result Credential, err error)
CreateOrUpdate create a credential.
resourceGroupName is the resource group name. automationAccountName is the automation account name. credentialName is the parameters supplied to the create or update credential operation. parameters is the parameters supplied to the create or update credential operation.
func (CredentialClient) CreateOrUpdatePreparer ¶
func (client CredentialClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters CredentialCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (CredentialClient) CreateOrUpdateResponder ¶
func (client CredentialClient) CreateOrUpdateResponder(resp *http.Response) (result Credential, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (CredentialClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (CredentialClient) Delete ¶
func (client CredentialClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string) (result autorest.Response, err error)
Delete delete the credential.
resourceGroupName is the resource group name. automationAccountName is the automation account name. credentialName is the name of credential.
func (CredentialClient) DeletePreparer ¶
func (client CredentialClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (CredentialClient) DeleteResponder ¶
func (client CredentialClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (CredentialClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (CredentialClient) Get ¶
func (client CredentialClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string) (result Credential, err error)
Get retrieve the credential identified by credential name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. credentialName is the name of credential.
func (CredentialClient) GetPreparer ¶
func (client CredentialClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (CredentialClient) GetResponder ¶
func (client CredentialClient) GetResponder(resp *http.Response) (result Credential, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (CredentialClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (CredentialClient) ListByAutomationAccount ¶
func (client CredentialClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result CredentialListResultPage, err error)
ListByAutomationAccount retrieve a list of credentials.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (CredentialClient) ListByAutomationAccountComplete ¶
func (client CredentialClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result CredentialListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (CredentialClient) ListByAutomationAccountPreparer ¶
func (client CredentialClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (CredentialClient) ListByAutomationAccountResponder ¶
func (client CredentialClient) ListByAutomationAccountResponder(resp *http.Response) (result CredentialListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (CredentialClient) ListByAutomationAccountSender ¶
func (client CredentialClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (CredentialClient) Update ¶
func (client CredentialClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters CredentialUpdateParameters) (result Credential, err error)
Update update a credential.
resourceGroupName is the resource group name. automationAccountName is the automation account name. credentialName is the parameters supplied to the Update credential operation. parameters is the parameters supplied to the Update credential operation.
func (CredentialClient) UpdatePreparer ¶
func (client CredentialClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters CredentialUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (CredentialClient) UpdateResponder ¶
func (client CredentialClient) UpdateResponder(resp *http.Response) (result Credential, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (CredentialClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type CredentialCreateOrUpdateParameters ¶
type CredentialCreateOrUpdateParameters struct { // Name - Gets or sets the name of the credential. Name *string `json:"name,omitempty"` // CredentialCreateOrUpdateProperties - Gets or sets the properties of the credential. *CredentialCreateOrUpdateProperties `json:"properties,omitempty"` }
CredentialCreateOrUpdateParameters the parameters supplied to the create or update credential operation.
func (CredentialCreateOrUpdateParameters) MarshalJSON ¶
func (ccoup CredentialCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CredentialCreateOrUpdateParameters.
func (*CredentialCreateOrUpdateParameters) UnmarshalJSON ¶
func (ccoup *CredentialCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CredentialCreateOrUpdateParameters struct.
type CredentialCreateOrUpdateProperties ¶
type CredentialCreateOrUpdateProperties struct { // UserName - Gets or sets the user name of the credential. UserName *string `json:"userName,omitempty"` // Password - Gets or sets the password of the credential. Password *string `json:"password,omitempty"` // Description - Gets or sets the description of the credential. Description *string `json:"description,omitempty"` }
CredentialCreateOrUpdateProperties the properties of the create cerdential operation.
type CredentialListResult ¶
type CredentialListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of credentials. Value *[]Credential `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
CredentialListResult the response model for the list credential operation.
func (CredentialListResult) IsEmpty ¶
func (clr CredentialListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type CredentialListResultIterator ¶
type CredentialListResultIterator struct {
// contains filtered or unexported fields
}
CredentialListResultIterator provides access to a complete listing of Credential values.
func (*CredentialListResultIterator) Next ¶
func (iter *CredentialListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (CredentialListResultIterator) NotDone ¶
func (iter CredentialListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (CredentialListResultIterator) Response ¶
func (iter CredentialListResultIterator) Response() CredentialListResult
Response returns the raw server response from the last page request.
func (CredentialListResultIterator) Value ¶
func (iter CredentialListResultIterator) Value() Credential
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type CredentialListResultPage ¶
type CredentialListResultPage struct {
// contains filtered or unexported fields
}
CredentialListResultPage contains a page of Credential values.
func (*CredentialListResultPage) Next ¶
func (page *CredentialListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (CredentialListResultPage) NotDone ¶
func (page CredentialListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (CredentialListResultPage) Response ¶
func (page CredentialListResultPage) Response() CredentialListResult
Response returns the raw server response from the last page request.
func (CredentialListResultPage) Values ¶
func (page CredentialListResultPage) Values() []Credential
Values returns the slice of values for the current page or nil if there are no values.
type CredentialProperties ¶
type CredentialProperties struct { // UserName - Gets the user name of the credential. UserName *string `json:"userName,omitempty"` // CreationTime - Gets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
CredentialProperties definition of the credential properties
type CredentialUpdateParameters ¶
type CredentialUpdateParameters struct { // Name - Gets or sets the name of the credential. Name *string `json:"name,omitempty"` // CredentialUpdateProperties - Gets or sets the properties of the variable. *CredentialUpdateProperties `json:"properties,omitempty"` }
CredentialUpdateParameters the parameters supplied to the Update credential operation.
func (CredentialUpdateParameters) MarshalJSON ¶
func (cup CredentialUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CredentialUpdateParameters.
func (*CredentialUpdateParameters) UnmarshalJSON ¶
func (cup *CredentialUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CredentialUpdateParameters struct.
type CredentialUpdateProperties ¶
type CredentialUpdateProperties struct { // UserName - Gets or sets the user name of the credential. UserName *string `json:"userName,omitempty"` // Password - Gets or sets the password of the credential. Password *string `json:"password,omitempty"` // Description - Gets or sets the description of the credential. Description *string `json:"description,omitempty"` }
CredentialUpdateProperties the properties of the Update credential
type DscCompilationJob ¶
type DscCompilationJob struct { autorest.Response `json:"-"` // DscCompilationJobProperties - Gets or sets the properties of the Dsc Compilation job. *DscCompilationJobProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` }
DscCompilationJob definition of the Dsc Compilation job.
func (DscCompilationJob) MarshalJSON ¶
func (dcj DscCompilationJob) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscCompilationJob.
func (*DscCompilationJob) UnmarshalJSON ¶
func (dcj *DscCompilationJob) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DscCompilationJob struct.
type DscCompilationJobClient ¶
type DscCompilationJobClient struct {
BaseClient
}
DscCompilationJobClient is the automation Client
func NewDscCompilationJobClient ¶
func NewDscCompilationJobClient(subscriptionID string) DscCompilationJobClient
NewDscCompilationJobClient creates an instance of the DscCompilationJobClient client.
func NewDscCompilationJobClientWithBaseURI ¶
func NewDscCompilationJobClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobClient
NewDscCompilationJobClientWithBaseURI creates an instance of the DscCompilationJobClient client.
func (DscCompilationJobClient) Create ¶
func (client DscCompilationJobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID, parameters DscCompilationJobCreateParameters) (result DscCompilationJob, err error)
Create creates the Dsc compilation job of the configuration.
resourceGroupName is the resource group name. automationAccountName is the automation account name. compilationJobID is the the DSC configuration Id. parameters is the parameters supplied to the create compilation job operation.
func (DscCompilationJobClient) CreatePreparer ¶
func (client DscCompilationJobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID, parameters DscCompilationJobCreateParameters) (*http.Request, error)
CreatePreparer prepares the Create request.
func (DscCompilationJobClient) CreateResponder ¶
func (client DscCompilationJobClient) CreateResponder(resp *http.Response) (result DscCompilationJob, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (DscCompilationJobClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (DscCompilationJobClient) Get ¶
func (client DscCompilationJobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID) (result DscCompilationJob, err error)
Get retrieve the Dsc configuration compilation job identified by job id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. compilationJobID is the Dsc configuration compilation job id.
func (DscCompilationJobClient) GetPreparer ¶
func (client DscCompilationJobClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID) (*http.Request, error)
GetPreparer prepares the Get request.
func (DscCompilationJobClient) GetResponder ¶
func (client DscCompilationJobClient) GetResponder(resp *http.Response) (result DscCompilationJob, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DscCompilationJobClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DscCompilationJobClient) GetStream ¶
func (client DscCompilationJobClient) GetStream(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID, jobStreamID string) (result JobStream, err error)
GetStream retrieve the job stream identified by job stream id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id. jobStreamID is the job stream id.
func (DscCompilationJobClient) GetStreamPreparer ¶
func (client DscCompilationJobClient) GetStreamPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID, jobStreamID string) (*http.Request, error)
GetStreamPreparer prepares the GetStream request.
func (DscCompilationJobClient) GetStreamResponder ¶
func (client DscCompilationJobClient) GetStreamResponder(resp *http.Response) (result JobStream, err error)
GetStreamResponder handles the response to the GetStream request. The method always closes the http.Response Body.
func (DscCompilationJobClient) GetStreamSender ¶
GetStreamSender sends the GetStream request. The method will close the http.Response Body if it receives an error.
func (DscCompilationJobClient) ListByAutomationAccount ¶
func (client DscCompilationJobClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result DscCompilationJobListResultPage, err error)
ListByAutomationAccount retrieve a list of dsc compilation jobs.
resourceGroupName is the resource group name. automationAccountName is the automation account name. filter is the filter to apply on the operation.
func (DscCompilationJobClient) ListByAutomationAccountComplete ¶
func (client DscCompilationJobClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result DscCompilationJobListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (DscCompilationJobClient) ListByAutomationAccountPreparer ¶
func (client DscCompilationJobClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (DscCompilationJobClient) ListByAutomationAccountResponder ¶
func (client DscCompilationJobClient) ListByAutomationAccountResponder(resp *http.Response) (result DscCompilationJobListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (DscCompilationJobClient) ListByAutomationAccountSender ¶
func (client DscCompilationJobClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
type DscCompilationJobCreateParameters ¶
type DscCompilationJobCreateParameters struct { // DscCompilationJobCreateProperties - Gets or sets the list of compilation job properties. *DscCompilationJobCreateProperties `json:"properties,omitempty"` // Name - Gets or sets name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
DscCompilationJobCreateParameters the parameters supplied to the create compilation job operation.
func (DscCompilationJobCreateParameters) MarshalJSON ¶
func (dcjcp DscCompilationJobCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscCompilationJobCreateParameters.
func (*DscCompilationJobCreateParameters) UnmarshalJSON ¶
func (dcjcp *DscCompilationJobCreateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DscCompilationJobCreateParameters struct.
type DscCompilationJobCreateProperties ¶
type DscCompilationJobCreateProperties struct { // Configuration - Gets or sets the configuration. Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"` // Parameters - Gets or sets the parameters of the job. Parameters map[string]*string `json:"parameters"` // NewNodeConfigurationBuildVersionRequired - If a new build version of NodeConfiguration is required. NewNodeConfigurationBuildVersionRequired *bool `json:"newNodeConfigurationBuildVersionRequired,omitempty"` }
DscCompilationJobCreateProperties the parameters supplied to the create compilation job operation.
func (DscCompilationJobCreateProperties) MarshalJSON ¶
func (dcjcp DscCompilationJobCreateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscCompilationJobCreateProperties.
type DscCompilationJobListResult ¶
type DscCompilationJobListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of Dsc Compilation jobs. Value *[]DscCompilationJob `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
DscCompilationJobListResult the response model for the list job operation.
func (DscCompilationJobListResult) IsEmpty ¶
func (dcjlr DscCompilationJobListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DscCompilationJobListResultIterator ¶
type DscCompilationJobListResultIterator struct {
// contains filtered or unexported fields
}
DscCompilationJobListResultIterator provides access to a complete listing of DscCompilationJob values.
func (*DscCompilationJobListResultIterator) Next ¶
func (iter *DscCompilationJobListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DscCompilationJobListResultIterator) NotDone ¶
func (iter DscCompilationJobListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DscCompilationJobListResultIterator) Response ¶
func (iter DscCompilationJobListResultIterator) Response() DscCompilationJobListResult
Response returns the raw server response from the last page request.
func (DscCompilationJobListResultIterator) Value ¶
func (iter DscCompilationJobListResultIterator) Value() DscCompilationJob
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DscCompilationJobListResultPage ¶
type DscCompilationJobListResultPage struct {
// contains filtered or unexported fields
}
DscCompilationJobListResultPage contains a page of DscCompilationJob values.
func (*DscCompilationJobListResultPage) Next ¶
func (page *DscCompilationJobListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DscCompilationJobListResultPage) NotDone ¶
func (page DscCompilationJobListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DscCompilationJobListResultPage) Response ¶
func (page DscCompilationJobListResultPage) Response() DscCompilationJobListResult
Response returns the raw server response from the last page request.
func (DscCompilationJobListResultPage) Values ¶
func (page DscCompilationJobListResultPage) Values() []DscCompilationJob
Values returns the slice of values for the current page or nil if there are no values.
type DscCompilationJobProperties ¶
type DscCompilationJobProperties struct { // Configuration - Gets or sets the configuration. Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"` // StartedBy - Gets the compilation job started by. StartedBy *string `json:"startedBy,omitempty"` // JobID - Gets the id of the job. JobID *uuid.UUID `json:"jobId,omitempty"` // CreationTime - Gets the creation time of the job. CreationTime *date.Time `json:"creationTime,omitempty"` // ProvisioningState - The current provisioning state of the job. ProvisioningState *JobProvisioningStateProperty `json:"provisioningState,omitempty"` // RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed. RunOn *string `json:"runOn,omitempty"` // Status - Gets or sets the status of the job. Possible values include: 'JobStatusNew', 'JobStatusActivating', 'JobStatusRunning', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusStopped', 'JobStatusBlocked', 'JobStatusSuspended', 'JobStatusDisconnected', 'JobStatusSuspending', 'JobStatusStopping', 'JobStatusResuming', 'JobStatusRemoving' Status JobStatus `json:"status,omitempty"` // StatusDetails - Gets or sets the status details of the job. StatusDetails *string `json:"statusDetails,omitempty"` // StartTime - Gets the start time of the job. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - Gets the end time of the job. EndTime *date.Time `json:"endTime,omitempty"` // Exception - Gets the exception of the job. Exception *string `json:"exception,omitempty"` // LastModifiedTime - Gets the last modified time of the job. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // LastStatusModifiedTime - Gets the last status modified time of the job. LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"` // Parameters - Gets or sets the parameters of the job. Parameters map[string]*string `json:"parameters"` }
DscCompilationJobProperties definition of Dsc Compilation job properties.
func (DscCompilationJobProperties) MarshalJSON ¶
func (dcjp DscCompilationJobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscCompilationJobProperties.
type DscCompilationJobStreamClient ¶
type DscCompilationJobStreamClient struct {
BaseClient
}
DscCompilationJobStreamClient is the automation Client
func NewDscCompilationJobStreamClient ¶
func NewDscCompilationJobStreamClient(subscriptionID string) DscCompilationJobStreamClient
NewDscCompilationJobStreamClient creates an instance of the DscCompilationJobStreamClient client.
func NewDscCompilationJobStreamClientWithBaseURI ¶
func NewDscCompilationJobStreamClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobStreamClient
NewDscCompilationJobStreamClientWithBaseURI creates an instance of the DscCompilationJobStreamClient client.
func (DscCompilationJobStreamClient) ListByJob ¶
func (client DscCompilationJobStreamClient) ListByJob(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result JobStreamListResult, err error)
ListByJob retrieve all the job streams for the compilation Job.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id.
func (DscCompilationJobStreamClient) ListByJobPreparer ¶
func (client DscCompilationJobStreamClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)
ListByJobPreparer prepares the ListByJob request.
func (DscCompilationJobStreamClient) ListByJobResponder ¶
func (client DscCompilationJobStreamClient) ListByJobResponder(resp *http.Response) (result JobStreamListResult, err error)
ListByJobResponder handles the response to the ListByJob request. The method always closes the http.Response Body.
func (DscCompilationJobStreamClient) ListByJobSender ¶
func (client DscCompilationJobStreamClient) ListByJobSender(req *http.Request) (*http.Response, error)
ListByJobSender sends the ListByJob request. The method will close the http.Response Body if it receives an error.
type DscConfiguration ¶
type DscConfiguration struct { autorest.Response `json:"-"` // DscConfigurationProperties - Gets or sets the configuration properties. *DscConfigurationProperties `json:"properties,omitempty"` // Etag - Gets or sets the etag of the resource. Etag *string `json:"etag,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
DscConfiguration definition of the configuration type.
func (DscConfiguration) MarshalJSON ¶
func (dc DscConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscConfiguration.
func (*DscConfiguration) UnmarshalJSON ¶
func (dc *DscConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DscConfiguration struct.
type DscConfigurationAssociationProperty ¶
type DscConfigurationAssociationProperty struct { // Name - Gets or sets the name of the Dsc configuration. Name *string `json:"name,omitempty"` }
DscConfigurationAssociationProperty the Dsc configuration property associated with the entity.
type DscConfigurationClient ¶
type DscConfigurationClient struct {
BaseClient
}
DscConfigurationClient is the automation Client
func NewDscConfigurationClient ¶
func NewDscConfigurationClient(subscriptionID string) DscConfigurationClient
NewDscConfigurationClient creates an instance of the DscConfigurationClient client.
func NewDscConfigurationClientWithBaseURI ¶
func NewDscConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscConfigurationClient
NewDscConfigurationClientWithBaseURI creates an instance of the DscConfigurationClient client.
func (DscConfigurationClient) CreateOrUpdate ¶
func (client DscConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters DscConfigurationCreateOrUpdateParameters) (result DscConfiguration, err error)
CreateOrUpdate create the configuration identified by configuration name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. configurationName is the create or update parameters for configuration. parameters is the create or update parameters for configuration.
func (DscConfigurationClient) CreateOrUpdatePreparer ¶
func (client DscConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters DscConfigurationCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DscConfigurationClient) CreateOrUpdateResponder ¶
func (client DscConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DscConfigurationClient) CreateOrUpdateSender ¶
func (client DscConfigurationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DscConfigurationClient) Delete ¶
func (client DscConfigurationClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (result autorest.Response, err error)
Delete delete the dsc configuration identified by configuration name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. configurationName is the configuration name.
func (DscConfigurationClient) DeletePreparer ¶
func (client DscConfigurationClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DscConfigurationClient) DeleteResponder ¶
func (client DscConfigurationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DscConfigurationClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DscConfigurationClient) Get ¶
func (client DscConfigurationClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (result DscConfiguration, err error)
Get retrieve the configuration identified by configuration name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. configurationName is the configuration name.
func (DscConfigurationClient) GetContent ¶
func (client DscConfigurationClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (result String, err error)
GetContent retrieve the configuration script identified by configuration name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. configurationName is the configuration name.
func (DscConfigurationClient) GetContentPreparer ¶
func (client DscConfigurationClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (*http.Request, error)
GetContentPreparer prepares the GetContent request.
func (DscConfigurationClient) GetContentResponder ¶
func (client DscConfigurationClient) GetContentResponder(resp *http.Response) (result String, err error)
GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.
func (DscConfigurationClient) GetContentSender ¶
GetContentSender sends the GetContent request. The method will close the http.Response Body if it receives an error.
func (DscConfigurationClient) GetPreparer ¶
func (client DscConfigurationClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DscConfigurationClient) GetResponder ¶
func (client DscConfigurationClient) GetResponder(resp *http.Response) (result DscConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DscConfigurationClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DscConfigurationClient) ListByAutomationAccount ¶
func (client DscConfigurationClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result DscConfigurationListResultPage, err error)
ListByAutomationAccount retrieve a list of configurations.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (DscConfigurationClient) ListByAutomationAccountComplete ¶
func (client DscConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result DscConfigurationListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (DscConfigurationClient) ListByAutomationAccountPreparer ¶
func (client DscConfigurationClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (DscConfigurationClient) ListByAutomationAccountResponder ¶
func (client DscConfigurationClient) ListByAutomationAccountResponder(resp *http.Response) (result DscConfigurationListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (DscConfigurationClient) ListByAutomationAccountSender ¶
func (client DscConfigurationClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (DscConfigurationClient) Update ¶
func (client DscConfigurationClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters *DscConfigurationUpdateParameters) (result DscConfiguration, err error)
Update create the configuration identified by configuration name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. configurationName is the create or update parameters for configuration. parameters is the create or update parameters for configuration.
func (DscConfigurationClient) UpdatePreparer ¶
func (client DscConfigurationClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters *DscConfigurationUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DscConfigurationClient) UpdateResponder ¶
func (client DscConfigurationClient) UpdateResponder(resp *http.Response) (result DscConfiguration, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DscConfigurationClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DscConfigurationCreateOrUpdateParameters ¶
type DscConfigurationCreateOrUpdateParameters struct { // DscConfigurationCreateOrUpdateProperties - Gets or sets configuration create or update properties. *DscConfigurationCreateOrUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
DscConfigurationCreateOrUpdateParameters the parameters supplied to the create or update configuration operation.
func (DscConfigurationCreateOrUpdateParameters) MarshalJSON ¶
func (dccoup DscConfigurationCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscConfigurationCreateOrUpdateParameters.
func (*DscConfigurationCreateOrUpdateParameters) UnmarshalJSON ¶
func (dccoup *DscConfigurationCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DscConfigurationCreateOrUpdateParameters struct.
type DscConfigurationCreateOrUpdateProperties ¶
type DscConfigurationCreateOrUpdateProperties struct { // LogVerbose - Gets or sets verbose log option. LogVerbose *bool `json:"logVerbose,omitempty"` // LogProgress - Gets or sets progress log option. LogProgress *bool `json:"logProgress,omitempty"` // Source - Gets or sets the source. Source *ContentSource `json:"source,omitempty"` // Parameters - Gets or sets the configuration parameters. Parameters map[string]*DscConfigurationParameter `json:"parameters"` // Description - Gets or sets the description of the configuration. Description *string `json:"description,omitempty"` }
DscConfigurationCreateOrUpdateProperties the properties to create or update configuration.
func (DscConfigurationCreateOrUpdateProperties) MarshalJSON ¶
func (dccoup DscConfigurationCreateOrUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscConfigurationCreateOrUpdateProperties.
type DscConfigurationListResult ¶
type DscConfigurationListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of configurations. Value *[]DscConfiguration `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
DscConfigurationListResult the response model for the list configuration operation.
func (DscConfigurationListResult) IsEmpty ¶
func (dclr DscConfigurationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DscConfigurationListResultIterator ¶
type DscConfigurationListResultIterator struct {
// contains filtered or unexported fields
}
DscConfigurationListResultIterator provides access to a complete listing of DscConfiguration values.
func (*DscConfigurationListResultIterator) Next ¶
func (iter *DscConfigurationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DscConfigurationListResultIterator) NotDone ¶
func (iter DscConfigurationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DscConfigurationListResultIterator) Response ¶
func (iter DscConfigurationListResultIterator) Response() DscConfigurationListResult
Response returns the raw server response from the last page request.
func (DscConfigurationListResultIterator) Value ¶
func (iter DscConfigurationListResultIterator) Value() DscConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DscConfigurationListResultPage ¶
type DscConfigurationListResultPage struct {
// contains filtered or unexported fields
}
DscConfigurationListResultPage contains a page of DscConfiguration values.
func (*DscConfigurationListResultPage) Next ¶
func (page *DscConfigurationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DscConfigurationListResultPage) NotDone ¶
func (page DscConfigurationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DscConfigurationListResultPage) Response ¶
func (page DscConfigurationListResultPage) Response() DscConfigurationListResult
Response returns the raw server response from the last page request.
func (DscConfigurationListResultPage) Values ¶
func (page DscConfigurationListResultPage) Values() []DscConfiguration
Values returns the slice of values for the current page or nil if there are no values.
type DscConfigurationParameter ¶
type DscConfigurationParameter struct { // Type - Gets or sets the type of the parameter. Type *string `json:"type,omitempty"` // IsMandatory - Gets or sets a Boolean value to indicate whether the parameter is madatory or not. IsMandatory *bool `json:"isMandatory,omitempty"` // Position - Get or sets the position of the parameter. Position *int32 `json:"position,omitempty"` // DefaultValue - Gets or sets the default value of parameter. DefaultValue *string `json:"defaultValue,omitempty"` }
DscConfigurationParameter definition of the configuration parameter type.
type DscConfigurationProperties ¶
type DscConfigurationProperties struct { // ProvisioningState - Gets or sets the provisioning state of the configuration. Possible values include: 'Succeeded' ProvisioningState DscConfigurationProvisioningState `json:"provisioningState,omitempty"` // JobCount - Gets or sets the job count of the configuration. JobCount *int32 `json:"jobCount,omitempty"` // Parameters - Gets or sets the configuration parameters. Parameters map[string]*DscConfigurationParameter `json:"parameters"` // Source - Gets or sets the source. Source *ContentSource `json:"source,omitempty"` // State - Gets or sets the state of the configuration. Possible values include: 'DscConfigurationStateNew', 'DscConfigurationStateEdit', 'DscConfigurationStatePublished' State DscConfigurationState `json:"state,omitempty"` // LogVerbose - Gets or sets verbose log option. LogVerbose *bool `json:"logVerbose,omitempty"` // CreationTime - Gets or sets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
DscConfigurationProperties definition of the configuration property type.
func (DscConfigurationProperties) MarshalJSON ¶
func (dcp DscConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscConfigurationProperties.
type DscConfigurationProvisioningState ¶
type DscConfigurationProvisioningState string
DscConfigurationProvisioningState enumerates the values for dsc configuration provisioning state.
const ( // Succeeded ... Succeeded DscConfigurationProvisioningState = "Succeeded" )
func PossibleDscConfigurationProvisioningStateValues ¶
func PossibleDscConfigurationProvisioningStateValues() []DscConfigurationProvisioningState
PossibleDscConfigurationProvisioningStateValues returns an array of possible values for the DscConfigurationProvisioningState const type.
type DscConfigurationState ¶
type DscConfigurationState string
DscConfigurationState enumerates the values for dsc configuration state.
const ( // DscConfigurationStateEdit ... DscConfigurationStateEdit DscConfigurationState = "Edit" // DscConfigurationStateNew ... DscConfigurationStateNew DscConfigurationState = "New" // DscConfigurationStatePublished ... DscConfigurationStatePublished DscConfigurationState = "Published" )
func PossibleDscConfigurationStateValues ¶
func PossibleDscConfigurationStateValues() []DscConfigurationState
PossibleDscConfigurationStateValues returns an array of possible values for the DscConfigurationState const type.
type DscConfigurationUpdateParameters ¶
type DscConfigurationUpdateParameters struct { // DscConfigurationCreateOrUpdateProperties - Gets or sets configuration create or update properties. *DscConfigurationCreateOrUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets name of the resource. Name *string `json:"name,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
DscConfigurationUpdateParameters the parameters supplied to the create or update configuration operation.
func (DscConfigurationUpdateParameters) MarshalJSON ¶
func (dcup DscConfigurationUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DscConfigurationUpdateParameters.
func (*DscConfigurationUpdateParameters) UnmarshalJSON ¶
func (dcup *DscConfigurationUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DscConfigurationUpdateParameters struct.
type DscMetaConfiguration ¶
type DscMetaConfiguration struct { // ConfigurationModeFrequencyMins - Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration. ConfigurationModeFrequencyMins *int32 `json:"configurationModeFrequencyMins,omitempty"` // RebootNodeIfNeeded - Gets or sets the RebootNodeIfNeeded value of the meta configuration. RebootNodeIfNeeded *bool `json:"rebootNodeIfNeeded,omitempty"` // ConfigurationMode - Gets or sets the ConfigurationMode value of the meta configuration. ConfigurationMode *string `json:"configurationMode,omitempty"` // ActionAfterReboot - Gets or sets the ActionAfterReboot value of the meta configuration. ActionAfterReboot *string `json:"actionAfterReboot,omitempty"` // CertificateID - Gets or sets the CertificateId value of the meta configuration. CertificateID *string `json:"certificateId,omitempty"` // RefreshFrequencyMins - Gets or sets the RefreshFrequencyMins value of the meta configuration. RefreshFrequencyMins *int32 `json:"refreshFrequencyMins,omitempty"` // AllowModuleOverwrite - Gets or sets the AllowModuleOverwrite value of the meta configuration. AllowModuleOverwrite *bool `json:"allowModuleOverwrite,omitempty"` }
DscMetaConfiguration definition of the DSC Meta Configuration.
type DscNode ¶
type DscNode struct { autorest.Response `json:"-"` // LastSeen - Gets or sets the last seen time of the node. LastSeen *date.Time `json:"lastSeen,omitempty"` // RegistrationTime - Gets or sets the registration time of the node. RegistrationTime *date.Time `json:"registrationTime,omitempty"` // IP - Gets or sets the ip of the node. IP *string `json:"ip,omitempty"` // AccountID - Gets or sets the account id of the node. AccountID *string `json:"accountId,omitempty"` // NodeConfiguration - Gets or sets the configuration of the node. NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"` // Status - Gets or sets the status of the node. Status *string `json:"status,omitempty"` // NodeID - Gets or sets the node id. NodeID *string `json:"nodeId,omitempty"` // Etag - Gets or sets the etag of the resource. Etag *string `json:"etag,omitempty"` // ExtensionHandler - Gets or sets the list of extensionHandler properties for a Node. ExtensionHandler *[]DscNodeExtensionHandlerAssociationProperty `json:"extensionHandler,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` }
DscNode definition of the dsc node type.
type DscNodeClient ¶
type DscNodeClient struct {
BaseClient
}
DscNodeClient is the automation Client
func NewDscNodeClient ¶
func NewDscNodeClient(subscriptionID string) DscNodeClient
NewDscNodeClient creates an instance of the DscNodeClient client.
func NewDscNodeClientWithBaseURI ¶
func NewDscNodeClientWithBaseURI(baseURI string, subscriptionID string) DscNodeClient
NewDscNodeClientWithBaseURI creates an instance of the DscNodeClient client.
func (DscNodeClient) Delete ¶
func (client DscNodeClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string) (result DscNode, err error)
Delete delete the dsc node identified by node id.
resourceGroupName is the resource group name. automationAccountName is automation account name. nodeID is the node id.
func (DscNodeClient) DeletePreparer ¶
func (client DscNodeClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DscNodeClient) DeleteResponder ¶
func (client DscNodeClient) DeleteResponder(resp *http.Response) (result DscNode, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DscNodeClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DscNodeClient) Get ¶
func (client DscNodeClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string) (result DscNode, err error)
Get retrieve the dsc node identified by node id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeID is the node id.
func (DscNodeClient) GetPreparer ¶
func (client DscNodeClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DscNodeClient) GetResponder ¶
func (client DscNodeClient) GetResponder(resp *http.Response) (result DscNode, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DscNodeClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DscNodeClient) ListByAutomationAccount ¶
func (client DscNodeClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result DscNodeListResultPage, err error)
ListByAutomationAccount retrieve a list of dsc nodes.
resourceGroupName is the resource group name. automationAccountName is the automation account name. filter is the filter to apply on the operation.
func (DscNodeClient) ListByAutomationAccountComplete ¶
func (client DscNodeClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result DscNodeListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (DscNodeClient) ListByAutomationAccountPreparer ¶
func (client DscNodeClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (DscNodeClient) ListByAutomationAccountResponder ¶
func (client DscNodeClient) ListByAutomationAccountResponder(resp *http.Response) (result DscNodeListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (DscNodeClient) ListByAutomationAccountSender ¶
func (client DscNodeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (DscNodeClient) Update ¶
func (client DscNodeClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, parameters DscNodeUpdateParameters) (result DscNode, err error)
Update update the dsc node.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeID is parameters supplied to the update dsc node. parameters is parameters supplied to the update dsc node.
func (DscNodeClient) UpdatePreparer ¶
func (client DscNodeClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, parameters DscNodeUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DscNodeClient) UpdateResponder ¶
func (client DscNodeClient) UpdateResponder(resp *http.Response) (result DscNode, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DscNodeClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DscNodeConfiguration ¶
type DscNodeConfiguration struct { autorest.Response `json:"-"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // CreationTime - Gets or sets creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // Configuration - Gets or sets the configuration of the node. Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` }
DscNodeConfiguration definition of the dsc node configuration.
type DscNodeConfigurationAssociationProperty ¶
type DscNodeConfigurationAssociationProperty struct { // Name - Gets or sets the name of the dsc nodeconfiguration. Name *string `json:"name,omitempty"` }
DscNodeConfigurationAssociationProperty the dsc nodeconfiguration property associated with the entity.
type DscNodeConfigurationClient ¶
type DscNodeConfigurationClient struct {
BaseClient
}
DscNodeConfigurationClient is the automation Client
func NewDscNodeConfigurationClient ¶
func NewDscNodeConfigurationClient(subscriptionID string) DscNodeConfigurationClient
NewDscNodeConfigurationClient creates an instance of the DscNodeConfigurationClient client.
func NewDscNodeConfigurationClientWithBaseURI ¶
func NewDscNodeConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscNodeConfigurationClient
NewDscNodeConfigurationClientWithBaseURI creates an instance of the DscNodeConfigurationClient client.
func (DscNodeConfigurationClient) CreateOrUpdate ¶
func (client DscNodeConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string, parameters DscNodeConfigurationCreateOrUpdateParameters) (result DscNodeConfiguration, err error)
CreateOrUpdate create the node configuration identified by node configuration name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeConfigurationName is the create or update parameters for configuration. parameters is the create or update parameters for configuration.
func (DscNodeConfigurationClient) CreateOrUpdatePreparer ¶
func (client DscNodeConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string, parameters DscNodeConfigurationCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DscNodeConfigurationClient) CreateOrUpdateResponder ¶
func (client DscNodeConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscNodeConfiguration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DscNodeConfigurationClient) CreateOrUpdateSender ¶
func (client DscNodeConfigurationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DscNodeConfigurationClient) Delete ¶
func (client DscNodeConfigurationClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string) (result autorest.Response, err error)
Delete delete the Dsc node configurations by node configuration.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeConfigurationName is the Dsc node configuration name.
func (DscNodeConfigurationClient) DeletePreparer ¶
func (client DscNodeConfigurationClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DscNodeConfigurationClient) DeleteResponder ¶
func (client DscNodeConfigurationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DscNodeConfigurationClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DscNodeConfigurationClient) Get ¶
func (client DscNodeConfigurationClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string) (result DscNodeConfiguration, err error)
Get retrieve the Dsc node configurations by node configuration.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeConfigurationName is the Dsc node configuration name.
func (DscNodeConfigurationClient) GetPreparer ¶
func (client DscNodeConfigurationClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DscNodeConfigurationClient) GetResponder ¶
func (client DscNodeConfigurationClient) GetResponder(resp *http.Response) (result DscNodeConfiguration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DscNodeConfigurationClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DscNodeConfigurationClient) ListByAutomationAccount ¶
func (client DscNodeConfigurationClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result DscNodeConfigurationListResultPage, err error)
ListByAutomationAccount retrieve a list of dsc node configurations.
resourceGroupName is the resource group name. automationAccountName is the automation account name. filter is the filter to apply on the operation.
func (DscNodeConfigurationClient) ListByAutomationAccountComplete ¶
func (client DscNodeConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result DscNodeConfigurationListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (DscNodeConfigurationClient) ListByAutomationAccountPreparer ¶
func (client DscNodeConfigurationClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (DscNodeConfigurationClient) ListByAutomationAccountResponder ¶
func (client DscNodeConfigurationClient) ListByAutomationAccountResponder(resp *http.Response) (result DscNodeConfigurationListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (DscNodeConfigurationClient) ListByAutomationAccountSender ¶
func (client DscNodeConfigurationClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
type DscNodeConfigurationCreateOrUpdateParameters ¶
type DscNodeConfigurationCreateOrUpdateParameters struct { // Source - Gets or sets the source. Source *ContentSource `json:"source,omitempty"` // Name - Gets or sets the type of the parameter. Name *string `json:"name,omitempty"` // Configuration - Gets or sets the configuration of the node. Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"` // NewNodeConfigurationBuildVersionRequired - If a new build version of NodeConfiguration is required. NewNodeConfigurationBuildVersionRequired *bool `json:"newNodeConfigurationBuildVersionRequired,omitempty"` }
DscNodeConfigurationCreateOrUpdateParameters the parameters supplied to the create or update node configuration operation.
type DscNodeConfigurationListResult ¶
type DscNodeConfigurationListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of Dsc node configurations. Value *[]DscNodeConfiguration `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
DscNodeConfigurationListResult the response model for the list job operation.
func (DscNodeConfigurationListResult) IsEmpty ¶
func (dnclr DscNodeConfigurationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DscNodeConfigurationListResultIterator ¶
type DscNodeConfigurationListResultIterator struct {
// contains filtered or unexported fields
}
DscNodeConfigurationListResultIterator provides access to a complete listing of DscNodeConfiguration values.
func (*DscNodeConfigurationListResultIterator) Next ¶
func (iter *DscNodeConfigurationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DscNodeConfigurationListResultIterator) NotDone ¶
func (iter DscNodeConfigurationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DscNodeConfigurationListResultIterator) Response ¶
func (iter DscNodeConfigurationListResultIterator) Response() DscNodeConfigurationListResult
Response returns the raw server response from the last page request.
func (DscNodeConfigurationListResultIterator) Value ¶
func (iter DscNodeConfigurationListResultIterator) Value() DscNodeConfiguration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DscNodeConfigurationListResultPage ¶
type DscNodeConfigurationListResultPage struct {
// contains filtered or unexported fields
}
DscNodeConfigurationListResultPage contains a page of DscNodeConfiguration values.
func (*DscNodeConfigurationListResultPage) Next ¶
func (page *DscNodeConfigurationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DscNodeConfigurationListResultPage) NotDone ¶
func (page DscNodeConfigurationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DscNodeConfigurationListResultPage) Response ¶
func (page DscNodeConfigurationListResultPage) Response() DscNodeConfigurationListResult
Response returns the raw server response from the last page request.
func (DscNodeConfigurationListResultPage) Values ¶
func (page DscNodeConfigurationListResultPage) Values() []DscNodeConfiguration
Values returns the slice of values for the current page or nil if there are no values.
type DscNodeExtensionHandlerAssociationProperty ¶
type DscNodeExtensionHandlerAssociationProperty struct { // Name - Gets or sets the name of the extension handler. Name *string `json:"name,omitempty"` // Version - Gets or sets the version of the extension handler. Version *string `json:"version,omitempty"` }
DscNodeExtensionHandlerAssociationProperty the dsc extensionHandler property associated with the node
type DscNodeListResult ¶
type DscNodeListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of dsc nodes. Value *[]DscNode `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
DscNodeListResult the response model for the list dsc nodes operation.
func (DscNodeListResult) IsEmpty ¶
func (dnlr DscNodeListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DscNodeListResultIterator ¶
type DscNodeListResultIterator struct {
// contains filtered or unexported fields
}
DscNodeListResultIterator provides access to a complete listing of DscNode values.
func (*DscNodeListResultIterator) Next ¶
func (iter *DscNodeListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DscNodeListResultIterator) NotDone ¶
func (iter DscNodeListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DscNodeListResultIterator) Response ¶
func (iter DscNodeListResultIterator) Response() DscNodeListResult
Response returns the raw server response from the last page request.
func (DscNodeListResultIterator) Value ¶
func (iter DscNodeListResultIterator) Value() DscNode
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DscNodeListResultPage ¶
type DscNodeListResultPage struct {
// contains filtered or unexported fields
}
DscNodeListResultPage contains a page of DscNode values.
func (*DscNodeListResultPage) Next ¶
func (page *DscNodeListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DscNodeListResultPage) NotDone ¶
func (page DscNodeListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DscNodeListResultPage) Response ¶
func (page DscNodeListResultPage) Response() DscNodeListResult
Response returns the raw server response from the last page request.
func (DscNodeListResultPage) Values ¶
func (page DscNodeListResultPage) Values() []DscNode
Values returns the slice of values for the current page or nil if there are no values.
type DscNodeReport ¶
type DscNodeReport struct { autorest.Response `json:"-"` // EndTime - Gets or sets the end time of the node report. EndTime *date.Time `json:"endTime,omitempty"` // LastModifiedTime - Gets or sets the lastModifiedTime of the node report. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // StartTime - Gets or sets the start time of the node report. StartTime *date.Time `json:"startTime,omitempty"` // Type - Gets or sets the type of the node report. Type *string `json:"type,omitempty"` // ReportID - Gets or sets the id of the node report. ReportID *string `json:"reportId,omitempty"` // Status - Gets or sets the status of the node report. Status *string `json:"status,omitempty"` // RefreshMode - Gets or sets the refreshMode of the node report. RefreshMode *string `json:"refreshMode,omitempty"` // RebootRequested - Gets or sets the rebootRequested of the node report. RebootRequested *string `json:"rebootRequested,omitempty"` // ReportFormatVersion - Gets or sets the reportFormatVersion of the node report. ReportFormatVersion *string `json:"reportFormatVersion,omitempty"` // ConfigurationVersion - Gets or sets the configurationVersion of the node report. ConfigurationVersion *string `json:"configurationVersion,omitempty"` // ID - Gets or sets the id. ID *string `json:"id,omitempty"` // Errors - Gets or sets the errors for the node report. Errors *[]DscReportError `json:"errors,omitempty"` // Resources - Gets or sets the resource for the node report. Resources *[]DscReportResource `json:"resources,omitempty"` // MetaConfiguration - Gets or sets the metaConfiguration of the node at the time of the report. MetaConfiguration *DscMetaConfiguration `json:"metaConfiguration,omitempty"` // HostName - Gets or sets the hostname of the node that sent the report. HostName *string `json:"hostName,omitempty"` // IPV4Addresses - Gets or sets the IPv4 address of the node that sent the report. IPV4Addresses *[]string `json:"iPV4Addresses,omitempty"` // IPV6Addresses - Gets or sets the IPv6 address of the node that sent the report. IPV6Addresses *[]string `json:"iPV6Addresses,omitempty"` // NumberOfResources - Gets or sets the number of resource in the node report. NumberOfResources *int32 `json:"numberOfResources,omitempty"` // RawErrors - Gets or sets the unparsed errors for the node report. RawErrors *string `json:"rawErrors,omitempty"` }
DscNodeReport definition of the dsc node report type.
type DscNodeReportListResult ¶
type DscNodeReportListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of dsc node reports. Value *[]DscNodeReport `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
DscNodeReportListResult the response model for the list dsc nodes operation.
func (DscNodeReportListResult) IsEmpty ¶
func (dnrlr DscNodeReportListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DscNodeReportListResultIterator ¶
type DscNodeReportListResultIterator struct {
// contains filtered or unexported fields
}
DscNodeReportListResultIterator provides access to a complete listing of DscNodeReport values.
func (*DscNodeReportListResultIterator) Next ¶
func (iter *DscNodeReportListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DscNodeReportListResultIterator) NotDone ¶
func (iter DscNodeReportListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DscNodeReportListResultIterator) Response ¶
func (iter DscNodeReportListResultIterator) Response() DscNodeReportListResult
Response returns the raw server response from the last page request.
func (DscNodeReportListResultIterator) Value ¶
func (iter DscNodeReportListResultIterator) Value() DscNodeReport
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DscNodeReportListResultPage ¶
type DscNodeReportListResultPage struct {
// contains filtered or unexported fields
}
DscNodeReportListResultPage contains a page of DscNodeReport values.
func (*DscNodeReportListResultPage) Next ¶
func (page *DscNodeReportListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DscNodeReportListResultPage) NotDone ¶
func (page DscNodeReportListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DscNodeReportListResultPage) Response ¶
func (page DscNodeReportListResultPage) Response() DscNodeReportListResult
Response returns the raw server response from the last page request.
func (DscNodeReportListResultPage) Values ¶
func (page DscNodeReportListResultPage) Values() []DscNodeReport
Values returns the slice of values for the current page or nil if there are no values.
type DscNodeUpdateParameters ¶
type DscNodeUpdateParameters struct { // NodeID - Gets or sets the id of the dsc node. NodeID *string `json:"nodeId,omitempty"` // NodeConfiguration - Gets or sets the configuration of the node. NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"` }
DscNodeUpdateParameters the parameters supplied to the update dsc node operation.
type DscReportError ¶
type DscReportError struct { // ErrorSource - Gets or sets the source of the error. ErrorSource *string `json:"errorSource,omitempty"` // ResourceID - Gets or sets the resource ID which generated the error. ResourceID *string `json:"resourceId,omitempty"` // ErrorCode - Gets or sets the error code. ErrorCode *string `json:"errorCode,omitempty"` // ErrorMessage - Gets or sets the error message. ErrorMessage *string `json:"errorMessage,omitempty"` // Locale - Gets or sets the locale of the error. Locale *string `json:"locale,omitempty"` // ErrorDetails - Gets or sets the error details. ErrorDetails *string `json:"errorDetails,omitempty"` }
DscReportError definition of the dsc node report error type.
type DscReportResource ¶
type DscReportResource struct { // ResourceID - Gets or sets the ID of the resource. ResourceID *string `json:"resourceId,omitempty"` // SourceInfo - Gets or sets the source info of the resource. SourceInfo *string `json:"sourceInfo,omitempty"` // DependsOn - Gets or sets the Resource Navigation values for resources the resource depends on. DependsOn *[]DscReportResourceNavigation `json:"dependsOn,omitempty"` // ModuleName - Gets or sets the module name of the resource. ModuleName *string `json:"moduleName,omitempty"` // ModuleVersion - Gets or sets the module version of the resource. ModuleVersion *string `json:"moduleVersion,omitempty"` // ResourceName - Gets or sets the name of the resource. ResourceName *string `json:"resourceName,omitempty"` // Error - Gets or sets the error of the resource. Error *string `json:"error,omitempty"` // Status - Gets or sets the status of the resource. Status *string `json:"status,omitempty"` // DurationInSeconds - Gets or sets the duration in seconds for the resource. DurationInSeconds *float64 `json:"durationInSeconds,omitempty"` // StartDate - Gets or sets the start date of the resource. StartDate *date.Time `json:"startDate,omitempty"` }
DscReportResource definition of the DSC Report Resource.
type DscReportResourceNavigation ¶
type DscReportResourceNavigation struct { string `json:"resourceId,omitempty"` }ResourceID *
DscReportResourceNavigation navigation for DSC Report Resource.
type ErrorResponse ¶
type ErrorResponse struct { // Code - Error code Code *string `json:"code,omitempty"` // Message - Error message indicating why the operation failed. Message *string `json:"message,omitempty"` }
ErrorResponse error response of an operation failure
type FieldDefinition ¶
type FieldDefinition struct { // IsEncrypted - Gets or sets the isEncrypted flag of the connection field definition. IsEncrypted *bool `json:"isEncrypted,omitempty"` // IsOptional - Gets or sets the isOptional flag of the connection field definition. IsOptional *bool `json:"isOptional,omitempty"` // Type - Gets or sets the type of the connection field definition. Type *string `json:"type,omitempty"` }
FieldDefinition definition of the connection fields.
type FieldsClient ¶
type FieldsClient struct {
BaseClient
}
FieldsClient is the automation Client
func NewFieldsClient ¶
func NewFieldsClient(subscriptionID string) FieldsClient
NewFieldsClient creates an instance of the FieldsClient client.
func NewFieldsClientWithBaseURI ¶
func NewFieldsClientWithBaseURI(baseURI string, subscriptionID string) FieldsClient
NewFieldsClientWithBaseURI creates an instance of the FieldsClient client.
func (FieldsClient) ListByType ¶
func (client FieldsClient) ListByType(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, typeName string) (result TypeFieldListResult, err error)
ListByType retrieve a list of fields of a given type identified by module name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the name of module. typeName is the name of type.
func (FieldsClient) ListByTypePreparer ¶
func (client FieldsClient) ListByTypePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, typeName string) (*http.Request, error)
ListByTypePreparer prepares the ListByType request.
func (FieldsClient) ListByTypeResponder ¶
func (client FieldsClient) ListByTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)
ListByTypeResponder handles the response to the ListByType request. The method always closes the http.Response Body.
func (FieldsClient) ListByTypeSender ¶
ListByTypeSender sends the ListByType request. The method will close the http.Response Body if it receives an error.
type HTTPStatusCode ¶
type HTTPStatusCode string
HTTPStatusCode enumerates the values for http status code.
const ( // Accepted ... Accepted HTTPStatusCode = "Accepted" // Ambiguous ... Ambiguous HTTPStatusCode = "Ambiguous" // BadGateway ... BadGateway HTTPStatusCode = "BadGateway" // BadRequest ... BadRequest HTTPStatusCode = "BadRequest" // Conflict ... Conflict HTTPStatusCode = "Conflict" // Continue ... Continue HTTPStatusCode = "Continue" // Created ... Created HTTPStatusCode = "Created" // ExpectationFailed ... ExpectationFailed HTTPStatusCode = "ExpectationFailed" // Forbidden ... Forbidden HTTPStatusCode = "Forbidden" // Found ... Found HTTPStatusCode = "Found" // GatewayTimeout ... GatewayTimeout HTTPStatusCode = "GatewayTimeout" // Gone ... Gone HTTPStatusCode = "Gone" // HTTPVersionNotSupported ... HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported" // InternalServerError ... InternalServerError HTTPStatusCode = "InternalServerError" // LengthRequired ... LengthRequired HTTPStatusCode = "LengthRequired" // MethodNotAllowed ... MethodNotAllowed HTTPStatusCode = "MethodNotAllowed" // Moved ... Moved HTTPStatusCode = "Moved" // MovedPermanently ... MovedPermanently HTTPStatusCode = "MovedPermanently" // MultipleChoices ... MultipleChoices HTTPStatusCode = "MultipleChoices" // NoContent ... NoContent HTTPStatusCode = "NoContent" // NonAuthoritativeInformation ... NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation" // NotAcceptable ... NotAcceptable HTTPStatusCode = "NotAcceptable" // NotFound ... NotFound HTTPStatusCode = "NotFound" // NotImplemented ... NotImplemented HTTPStatusCode = "NotImplemented" // NotModified ... NotModified HTTPStatusCode = "NotModified" // OK ... OK HTTPStatusCode = "OK" // PartialContent ... PartialContent HTTPStatusCode = "PartialContent" // PaymentRequired ... PaymentRequired HTTPStatusCode = "PaymentRequired" // PreconditionFailed ... PreconditionFailed HTTPStatusCode = "PreconditionFailed" // ProxyAuthenticationRequired ... ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired" // Redirect ... Redirect HTTPStatusCode = "Redirect" // RedirectKeepVerb ... RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb" // RedirectMethod ... RedirectMethod HTTPStatusCode = "RedirectMethod" // RequestedRangeNotSatisfiable ... RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable" // RequestEntityTooLarge ... RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge" // RequestTimeout ... RequestTimeout HTTPStatusCode = "RequestTimeout" // RequestURITooLong ... RequestURITooLong HTTPStatusCode = "RequestUriTooLong" // ResetContent ... ResetContent HTTPStatusCode = "ResetContent" // SeeOther ... SeeOther HTTPStatusCode = "SeeOther" ServiceUnavailable HTTPStatusCode = "ServiceUnavailable" // SwitchingProtocols ... SwitchingProtocols HTTPStatusCode = "SwitchingProtocols" // TemporaryRedirect ... TemporaryRedirect HTTPStatusCode = "TemporaryRedirect" Unauthorized HTTPStatusCode = "Unauthorized" // UnsupportedMediaType ... UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType" // Unused ... Unused HTTPStatusCode = "Unused" // UpgradeRequired ... UpgradeRequired HTTPStatusCode = "UpgradeRequired" // UseProxy ... UseProxy HTTPStatusCode = "UseProxy" )
func PossibleHTTPStatusCodeValues ¶
func PossibleHTTPStatusCodeValues() []HTTPStatusCode
PossibleHTTPStatusCodeValues returns an array of possible values for the HTTPStatusCode const type.
type HybridRunbookWorker ¶
type HybridRunbookWorker struct { // Name - Gets or sets the worker machine name. Name *string `json:"name,omitempty"` // IP - Gets or sets the assigned machine IP address. IP *string `json:"ip,omitempty"` // RegistrationTime - Gets or sets the registration time of the worker machine. RegistrationTime *date.Time `json:"registrationTime,omitempty"` }
HybridRunbookWorker definition of hybrid runbook worker.
type HybridRunbookWorkerGroup ¶
type HybridRunbookWorkerGroup struct { autorest.Response `json:"-"` // ID - Gets or sets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets or sets the name of the group. Name *string `json:"name,omitempty"` // HybridRunbookWorkers - Gets or sets the list of hybrid runbook workers. HybridRunbookWorkers *[]HybridRunbookWorker `json:"hybridRunbookWorkers,omitempty"` // Credential - Sets the credential of a worker group. Credential *RunAsCredentialAssociationProperty `json:"credential,omitempty"` }
HybridRunbookWorkerGroup definition of hybrid runbook worker group.
type HybridRunbookWorkerGroupClient ¶
type HybridRunbookWorkerGroupClient struct {
BaseClient
}
HybridRunbookWorkerGroupClient is the automation Client
func NewHybridRunbookWorkerGroupClient ¶
func NewHybridRunbookWorkerGroupClient(subscriptionID string) HybridRunbookWorkerGroupClient
NewHybridRunbookWorkerGroupClient creates an instance of the HybridRunbookWorkerGroupClient client.
func NewHybridRunbookWorkerGroupClientWithBaseURI ¶
func NewHybridRunbookWorkerGroupClientWithBaseURI(baseURI string, subscriptionID string) HybridRunbookWorkerGroupClient
NewHybridRunbookWorkerGroupClientWithBaseURI creates an instance of the HybridRunbookWorkerGroupClient client.
func (HybridRunbookWorkerGroupClient) Delete ¶
func (client HybridRunbookWorkerGroupClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string) (result autorest.Response, err error)
Delete delete a hybrid runbook worker group.
resourceGroupName is the resource group name. automationAccountName is automation account name. hybridRunbookWorkerGroupName is the hybrid runbook worker group name
func (HybridRunbookWorkerGroupClient) DeletePreparer ¶
func (client HybridRunbookWorkerGroupClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (HybridRunbookWorkerGroupClient) DeleteResponder ¶
func (client HybridRunbookWorkerGroupClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (HybridRunbookWorkerGroupClient) DeleteSender ¶
func (client HybridRunbookWorkerGroupClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (HybridRunbookWorkerGroupClient) Get ¶
func (client HybridRunbookWorkerGroupClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string) (result HybridRunbookWorkerGroup, err error)
Get retrieve a hybrid runbook worker group.
resourceGroupName is the resource group name. automationAccountName is the automation account name. hybridRunbookWorkerGroupName is the hybrid runbook worker group name
func (HybridRunbookWorkerGroupClient) GetPreparer ¶
func (client HybridRunbookWorkerGroupClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (HybridRunbookWorkerGroupClient) GetResponder ¶
func (client HybridRunbookWorkerGroupClient) GetResponder(resp *http.Response) (result HybridRunbookWorkerGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (HybridRunbookWorkerGroupClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (HybridRunbookWorkerGroupClient) ListByAutomationAccount ¶
func (client HybridRunbookWorkerGroupClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result HybridRunbookWorkerGroupsListResultPage, err error)
ListByAutomationAccount retrieve a list of hybrid runbook worker groups.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (HybridRunbookWorkerGroupClient) ListByAutomationAccountComplete ¶
func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result HybridRunbookWorkerGroupsListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer ¶
func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (HybridRunbookWorkerGroupClient) ListByAutomationAccountResponder ¶
func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountResponder(resp *http.Response) (result HybridRunbookWorkerGroupsListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (HybridRunbookWorkerGroupClient) ListByAutomationAccountSender ¶
func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (HybridRunbookWorkerGroupClient) Update ¶
func (client HybridRunbookWorkerGroupClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string, parameters HybridRunbookWorkerGroupUpdateParameters) (result HybridRunbookWorkerGroup, err error)
Update update a hybrid runbook worker group.
resourceGroupName is the resource group name. automationAccountName is the automation account name. hybridRunbookWorkerGroupName is the hybrid runbook worker group name parameters is the hybrid runbook worker group
func (HybridRunbookWorkerGroupClient) UpdatePreparer ¶
func (client HybridRunbookWorkerGroupClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, hybridRunbookWorkerGroupName string, parameters HybridRunbookWorkerGroupUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (HybridRunbookWorkerGroupClient) UpdateResponder ¶
func (client HybridRunbookWorkerGroupClient) UpdateResponder(resp *http.Response) (result HybridRunbookWorkerGroup, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (HybridRunbookWorkerGroupClient) UpdateSender ¶
func (client HybridRunbookWorkerGroupClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type HybridRunbookWorkerGroupUpdateParameters ¶
type HybridRunbookWorkerGroupUpdateParameters struct { // Credential - Sets the credential of a worker group. Credential *RunAsCredentialAssociationProperty `json:"credential,omitempty"` }
HybridRunbookWorkerGroupUpdateParameters parameters supplied to the update operation.
type HybridRunbookWorkerGroupsListResult ¶
type HybridRunbookWorkerGroupsListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of hybrid runbook worker groups. Value *[]HybridRunbookWorkerGroup `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
HybridRunbookWorkerGroupsListResult the response model for the list hybrid runbook worker groups.
func (HybridRunbookWorkerGroupsListResult) IsEmpty ¶
func (hrwglr HybridRunbookWorkerGroupsListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type HybridRunbookWorkerGroupsListResultIterator ¶
type HybridRunbookWorkerGroupsListResultIterator struct {
// contains filtered or unexported fields
}
HybridRunbookWorkerGroupsListResultIterator provides access to a complete listing of HybridRunbookWorkerGroup values.
func (*HybridRunbookWorkerGroupsListResultIterator) Next ¶
func (iter *HybridRunbookWorkerGroupsListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (HybridRunbookWorkerGroupsListResultIterator) NotDone ¶
func (iter HybridRunbookWorkerGroupsListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (HybridRunbookWorkerGroupsListResultIterator) Response ¶
func (iter HybridRunbookWorkerGroupsListResultIterator) Response() HybridRunbookWorkerGroupsListResult
Response returns the raw server response from the last page request.
func (HybridRunbookWorkerGroupsListResultIterator) Value ¶
func (iter HybridRunbookWorkerGroupsListResultIterator) Value() HybridRunbookWorkerGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type HybridRunbookWorkerGroupsListResultPage ¶
type HybridRunbookWorkerGroupsListResultPage struct {
// contains filtered or unexported fields
}
HybridRunbookWorkerGroupsListResultPage contains a page of HybridRunbookWorkerGroup values.
func (*HybridRunbookWorkerGroupsListResultPage) Next ¶
func (page *HybridRunbookWorkerGroupsListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (HybridRunbookWorkerGroupsListResultPage) NotDone ¶
func (page HybridRunbookWorkerGroupsListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (HybridRunbookWorkerGroupsListResultPage) Response ¶
func (page HybridRunbookWorkerGroupsListResultPage) Response() HybridRunbookWorkerGroupsListResult
Response returns the raw server response from the last page request.
func (HybridRunbookWorkerGroupsListResultPage) Values ¶
func (page HybridRunbookWorkerGroupsListResultPage) Values() []HybridRunbookWorkerGroup
Values returns the slice of values for the current page or nil if there are no values.
type Job ¶
type Job struct { autorest.Response `json:"-"` // ID - Id of the resource. ID *string `json:"id,omitempty"` // JobProperties - The properties of the job. *JobProperties `json:"properties,omitempty"` }
Job definition of the job.
func (Job) MarshalJSON ¶
MarshalJSON is the custom marshaler for Job.
func (*Job) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Job struct.
type JobClient ¶
type JobClient struct {
BaseClient
}
JobClient is the automation Client
func NewJobClient ¶
NewJobClient creates an instance of the JobClient client.
func NewJobClientWithBaseURI ¶
NewJobClientWithBaseURI creates an instance of the JobClient client.
func (JobClient) Create ¶
func (client JobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID, parameters JobCreateParameters) (result Job, err error)
Create create a job of the runbook.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id. parameters is the parameters supplied to the create job operation.
func (JobClient) CreatePreparer ¶
func (client JobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID, parameters JobCreateParameters) (*http.Request, error)
CreatePreparer prepares the Create request.
func (JobClient) CreateResponder ¶
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (JobClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (JobClient) Get ¶
func (client JobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result Job, err error)
Get retrieve the job identified by job id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id.
func (JobClient) GetOutput ¶
func (client JobClient) GetOutput(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string) (result ReadCloser, err error)
GetOutput retrieve the job output identified by job id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id.
func (JobClient) GetOutputPreparer ¶
func (client JobClient) GetOutputPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string) (*http.Request, error)
GetOutputPreparer prepares the GetOutput request.
func (JobClient) GetOutputResponder ¶
func (client JobClient) GetOutputResponder(resp *http.Response) (result ReadCloser, err error)
GetOutputResponder handles the response to the GetOutput request. The method always closes the http.Response Body.
func (JobClient) GetOutputSender ¶
GetOutputSender sends the GetOutput request. The method will close the http.Response Body if it receives an error.
func (JobClient) GetPreparer ¶
func (client JobClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobClient) GetResponder ¶
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobClient) GetRunbookContent ¶
func (client JobClient) GetRunbookContent(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string) (result ReadCloser, err error)
GetRunbookContent retrieve the runbook content of the job identified by job id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id.
func (JobClient) GetRunbookContentPreparer ¶
func (client JobClient) GetRunbookContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string) (*http.Request, error)
GetRunbookContentPreparer prepares the GetRunbookContent request.
func (JobClient) GetRunbookContentResponder ¶
func (client JobClient) GetRunbookContentResponder(resp *http.Response) (result ReadCloser, err error)
GetRunbookContentResponder handles the response to the GetRunbookContent request. The method always closes the http.Response Body.
func (JobClient) GetRunbookContentSender ¶
GetRunbookContentSender sends the GetRunbookContent request. The method will close the http.Response Body if it receives an error.
func (JobClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobClient) ListByAutomationAccount ¶
func (client JobClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result JobListResultPage, err error)
ListByAutomationAccount retrieve a list of jobs.
resourceGroupName is the resource group name. automationAccountName is the automation account name. filter is the filter to apply on the operation.
func (JobClient) ListByAutomationAccountComplete ¶
func (client JobClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result JobListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (JobClient) ListByAutomationAccountPreparer ¶
func (client JobClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (JobClient) ListByAutomationAccountResponder ¶
func (client JobClient) ListByAutomationAccountResponder(resp *http.Response) (result JobListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (JobClient) ListByAutomationAccountSender ¶
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (JobClient) Resume ¶
func (client JobClient) Resume(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error)
Resume resume the job identified by jobId.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id.
func (JobClient) ResumePreparer ¶
func (client JobClient) ResumePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)
ResumePreparer prepares the Resume request.
func (JobClient) ResumeResponder ¶
ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.
func (JobClient) ResumeSender ¶
ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.
func (JobClient) Stop ¶
func (client JobClient) Stop(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error)
Stop stop the job identified by jobId.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id.
func (JobClient) StopPreparer ¶
func (client JobClient) StopPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)
StopPreparer prepares the Stop request.
func (JobClient) StopResponder ¶
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (JobClient) StopSender ¶
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (JobClient) Suspend ¶
func (client JobClient) Suspend(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error)
Suspend suspend the job identified by jobId.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id.
func (JobClient) SuspendPreparer ¶
func (client JobClient) SuspendPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)
SuspendPreparer prepares the Suspend request.
func (JobClient) SuspendResponder ¶
SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.
type JobCreateParameters ¶
type JobCreateParameters struct { // JobCreateProperties - Gets or sets the list of job properties. *JobCreateProperties `json:"properties,omitempty"` }
JobCreateParameters the parameters supplied to the create job operation.
func (JobCreateParameters) MarshalJSON ¶
func (jcp JobCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobCreateParameters.
func (*JobCreateParameters) UnmarshalJSON ¶
func (jcp *JobCreateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobCreateParameters struct.
type JobCreateProperties ¶
type JobCreateProperties struct { // Runbook - Gets or sets the runbook. Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` // Parameters - Gets or sets the parameters of the job. Parameters map[string]*string `json:"parameters"` // RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed. RunOn *string `json:"runOn,omitempty"` }
JobCreateProperties the parameters supplied to the create job operation.
func (JobCreateProperties) MarshalJSON ¶
func (jcp JobCreateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobCreateProperties.
type JobListResult ¶
type JobListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of jobs. Value *[]Job `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
JobListResult the response model for the list job operation.
func (JobListResult) IsEmpty ¶
func (jlr JobListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type JobListResultIterator ¶
type JobListResultIterator struct {
// contains filtered or unexported fields
}
JobListResultIterator provides access to a complete listing of Job values.
func (*JobListResultIterator) Next ¶
func (iter *JobListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobListResultIterator) NotDone ¶
func (iter JobListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobListResultIterator) Response ¶
func (iter JobListResultIterator) Response() JobListResult
Response returns the raw server response from the last page request.
func (JobListResultIterator) Value ¶
func (iter JobListResultIterator) Value() Job
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobListResultPage ¶
type JobListResultPage struct {
// contains filtered or unexported fields
}
JobListResultPage contains a page of Job values.
func (*JobListResultPage) Next ¶
func (page *JobListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobListResultPage) NotDone ¶
func (page JobListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobListResultPage) Response ¶
func (page JobListResultPage) Response() JobListResult
Response returns the raw server response from the last page request.
func (JobListResultPage) Values ¶
func (page JobListResultPage) Values() []Job
Values returns the slice of values for the current page or nil if there are no values.
type JobProperties ¶
type JobProperties struct { // Runbook - Gets or sets the runbook. Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` // StartedBy - Gets or sets the job started by. StartedBy *string `json:"startedBy,omitempty"` // RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed. RunOn *string `json:"runOn,omitempty"` // JobID - Gets or sets the id of the job. JobID *uuid.UUID `json:"jobId,omitempty"` // CreationTime - Gets or sets the creation time of the job. CreationTime *date.Time `json:"creationTime,omitempty"` // Status - Gets or sets the status of the job. Possible values include: 'JobStatusNew', 'JobStatusActivating', 'JobStatusRunning', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusStopped', 'JobStatusBlocked', 'JobStatusSuspended', 'JobStatusDisconnected', 'JobStatusSuspending', 'JobStatusStopping', 'JobStatusResuming', 'JobStatusRemoving' Status JobStatus `json:"status,omitempty"` // StatusDetails - Gets or sets the status details of the job. StatusDetails *string `json:"statusDetails,omitempty"` // StartTime - Gets or sets the start time of the job. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - Gets or sets the end time of the job. EndTime *date.Time `json:"endTime,omitempty"` // Exception - Gets or sets the exception of the job. Exception *string `json:"exception,omitempty"` // LastModifiedTime - Gets or sets the last modified time of the job. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // LastStatusModifiedTime - Gets or sets the last status modified time of the job. LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"` // Parameters - Gets or sets the parameters of the job. Parameters map[string]*string `json:"parameters"` // ProvisioningState - The provisioning state of a resource. ProvisioningState *JobProvisioningStateProperty `json:"provisioningState,omitempty"` }
JobProperties definition of job properties.
func (JobProperties) MarshalJSON ¶
func (jp JobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobProperties.
type JobProvisioningState ¶
type JobProvisioningState string
JobProvisioningState enumerates the values for job provisioning state.
const ( // JobProvisioningStateFailed ... JobProvisioningStateFailed JobProvisioningState = "Failed" // JobProvisioningStateProcessing ... JobProvisioningStateProcessing JobProvisioningState = "Processing" // JobProvisioningStateSucceeded ... JobProvisioningStateSucceeded JobProvisioningState = "Succeeded" // JobProvisioningStateSuspended ... JobProvisioningStateSuspended JobProvisioningState = "Suspended" )
func PossibleJobProvisioningStateValues ¶
func PossibleJobProvisioningStateValues() []JobProvisioningState
PossibleJobProvisioningStateValues returns an array of possible values for the JobProvisioningState const type.
type JobProvisioningStateProperty ¶
type JobProvisioningStateProperty struct { // ProvisioningState - The provisioning state of the resource. Possible values include: 'JobProvisioningStateFailed', 'JobProvisioningStateSucceeded', 'JobProvisioningStateSuspended', 'JobProvisioningStateProcessing' ProvisioningState JobProvisioningState `json:"provisioningState,omitempty"` }
JobProvisioningStateProperty the provisioning state property.
type JobSchedule ¶
type JobSchedule struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the variable. Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // JobScheduleProperties - Gets or sets the properties of the job schedule. *JobScheduleProperties `json:"properties,omitempty"` }
JobSchedule definition of the job schedule.
func (JobSchedule) MarshalJSON ¶
func (js JobSchedule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobSchedule.
func (*JobSchedule) UnmarshalJSON ¶
func (js *JobSchedule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobSchedule struct.
type JobScheduleClient ¶
type JobScheduleClient struct {
BaseClient
}
JobScheduleClient is the automation Client
func NewJobScheduleClient ¶
func NewJobScheduleClient(subscriptionID string) JobScheduleClient
NewJobScheduleClient creates an instance of the JobScheduleClient client.
func NewJobScheduleClientWithBaseURI ¶
func NewJobScheduleClientWithBaseURI(baseURI string, subscriptionID string) JobScheduleClient
NewJobScheduleClientWithBaseURI creates an instance of the JobScheduleClient client.
func (JobScheduleClient) Create ¶
func (client JobScheduleClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID, parameters JobScheduleCreateParameters) (result JobSchedule, err error)
Create create a job schedule.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobScheduleID is the job schedule name. parameters is the parameters supplied to the create job schedule operation.
func (JobScheduleClient) CreatePreparer ¶
func (client JobScheduleClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID, parameters JobScheduleCreateParameters) (*http.Request, error)
CreatePreparer prepares the Create request.
func (JobScheduleClient) CreateResponder ¶
func (client JobScheduleClient) CreateResponder(resp *http.Response) (result JobSchedule, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (JobScheduleClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (JobScheduleClient) Delete ¶
func (client JobScheduleClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (result autorest.Response, err error)
Delete delete the job schedule identified by job schedule name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobScheduleID is the job schedule name.
func (JobScheduleClient) DeletePreparer ¶
func (client JobScheduleClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JobScheduleClient) DeleteResponder ¶
func (client JobScheduleClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (JobScheduleClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (JobScheduleClient) Get ¶
func (client JobScheduleClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (result JobSchedule, err error)
Get retrieve the job schedule identified by job schedule name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobScheduleID is the job schedule name.
func (JobScheduleClient) GetPreparer ¶
func (client JobScheduleClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobScheduleClient) GetResponder ¶
func (client JobScheduleClient) GetResponder(resp *http.Response) (result JobSchedule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobScheduleClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobScheduleClient) ListByAutomationAccount ¶
func (client JobScheduleClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result JobScheduleListResultPage, err error)
ListByAutomationAccount retrieve a list of job schedules.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (JobScheduleClient) ListByAutomationAccountComplete ¶
func (client JobScheduleClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result JobScheduleListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (JobScheduleClient) ListByAutomationAccountPreparer ¶
func (client JobScheduleClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (JobScheduleClient) ListByAutomationAccountResponder ¶
func (client JobScheduleClient) ListByAutomationAccountResponder(resp *http.Response) (result JobScheduleListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (JobScheduleClient) ListByAutomationAccountSender ¶
func (client JobScheduleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
type JobScheduleCreateParameters ¶
type JobScheduleCreateParameters struct { // JobScheduleCreateProperties - Gets or sets the list of job schedule properties. *JobScheduleCreateProperties `json:"properties,omitempty"` }
JobScheduleCreateParameters the parameters supplied to the create job schedule operation.
func (JobScheduleCreateParameters) MarshalJSON ¶
func (jscp JobScheduleCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobScheduleCreateParameters.
func (*JobScheduleCreateParameters) UnmarshalJSON ¶
func (jscp *JobScheduleCreateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobScheduleCreateParameters struct.
type JobScheduleCreateProperties ¶
type JobScheduleCreateProperties struct { // Schedule - Gets or sets the schedule. Schedule *ScheduleAssociationProperty `json:"schedule,omitempty"` // Runbook - Gets or sets the runbook. Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` // RunOn - Gets or sets the hybrid worker group that the scheduled job should run on. RunOn *string `json:"runOn,omitempty"` // Parameters - Gets or sets a list of job properties. Parameters map[string]*string `json:"parameters"` }
JobScheduleCreateProperties the parameters supplied to the create job schedule operation.
func (JobScheduleCreateProperties) MarshalJSON ¶
func (jscp JobScheduleCreateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobScheduleCreateProperties.
type JobScheduleListResult ¶
type JobScheduleListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of job schedules. Value *[]JobSchedule `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
JobScheduleListResult the response model for the list job schedule operation.
func (JobScheduleListResult) IsEmpty ¶
func (jslr JobScheduleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type JobScheduleListResultIterator ¶
type JobScheduleListResultIterator struct {
// contains filtered or unexported fields
}
JobScheduleListResultIterator provides access to a complete listing of JobSchedule values.
func (*JobScheduleListResultIterator) Next ¶
func (iter *JobScheduleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobScheduleListResultIterator) NotDone ¶
func (iter JobScheduleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobScheduleListResultIterator) Response ¶
func (iter JobScheduleListResultIterator) Response() JobScheduleListResult
Response returns the raw server response from the last page request.
func (JobScheduleListResultIterator) Value ¶
func (iter JobScheduleListResultIterator) Value() JobSchedule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobScheduleListResultPage ¶
type JobScheduleListResultPage struct {
// contains filtered or unexported fields
}
JobScheduleListResultPage contains a page of JobSchedule values.
func (*JobScheduleListResultPage) Next ¶
func (page *JobScheduleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobScheduleListResultPage) NotDone ¶
func (page JobScheduleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobScheduleListResultPage) Response ¶
func (page JobScheduleListResultPage) Response() JobScheduleListResult
Response returns the raw server response from the last page request.
func (JobScheduleListResultPage) Values ¶
func (page JobScheduleListResultPage) Values() []JobSchedule
Values returns the slice of values for the current page or nil if there are no values.
type JobScheduleProperties ¶
type JobScheduleProperties struct { // JobScheduleID - Gets or sets the id of job schedule. JobScheduleID *string `json:"jobScheduleId,omitempty"` // Schedule - Gets or sets the schedule. Schedule *ScheduleAssociationProperty `json:"schedule,omitempty"` // Runbook - Gets or sets the runbook. Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` // RunOn - Gets or sets the hybrid worker group that the scheduled job should run on. RunOn *string `json:"runOn,omitempty"` // Parameters - Gets or sets the parameters of the job schedule. Parameters map[string]*string `json:"parameters"` }
JobScheduleProperties definition of job schedule parameters.
func (JobScheduleProperties) MarshalJSON ¶
func (jsp JobScheduleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobScheduleProperties.
type JobStatus ¶
type JobStatus string
JobStatus enumerates the values for job status.
const ( // JobStatusActivating ... JobStatusActivating JobStatus = "Activating" // JobStatusBlocked ... JobStatusBlocked JobStatus = "Blocked" // JobStatusCompleted ... JobStatusCompleted JobStatus = "Completed" // JobStatusDisconnected ... JobStatusDisconnected JobStatus = "Disconnected" // JobStatusFailed ... JobStatusFailed JobStatus = "Failed" // JobStatusNew ... JobStatusNew JobStatus = "New" // JobStatusRemoving ... JobStatusRemoving JobStatus = "Removing" // JobStatusResuming ... JobStatusResuming JobStatus = "Resuming" // JobStatusRunning ... JobStatusRunning JobStatus = "Running" // JobStatusStopped ... JobStatusStopped JobStatus = "Stopped" // JobStatusStopping ... JobStatusStopping JobStatus = "Stopping" // JobStatusSuspended ... JobStatusSuspended JobStatus = "Suspended" // JobStatusSuspending ... JobStatusSuspending JobStatus = "Suspending" )
func PossibleJobStatusValues ¶
func PossibleJobStatusValues() []JobStatus
PossibleJobStatusValues returns an array of possible values for the JobStatus const type.
type JobStream ¶
type JobStream struct { autorest.Response `json:"-"` // ID - Gets or sets the id of the resource. ID *string `json:"id,omitempty"` // JobStreamProperties - Gets or sets the id of the job stream. *JobStreamProperties `json:"properties,omitempty"` }
JobStream definition of the job stream.
func (JobStream) MarshalJSON ¶
MarshalJSON is the custom marshaler for JobStream.
func (*JobStream) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for JobStream struct.
type JobStreamClient ¶
type JobStreamClient struct {
BaseClient
}
JobStreamClient is the automation Client
func NewJobStreamClient ¶
func NewJobStreamClient(subscriptionID string) JobStreamClient
NewJobStreamClient creates an instance of the JobStreamClient client.
func NewJobStreamClientWithBaseURI ¶
func NewJobStreamClientWithBaseURI(baseURI string, subscriptionID string) JobStreamClient
NewJobStreamClientWithBaseURI creates an instance of the JobStreamClient client.
func (JobStreamClient) Get ¶
func (client JobStreamClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string, jobStreamID string) (result JobStream, err error)
Get retrieve the job stream identified by job stream id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job id. jobStreamID is the job stream id.
func (JobStreamClient) GetPreparer ¶
func (client JobStreamClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string, jobStreamID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobStreamClient) GetResponder ¶
func (client JobStreamClient) GetResponder(resp *http.Response) (result JobStream, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobStreamClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobStreamClient) ListByJob ¶
func (client JobStreamClient) ListByJob(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string, filter string) (result JobStreamListResultPage, err error)
ListByJob retrieve a list of jobs streams identified by job id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. jobID is the job Id. filter is the filter to apply on the operation.
func (JobStreamClient) ListByJobComplete ¶
func (client JobStreamClient) ListByJobComplete(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string, filter string) (result JobStreamListResultIterator, err error)
ListByJobComplete enumerates all values, automatically crossing page boundaries as required.
func (JobStreamClient) ListByJobPreparer ¶
func (client JobStreamClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID string, filter string) (*http.Request, error)
ListByJobPreparer prepares the ListByJob request.
func (JobStreamClient) ListByJobResponder ¶
func (client JobStreamClient) ListByJobResponder(resp *http.Response) (result JobStreamListResult, err error)
ListByJobResponder handles the response to the ListByJob request. The method always closes the http.Response Body.
func (JobStreamClient) ListByJobSender ¶
ListByJobSender sends the ListByJob request. The method will close the http.Response Body if it receives an error.
type JobStreamListResult ¶
type JobStreamListResult struct { autorest.Response `json:"-"` // Value - A list of job streams. Value *[]JobStream `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
JobStreamListResult the response model for the list job stream operation.
func (JobStreamListResult) IsEmpty ¶
func (jslr JobStreamListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type JobStreamListResultIterator ¶
type JobStreamListResultIterator struct {
// contains filtered or unexported fields
}
JobStreamListResultIterator provides access to a complete listing of JobStream values.
func (*JobStreamListResultIterator) Next ¶
func (iter *JobStreamListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobStreamListResultIterator) NotDone ¶
func (iter JobStreamListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobStreamListResultIterator) Response ¶
func (iter JobStreamListResultIterator) Response() JobStreamListResult
Response returns the raw server response from the last page request.
func (JobStreamListResultIterator) Value ¶
func (iter JobStreamListResultIterator) Value() JobStream
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobStreamListResultPage ¶
type JobStreamListResultPage struct {
// contains filtered or unexported fields
}
JobStreamListResultPage contains a page of JobStream values.
func (*JobStreamListResultPage) Next ¶
func (page *JobStreamListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobStreamListResultPage) NotDone ¶
func (page JobStreamListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobStreamListResultPage) Response ¶
func (page JobStreamListResultPage) Response() JobStreamListResult
Response returns the raw server response from the last page request.
func (JobStreamListResultPage) Values ¶
func (page JobStreamListResultPage) Values() []JobStream
Values returns the slice of values for the current page or nil if there are no values.
type JobStreamProperties ¶
type JobStreamProperties struct { // JobStreamID - Gets or sets the id of the job stream. JobStreamID *string `json:"jobStreamId,omitempty"` // Time - Gets or sets the creation time of the job. Time *date.Time `json:"time,omitempty"` // StreamType - Gets or sets the stream type. Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' StreamType JobStreamType `json:"streamType,omitempty"` // StreamText - Gets or sets the stream text. StreamText *string `json:"streamText,omitempty"` // Summary - Gets or sets the summary. Summary *string `json:"summary,omitempty"` // Value - Gets or sets the values of the job stream. Value map[string]interface{} `json:"value"` }
JobStreamProperties definition of the job stream.
func (JobStreamProperties) MarshalJSON ¶
func (jsp JobStreamProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobStreamProperties.
type JobStreamType ¶
type JobStreamType string
JobStreamType enumerates the values for job stream type.
const ( // Any ... Any JobStreamType = "Any" // Debug ... Debug JobStreamType = "Debug" // Error ... Error JobStreamType = "Error" // Output ... Output JobStreamType = "Output" // Progress ... Progress JobStreamType = "Progress" // Verbose ... Verbose JobStreamType = "Verbose" // Warning ... Warning JobStreamType = "Warning" )
func PossibleJobStreamTypeValues ¶
func PossibleJobStreamTypeValues() []JobStreamType
PossibleJobStreamTypeValues returns an array of possible values for the JobStreamType const type.
type Key ¶
type Key struct { // KeyName - Automation key name. Possible values include: 'KeyNamePrimary', 'KeyNameSecondary' KeyName KeyName `json:"keyName,omitempty"` // Permissions - Automation key permissions. Possible values include: 'Full' Permissions KeyPermissions `json:"permissions,omitempty"` // Value - Value of the Automation Key used for registration. Value *string `json:"value,omitempty"` }
Key automation key which is used to register a DSC Node
type KeyListResult ¶
type KeyListResult struct { autorest.Response `json:"-"` // Value - Lists the automation keys. Value *[]Key `json:"value,omitempty"` }
KeyListResult ...
type KeyName ¶
type KeyName string
KeyName enumerates the values for key name.
func PossibleKeyNameValues ¶
func PossibleKeyNameValues() []KeyName
PossibleKeyNameValues returns an array of possible values for the KeyName const type.
type KeyPermissions ¶
type KeyPermissions string
KeyPermissions enumerates the values for key permissions.
const ( // Full ... Full KeyPermissions = "Full" )
func PossibleKeyPermissionsValues ¶
func PossibleKeyPermissionsValues() []KeyPermissions
PossibleKeyPermissionsValues returns an array of possible values for the KeyPermissions const type.
type KeysClient ¶
type KeysClient struct {
BaseClient
}
KeysClient is the automation Client
func NewKeysClient ¶
func NewKeysClient(subscriptionID string) KeysClient
NewKeysClient creates an instance of the KeysClient client.
func NewKeysClientWithBaseURI ¶
func NewKeysClientWithBaseURI(baseURI string, subscriptionID string) KeysClient
NewKeysClientWithBaseURI creates an instance of the KeysClient client.
func (KeysClient) ListByAutomationAccount ¶
func (client KeysClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result KeyListResult, err error)
ListByAutomationAccount retrieve the automation keys for an account.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (KeysClient) ListByAutomationAccountPreparer ¶
func (client KeysClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (KeysClient) ListByAutomationAccountResponder ¶
func (client KeysClient) ListByAutomationAccountResponder(resp *http.Response) (result KeyListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (KeysClient) ListByAutomationAccountSender ¶
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
type LinkedWorkspace ¶
type LinkedWorkspace struct { autorest.Response `json:"-"` // ID - Gets the id of the linked workspace. ID *string `json:"id,omitempty"` }
LinkedWorkspace definition of the linked workspace.
type LinkedWorkspaceClient ¶
type LinkedWorkspaceClient struct {
BaseClient
}
LinkedWorkspaceClient is the automation Client
func NewLinkedWorkspaceClient ¶
func NewLinkedWorkspaceClient(subscriptionID string) LinkedWorkspaceClient
NewLinkedWorkspaceClient creates an instance of the LinkedWorkspaceClient client.
func NewLinkedWorkspaceClientWithBaseURI ¶
func NewLinkedWorkspaceClientWithBaseURI(baseURI string, subscriptionID string) LinkedWorkspaceClient
NewLinkedWorkspaceClientWithBaseURI creates an instance of the LinkedWorkspaceClient client.
func (LinkedWorkspaceClient) Get ¶
func (client LinkedWorkspaceClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result LinkedWorkspace, err error)
Get retrieve the linked workspace for the account id.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (LinkedWorkspaceClient) GetPreparer ¶
func (client LinkedWorkspaceClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LinkedWorkspaceClient) GetResponder ¶
func (client LinkedWorkspaceClient) GetResponder(resp *http.Response) (result LinkedWorkspace, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type Module ¶
type Module struct { autorest.Response `json:"-"` // ModuleProperties - Gets or sets the module properties. *ModuleProperties `json:"properties,omitempty"` // Etag - Gets or sets the etag of the resource. Etag *string `json:"etag,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Module definition of the module type.
func (Module) MarshalJSON ¶
MarshalJSON is the custom marshaler for Module.
func (*Module) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Module struct.
type ModuleClient ¶
type ModuleClient struct {
BaseClient
}
ModuleClient is the automation Client
func NewModuleClient ¶
func NewModuleClient(subscriptionID string) ModuleClient
NewModuleClient creates an instance of the ModuleClient client.
func NewModuleClientWithBaseURI ¶
func NewModuleClientWithBaseURI(baseURI string, subscriptionID string) ModuleClient
NewModuleClientWithBaseURI creates an instance of the ModuleClient client.
func (ModuleClient) CreateOrUpdate ¶
func (client ModuleClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters ModuleCreateOrUpdateParameters) (result Module, err error)
CreateOrUpdate create or Update the module identified by module name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the name of module. parameters is the create or update parameters for module.
func (ModuleClient) CreateOrUpdatePreparer ¶
func (client ModuleClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters ModuleCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ModuleClient) CreateOrUpdateResponder ¶
func (client ModuleClient) CreateOrUpdateResponder(resp *http.Response) (result Module, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ModuleClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ModuleClient) Delete ¶
func (client ModuleClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (result autorest.Response, err error)
Delete delete the module by name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the module name.
func (ModuleClient) DeletePreparer ¶
func (client ModuleClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ModuleClient) DeleteResponder ¶
func (client ModuleClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ModuleClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ModuleClient) Get ¶
func (client ModuleClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (result Module, err error)
Get retrieve the module identified by module name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the module name.
func (ModuleClient) GetPreparer ¶
func (client ModuleClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ModuleClient) GetResponder ¶
func (client ModuleClient) GetResponder(resp *http.Response) (result Module, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ModuleClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ModuleClient) ListByAutomationAccount ¶
func (client ModuleClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ModuleListResultPage, err error)
ListByAutomationAccount retrieve a list of modules.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (ModuleClient) ListByAutomationAccountComplete ¶
func (client ModuleClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ModuleListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (ModuleClient) ListByAutomationAccountPreparer ¶
func (client ModuleClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (ModuleClient) ListByAutomationAccountResponder ¶
func (client ModuleClient) ListByAutomationAccountResponder(resp *http.Response) (result ModuleListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (ModuleClient) ListByAutomationAccountSender ¶
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (ModuleClient) Update ¶
func (client ModuleClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters ModuleUpdateParameters) (result Module, err error)
Update update the module identified by module name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the name of module. parameters is the update parameters for module.
func (ModuleClient) UpdatePreparer ¶
func (client ModuleClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters ModuleUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ModuleClient) UpdateResponder ¶
func (client ModuleClient) UpdateResponder(resp *http.Response) (result Module, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ModuleClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ModuleCreateOrUpdateParameters ¶
type ModuleCreateOrUpdateParameters struct { // ModuleCreateOrUpdateProperties - Gets or sets the module create properties. *ModuleCreateOrUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
ModuleCreateOrUpdateParameters the parameters supplied to the create or update module operation.
func (ModuleCreateOrUpdateParameters) MarshalJSON ¶
func (mcoup ModuleCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ModuleCreateOrUpdateParameters.
func (*ModuleCreateOrUpdateParameters) UnmarshalJSON ¶
func (mcoup *ModuleCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ModuleCreateOrUpdateParameters struct.
type ModuleCreateOrUpdateProperties ¶
type ModuleCreateOrUpdateProperties struct { // ContentLink - Gets or sets the module content link. ContentLink *ContentLink `json:"contentLink,omitempty"` }
ModuleCreateOrUpdateProperties the parameters supplied to the create or update module properties.
type ModuleErrorInfo ¶
type ModuleErrorInfo struct { // Code - Gets or sets the error code. Code *string `json:"code,omitempty"` // Message - Gets or sets the error message. Message *string `json:"message,omitempty"` }
ModuleErrorInfo definition of the module error info type.
type ModuleListResult ¶
type ModuleListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of modules. Value *[]Module `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
ModuleListResult the response model for the list module operation.
func (ModuleListResult) IsEmpty ¶
func (mlr ModuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ModuleListResultIterator ¶
type ModuleListResultIterator struct {
// contains filtered or unexported fields
}
ModuleListResultIterator provides access to a complete listing of Module values.
func (*ModuleListResultIterator) Next ¶
func (iter *ModuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ModuleListResultIterator) NotDone ¶
func (iter ModuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ModuleListResultIterator) Response ¶
func (iter ModuleListResultIterator) Response() ModuleListResult
Response returns the raw server response from the last page request.
func (ModuleListResultIterator) Value ¶
func (iter ModuleListResultIterator) Value() Module
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ModuleListResultPage ¶
type ModuleListResultPage struct {
// contains filtered or unexported fields
}
ModuleListResultPage contains a page of Module values.
func (*ModuleListResultPage) Next ¶
func (page *ModuleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ModuleListResultPage) NotDone ¶
func (page ModuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ModuleListResultPage) Response ¶
func (page ModuleListResultPage) Response() ModuleListResult
Response returns the raw server response from the last page request.
func (ModuleListResultPage) Values ¶
func (page ModuleListResultPage) Values() []Module
Values returns the slice of values for the current page or nil if there are no values.
type ModuleProperties ¶
type ModuleProperties struct { // IsGlobal - Gets or sets the isGlobal flag of the module. IsGlobal *bool `json:"isGlobal,omitempty"` // Version - Gets or sets the version of the module. Version *string `json:"version,omitempty"` // SizeInBytes - Gets or sets the size in bytes of the module. SizeInBytes *int64 `json:"sizeInBytes,omitempty"` // ActivityCount - Gets or sets the activity count of the module. ActivityCount *int32 `json:"activityCount,omitempty"` // ProvisioningState - Gets or sets the provisioning state of the module. Possible values include: 'ModuleProvisioningStateCreated', 'ModuleProvisioningStateCreating', 'ModuleProvisioningStateStartingImportModuleRunbook', 'ModuleProvisioningStateRunningImportModuleRunbook', 'ModuleProvisioningStateContentRetrieved', 'ModuleProvisioningStateContentDownloaded', 'ModuleProvisioningStateContentValidated', 'ModuleProvisioningStateConnectionTypeImported', 'ModuleProvisioningStateContentStored', 'ModuleProvisioningStateModuleDataStored', 'ModuleProvisioningStateActivitiesStored', 'ModuleProvisioningStateModuleImportRunbookComplete', 'ModuleProvisioningStateSucceeded', 'ModuleProvisioningStateFailed', 'ModuleProvisioningStateCancelled', 'ModuleProvisioningStateUpdating' ProvisioningState ModuleProvisioningState `json:"provisioningState,omitempty"` // ContentLink - Gets or sets the contentLink of the module. ContentLink *ContentLink `json:"contentLink,omitempty"` // Error - Gets or sets the error info of the module. Error *ModuleErrorInfo `json:"error,omitempty"` // CreationTime - Gets or sets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
ModuleProperties definition of the module property type.
type ModuleProvisioningState ¶
type ModuleProvisioningState string
ModuleProvisioningState enumerates the values for module provisioning state.
const ( // ModuleProvisioningStateActivitiesStored ... ModuleProvisioningStateActivitiesStored ModuleProvisioningState = "ActivitiesStored" // ModuleProvisioningStateCancelled ... ModuleProvisioningStateCancelled ModuleProvisioningState = "Cancelled" // ModuleProvisioningStateConnectionTypeImported ... ModuleProvisioningStateConnectionTypeImported ModuleProvisioningState = "ConnectionTypeImported" // ModuleProvisioningStateContentDownloaded ... ModuleProvisioningStateContentDownloaded ModuleProvisioningState = "ContentDownloaded" // ModuleProvisioningStateContentRetrieved ... ModuleProvisioningStateContentRetrieved ModuleProvisioningState = "ContentRetrieved" // ModuleProvisioningStateContentStored ... ModuleProvisioningStateContentStored ModuleProvisioningState = "ContentStored" // ModuleProvisioningStateContentValidated ... ModuleProvisioningStateContentValidated ModuleProvisioningState = "ContentValidated" // ModuleProvisioningStateCreated ... ModuleProvisioningStateCreated ModuleProvisioningState = "Created" // ModuleProvisioningStateCreating ... ModuleProvisioningStateCreating ModuleProvisioningState = "Creating" // ModuleProvisioningStateFailed ... ModuleProvisioningStateFailed ModuleProvisioningState = "Failed" // ModuleProvisioningStateModuleDataStored ... ModuleProvisioningStateModuleDataStored ModuleProvisioningState = "ModuleDataStored" // ModuleProvisioningStateModuleImportRunbookComplete ... ModuleProvisioningStateModuleImportRunbookComplete ModuleProvisioningState = "ModuleImportRunbookComplete" // ModuleProvisioningStateRunningImportModuleRunbook ... ModuleProvisioningStateRunningImportModuleRunbook ModuleProvisioningState = "RunningImportModuleRunbook" // ModuleProvisioningStateStartingImportModuleRunbook ... ModuleProvisioningStateStartingImportModuleRunbook ModuleProvisioningState = "StartingImportModuleRunbook" // ModuleProvisioningStateSucceeded ... ModuleProvisioningStateSucceeded ModuleProvisioningState = "Succeeded" // ModuleProvisioningStateUpdating ... ModuleProvisioningStateUpdating ModuleProvisioningState = "Updating" )
func PossibleModuleProvisioningStateValues ¶
func PossibleModuleProvisioningStateValues() []ModuleProvisioningState
PossibleModuleProvisioningStateValues returns an array of possible values for the ModuleProvisioningState const type.
type ModuleUpdateParameters ¶
type ModuleUpdateParameters struct { // ModuleUpdateProperties - Gets or sets the module update properties. *ModuleUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
ModuleUpdateParameters the parameters supplied to the update module operation.
func (ModuleUpdateParameters) MarshalJSON ¶
func (mup ModuleUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ModuleUpdateParameters.
func (*ModuleUpdateParameters) UnmarshalJSON ¶
func (mup *ModuleUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ModuleUpdateParameters struct.
type ModuleUpdateProperties ¶
type ModuleUpdateProperties struct { // ContentLink - Gets or sets the module content link. ContentLink *ContentLink `json:"contentLink,omitempty"` }
ModuleUpdateProperties the parameters supplied to the update properties.
type NodeReportsClient ¶
type NodeReportsClient struct {
BaseClient
}
NodeReportsClient is the automation Client
func NewNodeReportsClient ¶
func NewNodeReportsClient(subscriptionID string) NodeReportsClient
NewNodeReportsClient creates an instance of the NodeReportsClient client.
func NewNodeReportsClientWithBaseURI ¶
func NewNodeReportsClientWithBaseURI(baseURI string, subscriptionID string) NodeReportsClient
NewNodeReportsClientWithBaseURI creates an instance of the NodeReportsClient client.
func (NodeReportsClient) Get ¶
func (client NodeReportsClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (result DscNodeReport, err error)
Get retrieve the Dsc node report data by node id and report id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeID is the Dsc node id. reportID is the report id.
func (NodeReportsClient) GetContent ¶
func (client NodeReportsClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (result SetObject, err error)
GetContent retrieve the Dsc node reports by node id and report id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeID is the Dsc node id. reportID is the report id.
func (NodeReportsClient) GetContentPreparer ¶
func (client NodeReportsClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (*http.Request, error)
GetContentPreparer prepares the GetContent request.
func (NodeReportsClient) GetContentResponder ¶
func (client NodeReportsClient) GetContentResponder(resp *http.Response) (result SetObject, err error)
GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.
func (NodeReportsClient) GetContentSender ¶
GetContentSender sends the GetContent request. The method will close the http.Response Body if it receives an error.
func (NodeReportsClient) GetPreparer ¶
func (client NodeReportsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (NodeReportsClient) GetResponder ¶
func (client NodeReportsClient) GetResponder(resp *http.Response) (result DscNodeReport, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (NodeReportsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (NodeReportsClient) ListByNode ¶
func (client NodeReportsClient) ListByNode(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, filter string) (result DscNodeReportListResultPage, err error)
ListByNode retrieve the Dsc node report list by node id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. nodeID is the parameters supplied to the list operation. filter is the filter to apply on the operation.
func (NodeReportsClient) ListByNodeComplete ¶
func (client NodeReportsClient) ListByNodeComplete(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, filter string) (result DscNodeReportListResultIterator, err error)
ListByNodeComplete enumerates all values, automatically crossing page boundaries as required.
func (NodeReportsClient) ListByNodePreparer ¶
func (client NodeReportsClient) ListByNodePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, filter string) (*http.Request, error)
ListByNodePreparer prepares the ListByNode request.
func (NodeReportsClient) ListByNodeResponder ¶
func (client NodeReportsClient) ListByNodeResponder(resp *http.Response) (result DscNodeReportListResult, err error)
ListByNodeResponder handles the response to the ListByNode request. The method always closes the http.Response Body.
func (NodeReportsClient) ListByNodeSender ¶
ListByNodeSender sends the ListByNode request. The method will close the http.Response Body if it receives an error.
type ObjectDataTypesClient ¶
type ObjectDataTypesClient struct {
BaseClient
}
ObjectDataTypesClient is the automation Client
func NewObjectDataTypesClient ¶
func NewObjectDataTypesClient(subscriptionID string) ObjectDataTypesClient
NewObjectDataTypesClient creates an instance of the ObjectDataTypesClient client.
func NewObjectDataTypesClientWithBaseURI ¶
func NewObjectDataTypesClientWithBaseURI(baseURI string, subscriptionID string) ObjectDataTypesClient
NewObjectDataTypesClientWithBaseURI creates an instance of the ObjectDataTypesClient client.
func (ObjectDataTypesClient) ListFieldsByModuleAndType ¶
func (client ObjectDataTypesClient) ListFieldsByModuleAndType(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, typeName string) (result TypeFieldListResult, err error)
ListFieldsByModuleAndType retrieve a list of fields of a given type identified by module name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. moduleName is the name of module. typeName is the name of type.
func (ObjectDataTypesClient) ListFieldsByModuleAndTypePreparer ¶
func (client ObjectDataTypesClient) ListFieldsByModuleAndTypePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, typeName string) (*http.Request, error)
ListFieldsByModuleAndTypePreparer prepares the ListFieldsByModuleAndType request.
func (ObjectDataTypesClient) ListFieldsByModuleAndTypeResponder ¶
func (client ObjectDataTypesClient) ListFieldsByModuleAndTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)
ListFieldsByModuleAndTypeResponder handles the response to the ListFieldsByModuleAndType request. The method always closes the http.Response Body.
func (ObjectDataTypesClient) ListFieldsByModuleAndTypeSender ¶
func (client ObjectDataTypesClient) ListFieldsByModuleAndTypeSender(req *http.Request) (*http.Response, error)
ListFieldsByModuleAndTypeSender sends the ListFieldsByModuleAndType request. The method will close the http.Response Body if it receives an error.
func (ObjectDataTypesClient) ListFieldsByType ¶
func (client ObjectDataTypesClient) ListFieldsByType(ctx context.Context, resourceGroupName string, automationAccountName string, typeName string) (result TypeFieldListResult, err error)
ListFieldsByType retrieve a list of fields of a given type across all accessible modules.
resourceGroupName is the resource group name. automationAccountName is the automation account name. typeName is the name of type.
func (ObjectDataTypesClient) ListFieldsByTypePreparer ¶
func (client ObjectDataTypesClient) ListFieldsByTypePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, typeName string) (*http.Request, error)
ListFieldsByTypePreparer prepares the ListFieldsByType request.
func (ObjectDataTypesClient) ListFieldsByTypeResponder ¶
func (client ObjectDataTypesClient) ListFieldsByTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)
ListFieldsByTypeResponder handles the response to the ListFieldsByType request. The method always closes the http.Response Body.
func (ObjectDataTypesClient) ListFieldsByTypeSender ¶
func (client ObjectDataTypesClient) ListFieldsByTypeSender(req *http.Request) (*http.Response, error)
ListFieldsByTypeSender sends the ListFieldsByType request. The method will close the http.Response Body if it receives an error.
type Operation ¶
type Operation struct { // Name - Operation name: {provider}/{resource}/{operation} Name *string `json:"name,omitempty"` // Display - Provider, Resource and Operation values Display *OperationDisplay `json:"display,omitempty"` }
Operation automation REST API operation
type OperationDisplay ¶
type OperationDisplay struct { // Provider - Service provider: Microsoft.Automation Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed: Runbooks, Jobs etc. Resource *string `json:"resource,omitempty"` // Operation - Operation type: Read, write, delete, etc. Operation *string `json:"operation,omitempty"` }
OperationDisplay provider, Resource and Operation values
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of Automation operations supported by the Automation resource provider. Value *[]Operation `json:"value,omitempty"` }
OperationListResult the response model for the list of Automation operations
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the automation Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List lists all of the available Automation REST API operations.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ProxyResource ¶
type ProxyResource struct { // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` }
ProxyResource the Resource definition.
type ReadCloser ¶
type ReadCloser struct { autorest.Response `json:"-"` Value *io.ReadCloser `json:"value,omitempty"` }
ReadCloser ...
type Resource ¶
type Resource struct { // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Resource the Resource definition.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type RunAsCredentialAssociationProperty ¶
type RunAsCredentialAssociationProperty struct { // Name - Gets or sets the name of the credential. Name *string `json:"name,omitempty"` }
RunAsCredentialAssociationProperty definition of runas credential to use for hybrid worker.
type Runbook ¶
type Runbook struct { autorest.Response `json:"-"` // RunbookProperties - Gets or sets the runbook properties. *RunbookProperties `json:"properties,omitempty"` // Etag - Gets or sets the etag of the resource. Etag *string `json:"etag,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Runbook definition of the runbook type.
func (Runbook) MarshalJSON ¶
MarshalJSON is the custom marshaler for Runbook.
func (*Runbook) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Runbook struct.
type RunbookAssociationProperty ¶
type RunbookAssociationProperty struct { // Name - Gets or sets the name of the runbook. Name *string `json:"name,omitempty"` }
RunbookAssociationProperty the runbook property associated with the entity.
type RunbookClient ¶
type RunbookClient struct {
BaseClient
}
RunbookClient is the automation Client
func NewRunbookClient ¶
func NewRunbookClient(subscriptionID string) RunbookClient
NewRunbookClient creates an instance of the RunbookClient client.
func NewRunbookClientWithBaseURI ¶
func NewRunbookClientWithBaseURI(baseURI string, subscriptionID string) RunbookClient
NewRunbookClientWithBaseURI creates an instance of the RunbookClient client.
func (RunbookClient) CreateOrUpdate ¶
func (client RunbookClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters RunbookCreateOrUpdateParameters) (result Runbook, err error)
CreateOrUpdate create the runbook identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name. parameters is the create or update parameters for runbook. Provide either content link for a published runbook or draft, not both.
func (RunbookClient) CreateOrUpdatePreparer ¶
func (client RunbookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters RunbookCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RunbookClient) CreateOrUpdateResponder ¶
func (client RunbookClient) CreateOrUpdateResponder(resp *http.Response) (result Runbook, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RunbookClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RunbookClient) Delete ¶
func (client RunbookClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error)
Delete delete the runbook by name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (RunbookClient) DeletePreparer ¶
func (client RunbookClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RunbookClient) DeleteResponder ¶
func (client RunbookClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (RunbookClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RunbookClient) Get ¶
func (client RunbookClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result Runbook, err error)
Get retrieve the runbook identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (RunbookClient) GetContent ¶
func (client RunbookClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result String, err error)
GetContent retrieve the content of runbook identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (RunbookClient) GetContentPreparer ¶
func (client RunbookClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
GetContentPreparer prepares the GetContent request.
func (RunbookClient) GetContentResponder ¶
func (client RunbookClient) GetContentResponder(resp *http.Response) (result String, err error)
GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.
func (RunbookClient) GetContentSender ¶
GetContentSender sends the GetContent request. The method will close the http.Response Body if it receives an error.
func (RunbookClient) GetPreparer ¶
func (client RunbookClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RunbookClient) GetResponder ¶
func (client RunbookClient) GetResponder(resp *http.Response) (result Runbook, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RunbookClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RunbookClient) ListByAutomationAccount ¶
func (client RunbookClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result RunbookListResultPage, err error)
ListByAutomationAccount retrieve a list of runbooks.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (RunbookClient) ListByAutomationAccountComplete ¶
func (client RunbookClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result RunbookListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (RunbookClient) ListByAutomationAccountPreparer ¶
func (client RunbookClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (RunbookClient) ListByAutomationAccountResponder ¶
func (client RunbookClient) ListByAutomationAccountResponder(resp *http.Response) (result RunbookListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (RunbookClient) ListByAutomationAccountSender ¶
func (client RunbookClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (RunbookClient) Update ¶
func (client RunbookClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters RunbookUpdateParameters) (result Runbook, err error)
Update update the runbook identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name. parameters is the update parameters for runbook.
func (RunbookClient) UpdatePreparer ¶
func (client RunbookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters RunbookUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (RunbookClient) UpdateResponder ¶
func (client RunbookClient) UpdateResponder(resp *http.Response) (result Runbook, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (RunbookClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type RunbookCreateOrUpdateDraftParameters ¶
type RunbookCreateOrUpdateDraftParameters struct { // RunbookContent - Content of the Runbook. RunbookContent *string `json:"runbookContent,omitempty"` }
RunbookCreateOrUpdateDraftParameters the parameters supplied to the create or update runbook operation.
type RunbookCreateOrUpdateDraftProperties ¶
type RunbookCreateOrUpdateDraftProperties struct { // LogVerbose - Gets or sets verbose log option. LogVerbose *bool `json:"logVerbose,omitempty"` // LogProgress - Gets or sets progress log option. LogProgress *bool `json:"logProgress,omitempty"` // RunbookType - Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' RunbookType RunbookTypeEnum `json:"runbookType,omitempty"` // Draft - Gets or sets the draft runbook properties. Draft *RunbookDraft `json:"draft,omitempty"` // Description - Gets or sets the description of the runbook. Description *string `json:"description,omitempty"` // LogActivityTrace - Gets or sets the activity-level tracing options of the runbook. LogActivityTrace *int32 `json:"logActivityTrace,omitempty"` }
RunbookCreateOrUpdateDraftProperties the parameters supplied to the create or update dratft runbook properties.
type RunbookCreateOrUpdateParameters ¶
type RunbookCreateOrUpdateParameters struct { // RunbookCreateOrUpdateProperties - Gets or sets runbook create or update properties. *RunbookCreateOrUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets the name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
RunbookCreateOrUpdateParameters the parameters supplied to the create or update runbook operation.
func (RunbookCreateOrUpdateParameters) MarshalJSON ¶
func (rcoup RunbookCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RunbookCreateOrUpdateParameters.
func (*RunbookCreateOrUpdateParameters) UnmarshalJSON ¶
func (rcoup *RunbookCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RunbookCreateOrUpdateParameters struct.
type RunbookCreateOrUpdateProperties ¶
type RunbookCreateOrUpdateProperties struct { // LogVerbose - Gets or sets verbose log option. LogVerbose *bool `json:"logVerbose,omitempty"` // LogProgress - Gets or sets progress log option. LogProgress *bool `json:"logProgress,omitempty"` // RunbookType - Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' RunbookType RunbookTypeEnum `json:"runbookType,omitempty"` // Draft - Gets or sets the draft runbook properties. Draft *RunbookDraft `json:"draft,omitempty"` // PublishContentLink - Gets or sets the published runbook content link. PublishContentLink *ContentLink `json:"publishContentLink,omitempty"` // Description - Gets or sets the description of the runbook. Description *string `json:"description,omitempty"` // LogActivityTrace - Gets or sets the activity-level tracing options of the runbook. LogActivityTrace *int32 `json:"logActivityTrace,omitempty"` }
RunbookCreateOrUpdateProperties the parameters supplied to the create or update runbook properties.
type RunbookDraft ¶
type RunbookDraft struct { autorest.Response `json:"-"` // InEdit - Gets or sets whether runbook is in edit mode. InEdit *bool `json:"inEdit,omitempty"` // DraftContentLink - Gets or sets the draft runbook content link. DraftContentLink *ContentLink `json:"draftContentLink,omitempty"` // CreationTime - Gets or sets the creation time of the runbook draft. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time of the runbook draft. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Parameters - Gets or sets the runbook draft parameters. Parameters map[string]*RunbookParameter `json:"parameters"` // OutputTypes - Gets or sets the runbook output types. OutputTypes *[]string `json:"outputTypes,omitempty"` }
RunbookDraft definition of the runbook type.
func (RunbookDraft) MarshalJSON ¶
func (rd RunbookDraft) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RunbookDraft.
type RunbookDraftClient ¶
type RunbookDraftClient struct {
BaseClient
}
RunbookDraftClient is the automation Client
func NewRunbookDraftClient ¶
func NewRunbookDraftClient(subscriptionID string) RunbookDraftClient
NewRunbookDraftClient creates an instance of the RunbookDraftClient client.
func NewRunbookDraftClientWithBaseURI ¶
func NewRunbookDraftClientWithBaseURI(baseURI string, subscriptionID string) RunbookDraftClient
NewRunbookDraftClientWithBaseURI creates an instance of the RunbookDraftClient client.
func (RunbookDraftClient) Get ¶
func (client RunbookDraftClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraft, err error)
Get retrieve the runbook draft identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (RunbookDraftClient) GetContent ¶
func (client RunbookDraftClient) GetContent(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result String, err error)
GetContent retrieve the content of runbook draft identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (RunbookDraftClient) GetContentPreparer ¶
func (client RunbookDraftClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
GetContentPreparer prepares the GetContent request.
func (RunbookDraftClient) GetContentResponder ¶
func (client RunbookDraftClient) GetContentResponder(resp *http.Response) (result String, err error)
GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.
func (RunbookDraftClient) GetContentSender ¶
GetContentSender sends the GetContent request. The method will close the http.Response Body if it receives an error.
func (RunbookDraftClient) GetPreparer ¶
func (client RunbookDraftClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RunbookDraftClient) GetResponder ¶
func (client RunbookDraftClient) GetResponder(resp *http.Response) (result RunbookDraft, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RunbookDraftClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RunbookDraftClient) Publish ¶
func (client RunbookDraftClient) Publish(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraftPublishFuture, err error)
Publish publish runbook draft.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the parameters supplied to the publish runbook operation.
func (RunbookDraftClient) PublishPreparer ¶
func (client RunbookDraftClient) PublishPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
PublishPreparer prepares the Publish request.
func (RunbookDraftClient) PublishResponder ¶
func (client RunbookDraftClient) PublishResponder(resp *http.Response) (result String, err error)
PublishResponder handles the response to the Publish request. The method always closes the http.Response Body.
func (RunbookDraftClient) PublishSender ¶
func (client RunbookDraftClient) PublishSender(req *http.Request) (future RunbookDraftPublishFuture, err error)
PublishSender sends the Publish request. The method will close the http.Response Body if it receives an error.
func (RunbookDraftClient) ReplaceContent ¶
func (client RunbookDraftClient) ReplaceContent(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, runbookContent string) (result RunbookDraftReplaceContentFuture, err error)
ReplaceContent replaces the runbook draft content.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name. runbookContent is the runbook draft content.
func (RunbookDraftClient) ReplaceContentPreparer ¶
func (client RunbookDraftClient) ReplaceContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, runbookContent string) (*http.Request, error)
ReplaceContentPreparer prepares the ReplaceContent request.
func (RunbookDraftClient) ReplaceContentResponder ¶
func (client RunbookDraftClient) ReplaceContentResponder(resp *http.Response) (result String, err error)
ReplaceContentResponder handles the response to the ReplaceContent request. The method always closes the http.Response Body.
func (RunbookDraftClient) ReplaceContentSender ¶
func (client RunbookDraftClient) ReplaceContentSender(req *http.Request) (future RunbookDraftReplaceContentFuture, err error)
ReplaceContentSender sends the ReplaceContent request. The method will close the http.Response Body if it receives an error.
func (RunbookDraftClient) UndoEdit ¶
func (client RunbookDraftClient) UndoEdit(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraftUndoEditResult, err error)
UndoEdit undo draft edit to last known published state identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (RunbookDraftClient) UndoEditPreparer ¶
func (client RunbookDraftClient) UndoEditPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
UndoEditPreparer prepares the UndoEdit request.
func (RunbookDraftClient) UndoEditResponder ¶
func (client RunbookDraftClient) UndoEditResponder(resp *http.Response) (result RunbookDraftUndoEditResult, err error)
UndoEditResponder handles the response to the UndoEdit request. The method always closes the http.Response Body.
func (RunbookDraftClient) UndoEditSender ¶
UndoEditSender sends the UndoEdit request. The method will close the http.Response Body if it receives an error.
type RunbookDraftPublishFuture ¶
RunbookDraftPublishFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (RunbookDraftPublishFuture) Result ¶
func (future RunbookDraftPublishFuture) Result(client RunbookDraftClient) (s String, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type RunbookDraftReplaceContentFuture ¶
type RunbookDraftReplaceContentFuture struct { azure.Future // contains filtered or unexported fields }
RunbookDraftReplaceContentFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (RunbookDraftReplaceContentFuture) Result ¶
func (future RunbookDraftReplaceContentFuture) Result(client RunbookDraftClient) (s String, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type RunbookDraftUndoEditResult ¶
type RunbookDraftUndoEditResult struct { autorest.Response `json:"-"` // StatusCode - Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestURITooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HTTPVersionNotSupported' StatusCode HTTPStatusCode `json:"statusCode,omitempty"` RequestID *string `json:"requestId,omitempty"` }
RunbookDraftUndoEditResult the response model for the undoedit runbook operation.
type RunbookListResult ¶
type RunbookListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of runbooks. Value *[]Runbook `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
RunbookListResult the response model for the list runbook operation.
func (RunbookListResult) IsEmpty ¶
func (rlr RunbookListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RunbookListResultIterator ¶
type RunbookListResultIterator struct {
// contains filtered or unexported fields
}
RunbookListResultIterator provides access to a complete listing of Runbook values.
func (*RunbookListResultIterator) Next ¶
func (iter *RunbookListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (RunbookListResultIterator) NotDone ¶
func (iter RunbookListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RunbookListResultIterator) Response ¶
func (iter RunbookListResultIterator) Response() RunbookListResult
Response returns the raw server response from the last page request.
func (RunbookListResultIterator) Value ¶
func (iter RunbookListResultIterator) Value() Runbook
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RunbookListResultPage ¶
type RunbookListResultPage struct {
// contains filtered or unexported fields
}
RunbookListResultPage contains a page of Runbook values.
func (*RunbookListResultPage) Next ¶
func (page *RunbookListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RunbookListResultPage) NotDone ¶
func (page RunbookListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RunbookListResultPage) Response ¶
func (page RunbookListResultPage) Response() RunbookListResult
Response returns the raw server response from the last page request.
func (RunbookListResultPage) Values ¶
func (page RunbookListResultPage) Values() []Runbook
Values returns the slice of values for the current page or nil if there are no values.
type RunbookParameter ¶
type RunbookParameter struct { // Type - Gets or sets the type of the parameter. Type *string `json:"type,omitempty"` // IsMandatory - Gets or sets a Boolean value to indicate whether the parameter is madatory or not. IsMandatory *bool `json:"isMandatory,omitempty"` // Position - Get or sets the position of the parameter. Position *int32 `json:"position,omitempty"` // DefaultValue - Gets or sets the default value of parameter. DefaultValue *string `json:"defaultValue,omitempty"` }
RunbookParameter definition of the runbook parameter type.
type RunbookProperties ¶
type RunbookProperties struct { // RunbookType - Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' RunbookType RunbookTypeEnum `json:"runbookType,omitempty"` // PublishContentLink - Gets or sets the published runbook content link. PublishContentLink *ContentLink `json:"publishContentLink,omitempty"` // State - Gets or sets the state of the runbook. Possible values include: 'RunbookStateNew', 'RunbookStateEdit', 'RunbookStatePublished' State RunbookState `json:"state,omitempty"` // LogVerbose - Gets or sets verbose log option. LogVerbose *bool `json:"logVerbose,omitempty"` // LogProgress - Gets or sets progress log option. LogProgress *bool `json:"logProgress,omitempty"` // LogActivityTrace - Gets or sets the option to log activity trace of the runbook. LogActivityTrace *int32 `json:"logActivityTrace,omitempty"` // JobCount - Gets or sets the job count of the runbook. JobCount *int32 `json:"jobCount,omitempty"` // Parameters - Gets or sets the runbook parameters. Parameters map[string]*RunbookParameter `json:"parameters"` // OutputTypes - Gets or sets the runbook output types. OutputTypes *[]string `json:"outputTypes,omitempty"` // Draft - Gets or sets the draft runbook properties. Draft *RunbookDraft `json:"draft,omitempty"` // ProvisioningState - Gets or sets the provisioning state of the runbook. Possible values include: 'RunbookProvisioningStateSucceeded' ProvisioningState RunbookProvisioningState `json:"provisioningState,omitempty"` // LastModifiedBy - Gets or sets the last modified by. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // CreationTime - Gets or sets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
RunbookProperties definition of the runbook property type.
func (RunbookProperties) MarshalJSON ¶
func (rp RunbookProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RunbookProperties.
type RunbookProvisioningState ¶
type RunbookProvisioningState string
RunbookProvisioningState enumerates the values for runbook provisioning state.
const ( // RunbookProvisioningStateSucceeded ... RunbookProvisioningStateSucceeded RunbookProvisioningState = "Succeeded" )
func PossibleRunbookProvisioningStateValues ¶
func PossibleRunbookProvisioningStateValues() []RunbookProvisioningState
PossibleRunbookProvisioningStateValues returns an array of possible values for the RunbookProvisioningState const type.
type RunbookState ¶
type RunbookState string
RunbookState enumerates the values for runbook state.
const ( // RunbookStateEdit ... RunbookStateEdit RunbookState = "Edit" // RunbookStateNew ... RunbookStateNew RunbookState = "New" // RunbookStatePublished ... RunbookStatePublished RunbookState = "Published" )
func PossibleRunbookStateValues ¶
func PossibleRunbookStateValues() []RunbookState
PossibleRunbookStateValues returns an array of possible values for the RunbookState const type.
type RunbookTypeEnum ¶
type RunbookTypeEnum string
RunbookTypeEnum enumerates the values for runbook type enum.
const ( // Graph ... Graph RunbookTypeEnum = "Graph" // GraphPowerShell ... GraphPowerShell RunbookTypeEnum = "GraphPowerShell" // GraphPowerShellWorkflow ... GraphPowerShellWorkflow RunbookTypeEnum = "GraphPowerShellWorkflow" // PowerShell ... PowerShell RunbookTypeEnum = "PowerShell" // PowerShellWorkflow ... PowerShellWorkflow RunbookTypeEnum = "PowerShellWorkflow" // Script ... Script RunbookTypeEnum = "Script" )
func PossibleRunbookTypeEnumValues ¶
func PossibleRunbookTypeEnumValues() []RunbookTypeEnum
PossibleRunbookTypeEnumValues returns an array of possible values for the RunbookTypeEnum const type.
type RunbookUpdateParameters ¶
type RunbookUpdateParameters struct { // RunbookUpdateProperties - Gets or sets the runbook update properties. *RunbookUpdateProperties `json:"properties,omitempty"` // Name - Gets or sets the name of the resource. Name *string `json:"name,omitempty"` // Location - Gets or sets the location of the resource. Location *string `json:"location,omitempty"` // Tags - Gets or sets the tags attached to the resource. Tags map[string]*string `json:"tags"` }
RunbookUpdateParameters the parameters supplied to the update runbook operation.
func (RunbookUpdateParameters) MarshalJSON ¶
func (rup RunbookUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RunbookUpdateParameters.
func (*RunbookUpdateParameters) UnmarshalJSON ¶
func (rup *RunbookUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RunbookUpdateParameters struct.
type RunbookUpdateProperties ¶
type RunbookUpdateProperties struct { // Description - Gets or sets the description of the runbook. Description *string `json:"description,omitempty"` // LogVerbose - Gets or sets verbose log option. LogVerbose *bool `json:"logVerbose,omitempty"` // LogProgress - Gets or sets progress log option. LogProgress *bool `json:"logProgress,omitempty"` // LogActivityTrace - Gets or sets the activity-level tracing options of the runbook. LogActivityTrace *int32 `json:"logActivityTrace,omitempty"` }
RunbookUpdateProperties the parameters supplied to the update runbook properties.
type Schedule ¶
type Schedule struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets name of the schedule. Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // ScheduleProperties - Gets or sets the properties of the schedule. *ScheduleProperties `json:"properties,omitempty"` }
Schedule definition of the schedule.
func (Schedule) MarshalJSON ¶
MarshalJSON is the custom marshaler for Schedule.
func (*Schedule) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Schedule struct.
type ScheduleAssociationProperty ¶
type ScheduleAssociationProperty struct { // Name - Gets or sets the name of the schedule. Name *string `json:"name,omitempty"` }
ScheduleAssociationProperty the schedule property associated with the entity.
type ScheduleClient ¶
type ScheduleClient struct {
BaseClient
}
ScheduleClient is the automation Client
func NewScheduleClient ¶
func NewScheduleClient(subscriptionID string) ScheduleClient
NewScheduleClient creates an instance of the ScheduleClient client.
func NewScheduleClientWithBaseURI ¶
func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient
NewScheduleClientWithBaseURI creates an instance of the ScheduleClient client.
func (ScheduleClient) CreateOrUpdate ¶
func (client ScheduleClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters ScheduleCreateOrUpdateParameters) (result Schedule, err error)
CreateOrUpdate create a schedule.
resourceGroupName is the resource group name. automationAccountName is the automation account name. scheduleName is the schedule name. parameters is the parameters supplied to the create or update schedule operation.
func (ScheduleClient) CreateOrUpdatePreparer ¶
func (client ScheduleClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters ScheduleCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ScheduleClient) CreateOrUpdateResponder ¶
func (client ScheduleClient) CreateOrUpdateResponder(resp *http.Response) (result Schedule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ScheduleClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ScheduleClient) Delete ¶
func (client ScheduleClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string) (result autorest.Response, err error)
Delete delete the schedule identified by schedule name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. scheduleName is the schedule name.
func (ScheduleClient) DeletePreparer ¶
func (client ScheduleClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ScheduleClient) DeleteResponder ¶
func (client ScheduleClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ScheduleClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ScheduleClient) Get ¶
func (client ScheduleClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string) (result Schedule, err error)
Get retrieve the schedule identified by schedule name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. scheduleName is the schedule name.
func (ScheduleClient) GetPreparer ¶
func (client ScheduleClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ScheduleClient) GetResponder ¶
func (client ScheduleClient) GetResponder(resp *http.Response) (result Schedule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ScheduleClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ScheduleClient) ListByAutomationAccount ¶
func (client ScheduleClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result ScheduleListResultPage, err error)
ListByAutomationAccount retrieve a list of schedules.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (ScheduleClient) ListByAutomationAccountComplete ¶
func (client ScheduleClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result ScheduleListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (ScheduleClient) ListByAutomationAccountPreparer ¶
func (client ScheduleClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (ScheduleClient) ListByAutomationAccountResponder ¶
func (client ScheduleClient) ListByAutomationAccountResponder(resp *http.Response) (result ScheduleListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (ScheduleClient) ListByAutomationAccountSender ¶
func (client ScheduleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (ScheduleClient) Update ¶
func (client ScheduleClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters ScheduleUpdateParameters) (result Schedule, err error)
Update update the schedule identified by schedule name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. scheduleName is the schedule name. parameters is the parameters supplied to the update schedule operation.
func (ScheduleClient) UpdatePreparer ¶
func (client ScheduleClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters ScheduleUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ScheduleClient) UpdateResponder ¶
func (client ScheduleClient) UpdateResponder(resp *http.Response) (result Schedule, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ScheduleClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ScheduleCreateOrUpdateParameters ¶
type ScheduleCreateOrUpdateParameters struct { // Name - Gets or sets the name of the schedule. Name *string `json:"name,omitempty"` // ScheduleCreateOrUpdateProperties - Gets or sets the list of schedule properties. *ScheduleCreateOrUpdateProperties `json:"properties,omitempty"` }
ScheduleCreateOrUpdateParameters the parameters supplied to the create or update schedule operation.
func (ScheduleCreateOrUpdateParameters) MarshalJSON ¶
func (scoup ScheduleCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ScheduleCreateOrUpdateParameters.
func (*ScheduleCreateOrUpdateParameters) UnmarshalJSON ¶
func (scoup *ScheduleCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ScheduleCreateOrUpdateParameters struct.
type ScheduleCreateOrUpdateProperties ¶
type ScheduleCreateOrUpdateProperties struct { // Description - Gets or sets the description of the schedule. Description *string `json:"description,omitempty"` // StartTime - Gets or sets the start time of the schedule. StartTime *date.Time `json:"startTime,omitempty"` // ExpiryTime - Gets or sets the end time of the schedule. ExpiryTime *date.Time `json:"expiryTime,omitempty"` // Interval - Gets or sets the interval of the schedule. Interval interface{} `json:"interval,omitempty"` // Frequency - Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' Frequency ScheduleFrequency `json:"frequency,omitempty"` // TimeZone - Gets or sets the time zone of the schedule. TimeZone *string `json:"timeZone,omitempty"` // AdvancedSchedule - Gets or sets the AdvancedSchedule. AdvancedSchedule *AdvancedSchedule `json:"advancedSchedule,omitempty"` }
ScheduleCreateOrUpdateProperties the parameters supplied to the create or update schedule operation.
type ScheduleDay ¶
type ScheduleDay string
ScheduleDay enumerates the values for schedule day.
const ( // Friday ... Friday ScheduleDay = "Friday" // Monday ... Monday ScheduleDay = "Monday" // Saturday ... Saturday ScheduleDay = "Saturday" // Sunday ... Sunday ScheduleDay = "Sunday" // Thursday ... Thursday ScheduleDay = "Thursday" // Tuesday ... Tuesday ScheduleDay = "Tuesday" // Wednesday ... Wednesday ScheduleDay = "Wednesday" )
func PossibleScheduleDayValues ¶
func PossibleScheduleDayValues() []ScheduleDay
PossibleScheduleDayValues returns an array of possible values for the ScheduleDay const type.
type ScheduleFrequency ¶
type ScheduleFrequency string
ScheduleFrequency enumerates the values for schedule frequency.
const ( // Day ... Day ScheduleFrequency = "Day" // Hour ... Hour ScheduleFrequency = "Hour" // Month ... Month ScheduleFrequency = "Month" // OneTime ... OneTime ScheduleFrequency = "OneTime" // Week ... Week ScheduleFrequency = "Week" )
func PossibleScheduleFrequencyValues ¶
func PossibleScheduleFrequencyValues() []ScheduleFrequency
PossibleScheduleFrequencyValues returns an array of possible values for the ScheduleFrequency const type.
type ScheduleListResult ¶
type ScheduleListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of schedules. Value *[]Schedule `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
ScheduleListResult the response model for the list schedule operation.
func (ScheduleListResult) IsEmpty ¶
func (slr ScheduleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ScheduleListResultIterator ¶
type ScheduleListResultIterator struct {
// contains filtered or unexported fields
}
ScheduleListResultIterator provides access to a complete listing of Schedule values.
func (*ScheduleListResultIterator) Next ¶
func (iter *ScheduleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ScheduleListResultIterator) NotDone ¶
func (iter ScheduleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ScheduleListResultIterator) Response ¶
func (iter ScheduleListResultIterator) Response() ScheduleListResult
Response returns the raw server response from the last page request.
func (ScheduleListResultIterator) Value ¶
func (iter ScheduleListResultIterator) Value() Schedule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ScheduleListResultPage ¶
type ScheduleListResultPage struct {
// contains filtered or unexported fields
}
ScheduleListResultPage contains a page of Schedule values.
func (*ScheduleListResultPage) Next ¶
func (page *ScheduleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ScheduleListResultPage) NotDone ¶
func (page ScheduleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ScheduleListResultPage) Response ¶
func (page ScheduleListResultPage) Response() ScheduleListResult
Response returns the raw server response from the last page request.
func (ScheduleListResultPage) Values ¶
func (page ScheduleListResultPage) Values() []Schedule
Values returns the slice of values for the current page or nil if there are no values.
type ScheduleProperties ¶
type ScheduleProperties struct { // StartTime - Gets or sets the start time of the schedule. StartTime *date.Time `json:"startTime,omitempty"` // StartTimeOffsetMinutes - Gets the start time's offset in minutes. StartTimeOffsetMinutes *float64 `json:"startTimeOffsetMinutes,omitempty"` // ExpiryTime - Gets or sets the end time of the schedule. ExpiryTime *date.Time `json:"expiryTime,omitempty"` // ExpiryTimeOffsetMinutes - Gets or sets the expiry time's offset in minutes. ExpiryTimeOffsetMinutes *float64 `json:"expiryTimeOffsetMinutes,omitempty"` // IsEnabled - Gets or sets a value indicating whether this schedule is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // NextRun - Gets or sets the next run time of the schedule. NextRun *date.Time `json:"nextRun,omitempty"` // NextRunOffsetMinutes - Gets or sets the next run time's offset in minutes. NextRunOffsetMinutes *float64 `json:"nextRunOffsetMinutes,omitempty"` // Interval - Gets or sets the interval of the schedule. Interval interface{} `json:"interval,omitempty"` // Frequency - Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' Frequency ScheduleFrequency `json:"frequency,omitempty"` // TimeZone - Gets or sets the time zone of the schedule. TimeZone *string `json:"timeZone,omitempty"` // AdvancedSchedule - Gets or sets the advanced schedule. AdvancedSchedule *AdvancedSchedule `json:"advancedSchedule,omitempty"` // CreationTime - Gets or sets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
ScheduleProperties definition of schedule parameters.
type ScheduleUpdateParameters ¶
type ScheduleUpdateParameters struct { // Name - Gets or sets the name of the schedule. Name *string `json:"name,omitempty"` // ScheduleUpdateProperties - Gets or sets the list of schedule properties. *ScheduleUpdateProperties `json:"properties,omitempty"` }
ScheduleUpdateParameters the parameters supplied to the update schedule operation.
func (ScheduleUpdateParameters) MarshalJSON ¶
func (sup ScheduleUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ScheduleUpdateParameters.
func (*ScheduleUpdateParameters) UnmarshalJSON ¶
func (sup *ScheduleUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ScheduleUpdateParameters struct.
type ScheduleUpdateProperties ¶
type ScheduleUpdateProperties struct { // Description - Gets or sets the description of the schedule. Description *string `json:"description,omitempty"` // IsEnabled - Gets or sets a value indicating whether this schedule is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` }
ScheduleUpdateProperties the parameters supplied to the update schedule operation.
type Sku ¶
type Sku struct { // Name - Gets or sets the SKU name of the account. Possible values include: 'Free', 'Basic' Name SkuNameEnum `json:"name,omitempty"` // Family - Gets or sets the SKU family. Family *string `json:"family,omitempty"` // Capacity - Gets or sets the SKU capacity. Capacity *int32 `json:"capacity,omitempty"` }
Sku the account SKU.
type SkuNameEnum ¶
type SkuNameEnum string
SkuNameEnum enumerates the values for sku name enum.
const ( // Basic ... Basic SkuNameEnum = "Basic" // Free ... Free SkuNameEnum = "Free" )
func PossibleSkuNameEnumValues ¶
func PossibleSkuNameEnumValues() []SkuNameEnum
PossibleSkuNameEnumValues returns an array of possible values for the SkuNameEnum const type.
type Statistics ¶
type Statistics struct { // CounterProperty - Gets the property value of the statistic. CounterProperty *string `json:"counterProperty,omitempty"` // CounterValue - Gets the value of the statistic. CounterValue *int64 `json:"counterValue,omitempty"` // StartTime - Gets the startTime of the statistic. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - Gets the endTime of the statistic. EndTime *date.Time `json:"endTime,omitempty"` // ID - Gets the id. ID *string `json:"id,omitempty"` }
Statistics definition of the statistic.
type StatisticsClient ¶
type StatisticsClient struct {
BaseClient
}
StatisticsClient is the automation Client
func NewStatisticsClient ¶
func NewStatisticsClient(subscriptionID string) StatisticsClient
NewStatisticsClient creates an instance of the StatisticsClient client.
func NewStatisticsClientWithBaseURI ¶
func NewStatisticsClientWithBaseURI(baseURI string, subscriptionID string) StatisticsClient
NewStatisticsClientWithBaseURI creates an instance of the StatisticsClient client.
func (StatisticsClient) ListByAutomationAccount ¶
func (client StatisticsClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result StatisticsListResult, err error)
ListByAutomationAccount retrieve the statistics for the account.
resourceGroupName is the resource group name. automationAccountName is the automation account name. filter is the filter to apply on the operation.
func (StatisticsClient) ListByAutomationAccountPreparer ¶
func (client StatisticsClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (StatisticsClient) ListByAutomationAccountResponder ¶
func (client StatisticsClient) ListByAutomationAccountResponder(resp *http.Response) (result StatisticsListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (StatisticsClient) ListByAutomationAccountSender ¶
func (client StatisticsClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
type StatisticsListResult ¶
type StatisticsListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of statistics. Value *[]Statistics `json:"value,omitempty"` }
StatisticsListResult the response model for the list statistics operation.
type SubResource ¶
type SubResource struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
SubResource the Sub Resource definition.
type TestJob ¶
type TestJob struct { autorest.Response `json:"-"` // CreationTime - Gets or sets the creation time of the test job. CreationTime *date.Time `json:"creationTime,omitempty"` // Status - Gets or sets the status of the test job. Status *string `json:"status,omitempty"` // StatusDetails - Gets or sets the status details of the test job. StatusDetails *string `json:"statusDetails,omitempty"` // RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed. RunOn *string `json:"runOn,omitempty"` // StartTime - Gets or sets the start time of the test job. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - Gets or sets the end time of the test job. EndTime *date.Time `json:"endTime,omitempty"` // Exception - Gets or sets the exception of the test job. Exception *string `json:"exception,omitempty"` // LastModifiedTime - Gets or sets the last modified time of the test job. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // LastStatusModifiedTime - Gets or sets the last status modified time of the test job. LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"` // Parameters - Gets or sets the parameters of the test job. Parameters map[string]*string `json:"parameters"` // LogActivityTrace - The activity-level tracing options of the runbook. LogActivityTrace *int32 `json:"logActivityTrace,omitempty"` }
TestJob definition of the test job.
func (TestJob) MarshalJSON ¶
MarshalJSON is the custom marshaler for TestJob.
type TestJobClient ¶
type TestJobClient struct {
BaseClient
}
TestJobClient is the automation Client
func NewTestJobClient ¶
func NewTestJobClient(subscriptionID string) TestJobClient
NewTestJobClient creates an instance of the TestJobClient client.
func NewTestJobClientWithBaseURI ¶
func NewTestJobClientWithBaseURI(baseURI string, subscriptionID string) TestJobClient
NewTestJobClientWithBaseURI creates an instance of the TestJobClient client.
func (TestJobClient) Create ¶
func (client TestJobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters TestJobCreateParameters) (result TestJob, err error)
Create create a test job of the runbook.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the parameters supplied to the create test job operation. parameters is the parameters supplied to the create test job operation.
func (TestJobClient) CreatePreparer ¶
func (client TestJobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters TestJobCreateParameters) (*http.Request, error)
CreatePreparer prepares the Create request.
func (TestJobClient) CreateResponder ¶
func (client TestJobClient) CreateResponder(resp *http.Response) (result TestJob, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (TestJobClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (TestJobClient) Get ¶
func (client TestJobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result TestJob, err error)
Get retrieve the test job for the specified runbook.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (TestJobClient) GetPreparer ¶
func (client TestJobClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TestJobClient) GetResponder ¶
func (client TestJobClient) GetResponder(resp *http.Response) (result TestJob, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TestJobClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TestJobClient) Resume ¶
func (client TestJobClient) Resume(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error)
Resume resume the test job.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (TestJobClient) ResumePreparer ¶
func (client TestJobClient) ResumePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
ResumePreparer prepares the Resume request.
func (TestJobClient) ResumeResponder ¶
func (client TestJobClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.
func (TestJobClient) ResumeSender ¶
ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.
func (TestJobClient) Stop ¶
func (client TestJobClient) Stop(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error)
Stop stop the test job.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (TestJobClient) StopPreparer ¶
func (client TestJobClient) StopPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (TestJobClient) StopResponder ¶
func (client TestJobClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (TestJobClient) StopSender ¶
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
func (TestJobClient) Suspend ¶
func (client TestJobClient) Suspend(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error)
Suspend suspend the test job.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name.
func (TestJobClient) SuspendPreparer ¶
func (client TestJobClient) SuspendPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)
SuspendPreparer prepares the Suspend request.
func (TestJobClient) SuspendResponder ¶
func (client TestJobClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)
SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.
func (TestJobClient) SuspendSender ¶
SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.
type TestJobCreateParameters ¶
type TestJobCreateParameters struct { // Parameters - Gets or sets the parameters of the test job. Parameters map[string]*string `json:"parameters"` // RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed. RunOn *string `json:"runOn,omitempty"` }
TestJobCreateParameters the parameters supplied to the create test job operation.
func (TestJobCreateParameters) MarshalJSON ¶
func (tjcp TestJobCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TestJobCreateParameters.
type TestJobStreamsClient ¶
type TestJobStreamsClient struct {
BaseClient
}
TestJobStreamsClient is the automation Client
func NewTestJobStreamsClient ¶
func NewTestJobStreamsClient(subscriptionID string) TestJobStreamsClient
NewTestJobStreamsClient creates an instance of the TestJobStreamsClient client.
func NewTestJobStreamsClientWithBaseURI ¶
func NewTestJobStreamsClientWithBaseURI(baseURI string, subscriptionID string) TestJobStreamsClient
NewTestJobStreamsClientWithBaseURI creates an instance of the TestJobStreamsClient client.
func (TestJobStreamsClient) Get ¶
func (client TestJobStreamsClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, jobStreamID string) (result JobStream, err error)
Get retrieve a test job stream of the test job identified by runbook name and stream id.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name. jobStreamID is the job stream id.
func (TestJobStreamsClient) GetPreparer ¶
func (client TestJobStreamsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, jobStreamID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TestJobStreamsClient) GetResponder ¶
func (client TestJobStreamsClient) GetResponder(resp *http.Response) (result JobStream, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TestJobStreamsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TestJobStreamsClient) ListByTestJob ¶
func (client TestJobStreamsClient) ListByTestJob(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, filter string) (result JobStreamListResultPage, err error)
ListByTestJob retrieve a list of test job streams identified by runbook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name. filter is the filter to apply on the operation.
func (TestJobStreamsClient) ListByTestJobComplete ¶
func (client TestJobStreamsClient) ListByTestJobComplete(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, filter string) (result JobStreamListResultIterator, err error)
ListByTestJobComplete enumerates all values, automatically crossing page boundaries as required.
func (TestJobStreamsClient) ListByTestJobPreparer ¶
func (client TestJobStreamsClient) ListByTestJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, filter string) (*http.Request, error)
ListByTestJobPreparer prepares the ListByTestJob request.
func (TestJobStreamsClient) ListByTestJobResponder ¶
func (client TestJobStreamsClient) ListByTestJobResponder(resp *http.Response) (result JobStreamListResult, err error)
ListByTestJobResponder handles the response to the ListByTestJob request. The method always closes the http.Response Body.
func (TestJobStreamsClient) ListByTestJobSender ¶
ListByTestJobSender sends the ListByTestJob request. The method will close the http.Response Body if it receives an error.
type TypeField ¶
type TypeField struct { // Name - Gets or sets the name of the field. Name *string `json:"name,omitempty"` // Type - Gets or sets the type of the field. Type *string `json:"type,omitempty"` }
TypeField information about a field of a type.
type TypeFieldListResult ¶
type TypeFieldListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of fields. Value *[]TypeField `json:"value,omitempty"` }
TypeFieldListResult the response model for the list fields operation.
type Usage ¶
type Usage struct { // ID - Gets or sets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets or sets the usage counter name. Name *UsageCounterName `json:"name,omitempty"` // Unit - Gets or sets the usage unit name. Unit *string `json:"unit,omitempty"` // CurrentValue - Gets or sets the current usage value. CurrentValue *float64 `json:"currentValue,omitempty"` // Limit - Gets or sets max limit. -1 for unlimited Limit *int64 `json:"limit,omitempty"` // ThrottleStatus - Gets or sets the throttle status. ThrottleStatus *string `json:"throttleStatus,omitempty"` }
Usage definition of Usage.
type UsageCounterName ¶
type UsageCounterName struct { // Value - Gets or sets the usage counter name. Value *string `json:"value,omitempty"` // LocalizedValue - Gets or sets the localized usage counter name. LocalizedValue *string `json:"localizedValue,omitempty"` }
UsageCounterName definition of usage counter name.
type UsageListResult ¶
type UsageListResult struct { autorest.Response `json:"-"` // Value - Gets or sets usage. Value *[]Usage `json:"value,omitempty"` }
UsageListResult the response model for the get usage operation.
type UsagesClient ¶
type UsagesClient struct {
BaseClient
}
UsagesClient is the automation Client
func NewUsagesClient ¶
func NewUsagesClient(subscriptionID string) UsagesClient
NewUsagesClient creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI ¶
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient
NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func (UsagesClient) ListByAutomationAccount ¶
func (client UsagesClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result UsageListResult, err error)
ListByAutomationAccount retrieve the usage for the account id.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (UsagesClient) ListByAutomationAccountPreparer ¶
func (client UsagesClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (UsagesClient) ListByAutomationAccountResponder ¶
func (client UsagesClient) ListByAutomationAccountResponder(resp *http.Response) (result UsageListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (UsagesClient) ListByAutomationAccountSender ¶
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
type Variable ¶
type Variable struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the variable. Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // VariableProperties - Gets or sets the properties of the variable. *VariableProperties `json:"properties,omitempty"` }
Variable definition of the varible.
func (Variable) MarshalJSON ¶
MarshalJSON is the custom marshaler for Variable.
func (*Variable) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Variable struct.
type VariableClient ¶
type VariableClient struct {
BaseClient
}
VariableClient is the automation Client
func NewVariableClient ¶
func NewVariableClient(subscriptionID string) VariableClient
NewVariableClient creates an instance of the VariableClient client.
func NewVariableClientWithBaseURI ¶
func NewVariableClientWithBaseURI(baseURI string, subscriptionID string) VariableClient
NewVariableClientWithBaseURI creates an instance of the VariableClient client.
func (VariableClient) CreateOrUpdate ¶
func (client VariableClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableCreateOrUpdateParameters) (result Variable, err error)
CreateOrUpdate create a variable.
resourceGroupName is the resource group name. automationAccountName is the automation account name. variableName is the variable name. parameters is the parameters supplied to the create or update variable operation.
func (VariableClient) CreateOrUpdatePreparer ¶
func (client VariableClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VariableClient) CreateOrUpdateResponder ¶
func (client VariableClient) CreateOrUpdateResponder(resp *http.Response) (result Variable, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VariableClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VariableClient) Delete ¶
func (client VariableClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string) (result autorest.Response, err error)
Delete delete the variable.
resourceGroupName is the resource group name. automationAccountName is the automation account name. variableName is the name of variable.
func (VariableClient) DeletePreparer ¶
func (client VariableClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VariableClient) DeleteResponder ¶
func (client VariableClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VariableClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VariableClient) Get ¶
func (client VariableClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string) (result Variable, err error)
Get retrieve the variable identified by variable name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. variableName is the name of variable.
func (VariableClient) GetPreparer ¶
func (client VariableClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VariableClient) GetResponder ¶
func (client VariableClient) GetResponder(resp *http.Response) (result Variable, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VariableClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VariableClient) ListByAutomationAccount ¶
func (client VariableClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result VariableListResultPage, err error)
ListByAutomationAccount retrieve a list of variables.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (VariableClient) ListByAutomationAccountComplete ¶
func (client VariableClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result VariableListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (VariableClient) ListByAutomationAccountPreparer ¶
func (client VariableClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (VariableClient) ListByAutomationAccountResponder ¶
func (client VariableClient) ListByAutomationAccountResponder(resp *http.Response) (result VariableListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (VariableClient) ListByAutomationAccountSender ¶
func (client VariableClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (VariableClient) Update ¶
func (client VariableClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableUpdateParameters) (result Variable, err error)
Update update a variable.
resourceGroupName is the resource group name. automationAccountName is the automation account name. variableName is the variable name. parameters is the parameters supplied to the update variable operation.
func (VariableClient) UpdatePreparer ¶
func (client VariableClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VariableClient) UpdateResponder ¶
func (client VariableClient) UpdateResponder(resp *http.Response) (result Variable, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VariableClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VariableCreateOrUpdateParameters ¶
type VariableCreateOrUpdateParameters struct { // Name - Gets or sets the name of the variable. Name *string `json:"name,omitempty"` // VariableCreateOrUpdateProperties - Gets or sets the properties of the variable. *VariableCreateOrUpdateProperties `json:"properties,omitempty"` }
VariableCreateOrUpdateParameters the parameters supplied to the create or update variable operation.
func (VariableCreateOrUpdateParameters) MarshalJSON ¶
func (vcoup VariableCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VariableCreateOrUpdateParameters.
func (*VariableCreateOrUpdateParameters) UnmarshalJSON ¶
func (vcoup *VariableCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VariableCreateOrUpdateParameters struct.
type VariableCreateOrUpdateProperties ¶
type VariableCreateOrUpdateProperties struct { // Value - Gets or sets the value of the variable. Value *string `json:"value,omitempty"` // Description - Gets or sets the description of the variable. Description *string `json:"description,omitempty"` // IsEncrypted - Gets or sets the encrypted flag of the variable. IsEncrypted *bool `json:"isEncrypted,omitempty"` }
VariableCreateOrUpdateProperties the properties of the create variable operation.
type VariableListResult ¶
type VariableListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of variables. Value *[]Variable `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
VariableListResult the response model for the list variables operation.
func (VariableListResult) IsEmpty ¶
func (vlr VariableListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VariableListResultIterator ¶
type VariableListResultIterator struct {
// contains filtered or unexported fields
}
VariableListResultIterator provides access to a complete listing of Variable values.
func (*VariableListResultIterator) Next ¶
func (iter *VariableListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VariableListResultIterator) NotDone ¶
func (iter VariableListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VariableListResultIterator) Response ¶
func (iter VariableListResultIterator) Response() VariableListResult
Response returns the raw server response from the last page request.
func (VariableListResultIterator) Value ¶
func (iter VariableListResultIterator) Value() Variable
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VariableListResultPage ¶
type VariableListResultPage struct {
// contains filtered or unexported fields
}
VariableListResultPage contains a page of Variable values.
func (*VariableListResultPage) Next ¶
func (page *VariableListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VariableListResultPage) NotDone ¶
func (page VariableListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VariableListResultPage) Response ¶
func (page VariableListResultPage) Response() VariableListResult
Response returns the raw server response from the last page request.
func (VariableListResultPage) Values ¶
func (page VariableListResultPage) Values() []Variable
Values returns the slice of values for the current page or nil if there are no values.
type VariableProperties ¶
type VariableProperties struct { // Value - Gets or sets the value of the variable. Value *string `json:"value,omitempty"` // IsEncrypted - Gets or sets the encrypted flag of the variable. IsEncrypted *bool `json:"isEncrypted,omitempty"` // CreationTime - Gets or sets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
VariableProperties definition of the varible properties
type VariableUpdateParameters ¶
type VariableUpdateParameters struct { // Name - Gets or sets the name of the variable. Name *string `json:"name,omitempty"` // VariableUpdateProperties - Gets or sets the value of the variable. *VariableUpdateProperties `json:"properties,omitempty"` }
VariableUpdateParameters the parameters supplied to the update variable operation.
func (VariableUpdateParameters) MarshalJSON ¶
func (vup VariableUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VariableUpdateParameters.
func (*VariableUpdateParameters) UnmarshalJSON ¶
func (vup *VariableUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VariableUpdateParameters struct.
type VariableUpdateProperties ¶
type VariableUpdateProperties struct { // Value - Gets or sets the value of the variable. Value *string `json:"value,omitempty"` // Description - Gets or sets the description of the variable. Description *string `json:"description,omitempty"` }
VariableUpdateProperties the properties of the update variable
type Webhook ¶
type Webhook struct { autorest.Response `json:"-"` // ID - Gets the id of the resource. ID *string `json:"id,omitempty"` // Name - Gets the name of the webhook. Name *string `json:"name,omitempty"` // Type - Gets the type of the resource. Type *string `json:"type,omitempty"` // WebhookProperties - Gets or sets the webhook properties. *WebhookProperties `json:"properties,omitempty"` }
Webhook definition of the webhook type.
func (Webhook) MarshalJSON ¶
MarshalJSON is the custom marshaler for Webhook.
func (*Webhook) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Webhook struct.
type WebhookClient ¶
type WebhookClient struct {
BaseClient
}
WebhookClient is the automation Client
func NewWebhookClient ¶
func NewWebhookClient(subscriptionID string) WebhookClient
NewWebhookClient creates an instance of the WebhookClient client.
func NewWebhookClientWithBaseURI ¶
func NewWebhookClientWithBaseURI(baseURI string, subscriptionID string) WebhookClient
NewWebhookClientWithBaseURI creates an instance of the WebhookClient client.
func (WebhookClient) CreateOrUpdate ¶
func (client WebhookClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookCreateOrUpdateParameters) (result Webhook, err error)
CreateOrUpdate create the webhook identified by webhook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. webhookName is the webhook name. parameters is the create or update parameters for webhook.
func (WebhookClient) CreateOrUpdatePreparer ¶
func (client WebhookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookCreateOrUpdateParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (WebhookClient) CreateOrUpdateResponder ¶
func (client WebhookClient) CreateOrUpdateResponder(resp *http.Response) (result Webhook, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (WebhookClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (WebhookClient) Delete ¶
func (client WebhookClient) Delete(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string) (result autorest.Response, err error)
Delete delete the webhook by name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. webhookName is the webhook name.
func (WebhookClient) DeletePreparer ¶
func (client WebhookClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (WebhookClient) DeleteResponder ¶
func (client WebhookClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (WebhookClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WebhookClient) GenerateURI ¶
func (client WebhookClient) GenerateURI(ctx context.Context, resourceGroupName string, automationAccountName string) (result String, err error)
GenerateURI generates a Uri for use in creating a webhook.
resourceGroupName is the resource group name. automationAccountName is the automation account name.
func (WebhookClient) GenerateURIPreparer ¶
func (client WebhookClient) GenerateURIPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)
GenerateURIPreparer prepares the GenerateURI request.
func (WebhookClient) GenerateURIResponder ¶
func (client WebhookClient) GenerateURIResponder(resp *http.Response) (result String, err error)
GenerateURIResponder handles the response to the GenerateURI request. The method always closes the http.Response Body.
func (WebhookClient) GenerateURISender ¶
GenerateURISender sends the GenerateURI request. The method will close the http.Response Body if it receives an error.
func (WebhookClient) Get ¶
func (client WebhookClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string) (result Webhook, err error)
Get retrieve the webhook identified by webhook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. webhookName is the webhook name.
func (WebhookClient) GetPreparer ¶
func (client WebhookClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WebhookClient) GetResponder ¶
func (client WebhookClient) GetResponder(resp *http.Response) (result Webhook, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WebhookClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WebhookClient) ListByAutomationAccount ¶
func (client WebhookClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result WebhookListResultPage, err error)
ListByAutomationAccount retrieve a list of webhooks.
resourceGroupName is the resource group name. automationAccountName is the automation account name. filter is the filter to apply on the operation.
func (WebhookClient) ListByAutomationAccountComplete ¶
func (client WebhookClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result WebhookListResultIterator, err error)
ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.
func (WebhookClient) ListByAutomationAccountPreparer ¶
func (client WebhookClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (*http.Request, error)
ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.
func (WebhookClient) ListByAutomationAccountResponder ¶
func (client WebhookClient) ListByAutomationAccountResponder(resp *http.Response) (result WebhookListResult, err error)
ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.
func (WebhookClient) ListByAutomationAccountSender ¶
func (client WebhookClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)
ListByAutomationAccountSender sends the ListByAutomationAccount request. The method will close the http.Response Body if it receives an error.
func (WebhookClient) Update ¶
func (client WebhookClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookUpdateParameters) (result Webhook, err error)
Update update the webhook identified by webhook name.
resourceGroupName is the resource group name. automationAccountName is the automation account name. webhookName is the webhook name. parameters is the update parameters for webhook.
func (WebhookClient) UpdatePreparer ¶
func (client WebhookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (WebhookClient) UpdateResponder ¶
func (client WebhookClient) UpdateResponder(resp *http.Response) (result Webhook, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (WebhookClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type WebhookCreateOrUpdateParameters ¶
type WebhookCreateOrUpdateParameters struct { // Name - Gets or sets the name of the webhook. Name *string `json:"name,omitempty"` // WebhookCreateOrUpdateProperties - Gets or sets the properties of the webhook. *WebhookCreateOrUpdateProperties `json:"properties,omitempty"` }
WebhookCreateOrUpdateParameters the parameters supplied to the create or update webhook operation.
func (WebhookCreateOrUpdateParameters) MarshalJSON ¶
func (wcoup WebhookCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebhookCreateOrUpdateParameters.
func (*WebhookCreateOrUpdateParameters) UnmarshalJSON ¶
func (wcoup *WebhookCreateOrUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WebhookCreateOrUpdateParameters struct.
type WebhookCreateOrUpdateProperties ¶
type WebhookCreateOrUpdateProperties struct { // IsEnabled - Gets or sets the value of the enabled flag of webhook. IsEnabled *bool `json:"isEnabled,omitempty"` // URI - Gets or sets the uri. URI *string `json:"uri,omitempty"` // ExpiryTime - Gets or sets the expiry time. ExpiryTime *date.Time `json:"expiryTime,omitempty"` // Parameters - Gets or sets the parameters of the job. Parameters map[string]*string `json:"parameters"` // Runbook - Gets or sets the runbook. Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` // RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on. RunOn *string `json:"runOn,omitempty"` }
WebhookCreateOrUpdateProperties the properties of the create webhook operation.
func (WebhookCreateOrUpdateProperties) MarshalJSON ¶
func (wcoup WebhookCreateOrUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebhookCreateOrUpdateProperties.
type WebhookListResult ¶
type WebhookListResult struct { autorest.Response `json:"-"` // Value - Gets or sets a list of webhooks. Value *[]Webhook `json:"value,omitempty"` // NextLink - Gets or sets the next link. NextLink *string `json:"nextLink,omitempty"` }
WebhookListResult the response model for the list webhook operation.
func (WebhookListResult) IsEmpty ¶
func (wlr WebhookListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type WebhookListResultIterator ¶
type WebhookListResultIterator struct {
// contains filtered or unexported fields
}
WebhookListResultIterator provides access to a complete listing of Webhook values.
func (*WebhookListResultIterator) Next ¶
func (iter *WebhookListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (WebhookListResultIterator) NotDone ¶
func (iter WebhookListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WebhookListResultIterator) Response ¶
func (iter WebhookListResultIterator) Response() WebhookListResult
Response returns the raw server response from the last page request.
func (WebhookListResultIterator) Value ¶
func (iter WebhookListResultIterator) Value() Webhook
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WebhookListResultPage ¶
type WebhookListResultPage struct {
// contains filtered or unexported fields
}
WebhookListResultPage contains a page of Webhook values.
func (*WebhookListResultPage) Next ¶
func (page *WebhookListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (WebhookListResultPage) NotDone ¶
func (page WebhookListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WebhookListResultPage) Response ¶
func (page WebhookListResultPage) Response() WebhookListResult
Response returns the raw server response from the last page request.
func (WebhookListResultPage) Values ¶
func (page WebhookListResultPage) Values() []Webhook
Values returns the slice of values for the current page or nil if there are no values.
type WebhookProperties ¶
type WebhookProperties struct { // IsEnabled - Gets or sets the value of the enabled flag of the webhook. IsEnabled *bool `json:"isEnabled,omitempty"` // URI - Gets or sets the webhook uri. URI *string `json:"uri,omitempty"` // ExpiryTime - Gets or sets the expiry time. ExpiryTime *date.Time `json:"expiryTime,omitempty"` // LastInvokedTime - Gets or sets the last invoked time. LastInvokedTime *date.Time `json:"lastInvokedTime,omitempty"` // Parameters - Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with. Parameters map[string]*string `json:"parameters"` // Runbook - Gets or sets the runbook the webhook is associated with. Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` // RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on. RunOn *string `json:"runOn,omitempty"` // CreationTime - Gets or sets the creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - Gets or sets the last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Description - Gets or sets the description. Description *string `json:"description,omitempty"` }
WebhookProperties definition of the webhook properties
func (WebhookProperties) MarshalJSON ¶
func (wp WebhookProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebhookProperties.
type WebhookUpdateParameters ¶
type WebhookUpdateParameters struct { // Name - Gets or sets the name of the webhook. Name *string `json:"name,omitempty"` // WebhookUpdateProperties - Gets or sets the value of the webhook. *WebhookUpdateProperties `json:"properties,omitempty"` }
WebhookUpdateParameters the parameters supplied to the update webhook operation.
func (WebhookUpdateParameters) MarshalJSON ¶
func (wup WebhookUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebhookUpdateParameters.
func (*WebhookUpdateParameters) UnmarshalJSON ¶
func (wup *WebhookUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WebhookUpdateParameters struct.
type WebhookUpdateProperties ¶
type WebhookUpdateProperties struct { // IsEnabled - Gets or sets the value of the enabled flag of webhook. IsEnabled *bool `json:"isEnabled,omitempty"` // RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on. RunOn *string `json:"runOn,omitempty"` // Parameters - Gets or sets the parameters of the job. Parameters map[string]*string `json:"parameters"` // Description - Gets or sets the description of the webhook. Description *string `json:"description,omitempty"` }
WebhookUpdateProperties the properties of the update webhook.
func (WebhookUpdateProperties) MarshalJSON ¶
func (wup WebhookUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebhookUpdateProperties.
Source Files ¶
- account.go
- activity.go
- agentregistrationinformation.go
- certificate.go
- client.go
- connection.go
- connectiontype.go
- credential.go
- dsccompilationjob.go
- dsccompilationjobstream.go
- dscconfiguration.go
- dscnode.go
- dscnodeconfiguration.go
- fields.go
- hybridrunbookworkergroup.go
- job.go
- jobschedule.go
- jobstream.go
- keys.go
- linkedworkspace.go
- models.go
- module.go
- nodereports.go
- objectdatatypes.go
- operations.go
- runbook.go
- runbookdraft.go
- schedule.go
- statistics.go
- testjob.go
- testjobstreams.go
- usages.go
- variable.go
- version.go
- webhook.go