automation

package
v10.0.2-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package automation implements the Azure ARM Automation service API version .

Composite Swagger json for Azure Automation Client

Index

Constants

View Source
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:"-"`
	ID                 *string             `json:"id,omitempty"`
	Name               *string             `json:"name,omitempty"`
	Type               *string             `json:"type,omitempty"`
	Location           *string             `json:"location,omitempty"`
	Tags               *map[string]*string `json:"tags,omitempty"`
	*AccountProperties `json:"properties,omitempty"`
	Etag               *string `json:"etag,omitempty"`
}

Account is definition of the automation account type.

type AccountClient

type AccountClient struct {
	ManagementClient
}

AccountClient is the composite Swagger json for Azure 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(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(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

func (client AccountClient) 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 (AccountClient) Delete

func (client AccountClient) Delete(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(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

func (client AccountClient) 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 (AccountClient) Get

func (client AccountClient) Get(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(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

func (client AccountClient) 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 (AccountClient) List

func (client AccountClient) List() (result AccountListResult, err error)

List retrieve a list of accounts within a given subscription.

func (AccountClient) ListByResourceGroup

func (client AccountClient) ListByResourceGroup(resourceGroupName string) (result AccountListResult, err error)

ListByResourceGroup retrieve a list of accounts within a given resource group.

resourceGroupName is the resource group name.

func (AccountClient) ListByResourceGroupNextResults

func (client AccountClient) ListByResourceGroupNextResults(lastResults AccountListResult) (result AccountListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (AccountClient) ListByResourceGroupPreparer

func (client AccountClient) ListByResourceGroupPreparer(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

func (client AccountClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AccountClient) ListNextResults

func (client AccountClient) ListNextResults(lastResults AccountListResult) (result AccountListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (AccountClient) ListPreparer

func (client AccountClient) ListPreparer() (*http.Request, error)

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

func (client AccountClient) ListSender(req *http.Request) (*http.Response, error)

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(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(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

func (client AccountClient) 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 AccountCreateOrUpdateParameters

type AccountCreateOrUpdateParameters struct {
	*AccountCreateOrUpdateProperties `json:"properties,omitempty"`
	Name                             *string             `json:"name,omitempty"`
	Location                         *string             `json:"location,omitempty"`
	Tags                             *map[string]*string `json:"tags,omitempty"`
}

AccountCreateOrUpdateParameters is the parameters supplied to the create or update automation account operation.

type AccountCreateOrUpdateProperties

type AccountCreateOrUpdateProperties struct {
	Sku *Sku `json:"sku,omitempty"`
}

AccountCreateOrUpdateProperties is the parameters supplied to the create or update account properties.

type AccountListResult

type AccountListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Account `json:"value,omitempty"`
	NextLink          *string    `json:"nextLink,omitempty"`
}

AccountListResult is the response model for the list account operation.

func (AccountListResult) AccountListResultPreparer

func (client AccountListResult) AccountListResultPreparer() (*http.Request, error)

AccountListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AccountProperties

type AccountProperties struct {
	Sku              *Sku         `json:"sku,omitempty"`
	LastModifiedBy   *string      `json:"lastModifiedBy,omitempty"`
	State            AccountState `json:"state,omitempty"`
	CreationTime     *date.Time   `json:"creationTime,omitempty"`
	LastModifiedTime *date.Time   `json:"lastModifiedTime,omitempty"`
	Description      *string      `json:"description,omitempty"`
}

AccountProperties is definition of the account property.

type AccountState

type AccountState string

AccountState enumerates the values for account state.

const (
	// Ok specifies the ok state for account state.
	Ok AccountState = "Ok"
	// Suspended specifies the suspended state for account state.
	Suspended AccountState = "Suspended"
	// Unavailable specifies the unavailable state for account state.
	Unavailable AccountState = "Unavailable"
)

type AccountUpdateParameters

type AccountUpdateParameters struct {
	*AccountUpdateProperties `json:"properties,omitempty"`
	Name                     *string             `json:"name,omitempty"`
	Location                 *string             `json:"location,omitempty"`
	Tags                     *map[string]*string `json:"tags,omitempty"`
}

AccountUpdateParameters is the parameters supplied to the update automation account operation.

type AccountUpdateProperties

type AccountUpdateProperties struct {
	Sku *Sku `json:"sku,omitempty"`
}

AccountUpdateProperties is the parameters supplied to the update account properties.

type Activity

type Activity struct {
	autorest.Response   `json:"-"`
	ID                  *string `json:"id,omitempty"`
	Name                *string `json:"name,omitempty"`
	*ActivityProperties `json:"properties,omitempty"`
}

Activity is definition of the activity.

type ActivityClient

type ActivityClient struct {
	ManagementClient
}

ActivityClient is the composite Swagger json for Azure 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(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(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

func (client ActivityClient) 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 (ActivityClient) ListByModule

func (client ActivityClient) ListByModule(resourceGroupName string, automationAccountName string, moduleName string) (result ActivityListResult, 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) ListByModuleNextResults

func (client ActivityClient) ListByModuleNextResults(lastResults ActivityListResult) (result ActivityListResult, err error)

ListByModuleNextResults retrieves the next set of results, if any.

func (ActivityClient) ListByModulePreparer

func (client ActivityClient) ListByModulePreparer(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

func (client ActivityClient) ListByModuleSender(req *http.Request) (*http.Response, error)

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             *[]Activity `json:"value,omitempty"`
	NextLink          *string     `json:"nextLink,omitempty"`
}

ActivityListResult is the response model for the list activity operation.

func (ActivityListResult) ActivityListResultPreparer

func (client ActivityListResult) ActivityListResultPreparer() (*http.Request, error)

ActivityListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ActivityOutputType

type ActivityOutputType struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

ActivityOutputType is definition of the activity output type.

type ActivityParameter

type ActivityParameter struct {
	Name                            *string `json:"name,omitempty"`
	Type                            *string `json:"type,omitempty"`
	IsMandatory                     *bool   `json:"isMandatory,omitempty"`
	IsDynamic                       *bool   `json:"isDynamic,omitempty"`
	Position                        *bool   `json:"position,omitempty"`
	ValueFromPipeline               *bool   `json:"valueFromPipeline,omitempty"`
	ValueFromPipelineByPropertyName *bool   `json:"valueFromPipelineByPropertyName,omitempty"`
	ValueFromRemainingArguments     *bool   `json:"valueFromRemainingArguments,omitempty"`
}

ActivityParameter is definition of the activity parameter.

type ActivityParameterSet

type ActivityParameterSet struct {
	Name       *string              `json:"name,omitempty"`
	Parameters *[]ActivityParameter `json:"parameters,omitempty"`
}

ActivityParameterSet is definition of the activity parameter set.

type ActivityProperties

type ActivityProperties struct {
	Definition       *string                 `json:"definition,omitempty"`
	ParameterSets    *[]ActivityParameterSet `json:"parameterSets,omitempty"`
	OutputTypes      *[]ActivityOutputType   `json:"outputTypes,omitempty"`
	CreationTime     *date.Time              `json:"creationTime,omitempty"`
	LastModifiedTime *date.Time              `json:"lastModifiedTime,omitempty"`
	Description      *string                 `json:"description,omitempty"`
}

ActivityProperties is properties of the activity.

type AdvancedSchedule

type AdvancedSchedule struct {
	WeekDays           *[]string                            `json:"weekDays,omitempty"`
	MonthDays          *[]int32                             `json:"monthDays,omitempty"`
	MonthlyOccurrences *[]AdvancedScheduleMonthlyOccurrence `json:"monthlyOccurrences,omitempty"`
}

AdvancedSchedule is the properties of the create Advanced Schedule.

type AdvancedScheduleMonthlyOccurrence

type AdvancedScheduleMonthlyOccurrence struct {
	Occurrence *int32      `json:"occurrence,omitempty"`
	Day        ScheduleDay `json:"day,omitempty"`
}

AdvancedScheduleMonthlyOccurrence is the properties of the create advanced schedule monthly occurrence.

type AgentRegistration

type AgentRegistration struct {
	autorest.Response    `json:"-"`
	DscMetaConfiguration *string                `json:"dscMetaConfiguration,omitempty"`
	Endpoint             *string                `json:"endpoint,omitempty"`
	Keys                 *AgentRegistrationKeys `json:"keys,omitempty"`
	ID                   *string                `json:"id,omitempty"`
}

AgentRegistration is definition of the agent registration infomration type.

type AgentRegistrationInformationClient

type AgentRegistrationInformationClient struct {
	ManagementClient
}

AgentRegistrationInformationClient is the composite Swagger json for Azure 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(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(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

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(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(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 specifies the primary state for agent registration key name.
	Primary AgentRegistrationKeyName = "Primary"
	// Secondary specifies the secondary state for agent registration key name.
	Secondary AgentRegistrationKeyName = "Secondary"
)

type AgentRegistrationKeys

type AgentRegistrationKeys struct {
	Primary   *string `json:"primary,omitempty"`
	Secondary *string `json:"secondary,omitempty"`
}

AgentRegistrationKeys is definition of the agent registration keys.

type AgentRegistrationRegenerateKeyParameter

type AgentRegistrationRegenerateKeyParameter struct {
	KeyName  AgentRegistrationKeyName `json:"keyName,omitempty"`
	Name     *string                  `json:"name,omitempty"`
	Location *string                  `json:"location,omitempty"`
	Tags     *map[string]*string      `json:"tags,omitempty"`
}

AgentRegistrationRegenerateKeyParameter is the parameters supplied to the regenerate keys operation.

type Certificate

type Certificate struct {
	autorest.Response      `json:"-"`
	ID                     *string `json:"id,omitempty"`
	Name                   *string `json:"name,omitempty"`
	*CertificateProperties `json:"properties,omitempty"`
}

Certificate is definition of the certificate.

type CertificateClient

type CertificateClient struct {
	ManagementClient
}

CertificateClient is the composite Swagger json for Azure 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(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(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

func (client CertificateClient) 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 (CertificateClient) Delete

func (client CertificateClient) Delete(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(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

func (client CertificateClient) 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 (CertificateClient) Get

func (client CertificateClient) Get(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(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

func (client CertificateClient) 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 (CertificateClient) ListByAutomationAccount

func (client CertificateClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result CertificateListResult, err error)

ListByAutomationAccount retrieve a list of certificates.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (CertificateClient) ListByAutomationAccountNextResults

func (client CertificateClient) ListByAutomationAccountNextResults(lastResults CertificateListResult) (result CertificateListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (CertificateClient) ListByAutomationAccountPreparer

func (client CertificateClient) ListByAutomationAccountPreparer(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(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(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

func (client CertificateClient) 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 CertificateCreateOrUpdateParameters

type CertificateCreateOrUpdateParameters struct {
	Name                                 *string `json:"name,omitempty"`
	*CertificateCreateOrUpdateProperties `json:"properties,omitempty"`
}

CertificateCreateOrUpdateParameters is the parameters supplied to the create or update or replace certificate operation.

type CertificateCreateOrUpdateProperties

type CertificateCreateOrUpdateProperties struct {
	Base64Value  *string `json:"base64Value,omitempty"`
	Description  *string `json:"description,omitempty"`
	Thumbprint   *string `json:"thumbprint,omitempty"`
	IsExportable *bool   `json:"isExportable,omitempty"`
}

CertificateCreateOrUpdateProperties is the properties of the create certificate operation.

type CertificateListResult

type CertificateListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Certificate `json:"value,omitempty"`
	NextLink          *string        `json:"nextLink,omitempty"`
}

CertificateListResult is the response model for the list certificate operation.

func (CertificateListResult) CertificateListResultPreparer

func (client CertificateListResult) CertificateListResultPreparer() (*http.Request, error)

CertificateListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type CertificateProperties

type CertificateProperties struct {
	Thumbprint       *string    `json:"thumbprint,omitempty"`
	ExpiryTime       *date.Time `json:"expiryTime,omitempty"`
	IsExportable     *bool      `json:"isExportable,omitempty"`
	CreationTime     *date.Time `json:"creationTime,omitempty"`
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	Description      *string    `json:"description,omitempty"`
}

CertificateProperties is properties of the certificate.

type CertificateUpdateParameters

type CertificateUpdateParameters struct {
	Name                         *string `json:"name,omitempty"`
	*CertificateUpdateProperties `json:"properties,omitempty"`
}

CertificateUpdateParameters is the parameters supplied to the update certificate operation.

type CertificateUpdateProperties

type CertificateUpdateProperties struct {
	Description *string `json:"description,omitempty"`
}

CertificateUpdateProperties is the properties of the update certificate operation

type Connection

type Connection struct {
	autorest.Response     `json:"-"`
	ID                    *string `json:"id,omitempty"`
	Name                  *string `json:"name,omitempty"`
	*ConnectionProperties `json:"properties,omitempty"`
}

Connection is definition of the connection.

type ConnectionClient

type ConnectionClient struct {
	ManagementClient
}

ConnectionClient is the composite Swagger json for Azure 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(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(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

func (client ConnectionClient) 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 (ConnectionClient) Delete

func (client ConnectionClient) Delete(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(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

func (client ConnectionClient) 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 (ConnectionClient) Get

func (client ConnectionClient) Get(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(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

func (client ConnectionClient) 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 (ConnectionClient) ListByAutomationAccount

func (client ConnectionClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result ConnectionListResult, err error)

ListByAutomationAccount retrieve a list of connections.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (ConnectionClient) ListByAutomationAccountNextResults

func (client ConnectionClient) ListByAutomationAccountNextResults(lastResults ConnectionListResult) (result ConnectionListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (ConnectionClient) ListByAutomationAccountPreparer

func (client ConnectionClient) ListByAutomationAccountPreparer(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(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(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

func (client ConnectionClient) 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 ConnectionCreateOrUpdateParameters

type ConnectionCreateOrUpdateParameters struct {
	Name                                *string `json:"name,omitempty"`
	*ConnectionCreateOrUpdateProperties `json:"properties,omitempty"`
}

ConnectionCreateOrUpdateParameters is the parameters supplied to the create or update connection operation.

type ConnectionCreateOrUpdateProperties

type ConnectionCreateOrUpdateProperties struct {
	Description           *string                            `json:"description,omitempty"`
	ConnectionType        *ConnectionTypeAssociationProperty `json:"connectionType,omitempty"`
	FieldDefinitionValues *map[string]*string                `json:"fieldDefinitionValues,omitempty"`
}

ConnectionCreateOrUpdateProperties is the properties of the create connection properties

type ConnectionListResult

type ConnectionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Connection `json:"value,omitempty"`
	NextLink          *string       `json:"nextLink,omitempty"`
}

ConnectionListResult is the response model for the list connection operation.

func (ConnectionListResult) ConnectionListResultPreparer

func (client ConnectionListResult) ConnectionListResultPreparer() (*http.Request, error)

ConnectionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ConnectionProperties

type ConnectionProperties struct {
	ConnectionType        *ConnectionTypeAssociationProperty `json:"connectionType,omitempty"`
	FieldDefinitionValues *map[string]*string                `json:"fieldDefinitionValues,omitempty"`
	CreationTime          *date.Time                         `json:"creationTime,omitempty"`
	LastModifiedTime      *date.Time                         `json:"lastModifiedTime,omitempty"`
	Description           *string                            `json:"description,omitempty"`
}

ConnectionProperties is definition of the connection properties.

type ConnectionType

type ConnectionType struct {
	autorest.Response         `json:"-"`
	ID                        *string `json:"id,omitempty"`
	Name                      *string `json:"name,omitempty"`
	*ConnectionTypeProperties `json:"properties,omitempty"`
}

ConnectionType is definition of the connection type.

type ConnectionTypeAssociationProperty

type ConnectionTypeAssociationProperty struct {
	Name *string `json:"name,omitempty"`
}

ConnectionTypeAssociationProperty is the connection type property associated with the entity.

type ConnectionTypeClient

type ConnectionTypeClient struct {
	ManagementClient
}

ConnectionTypeClient is the composite Swagger json for Azure 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(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(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

func (client ConnectionTypeClient) 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 (ConnectionTypeClient) Delete

func (client ConnectionTypeClient) Delete(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(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

func (client ConnectionTypeClient) 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 (ConnectionTypeClient) Get

func (client ConnectionTypeClient) Get(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(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

func (client ConnectionTypeClient) 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 (ConnectionTypeClient) ListByAutomationAccount

func (client ConnectionTypeClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result ConnectionTypeListResult, err error)

ListByAutomationAccount retrieve a list of connectiontypes.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (ConnectionTypeClient) ListByAutomationAccountNextResults

func (client ConnectionTypeClient) ListByAutomationAccountNextResults(lastResults ConnectionTypeListResult) (result ConnectionTypeListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (ConnectionTypeClient) ListByAutomationAccountPreparer

func (client ConnectionTypeClient) ListByAutomationAccountPreparer(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                                    *string `json:"name,omitempty"`
	*ConnectionTypeCreateOrUpdateProperties `json:"properties,omitempty"`
}

ConnectionTypeCreateOrUpdateParameters is the parameters supplied to the create or update connection type operation.

type ConnectionTypeCreateOrUpdateProperties

type ConnectionTypeCreateOrUpdateProperties struct {
	IsGlobal         *bool                        `json:"isGlobal,omitempty"`
	FieldDefinitions *map[string]*FieldDefinition `json:"fieldDefinitions,omitempty"`
}

ConnectionTypeCreateOrUpdateProperties is the properties of the create connection type.

type ConnectionTypeListResult

type ConnectionTypeListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ConnectionType `json:"value,omitempty"`
	NextLink          *string           `json:"nextLink,omitempty"`
}

ConnectionTypeListResult is the response model for the list connection type operation.

func (ConnectionTypeListResult) ConnectionTypeListResultPreparer

func (client ConnectionTypeListResult) ConnectionTypeListResultPreparer() (*http.Request, error)

ConnectionTypeListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ConnectionTypeProperties

type ConnectionTypeProperties struct {
	IsGlobal         *bool                        `json:"isGlobal,omitempty"`
	FieldDefinitions *map[string]*FieldDefinition `json:"fieldDefinitions,omitempty"`
	CreationTime     *date.Time                   `json:"creationTime,omitempty"`
	LastModifiedTime *date.Time                   `json:"lastModifiedTime,omitempty"`
	Description      *string                      `json:"description,omitempty"`
}

ConnectionTypeProperties is properties of the connection type.

type ConnectionUpdateParameters

type ConnectionUpdateParameters struct {
	Name                        *string `json:"name,omitempty"`
	*ConnectionUpdateProperties `json:"properties,omitempty"`
}

ConnectionUpdateParameters is the parameters supplied to the update connection operation.

type ConnectionUpdateProperties

type ConnectionUpdateProperties struct {
	Description           *string             `json:"description,omitempty"`
	FieldDefinitionValues *map[string]*string `json:"fieldDefinitionValues,omitempty"`
}

ConnectionUpdateProperties is the properties of the update connection operation.

type ContentHash

type ContentHash struct {
	Algorithm *string `json:"algorithm,omitempty"`
	Value     *string `json:"value,omitempty"`
}

ContentHash is definition of the runbook property type.

type ContentLink struct {
	URI         *string      `json:"uri,omitempty"`
	ContentHash *ContentHash `json:"contentHash,omitempty"`
	Version     *string      `json:"version,omitempty"`
}

ContentLink is definition of the content link.

type ContentSource

type ContentSource struct {
	Hash    *ContentHash      `json:"hash,omitempty"`
	Type    ContentSourceType `json:"type,omitempty"`
	Value   *string           `json:"value,omitempty"`
	Version *string           `json:"version,omitempty"`
}

ContentSource is definition of the content source.

type ContentSourceType

type ContentSourceType string

ContentSourceType enumerates the values for content source type.

const (
	// EmbeddedContent specifies the embedded content state for content source
	// type.
	EmbeddedContent ContentSourceType = "embeddedContent"
	// URI specifies the uri state for content source type.
	URI ContentSourceType = "uri"
)

type Credential

type Credential struct {
	autorest.Response     `json:"-"`
	ID                    *string `json:"id,omitempty"`
	Name                  *string `json:"name,omitempty"`
	*CredentialProperties `json:"properties,omitempty"`
}

Credential is definition of the credential.

type CredentialClient

type CredentialClient struct {
	ManagementClient
}

CredentialClient is the composite Swagger json for Azure 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(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(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

func (client CredentialClient) 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 (CredentialClient) Delete

func (client CredentialClient) Delete(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(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

func (client CredentialClient) 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 (CredentialClient) Get

func (client CredentialClient) Get(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(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

func (client CredentialClient) 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 (CredentialClient) ListByAutomationAccount

func (client CredentialClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result CredentialListResult, err error)

ListByAutomationAccount retrieve a list of credentials.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (CredentialClient) ListByAutomationAccountNextResults

func (client CredentialClient) ListByAutomationAccountNextResults(lastResults CredentialListResult) (result CredentialListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (CredentialClient) ListByAutomationAccountPreparer

func (client CredentialClient) ListByAutomationAccountPreparer(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(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(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

func (client CredentialClient) 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 CredentialCreateOrUpdateParameters

type CredentialCreateOrUpdateParameters struct {
	Name                                *string `json:"name,omitempty"`
	*CredentialCreateOrUpdateProperties `json:"properties,omitempty"`
}

CredentialCreateOrUpdateParameters is the parameters supplied to the create or update credential operation.

type CredentialCreateOrUpdateProperties

type CredentialCreateOrUpdateProperties struct {
	UserName    *string `json:"userName,omitempty"`
	Password    *string `json:"password,omitempty"`
	Description *string `json:"description,omitempty"`
}

CredentialCreateOrUpdateProperties is the properties of the create cerdential operation.

type CredentialListResult

type CredentialListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Credential `json:"value,omitempty"`
	NextLink          *string       `json:"nextLink,omitempty"`
}

CredentialListResult is the response model for the list credential operation.

func (CredentialListResult) CredentialListResultPreparer

func (client CredentialListResult) CredentialListResultPreparer() (*http.Request, error)

CredentialListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type CredentialProperties

type CredentialProperties struct {
	UserName         *string    `json:"userName,omitempty"`
	CreationTime     *date.Time `json:"creationTime,omitempty"`
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	Description      *string    `json:"description,omitempty"`
}

CredentialProperties is definition of the credential properties

type CredentialUpdateParameters

type CredentialUpdateParameters struct {
	Name                        *string `json:"name,omitempty"`
	*CredentialUpdateProperties `json:"properties,omitempty"`
}

CredentialUpdateParameters is the parameters supplied to the Update credential operation.

type CredentialUpdateProperties

type CredentialUpdateProperties struct {
	UserName    *string `json:"userName,omitempty"`
	Password    *string `json:"password,omitempty"`
	Description *string `json:"description,omitempty"`
}

CredentialUpdateProperties is the properties of the Update credential

type DscCompilationJob

type DscCompilationJob struct {
	autorest.Response            `json:"-"`
	ID                           *string `json:"id,omitempty"`
	*DscCompilationJobProperties `json:"properties,omitempty"`
}

DscCompilationJob is definition of the Dsc Compilation job.

type DscCompilationJobClient

type DscCompilationJobClient struct {
	ManagementClient
}

DscCompilationJobClient is the composite Swagger json for Azure 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(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(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

func (client DscCompilationJobClient) CreateSender(req *http.Request) (*http.Response, error)

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(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(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

func (client DscCompilationJobClient) 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 (DscCompilationJobClient) GetStream

func (client DscCompilationJobClient) GetStream(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(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

func (client DscCompilationJobClient) GetStreamSender(req *http.Request) (*http.Response, error)

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(resourceGroupName string, automationAccountName string, filter string) (result DscCompilationJobListResult, 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) ListByAutomationAccountNextResults

func (client DscCompilationJobClient) ListByAutomationAccountNextResults(lastResults DscCompilationJobListResult) (result DscCompilationJobListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (DscCompilationJobClient) ListByAutomationAccountPreparer

func (client DscCompilationJobClient) ListByAutomationAccountPreparer(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 `json:"properties,omitempty"`
	Name                               *string             `json:"name,omitempty"`
	Location                           *string             `json:"location,omitempty"`
	Tags                               *map[string]*string `json:"tags,omitempty"`
}

DscCompilationJobCreateParameters is the parameters supplied to the create compilation job operation.

type DscCompilationJobCreateProperties

type DscCompilationJobCreateProperties struct {
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	Parameters    *map[string]*string                  `json:"parameters,omitempty"`
}

DscCompilationJobCreateProperties is the parameters supplied to the create compilation job operation.

type DscCompilationJobListResult

type DscCompilationJobListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DscCompilationJob `json:"value,omitempty"`
	NextLink          *string              `json:"nextLink,omitempty"`
}

DscCompilationJobListResult is the response model for the list job operation.

func (DscCompilationJobListResult) DscCompilationJobListResultPreparer

func (client DscCompilationJobListResult) DscCompilationJobListResultPreparer() (*http.Request, error)

DscCompilationJobListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DscCompilationJobProperties

type DscCompilationJobProperties struct {
	Configuration          *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	StartedBy              *string                              `json:"startedBy,omitempty"`
	JobID                  *uuid.UUID                           `json:"jobId,omitempty"`
	CreationTime           *date.Time                           `json:"creationTime,omitempty"`
	Status                 JobStatus                            `json:"status,omitempty"`
	StatusDetails          *string                              `json:"statusDetails,omitempty"`
	StartTime              *date.Time                           `json:"startTime,omitempty"`
	EndTime                *date.Time                           `json:"endTime,omitempty"`
	Exception              *string                              `json:"exception,omitempty"`
	LastModifiedTime       *date.Time                           `json:"lastModifiedTime,omitempty"`
	LastStatusModifiedTime *date.Time                           `json:"lastStatusModifiedTime,omitempty"`
	Parameters             *map[string]*string                  `json:"parameters,omitempty"`
}

DscCompilationJobProperties is definition of Dsc Compilation job properties.

type DscConfiguration

type DscConfiguration struct {
	autorest.Response           `json:"-"`
	ID                          *string             `json:"id,omitempty"`
	Name                        *string             `json:"name,omitempty"`
	Type                        *string             `json:"type,omitempty"`
	Location                    *string             `json:"location,omitempty"`
	Tags                        *map[string]*string `json:"tags,omitempty"`
	*DscConfigurationProperties `json:"properties,omitempty"`
	Etag                        *string `json:"etag,omitempty"`
}

DscConfiguration is definition of the configuration type.

type DscConfigurationAssociationProperty

type DscConfigurationAssociationProperty struct {
	Name *string `json:"name,omitempty"`
}

DscConfigurationAssociationProperty is the Dsc configuration property associated with the entity.

type DscConfigurationClient

type DscConfigurationClient struct {
	ManagementClient
}

DscConfigurationClient is the composite Swagger json for Azure 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(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(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(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(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

func (client DscConfigurationClient) 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 (DscConfigurationClient) Get

func (client DscConfigurationClient) Get(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(resourceGroupName string, automationAccountName string, configurationName string) (result ReadCloser, 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(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 ReadCloser, err error)

GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.

func (DscConfigurationClient) GetContentSender

func (client DscConfigurationClient) GetContentSender(req *http.Request) (*http.Response, error)

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(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

func (client DscConfigurationClient) 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 (DscConfigurationClient) ListByAutomationAccount

func (client DscConfigurationClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result DscConfigurationListResult, err error)

ListByAutomationAccount retrieve a list of configurations.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (DscConfigurationClient) ListByAutomationAccountNextResults

func (client DscConfigurationClient) ListByAutomationAccountNextResults(lastResults DscConfigurationListResult) (result DscConfigurationListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (DscConfigurationClient) ListByAutomationAccountPreparer

func (client DscConfigurationClient) ListByAutomationAccountPreparer(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.

type DscConfigurationCreateOrUpdateParameters

type DscConfigurationCreateOrUpdateParameters struct {
	*DscConfigurationCreateOrUpdateProperties `json:"properties,omitempty"`
	Name                                      *string             `json:"name,omitempty"`
	Location                                  *string             `json:"location,omitempty"`
	Tags                                      *map[string]*string `json:"tags,omitempty"`
}

DscConfigurationCreateOrUpdateParameters is the parameters supplied to the create or update configuration operation.

type DscConfigurationCreateOrUpdateProperties

type DscConfigurationCreateOrUpdateProperties struct {
	LogVerbose  *bool                                  `json:"logVerbose,omitempty"`
	LogProgress *bool                                  `json:"logProgress,omitempty"`
	Source      *ContentSource                         `json:"source,omitempty"`
	Parameters  *map[string]*DscConfigurationParameter `json:"parameters,omitempty"`
	Description *string                                `json:"description,omitempty"`
}

DscConfigurationCreateOrUpdateProperties is the properties to create or update configuration.

type DscConfigurationListResult

type DscConfigurationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DscConfiguration `json:"value,omitempty"`
	NextLink          *string             `json:"nextLink,omitempty"`
}

DscConfigurationListResult is the response model for the list configuration operation.

func (DscConfigurationListResult) DscConfigurationListResultPreparer

func (client DscConfigurationListResult) DscConfigurationListResultPreparer() (*http.Request, error)

DscConfigurationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DscConfigurationParameter

type DscConfigurationParameter struct {
	Type         *string `json:"type,omitempty"`
	IsMandatory  *bool   `json:"isMandatory,omitempty"`
	Position     *int32  `json:"position,omitempty"`
	DefaultValue *string `json:"defaultValue,omitempty"`
}

DscConfigurationParameter is definition of the configuration parameter type.

type DscConfigurationProperties

type DscConfigurationProperties struct {
	ProvisioningState DscConfigurationProvisioningState      `json:"provisioningState,omitempty"`
	JobCount          *int32                                 `json:"jobCount,omitempty"`
	Parameters        *map[string]*DscConfigurationParameter `json:"parameters,omitempty"`
	Source            *ContentSource                         `json:"source,omitempty"`
	State             DscConfigurationState                  `json:"state,omitempty"`
	LogVerbose        *bool                                  `json:"logVerbose,omitempty"`
	CreationTime      *date.Time                             `json:"creationTime,omitempty"`
	LastModifiedTime  *date.Time                             `json:"lastModifiedTime,omitempty"`
	Description       *string                                `json:"description,omitempty"`
}

DscConfigurationProperties is definition of the configuration property type.

type DscConfigurationProvisioningState

type DscConfigurationProvisioningState string

DscConfigurationProvisioningState enumerates the values for dsc configuration provisioning state.

const (
	// Succeeded specifies the succeeded state for dsc configuration
	// provisioning state.
	Succeeded DscConfigurationProvisioningState = "Succeeded"
)

type DscConfigurationState

type DscConfigurationState string

DscConfigurationState enumerates the values for dsc configuration state.

const (
	// DscConfigurationStateEdit specifies the dsc configuration state edit
	// state for dsc configuration state.
	DscConfigurationStateEdit DscConfigurationState = "Edit"
	// DscConfigurationStateNew specifies the dsc configuration state new state
	// for dsc configuration state.
	DscConfigurationStateNew DscConfigurationState = "New"
	// DscConfigurationStatePublished specifies the dsc configuration state
	// published state for dsc configuration state.
	DscConfigurationStatePublished DscConfigurationState = "Published"
)

type DscMetaConfiguration

type DscMetaConfiguration struct {
	ConfigurationModeFrequencyMins *int32  `json:"configurationModeFrequencyMins,omitempty"`
	RebootNodeIfNeeded             *bool   `json:"rebootNodeIfNeeded,omitempty"`
	ConfigurationMode              *string `json:"configurationMode,omitempty"`
	ActionAfterReboot              *string `json:"actionAfterReboot,omitempty"`
	CertificateID                  *string `json:"certificateId,omitempty"`
	RefreshFrequencyMins           *int32  `json:"refreshFrequencyMins,omitempty"`
	AllowModuleOverwrite           *bool   `json:"allowModuleOverwrite,omitempty"`
}

DscMetaConfiguration is definition of the DSC Meta Configuration.

type DscNode

type DscNode struct {
	autorest.Response `json:"-"`
	ID                *string                                  `json:"id,omitempty"`
	Name              *string                                  `json:"name,omitempty"`
	Type              *string                                  `json:"type,omitempty"`
	Location          *string                                  `json:"location,omitempty"`
	Tags              *map[string]*string                      `json:"tags,omitempty"`
	LastSeen          *date.Time                               `json:"lastSeen,omitempty"`
	RegistrationTime  *date.Time                               `json:"registrationTime,omitempty"`
	IP                *string                                  `json:"ip,omitempty"`
	AccountID         *string                                  `json:"accountId,omitempty"`
	NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"`
	Status            *string                                  `json:"status,omitempty"`
	NodeID            *string                                  `json:"nodeId,omitempty"`
	Etag              *string                                  `json:"etag,omitempty"`
}

DscNode is definition of the dsc node type.

type DscNodeClient

type DscNodeClient struct {
	ManagementClient
}

DscNodeClient is the composite Swagger json for Azure 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(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(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

func (client DscNodeClient) 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 (DscNodeClient) Get

func (client DscNodeClient) Get(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(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

func (client DscNodeClient) 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 (DscNodeClient) ListByAutomationAccount

func (client DscNodeClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string, filter string) (result DscNodeListResult, 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) ListByAutomationAccountNextResults

func (client DscNodeClient) ListByAutomationAccountNextResults(lastResults DscNodeListResult) (result DscNodeListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (DscNodeClient) ListByAutomationAccountPreparer

func (client DscNodeClient) ListByAutomationAccountPreparer(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(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(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

func (client DscNodeClient) 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 DscNodeConfiguration

type DscNodeConfiguration struct {
	autorest.Response `json:"-"`
	Name              *string                              `json:"name,omitempty"`
	LastModifiedTime  *date.Time                           `json:"lastModifiedTime,omitempty"`
	CreationTime      *date.Time                           `json:"creationTime,omitempty"`
	Configuration     *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	ID                *string                              `json:"id,omitempty"`
}

DscNodeConfiguration is definition of the dsc node configuration.

type DscNodeConfigurationAssociationProperty

type DscNodeConfigurationAssociationProperty struct {
	Name *string `json:"name,omitempty"`
}

DscNodeConfigurationAssociationProperty is the dsc nodeconfiguration property associated with the entity.

type DscNodeConfigurationClient

type DscNodeConfigurationClient struct {
	ManagementClient
}

DscNodeConfigurationClient is the composite Swagger json for Azure 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(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(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(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(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

func (client DscNodeConfigurationClient) 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 (DscNodeConfigurationClient) Get

func (client DscNodeConfigurationClient) Get(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(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

func (client DscNodeConfigurationClient) 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 (DscNodeConfigurationClient) ListByAutomationAccount

func (client DscNodeConfigurationClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string, filter string) (result DscNodeConfigurationListResult, 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) ListByAutomationAccountNextResults

func (client DscNodeConfigurationClient) ListByAutomationAccountNextResults(lastResults DscNodeConfigurationListResult) (result DscNodeConfigurationListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (DscNodeConfigurationClient) ListByAutomationAccountPreparer

func (client DscNodeConfigurationClient) ListByAutomationAccountPreparer(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        *ContentSource                       `json:"source,omitempty"`
	Name          *string                              `json:"name,omitempty"`
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
}

DscNodeConfigurationCreateOrUpdateParameters is the parameters supplied to the create or update node configuration operation.

type DscNodeConfigurationListResult

type DscNodeConfigurationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DscNodeConfiguration `json:"value,omitempty"`
	NextLink          *string                 `json:"nextLink,omitempty"`
}

DscNodeConfigurationListResult is the response model for the list job operation.

func (DscNodeConfigurationListResult) DscNodeConfigurationListResultPreparer

func (client DscNodeConfigurationListResult) DscNodeConfigurationListResultPreparer() (*http.Request, error)

DscNodeConfigurationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DscNodeListResult

type DscNodeListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DscNode `json:"value,omitempty"`
	NextLink          *string    `json:"nextLink,omitempty"`
}

DscNodeListResult is the response model for the list dsc nodes operation.

func (DscNodeListResult) DscNodeListResultPreparer

func (client DscNodeListResult) DscNodeListResultPreparer() (*http.Request, error)

DscNodeListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DscNodeReport

type DscNodeReport struct {
	autorest.Response    `json:"-"`
	EndTime              *date.Time            `json:"endTime,omitempty"`
	LastModifiedTime     *date.Time            `json:"lastModifiedTime,omitempty"`
	StartTime            *date.Time            `json:"startTime,omitempty"`
	Type                 *string               `json:"type,omitempty"`
	ReportID             *string               `json:"reportId,omitempty"`
	Status               *string               `json:"status,omitempty"`
	RefreshMode          *string               `json:"refreshMode,omitempty"`
	RebootRequested      *string               `json:"rebootRequested,omitempty"`
	ReportFormatVersion  *string               `json:"reportFormatVersion,omitempty"`
	ConfigurationVersion *string               `json:"configurationVersion,omitempty"`
	ID                   *string               `json:"id,omitempty"`
	Errors               *[]DscReportError     `json:"errors,omitempty"`
	Resources            *[]DscReportResource  `json:"resources,omitempty"`
	MetaConfiguration    *DscMetaConfiguration `json:"metaConfiguration,omitempty"`
	HostName             *string               `json:"hostName,omitempty"`
	IPV4Addresses        *[]string             `json:"iPV4Addresses,omitempty"`
	IPV6Addresses        *[]string             `json:"iPV6Addresses,omitempty"`
	NumberOfResources    *int32                `json:"numberOfResources,omitempty"`
	RawErrors            *string               `json:"rawErrors,omitempty"`
}

DscNodeReport is definition of the dsc node report type.

type DscNodeReportListResult

type DscNodeReportListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DscNodeReport `json:"value,omitempty"`
	NextLink          *string          `json:"nextLink,omitempty"`
}

DscNodeReportListResult is the response model for the list dsc nodes operation.

func (DscNodeReportListResult) DscNodeReportListResultPreparer

func (client DscNodeReportListResult) DscNodeReportListResultPreparer() (*http.Request, error)

DscNodeReportListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DscNodeUpdateParameters

type DscNodeUpdateParameters struct {
	NodeID            *string                                  `json:"nodeId,omitempty"`
	NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"`
}

DscNodeUpdateParameters is the parameters supplied to the update dsc node operation.

type DscReportError

type DscReportError struct {
	ErrorSource  *string `json:"errorSource,omitempty"`
	ResourceID   *string `json:"resourceId,omitempty"`
	ErrorCode    *string `json:"errorCode,omitempty"`
	ErrorMessage *string `json:"errorMessage,omitempty"`
	Locale       *string `json:"locale,omitempty"`
	ErrorDetails *string `json:"errorDetails,omitempty"`
}

DscReportError is definition of the dsc node report error type.

type DscReportResource

type DscReportResource struct {
	ResourceID        *string                        `json:"resourceId,omitempty"`
	SourceInfo        *string                        `json:"sourceInfo,omitempty"`
	DependsOn         *[]DscReportResourceNavigation `json:"dependsOn,omitempty"`
	ModuleName        *string                        `json:"moduleName,omitempty"`
	ModuleVersion     *string                        `json:"moduleVersion,omitempty"`
	ResourceName      *string                        `json:"resourceName,omitempty"`
	Error             *string                        `json:"error,omitempty"`
	Status            *string                        `json:"status,omitempty"`
	DurationInSeconds *float64                       `json:"durationInSeconds,omitempty"`
	StartDate         *date.Time                     `json:"startDate,omitempty"`
}

DscReportResource is definition of the DSC Report Resource.

type DscReportResourceNavigation

type DscReportResourceNavigation struct {
	ResourceID *string `json:"resourceId,omitempty"`
}

DscReportResourceNavigation is navigation for DSC Report Resource.

type ErrorResponse

type ErrorResponse struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

ErrorResponse is error response of an operation failure

type FieldDefinition

type FieldDefinition struct {
	IsEncrypted *bool   `json:"isEncrypted,omitempty"`
	IsOptional  *bool   `json:"isOptional,omitempty"`
	Type        *string `json:"type,omitempty"`
}

FieldDefinition is definition of the connection fields.

type FieldsClient

type FieldsClient struct {
	ManagementClient
}

FieldsClient is the composite Swagger json for Azure 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(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(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

func (client FieldsClient) ListByTypeSender(req *http.Request) (*http.Response, error)

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 specifies the accepted state for http status code.
	Accepted HTTPStatusCode = "Accepted"
	// Ambiguous specifies the ambiguous state for http status code.
	Ambiguous HTTPStatusCode = "Ambiguous"
	// BadGateway specifies the bad gateway state for http status code.
	BadGateway HTTPStatusCode = "BadGateway"
	// BadRequest specifies the bad request state for http status code.
	BadRequest HTTPStatusCode = "BadRequest"
	// Conflict specifies the conflict state for http status code.
	Conflict HTTPStatusCode = "Conflict"
	// Continue specifies the continue state for http status code.
	Continue HTTPStatusCode = "Continue"
	// Created specifies the created state for http status code.
	Created HTTPStatusCode = "Created"
	// ExpectationFailed specifies the expectation failed state for http status
	// code.
	ExpectationFailed HTTPStatusCode = "ExpectationFailed"
	// Forbidden specifies the forbidden state for http status code.
	Forbidden HTTPStatusCode = "Forbidden"
	// Found specifies the found state for http status code.
	Found HTTPStatusCode = "Found"
	// GatewayTimeout specifies the gateway timeout state for http status code.
	GatewayTimeout HTTPStatusCode = "GatewayTimeout"
	// Gone specifies the gone state for http status code.
	Gone HTTPStatusCode = "Gone"
	// HTTPVersionNotSupported specifies the http version not supported state
	// for http status code.
	HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
	// InternalServerError specifies the internal server error state for http
	// status code.
	InternalServerError HTTPStatusCode = "InternalServerError"
	// LengthRequired specifies the length required state for http status code.
	LengthRequired HTTPStatusCode = "LengthRequired"
	// MethodNotAllowed specifies the method not allowed state for http status
	// code.
	MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
	// Moved specifies the moved state for http status code.
	Moved HTTPStatusCode = "Moved"
	// MovedPermanently specifies the moved permanently state for http status
	// code.
	MovedPermanently HTTPStatusCode = "MovedPermanently"
	// MultipleChoices specifies the multiple choices state for http status
	// code.
	MultipleChoices HTTPStatusCode = "MultipleChoices"
	// NoContent specifies the no content state for http status code.
	NoContent HTTPStatusCode = "NoContent"
	// NonAuthoritativeInformation specifies the non authoritative information
	// state for http status code.
	NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
	// NotAcceptable specifies the not acceptable state for http status code.
	NotAcceptable HTTPStatusCode = "NotAcceptable"
	// NotFound specifies the not found state for http status code.
	NotFound HTTPStatusCode = "NotFound"
	// NotImplemented specifies the not implemented state for http status code.
	NotImplemented HTTPStatusCode = "NotImplemented"
	// NotModified specifies the not modified state for http status code.
	NotModified HTTPStatusCode = "NotModified"
	// OK specifies the ok state for http status code.
	OK HTTPStatusCode = "OK"
	// PartialContent specifies the partial content state for http status code.
	PartialContent HTTPStatusCode = "PartialContent"
	// PaymentRequired specifies the payment required state for http status
	// code.
	PaymentRequired HTTPStatusCode = "PaymentRequired"
	// PreconditionFailed specifies the precondition failed state for http
	// status code.
	PreconditionFailed HTTPStatusCode = "PreconditionFailed"
	// ProxyAuthenticationRequired specifies the proxy authentication required
	// state for http status code.
	ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
	// Redirect specifies the redirect state for http status code.
	Redirect HTTPStatusCode = "Redirect"
	// RedirectKeepVerb specifies the redirect keep verb state for http status
	// code.
	RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb"
	// RedirectMethod specifies the redirect method state for http status code.
	RedirectMethod HTTPStatusCode = "RedirectMethod"
	// RequestedRangeNotSatisfiable specifies the requested range not
	// satisfiable state for http status code.
	RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
	// RequestEntityTooLarge specifies the request entity too large state for
	// http status code.
	RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
	// RequestTimeout specifies the request timeout state for http status code.
	RequestTimeout HTTPStatusCode = "RequestTimeout"
	// RequestURITooLong specifies the request uri too long state for http
	// status code.
	RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
	// ResetContent specifies the reset content state for http status code.
	ResetContent HTTPStatusCode = "ResetContent"
	// SeeOther specifies the see other state for http status code.
	SeeOther HTTPStatusCode = "SeeOther"
	// ServiceUnavailable specifies the service unavailable state for http
	// status code.
	ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
	// SwitchingProtocols specifies the switching protocols state for http
	// status code.
	SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
	// TemporaryRedirect specifies the temporary redirect state for http status
	// code.
	TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
	// Unauthorized specifies the unauthorized state for http status code.
	Unauthorized HTTPStatusCode = "Unauthorized"
	// UnsupportedMediaType specifies the unsupported media type state for http
	// status code.
	UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
	// Unused specifies the unused state for http status code.
	Unused HTTPStatusCode = "Unused"
	// UpgradeRequired specifies the upgrade required state for http status
	// code.
	UpgradeRequired HTTPStatusCode = "UpgradeRequired"
	// UseProxy specifies the use proxy state for http status code.
	UseProxy HTTPStatusCode = "UseProxy"
)

type HybridRunbookWorker

type HybridRunbookWorker struct {
	Name             *string    `json:"name,omitempty"`
	IP               *string    `json:"ip,omitempty"`
	RegistrationTime *date.Time `json:"registrationTime,omitempty"`
}

HybridRunbookWorker is definition of hybrid runbook worker.

type HybridRunbookWorkerGroup

type HybridRunbookWorkerGroup struct {
	autorest.Response    `json:"-"`
	ID                   *string                             `json:"id,omitempty"`
	Name                 *string                             `json:"name,omitempty"`
	HybridRunbookWorkers *[]HybridRunbookWorker              `json:"hybridRunbookWorkers,omitempty"`
	Credential           *RunAsCredentialAssociationProperty `json:"credential,omitempty"`
}

HybridRunbookWorkerGroup is definition of hybrid runbook worker group.

type HybridRunbookWorkerGroupClient

type HybridRunbookWorkerGroupClient struct {
	ManagementClient
}

HybridRunbookWorkerGroupClient is the composite Swagger json for Azure 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(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(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(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(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

func (client HybridRunbookWorkerGroupClient) 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 (HybridRunbookWorkerGroupClient) ListByAutomationAccount

func (client HybridRunbookWorkerGroupClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result HybridRunbookWorkerGroupsListResult, 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) ListByAutomationAccountNextResults

func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountNextResults(lastResults HybridRunbookWorkerGroupsListResult) (result HybridRunbookWorkerGroupsListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer

func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer(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(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(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 *RunAsCredentialAssociationProperty `json:"credential,omitempty"`
}

HybridRunbookWorkerGroupUpdateParameters is parameters supplied to the update operation.

type HybridRunbookWorkerGroupsListResult

type HybridRunbookWorkerGroupsListResult struct {
	autorest.Response `json:"-"`
	Value             *[]HybridRunbookWorkerGroup `json:"value,omitempty"`
	NextLink          *string                     `json:"nextLink,omitempty"`
}

HybridRunbookWorkerGroupsListResult is the response model for the list hybrid runbook worker groups.

func (HybridRunbookWorkerGroupsListResult) HybridRunbookWorkerGroupsListResultPreparer

func (client HybridRunbookWorkerGroupsListResult) HybridRunbookWorkerGroupsListResultPreparer() (*http.Request, error)

HybridRunbookWorkerGroupsListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type Job

type Job struct {
	autorest.Response `json:"-"`
	ID                *string `json:"id,omitempty"`
	*JobProperties    `json:"properties,omitempty"`
}

Job is definition of the job.

type JobClient

type JobClient struct {
	ManagementClient
}

JobClient is the composite Swagger json for Azure Automation Client

func NewJobClient

func NewJobClient(subscriptionID string) JobClient

NewJobClient creates an instance of the JobClient client.

func NewJobClientWithBaseURI

func NewJobClientWithBaseURI(baseURI string, subscriptionID string) JobClient

NewJobClientWithBaseURI creates an instance of the JobClient client.

func (JobClient) Create

func (client JobClient) Create(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(resourceGroupName string, automationAccountName string, jobID uuid.UUID, parameters JobCreateParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (JobClient) CreateResponder

func (client JobClient) CreateResponder(resp *http.Response) (result Job, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (JobClient) CreateSender

func (client JobClient) CreateSender(req *http.Request) (*http.Response, error)

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(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(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(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

func (client JobClient) GetOutputSender(req *http.Request) (*http.Response, error)

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(resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobClient) GetResponder

func (client JobClient) GetResponder(resp *http.Response) (result Job, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (JobClient) GetRunbookContent

func (client JobClient) GetRunbookContent(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(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

func (client JobClient) GetRunbookContentSender(req *http.Request) (*http.Response, error)

GetRunbookContentSender sends the GetRunbookContent request. The method will close the http.Response Body if it receives an error.

func (JobClient) GetSender

func (client JobClient) 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 (JobClient) ListByAutomationAccount

func (client JobClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string, filter string) (result JobListResult, 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) ListByAutomationAccountNextResults

func (client JobClient) ListByAutomationAccountNextResults(lastResults JobListResult) (result JobListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (JobClient) ListByAutomationAccountPreparer

func (client JobClient) ListByAutomationAccountPreparer(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

func (client JobClient) 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 (JobClient) Resume

func (client JobClient) Resume(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(resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (JobClient) ResumeResponder

func (client JobClient) 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 (JobClient) ResumeSender

func (client JobClient) ResumeSender(req *http.Request) (*http.Response, error)

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(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(resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)

StopPreparer prepares the Stop request.

func (JobClient) StopResponder

func (client JobClient) 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 (JobClient) StopSender

func (client JobClient) StopSender(req *http.Request) (*http.Response, error)

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(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(resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)

SuspendPreparer prepares the Suspend request.

func (JobClient) SuspendResponder

func (client JobClient) 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 (JobClient) SuspendSender

func (client JobClient) SuspendSender(req *http.Request) (*http.Response, error)

SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.

type JobCreateParameters

type JobCreateParameters struct {
	*JobCreateProperties `json:"properties,omitempty"`
	Name                 *string             `json:"name,omitempty"`
	Location             *string             `json:"location,omitempty"`
	Tags                 *map[string]*string `json:"tags,omitempty"`
}

JobCreateParameters is the parameters supplied to the create job operation.

type JobCreateProperties

type JobCreateProperties struct {
	Runbook    *RunbookAssociationProperty `json:"runbook,omitempty"`
	Parameters *map[string]*string         `json:"parameters,omitempty"`
	RunOn      *string                     `json:"runOn,omitempty"`
}

JobCreateProperties is the parameters supplied to the create job operation.

type JobListResult

type JobListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Job  `json:"value,omitempty"`
	NextLink          *string `json:"nextLink,omitempty"`
}

JobListResult is the response model for the list job operation.

func (JobListResult) JobListResultPreparer

func (client JobListResult) JobListResultPreparer() (*http.Request, error)

JobListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type JobProperties

type JobProperties struct {
	Runbook                *RunbookAssociationProperty `json:"runbook,omitempty"`
	StartedBy              *string                     `json:"startedBy,omitempty"`
	RunOn                  *string                     `json:"runOn,omitempty"`
	JobID                  *uuid.UUID                  `json:"jobId,omitempty"`
	CreationTime           *date.Time                  `json:"creationTime,omitempty"`
	Status                 JobStatus                   `json:"status,omitempty"`
	StatusDetails          *string                     `json:"statusDetails,omitempty"`
	StartTime              *date.Time                  `json:"startTime,omitempty"`
	EndTime                *date.Time                  `json:"endTime,omitempty"`
	Exception              *string                     `json:"exception,omitempty"`
	LastModifiedTime       *date.Time                  `json:"lastModifiedTime,omitempty"`
	LastStatusModifiedTime *date.Time                  `json:"lastStatusModifiedTime,omitempty"`
	Parameters             *map[string]*string         `json:"parameters,omitempty"`
}

JobProperties is definition of job properties.

type JobSchedule

type JobSchedule struct {
	autorest.Response      `json:"-"`
	ID                     *string `json:"id,omitempty"`
	*JobScheduleProperties `json:"properties,omitempty"`
}

JobSchedule is definition of the job schedule.

type JobScheduleClient

type JobScheduleClient struct {
	ManagementClient
}

JobScheduleClient is the composite Swagger json for Azure 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(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(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

func (client JobScheduleClient) CreateSender(req *http.Request) (*http.Response, error)

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(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(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

func (client JobScheduleClient) 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 (JobScheduleClient) Get

func (client JobScheduleClient) Get(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(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

func (client JobScheduleClient) 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 (JobScheduleClient) ListByAutomationAccount

func (client JobScheduleClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result JobScheduleListResult, err error)

ListByAutomationAccount retrieve a list of job schedules.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (JobScheduleClient) ListByAutomationAccountNextResults

func (client JobScheduleClient) ListByAutomationAccountNextResults(lastResults JobScheduleListResult) (result JobScheduleListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (JobScheduleClient) ListByAutomationAccountPreparer

func (client JobScheduleClient) ListByAutomationAccountPreparer(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 `json:"properties,omitempty"`
}

JobScheduleCreateParameters is the parameters supplied to the create job schedule operation.

type JobScheduleCreateProperties

type JobScheduleCreateProperties struct {
	Schedule   *ScheduleAssociationProperty `json:"schedule,omitempty"`
	Runbook    *RunbookAssociationProperty  `json:"runbook,omitempty"`
	RunOn      *string                      `json:"runOn,omitempty"`
	Parameters *map[string]*string          `json:"parameters,omitempty"`
}

JobScheduleCreateProperties is the parameters supplied to the create job schedule operation.

type JobScheduleListResult

type JobScheduleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]JobSchedule `json:"value,omitempty"`
	NextLink          *string        `json:"nextLink,omitempty"`
}

JobScheduleListResult is the response model for the list job schedule operation.

func (JobScheduleListResult) JobScheduleListResultPreparer

func (client JobScheduleListResult) JobScheduleListResultPreparer() (*http.Request, error)

JobScheduleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type JobScheduleProperties

type JobScheduleProperties struct {
	JobScheduleID *string                      `json:"jobScheduleId,omitempty"`
	Schedule      *ScheduleAssociationProperty `json:"schedule,omitempty"`
	Runbook       *RunbookAssociationProperty  `json:"runbook,omitempty"`
	RunOn         *string                      `json:"runOn,omitempty"`
	Parameters    *map[string]*string          `json:"parameters,omitempty"`
}

JobScheduleProperties is definition of job schedule parameters.

type JobStatus

type JobStatus string

JobStatus enumerates the values for job status.

const (
	// JobStatusActivating specifies the job status activating state for job
	// status.
	JobStatusActivating JobStatus = "Activating"
	// JobStatusBlocked specifies the job status blocked state for job status.
	JobStatusBlocked JobStatus = "Blocked"
	// JobStatusCompleted specifies the job status completed state for job
	// status.
	JobStatusCompleted JobStatus = "Completed"
	// JobStatusDisconnected specifies the job status disconnected state for
	// job status.
	JobStatusDisconnected JobStatus = "Disconnected"
	// JobStatusFailed specifies the job status failed state for job status.
	JobStatusFailed JobStatus = "Failed"
	// JobStatusNew specifies the job status new state for job status.
	JobStatusNew JobStatus = "New"
	// JobStatusRemoving specifies the job status removing state for job
	// status.
	JobStatusRemoving JobStatus = "Removing"
	// JobStatusResuming specifies the job status resuming state for job
	// status.
	JobStatusResuming JobStatus = "Resuming"
	// JobStatusRunning specifies the job status running state for job status.
	JobStatusRunning JobStatus = "Running"
	// JobStatusStopped specifies the job status stopped state for job status.
	JobStatusStopped JobStatus = "Stopped"
	// JobStatusStopping specifies the job status stopping state for job
	// status.
	JobStatusStopping JobStatus = "Stopping"
	// JobStatusSuspended specifies the job status suspended state for job
	// status.
	JobStatusSuspended JobStatus = "Suspended"
	// JobStatusSuspending specifies the job status suspending state for job
	// status.
	JobStatusSuspending JobStatus = "Suspending"
)

type JobStream

type JobStream struct {
	autorest.Response    `json:"-"`
	ID                   *string `json:"id,omitempty"`
	*JobStreamProperties `json:"properties,omitempty"`
}

JobStream is definition of the job stream.

type JobStreamClient

type JobStreamClient struct {
	ManagementClient
}

JobStreamClient is the composite Swagger json for Azure 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(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(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

func (client JobStreamClient) 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 (JobStreamClient) ListByJob

func (client JobStreamClient) ListByJob(resourceGroupName string, automationAccountName string, jobID string, filter string) (result JobStreamListResult, 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) ListByJobNextResults

func (client JobStreamClient) ListByJobNextResults(lastResults JobStreamListResult) (result JobStreamListResult, err error)

ListByJobNextResults retrieves the next set of results, if any.

func (JobStreamClient) ListByJobPreparer

func (client JobStreamClient) ListByJobPreparer(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

func (client JobStreamClient) 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 JobStreamListResult

type JobStreamListResult struct {
	autorest.Response `json:"-"`
	Value             *[]JobStream `json:"value,omitempty"`
	NextLink          *string      `json:"nextLink,omitempty"`
}

JobStreamListResult is the response model for the list job stream operation.

func (JobStreamListResult) JobStreamListResultPreparer

func (client JobStreamListResult) JobStreamListResultPreparer() (*http.Request, error)

JobStreamListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type JobStreamProperties

type JobStreamProperties struct {
	JobStreamID *string                             `json:"jobStreamId,omitempty"`
	Time        *date.Time                          `json:"time,omitempty"`
	StreamType  JobStreamType                       `json:"streamType,omitempty"`
	StreamText  *string                             `json:"streamText,omitempty"`
	Summary     *string                             `json:"summary,omitempty"`
	Value       *map[string]*map[string]interface{} `json:"value,omitempty"`
}

JobStreamProperties is definition of the job stream.

type JobStreamType

type JobStreamType string

JobStreamType enumerates the values for job stream type.

const (
	// Any specifies the any state for job stream type.
	Any JobStreamType = "Any"
	// Debug specifies the debug state for job stream type.
	Debug JobStreamType = "Debug"
	// Error specifies the error state for job stream type.
	Error JobStreamType = "Error"
	// Output specifies the output state for job stream type.
	Output JobStreamType = "Output"
	// Progress specifies the progress state for job stream type.
	Progress JobStreamType = "Progress"
	// Verbose specifies the verbose state for job stream type.
	Verbose JobStreamType = "Verbose"
	// Warning specifies the warning state for job stream type.
	Warning JobStreamType = "Warning"
)

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

ManagementClient is the base client for Automation.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type Module

type Module struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	Name              *string             `json:"name,omitempty"`
	Type              *string             `json:"type,omitempty"`
	Location          *string             `json:"location,omitempty"`
	Tags              *map[string]*string `json:"tags,omitempty"`
	*ModuleProperties `json:"properties,omitempty"`
	Etag              *string `json:"etag,omitempty"`
}

Module is definition of the module type.

type ModuleClient

type ModuleClient struct {
	ManagementClient
}

ModuleClient is the composite Swagger json for Azure 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(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(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

func (client ModuleClient) 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 (ModuleClient) Delete

func (client ModuleClient) Delete(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(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

func (client ModuleClient) 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 (ModuleClient) Get

func (client ModuleClient) Get(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(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

func (client ModuleClient) 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 (ModuleClient) ListByAutomationAccount

func (client ModuleClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result ModuleListResult, err error)

ListByAutomationAccount retrieve a list of modules.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (ModuleClient) ListByAutomationAccountNextResults

func (client ModuleClient) ListByAutomationAccountNextResults(lastResults ModuleListResult) (result ModuleListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (ModuleClient) ListByAutomationAccountPreparer

func (client ModuleClient) ListByAutomationAccountPreparer(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

func (client ModuleClient) 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 (ModuleClient) Update

func (client ModuleClient) Update(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(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

func (client ModuleClient) 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 ModuleCreateOrUpdateParameters

type ModuleCreateOrUpdateParameters struct {
	*ModuleCreateOrUpdateProperties `json:"properties,omitempty"`
	Name                            *string             `json:"name,omitempty"`
	Location                        *string             `json:"location,omitempty"`
	Tags                            *map[string]*string `json:"tags,omitempty"`
}

ModuleCreateOrUpdateParameters is the parameters supplied to the create or update module operation.

type ModuleCreateOrUpdateProperties

type ModuleCreateOrUpdateProperties struct {
	ContentLink *ContentLink `json:"contentLink,omitempty"`
}

ModuleCreateOrUpdateProperties is the parameters supplied to the create or update module properties.

type ModuleErrorInfo

type ModuleErrorInfo struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

ModuleErrorInfo is definition of the module error info type.

type ModuleListResult

type ModuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Module `json:"value,omitempty"`
	NextLink          *string   `json:"nextLink,omitempty"`
}

ModuleListResult is the response model for the list module operation.

func (ModuleListResult) ModuleListResultPreparer

func (client ModuleListResult) ModuleListResultPreparer() (*http.Request, error)

ModuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ModuleProperties

type ModuleProperties struct {
	IsGlobal          *bool                   `json:"isGlobal,omitempty"`
	Version           *string                 `json:"version,omitempty"`
	SizeInBytes       *int64                  `json:"sizeInBytes,omitempty"`
	ActivityCount     *int32                  `json:"activityCount,omitempty"`
	ProvisioningState ModuleProvisioningState `json:"provisioningState,omitempty"`
	ContentLink       *ContentLink            `json:"contentLink,omitempty"`
	Error             *ModuleErrorInfo        `json:"error,omitempty"`
	CreationTime      *date.Time              `json:"creationTime,omitempty"`
	LastModifiedTime  *date.Time              `json:"lastModifiedTime,omitempty"`
	Description       *string                 `json:"description,omitempty"`
}

ModuleProperties is definition of the module property type.

type ModuleProvisioningState

type ModuleProvisioningState string

ModuleProvisioningState enumerates the values for module provisioning state.

const (
	// ModuleProvisioningStateActivitiesStored specifies the module
	// provisioning state activities stored state for module provisioning
	// state.
	ModuleProvisioningStateActivitiesStored ModuleProvisioningState = "ActivitiesStored"
	// ModuleProvisioningStateCancelled specifies the module provisioning state
	// cancelled state for module provisioning state.
	ModuleProvisioningStateCancelled ModuleProvisioningState = "Cancelled"
	// ModuleProvisioningStateConnectionTypeImported specifies the module
	// provisioning state connection type imported state for module
	// provisioning state.
	ModuleProvisioningStateConnectionTypeImported ModuleProvisioningState = "ConnectionTypeImported"
	// ModuleProvisioningStateContentDownloaded specifies the module
	// provisioning state content downloaded state for module provisioning
	// state.
	ModuleProvisioningStateContentDownloaded ModuleProvisioningState = "ContentDownloaded"
	// ModuleProvisioningStateContentRetrieved specifies the module
	// provisioning state content retrieved state for module provisioning
	// state.
	ModuleProvisioningStateContentRetrieved ModuleProvisioningState = "ContentRetrieved"
	// ModuleProvisioningStateContentStored specifies the module provisioning
	// state content stored state for module provisioning state.
	ModuleProvisioningStateContentStored ModuleProvisioningState = "ContentStored"
	// ModuleProvisioningStateContentValidated specifies the module
	// provisioning state content validated state for module provisioning
	// state.
	ModuleProvisioningStateContentValidated ModuleProvisioningState = "ContentValidated"
	// ModuleProvisioningStateCreated specifies the module provisioning state
	// created state for module provisioning state.
	ModuleProvisioningStateCreated ModuleProvisioningState = "Created"
	// ModuleProvisioningStateCreating specifies the module provisioning state
	// creating state for module provisioning state.
	ModuleProvisioningStateCreating ModuleProvisioningState = "Creating"
	// ModuleProvisioningStateFailed specifies the module provisioning state
	// failed state for module provisioning state.
	ModuleProvisioningStateFailed ModuleProvisioningState = "Failed"
	// ModuleProvisioningStateModuleDataStored specifies the module
	// provisioning state module data stored state for module provisioning
	// state.
	ModuleProvisioningStateModuleDataStored ModuleProvisioningState = "ModuleDataStored"
	// ModuleProvisioningStateModuleImportRunbookComplete specifies the module
	// provisioning state module import runbook complete state for module
	// provisioning state.
	ModuleProvisioningStateModuleImportRunbookComplete ModuleProvisioningState = "ModuleImportRunbookComplete"
	// ModuleProvisioningStateRunningImportModuleRunbook specifies the module
	// provisioning state running import module runbook state for module
	// provisioning state.
	ModuleProvisioningStateRunningImportModuleRunbook ModuleProvisioningState = "RunningImportModuleRunbook"
	// ModuleProvisioningStateStartingImportModuleRunbook specifies the module
	// provisioning state starting import module runbook state for module
	// provisioning state.
	ModuleProvisioningStateStartingImportModuleRunbook ModuleProvisioningState = "StartingImportModuleRunbook"
	// ModuleProvisioningStateSucceeded specifies the module provisioning state
	// succeeded state for module provisioning state.
	ModuleProvisioningStateSucceeded ModuleProvisioningState = "Succeeded"
	// ModuleProvisioningStateUpdating specifies the module provisioning state
	// updating state for module provisioning state.
	ModuleProvisioningStateUpdating ModuleProvisioningState = "Updating"
)

type ModuleUpdateParameters

type ModuleUpdateParameters struct {
	*ModuleUpdateProperties `json:"properties,omitempty"`
	Name                    *string             `json:"name,omitempty"`
	Location                *string             `json:"location,omitempty"`
	Tags                    *map[string]*string `json:"tags,omitempty"`
}

ModuleUpdateParameters is the parameters supplied to the update module operation.

type ModuleUpdateProperties

type ModuleUpdateProperties struct {
	ContentLink *ContentLink `json:"contentLink,omitempty"`
}

ModuleUpdateProperties is the parameters supplied to the update properties.

type NodeReportsClient

type NodeReportsClient struct {
	ManagementClient
}

NodeReportsClient is the composite Swagger json for Azure 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(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(resourceGroupName string, automationAccountName string, nodeID string, reportID string) (result ReadCloser, 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(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 ReadCloser, err error)

GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.

func (NodeReportsClient) GetContentSender

func (client NodeReportsClient) GetContentSender(req *http.Request) (*http.Response, error)

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(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

func (client NodeReportsClient) 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 (NodeReportsClient) ListByNode

func (client NodeReportsClient) ListByNode(resourceGroupName string, automationAccountName string, nodeID string, filter string) (result DscNodeReportListResult, 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) ListByNodeNextResults

func (client NodeReportsClient) ListByNodeNextResults(lastResults DscNodeReportListResult) (result DscNodeReportListResult, err error)

ListByNodeNextResults retrieves the next set of results, if any.

func (NodeReportsClient) ListByNodePreparer

func (client NodeReportsClient) ListByNodePreparer(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

func (client NodeReportsClient) ListByNodeSender(req *http.Request) (*http.Response, error)

ListByNodeSender sends the ListByNode request. The method will close the http.Response Body if it receives an error.

type ObjectDataTypesClient

type ObjectDataTypesClient struct {
	ManagementClient
}

ObjectDataTypesClient is the composite Swagger json for Azure 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(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(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(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(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    *string           `json:"name,omitempty"`
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation is automation REST API operation

type OperationDisplay

type OperationDisplay struct {
	Provider  *string `json:"provider,omitempty"`
	Resource  *string `json:"resource,omitempty"`
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay is provider, Resource and Operation values

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Operation `json:"value,omitempty"`
}

OperationListResult is the response model for the list of Automation operations

type OperationsClient

type OperationsClient struct {
	ManagementClient
}

OperationsClient is the composite Swagger json for Azure 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() (result OperationListResult, err error)

List lists all of the available Automation REST API operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer() (*http.Request, error)

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

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ReadCloser

type ReadCloser struct {
	autorest.Response `json:"-"`
	Value             *io.ReadCloser `json:"value,omitempty"`
}

ReadCloser is

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is the Resource definition.

type RunAsCredentialAssociationProperty

type RunAsCredentialAssociationProperty struct {
	Name *string `json:"name,omitempty"`
}

RunAsCredentialAssociationProperty is definition of runas credential to use for hybrid worker.

type Runbook

type Runbook struct {
	autorest.Response  `json:"-"`
	ID                 *string             `json:"id,omitempty"`
	Name               *string             `json:"name,omitempty"`
	Type               *string             `json:"type,omitempty"`
	Location           *string             `json:"location,omitempty"`
	Tags               *map[string]*string `json:"tags,omitempty"`
	*RunbookProperties `json:"properties,omitempty"`
	Etag               *string `json:"etag,omitempty"`
}

Runbook is definition of the runbook type.

type RunbookAssociationProperty

type RunbookAssociationProperty struct {
	Name *string `json:"name,omitempty"`
}

RunbookAssociationProperty is the runbook property associated with the entity.

type RunbookClient

type RunbookClient struct {
	ManagementClient
}

RunbookClient is the composite Swagger json for Azure 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(resourceGroupName string, automationAccountName string, runbookName string, parameters RunbookCreateOrUpdateParameters) (result autorest.Response, 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(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 autorest.Response, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RunbookClient) CreateOrUpdateSender

func (client RunbookClient) 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 (RunbookClient) Delete

func (client RunbookClient) Delete(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(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

func (client RunbookClient) 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 (RunbookClient) Get

func (client RunbookClient) Get(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(resourceGroupName string, automationAccountName string, runbookName string) (result ReadCloser, 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(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 ReadCloser, err error)

GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.

func (RunbookClient) GetContentSender

func (client RunbookClient) GetContentSender(req *http.Request) (*http.Response, error)

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(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

func (client RunbookClient) 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 (RunbookClient) ListByAutomationAccount

func (client RunbookClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result RunbookListResult, err error)

ListByAutomationAccount retrieve a list of runbooks.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (RunbookClient) ListByAutomationAccountNextResults

func (client RunbookClient) ListByAutomationAccountNextResults(lastResults RunbookListResult) (result RunbookListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (RunbookClient) ListByAutomationAccountPreparer

func (client RunbookClient) ListByAutomationAccountPreparer(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(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(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

func (client RunbookClient) 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 RunbookCreateOrUpdateParameters

type RunbookCreateOrUpdateParameters struct {
	*RunbookCreateOrUpdateProperties `json:"properties,omitempty"`
	Name                             *string             `json:"name,omitempty"`
	Location                         *string             `json:"location,omitempty"`
	Tags                             *map[string]*string `json:"tags,omitempty"`
}

RunbookCreateOrUpdateParameters is the parameters supplied to the create or update runbook operation.

type RunbookCreateOrUpdateProperties

type RunbookCreateOrUpdateProperties struct {
	LogVerbose         *bool           `json:"logVerbose,omitempty"`
	LogProgress        *bool           `json:"logProgress,omitempty"`
	RunbookType        RunbookTypeEnum `json:"runbookType,omitempty"`
	Draft              *RunbookDraft   `json:"draft,omitempty"`
	PublishContentLink *ContentLink    `json:"publishContentLink,omitempty"`
	Description        *string         `json:"description,omitempty"`
	LogActivityTrace   *int32          `json:"logActivityTrace,omitempty"`
}

RunbookCreateOrUpdateProperties is the parameters supplied to the create or update runbook properties.

type RunbookDraft

type RunbookDraft struct {
	autorest.Response `json:"-"`
	InEdit            *bool                         `json:"inEdit,omitempty"`
	DraftContentLink  *ContentLink                  `json:"draftContentLink,omitempty"`
	CreationTime      *date.Time                    `json:"creationTime,omitempty"`
	LastModifiedTime  *date.Time                    `json:"lastModifiedTime,omitempty"`
	Parameters        *map[string]*RunbookParameter `json:"parameters,omitempty"`
	OutputTypes       *[]string                     `json:"outputTypes,omitempty"`
}

RunbookDraft is definition of the runbook type.

type RunbookDraftClient

type RunbookDraftClient struct {
	ManagementClient
}

RunbookDraftClient is the composite Swagger json for Azure 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) CreateOrUpdate

func (client RunbookDraftClient) CreateOrUpdate(resourceGroupName string, automationAccountName string, runbookName string, runbookContent io.ReadCloser, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

CreateOrUpdate updates the runbook draft with runbookStream as its content. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the resource group name. automationAccountName is the automation account name. runbookName is the runbook name. runbookContent is the runbook draft content. runbookContent will be closed upon successful return. Callers should ensure closure when receiving an error.

func (RunbookDraftClient) CreateOrUpdatePreparer

func (client RunbookDraftClient) CreateOrUpdatePreparer(resourceGroupName string, automationAccountName string, runbookName string, runbookContent io.ReadCloser, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RunbookDraftClient) CreateOrUpdateResponder

func (client RunbookDraftClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RunbookDraftClient) CreateOrUpdateSender

func (client RunbookDraftClient) 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 (RunbookDraftClient) Get

func (client RunbookDraftClient) Get(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(resourceGroupName string, automationAccountName string, runbookName string) (result ReadCloser, 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(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 ReadCloser, err error)

GetContentResponder handles the response to the GetContent request. The method always closes the http.Response Body.

func (RunbookDraftClient) GetContentSender

func (client RunbookDraftClient) GetContentSender(req *http.Request) (*http.Response, error)

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(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

func (client RunbookDraftClient) 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 (RunbookDraftClient) Publish

func (client RunbookDraftClient) Publish(resourceGroupName string, automationAccountName string, runbookName string, cancel <-chan struct{}) (<-chan Runbook, <-chan error)

Publish publish runbook draft. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

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(resourceGroupName string, automationAccountName string, runbookName string, cancel <-chan struct{}) (*http.Request, error)

PublishPreparer prepares the Publish request.

func (RunbookDraftClient) PublishResponder

func (client RunbookDraftClient) PublishResponder(resp *http.Response) (result Runbook, 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) (*http.Response, error)

PublishSender sends the Publish request. The method will close the http.Response Body if it receives an error.

func (RunbookDraftClient) UndoEdit

func (client RunbookDraftClient) UndoEdit(resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraftUndoEditResult, err error)

UndoEdit 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 (RunbookDraftClient) UndoEditPreparer

func (client RunbookDraftClient) UndoEditPreparer(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

func (client RunbookDraftClient) UndoEditSender(req *http.Request) (*http.Response, error)

UndoEditSender sends the UndoEdit request. The method will close the http.Response Body if it receives an error.

type RunbookDraftUndoEditResult

type RunbookDraftUndoEditResult struct {
	autorest.Response `json:"-"`
	StatusCode        HTTPStatusCode `json:"statusCode,omitempty"`
	RequestID         *string        `json:"requestId,omitempty"`
}

RunbookDraftUndoEditResult is the response model for the undoedit runbook operation.

type RunbookListResult

type RunbookListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Runbook `json:"value,omitempty"`
	NextLink          *string    `json:"nextLink,omitempty"`
}

RunbookListResult is the response model for the list runbook operation.

func (RunbookListResult) RunbookListResultPreparer

func (client RunbookListResult) RunbookListResultPreparer() (*http.Request, error)

RunbookListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RunbookParameter

type RunbookParameter struct {
	Type         *string `json:"type,omitempty"`
	IsMandatory  *bool   `json:"isMandatory,omitempty"`
	Position     *int32  `json:"position,omitempty"`
	DefaultValue *string `json:"defaultValue,omitempty"`
}

RunbookParameter is definition of the runbook parameter type.

type RunbookProperties

type RunbookProperties struct {
	RunbookType        RunbookTypeEnum               `json:"runbookType,omitempty"`
	PublishContentLink *ContentLink                  `json:"publishContentLink,omitempty"`
	State              RunbookState                  `json:"state,omitempty"`
	LogVerbose         *bool                         `json:"logVerbose,omitempty"`
	LogProgress        *bool                         `json:"logProgress,omitempty"`
	LogActivityTrace   *int32                        `json:"logActivityTrace,omitempty"`
	JobCount           *int32                        `json:"jobCount,omitempty"`
	Parameters         *map[string]*RunbookParameter `json:"parameters,omitempty"`
	OutputTypes        *[]string                     `json:"outputTypes,omitempty"`
	Draft              *RunbookDraft                 `json:"draft,omitempty"`
	ProvisioningState  RunbookProvisioningState      `json:"provisioningState,omitempty"`
	LastModifiedBy     *string                       `json:"lastModifiedBy,omitempty"`
	CreationTime       *date.Time                    `json:"creationTime,omitempty"`
	LastModifiedTime   *date.Time                    `json:"lastModifiedTime,omitempty"`
	Description        *string                       `json:"description,omitempty"`
}

RunbookProperties is definition of the runbook property type.

type RunbookProvisioningState

type RunbookProvisioningState string

RunbookProvisioningState enumerates the values for runbook provisioning state.

const (
	// RunbookProvisioningStateSucceeded specifies the runbook provisioning
	// state succeeded state for runbook provisioning state.
	RunbookProvisioningStateSucceeded RunbookProvisioningState = "Succeeded"
)

type RunbookState

type RunbookState string

RunbookState enumerates the values for runbook state.

const (
	// RunbookStateEdit specifies the runbook state edit state for runbook
	// state.
	RunbookStateEdit RunbookState = "Edit"
	// RunbookStateNew specifies the runbook state new state for runbook state.
	RunbookStateNew RunbookState = "New"
	// RunbookStatePublished specifies the runbook state published state for
	// runbook state.
	RunbookStatePublished RunbookState = "Published"
)

type RunbookTypeEnum

type RunbookTypeEnum string

RunbookTypeEnum enumerates the values for runbook type enum.

const (
	// Graph specifies the graph state for runbook type enum.
	Graph RunbookTypeEnum = "Graph"
	// GraphPowerShell specifies the graph power shell state for runbook type
	// enum.
	GraphPowerShell RunbookTypeEnum = "GraphPowerShell"
	// GraphPowerShellWorkflow specifies the graph power shell workflow state
	// for runbook type enum.
	GraphPowerShellWorkflow RunbookTypeEnum = "GraphPowerShellWorkflow"
	// PowerShell specifies the power shell state for runbook type enum.
	PowerShell RunbookTypeEnum = "PowerShell"
	// PowerShellWorkflow specifies the power shell workflow state for runbook
	// type enum.
	PowerShellWorkflow RunbookTypeEnum = "PowerShellWorkflow"
	// Script specifies the script state for runbook type enum.
	Script RunbookTypeEnum = "Script"
)

type RunbookUpdateParameters

type RunbookUpdateParameters struct {
	*RunbookUpdateProperties `json:"properties,omitempty"`
	Name                     *string             `json:"name,omitempty"`
	Location                 *string             `json:"location,omitempty"`
	Tags                     *map[string]*string `json:"tags,omitempty"`
}

RunbookUpdateParameters is the parameters supplied to the update runbook operation.

type RunbookUpdateProperties

type RunbookUpdateProperties struct {
	Description      *string `json:"description,omitempty"`
	LogVerbose       *bool   `json:"logVerbose,omitempty"`
	LogProgress      *bool   `json:"logProgress,omitempty"`
	LogActivityTrace *int32  `json:"logActivityTrace,omitempty"`
}

RunbookUpdateProperties is the parameters supplied to the update runbook properties.

type Schedule

type Schedule struct {
	autorest.Response   `json:"-"`
	ID                  *string `json:"id,omitempty"`
	Name                *string `json:"name,omitempty"`
	*ScheduleProperties `json:"properties,omitempty"`
}

Schedule is definition of the schedule.

type ScheduleAssociationProperty

type ScheduleAssociationProperty struct {
	Name *string `json:"name,omitempty"`
}

ScheduleAssociationProperty is the schedule property associated with the entity.

type ScheduleClient

type ScheduleClient struct {
	ManagementClient
}

ScheduleClient is the composite Swagger json for Azure 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(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(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

func (client ScheduleClient) 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 (ScheduleClient) Delete

func (client ScheduleClient) Delete(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(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

func (client ScheduleClient) 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 (ScheduleClient) Get

func (client ScheduleClient) Get(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(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

func (client ScheduleClient) 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 (ScheduleClient) ListByAutomationAccount

func (client ScheduleClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result ScheduleListResult, err error)

ListByAutomationAccount retrieve a list of schedules.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (ScheduleClient) ListByAutomationAccountNextResults

func (client ScheduleClient) ListByAutomationAccountNextResults(lastResults ScheduleListResult) (result ScheduleListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (ScheduleClient) ListByAutomationAccountPreparer

func (client ScheduleClient) ListByAutomationAccountPreparer(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(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(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

func (client ScheduleClient) 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 ScheduleCreateOrUpdateParameters

type ScheduleCreateOrUpdateParameters struct {
	Name                              *string `json:"name,omitempty"`
	*ScheduleCreateOrUpdateProperties `json:"properties,omitempty"`
}

ScheduleCreateOrUpdateParameters is the parameters supplied to the create or update schedule operation.

type ScheduleCreateOrUpdateProperties

type ScheduleCreateOrUpdateProperties struct {
	Description      *string                 `json:"description,omitempty"`
	StartTime        *date.Time              `json:"startTime,omitempty"`
	ExpiryTime       *date.Time              `json:"expiryTime,omitempty"`
	Interval         *map[string]interface{} `json:"interval,omitempty"`
	Frequency        ScheduleFrequency       `json:"frequency,omitempty"`
	TimeZone         *string                 `json:"timeZone,omitempty"`
	AdvancedSchedule *AdvancedSchedule       `json:"advancedSchedule,omitempty"`
}

ScheduleCreateOrUpdateProperties is the parameters supplied to the create or update schedule operation.

type ScheduleDay

type ScheduleDay string

ScheduleDay enumerates the values for schedule day.

const (
	// Friday specifies the friday state for schedule day.
	Friday ScheduleDay = "Friday"
	// Monday specifies the monday state for schedule day.
	Monday ScheduleDay = "Monday"
	// Saturday specifies the saturday state for schedule day.
	Saturday ScheduleDay = "Saturday"
	// Sunday specifies the sunday state for schedule day.
	Sunday ScheduleDay = "Sunday"
	// Thursday specifies the thursday state for schedule day.
	Thursday ScheduleDay = "Thursday"
	// Tuesday specifies the tuesday state for schedule day.
	Tuesday ScheduleDay = "Tuesday"
	// Wednesday specifies the wednesday state for schedule day.
	Wednesday ScheduleDay = "Wednesday"
)

type ScheduleFrequency

type ScheduleFrequency string

ScheduleFrequency enumerates the values for schedule frequency.

const (
	// Day specifies the day state for schedule frequency.
	Day ScheduleFrequency = "Day"
	// Hour specifies the hour state for schedule frequency.
	Hour ScheduleFrequency = "Hour"
	// Month specifies the month state for schedule frequency.
	Month ScheduleFrequency = "Month"
	// OneTime specifies the one time state for schedule frequency.
	OneTime ScheduleFrequency = "OneTime"
	// Week specifies the week state for schedule frequency.
	Week ScheduleFrequency = "Week"
)

type ScheduleListResult

type ScheduleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Schedule `json:"value,omitempty"`
	NextLink          *string     `json:"nextLink,omitempty"`
}

ScheduleListResult is the response model for the list schedule operation.

func (ScheduleListResult) ScheduleListResultPreparer

func (client ScheduleListResult) ScheduleListResultPreparer() (*http.Request, error)

ScheduleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ScheduleProperties

type ScheduleProperties struct {
	StartTime               *date.Time              `json:"startTime,omitempty"`
	StartTimeOffsetMinutes  *float64                `json:"startTimeOffsetMinutes,omitempty"`
	ExpiryTime              *date.Time              `json:"expiryTime,omitempty"`
	ExpiryTimeOffsetMinutes *float64                `json:"expiryTimeOffsetMinutes,omitempty"`
	IsEnabled               *bool                   `json:"isEnabled,omitempty"`
	NextRun                 *date.Time              `json:"nextRun,omitempty"`
	NextRunOffsetMinutes    *float64                `json:"nextRunOffsetMinutes,omitempty"`
	Interval                *map[string]interface{} `json:"interval,omitempty"`
	Frequency               ScheduleFrequency       `json:"frequency,omitempty"`
	TimeZone                *string                 `json:"timeZone,omitempty"`
	AdvancedSchedule        *AdvancedSchedule       `json:"advancedSchedule,omitempty"`
	CreationTime            *date.Time              `json:"creationTime,omitempty"`
	LastModifiedTime        *date.Time              `json:"lastModifiedTime,omitempty"`
	Description             *string                 `json:"description,omitempty"`
}

ScheduleProperties is definition of schedule parameters.

type ScheduleUpdateParameters

type ScheduleUpdateParameters struct {
	Name                      *string `json:"name,omitempty"`
	*ScheduleUpdateProperties `json:"properties,omitempty"`
}

ScheduleUpdateParameters is the parameters supplied to the update schedule operation.

type ScheduleUpdateProperties

type ScheduleUpdateProperties struct {
	Description *string `json:"description,omitempty"`
	IsEnabled   *bool   `json:"isEnabled,omitempty"`
}

ScheduleUpdateProperties is the parameters supplied to the update schedule operation.

type Sku

type Sku struct {
	Name     SkuNameEnum `json:"name,omitempty"`
	Family   *string     `json:"family,omitempty"`
	Capacity *int32      `json:"capacity,omitempty"`
}

Sku is the account SKU.

type SkuNameEnum

type SkuNameEnum string

SkuNameEnum enumerates the values for sku name enum.

const (
	// Basic specifies the basic state for sku name enum.
	Basic SkuNameEnum = "Basic"
	// Free specifies the free state for sku name enum.
	Free SkuNameEnum = "Free"
)

type Statistics

type Statistics struct {
	CounterProperty *string    `json:"counterProperty,omitempty"`
	CounterValue    *int64     `json:"counterValue,omitempty"`
	StartTime       *date.Time `json:"startTime,omitempty"`
	EndTime         *date.Time `json:"endTime,omitempty"`
	ID              *string    `json:"id,omitempty"`
}

Statistics is definition of the statistic.

type StatisticsClient

type StatisticsClient struct {
	ManagementClient
}

StatisticsClient is the composite Swagger json for Azure 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(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(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             *[]Statistics `json:"value,omitempty"`
}

StatisticsListResult is the response model for the list statistics operation.

type String

type String struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

String is

type TestJob

type TestJob struct {
	autorest.Response      `json:"-"`
	CreationTime           *date.Time          `json:"creationTime,omitempty"`
	Status                 *string             `json:"status,omitempty"`
	StatusDetails          *string             `json:"statusDetails,omitempty"`
	RunOn                  *string             `json:"runOn,omitempty"`
	StartTime              *date.Time          `json:"startTime,omitempty"`
	EndTime                *date.Time          `json:"endTime,omitempty"`
	Exception              *string             `json:"exception,omitempty"`
	LastModifiedTime       *date.Time          `json:"lastModifiedTime,omitempty"`
	LastStatusModifiedTime *date.Time          `json:"lastStatusModifiedTime,omitempty"`
	Parameters             *map[string]*string `json:"parameters,omitempty"`
}

TestJob is definition of the test job.

type TestJobCreateParameters

type TestJobCreateParameters struct {
	RunbookName *string             `json:"runbookName,omitempty"`
	Parameters  *map[string]*string `json:"parameters,omitempty"`
	RunOn       *string             `json:"runOn,omitempty"`
}

TestJobCreateParameters is the parameters supplied to the create test job operation.

type TestJobStreamsClient

type TestJobStreamsClient struct {
	ManagementClient
}

TestJobStreamsClient is the composite Swagger json for Azure 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(resourceGroupName string, automationAccountName string, runbookName string, jobStreamID string) (result JobStream, err error)

Get retrieve a test job streams 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(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

func (client TestJobStreamsClient) 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 (TestJobStreamsClient) ListByTestJob

func (client TestJobStreamsClient) ListByTestJob(resourceGroupName string, automationAccountName string, runbookName string, filter string) (result JobStreamListResult, 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) ListByTestJobNextResults

func (client TestJobStreamsClient) ListByTestJobNextResults(lastResults JobStreamListResult) (result JobStreamListResult, err error)

ListByTestJobNextResults retrieves the next set of results, if any.

func (TestJobStreamsClient) ListByTestJobPreparer

func (client TestJobStreamsClient) ListByTestJobPreparer(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

func (client TestJobStreamsClient) ListByTestJobSender(req *http.Request) (*http.Response, error)

ListByTestJobSender sends the ListByTestJob request. The method will close the http.Response Body if it receives an error.

type TestJobsClient

type TestJobsClient struct {
	ManagementClient
}

TestJobsClient is the composite Swagger json for Azure Automation Client

func NewTestJobsClient

func NewTestJobsClient(subscriptionID string) TestJobsClient

NewTestJobsClient creates an instance of the TestJobsClient client.

func NewTestJobsClientWithBaseURI

func NewTestJobsClientWithBaseURI(baseURI string, subscriptionID string) TestJobsClient

NewTestJobsClientWithBaseURI creates an instance of the TestJobsClient client.

func (TestJobsClient) Create

func (client TestJobsClient) Create(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 (TestJobsClient) CreatePreparer

func (client TestJobsClient) CreatePreparer(resourceGroupName string, automationAccountName string, runbookName string, parameters TestJobCreateParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (TestJobsClient) CreateResponder

func (client TestJobsClient) 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 (TestJobsClient) CreateSender

func (client TestJobsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (TestJobsClient) Get

func (client TestJobsClient) Get(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 (TestJobsClient) GetPreparer

func (client TestJobsClient) GetPreparer(resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TestJobsClient) GetResponder

func (client TestJobsClient) 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 (TestJobsClient) GetSender

func (client TestJobsClient) 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 (TestJobsClient) Resume

func (client TestJobsClient) Resume(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 (TestJobsClient) ResumePreparer

func (client TestJobsClient) ResumePreparer(resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (TestJobsClient) ResumeResponder

func (client TestJobsClient) 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 (TestJobsClient) ResumeSender

func (client TestJobsClient) ResumeSender(req *http.Request) (*http.Response, error)

ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.

func (TestJobsClient) Stop

func (client TestJobsClient) Stop(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 (TestJobsClient) StopPreparer

func (client TestJobsClient) StopPreparer(resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (TestJobsClient) StopResponder

func (client TestJobsClient) 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 (TestJobsClient) StopSender

func (client TestJobsClient) StopSender(req *http.Request) (*http.Response, error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (TestJobsClient) Suspend

func (client TestJobsClient) Suspend(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 (TestJobsClient) SuspendPreparer

func (client TestJobsClient) SuspendPreparer(resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

SuspendPreparer prepares the Suspend request.

func (TestJobsClient) SuspendResponder

func (client TestJobsClient) 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 (TestJobsClient) SuspendSender

func (client TestJobsClient) SuspendSender(req *http.Request) (*http.Response, error)

SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.

type TypeField

type TypeField struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

TypeField is information about a field of a type.

type TypeFieldListResult

type TypeFieldListResult struct {
	autorest.Response `json:"-"`
	Value             *[]TypeField `json:"value,omitempty"`
}

TypeFieldListResult is the response model for the list fields operation.

type Usage

type Usage struct {
	ID             *string           `json:"id,omitempty"`
	Name           *UsageCounterName `json:"name,omitempty"`
	Unit           *string           `json:"unit,omitempty"`
	CurrentValue   *float64          `json:"currentValue,omitempty"`
	Limit          *int64            `json:"limit,omitempty"`
	ThrottleStatus *string           `json:"throttleStatus,omitempty"`
}

Usage is definition of Usage.

type UsageCounterName

type UsageCounterName struct {
	Value          *string `json:"value,omitempty"`
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageCounterName is definition of usage counter name.

type UsageListResult

type UsageListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Usage `json:"value,omitempty"`
}

UsageListResult is the response model for the get usage operation.

type UsagesClient

type UsagesClient struct {
	ManagementClient
}

UsagesClient is the composite Swagger json for Azure 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(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(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

func (client UsagesClient) 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 Variable

type Variable struct {
	autorest.Response   `json:"-"`
	ID                  *string `json:"id,omitempty"`
	Name                *string `json:"name,omitempty"`
	*VariableProperties `json:"properties,omitempty"`
}

Variable is definition of the varible.

type VariableClient

type VariableClient struct {
	ManagementClient
}

VariableClient is the composite Swagger json for Azure 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(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(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

func (client VariableClient) 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 (VariableClient) Delete

func (client VariableClient) Delete(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(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

func (client VariableClient) 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 (VariableClient) Get

func (client VariableClient) Get(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(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

func (client VariableClient) 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 (VariableClient) ListByAutomationAccount

func (client VariableClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string) (result VariableListResult, err error)

ListByAutomationAccount retrieve a list of variables.

resourceGroupName is the resource group name. automationAccountName is the automation account name.

func (VariableClient) ListByAutomationAccountNextResults

func (client VariableClient) ListByAutomationAccountNextResults(lastResults VariableListResult) (result VariableListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (VariableClient) ListByAutomationAccountPreparer

func (client VariableClient) ListByAutomationAccountPreparer(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(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(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

func (client VariableClient) 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 VariableCreateOrUpdateParameters

type VariableCreateOrUpdateParameters struct {
	Name                              *string `json:"name,omitempty"`
	*VariableCreateOrUpdateProperties `json:"properties,omitempty"`
}

VariableCreateOrUpdateParameters is the parameters supplied to the create or update variable operation.

type VariableCreateOrUpdateProperties

type VariableCreateOrUpdateProperties struct {
	Value       *string `json:"value,omitempty"`
	Description *string `json:"description,omitempty"`
	IsEncrypted *bool   `json:"isEncrypted,omitempty"`
}

VariableCreateOrUpdateProperties is the properties of the create variable operation.

type VariableListResult

type VariableListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Variable `json:"value,omitempty"`
	NextLink          *string     `json:"nextLink,omitempty"`
}

VariableListResult is the response model for the list variables operation.

func (VariableListResult) VariableListResultPreparer

func (client VariableListResult) VariableListResultPreparer() (*http.Request, error)

VariableListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VariableProperties

type VariableProperties struct {
	Value            *string    `json:"value,omitempty"`
	IsEncrypted      *bool      `json:"isEncrypted,omitempty"`
	CreationTime     *date.Time `json:"creationTime,omitempty"`
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	Description      *string    `json:"description,omitempty"`
}

VariableProperties is definition of the varible properties

type VariableUpdateParameters

type VariableUpdateParameters struct {
	Name                      *string `json:"name,omitempty"`
	*VariableUpdateProperties `json:"properties,omitempty"`
}

VariableUpdateParameters is the parameters supplied to the update variable operation.

type VariableUpdateProperties

type VariableUpdateProperties struct {
	Value       *string `json:"value,omitempty"`
	Description *string `json:"description,omitempty"`
}

VariableUpdateProperties is the properties of the update variable

type Webhook

type Webhook struct {
	autorest.Response  `json:"-"`
	ID                 *string `json:"id,omitempty"`
	Name               *string `json:"name,omitempty"`
	*WebhookProperties `json:"properties,omitempty"`
}

Webhook is definition of the webhook type.

type WebhookClient

type WebhookClient struct {
	ManagementClient
}

WebhookClient is the composite Swagger json for Azure 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(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(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

func (client WebhookClient) 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 (WebhookClient) Delete

func (client WebhookClient) Delete(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(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

func (client WebhookClient) 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 (WebhookClient) GenerateURI

func (client WebhookClient) GenerateURI(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(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

func (client WebhookClient) GenerateURISender(req *http.Request) (*http.Response, error)

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(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(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

func (client WebhookClient) 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 (WebhookClient) ListByAutomationAccount

func (client WebhookClient) ListByAutomationAccount(resourceGroupName string, automationAccountName string, filter string) (result WebhookListResult, 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) ListByAutomationAccountNextResults

func (client WebhookClient) ListByAutomationAccountNextResults(lastResults WebhookListResult) (result WebhookListResult, err error)

ListByAutomationAccountNextResults retrieves the next set of results, if any.

func (WebhookClient) ListByAutomationAccountPreparer

func (client WebhookClient) ListByAutomationAccountPreparer(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(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(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

func (client WebhookClient) 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 WebhookCreateOrUpdateParameters

type WebhookCreateOrUpdateParameters struct {
	Name                             *string `json:"name,omitempty"`
	*WebhookCreateOrUpdateProperties `json:"properties,omitempty"`
}

WebhookCreateOrUpdateParameters is the parameters supplied to the create or update webhook operation.

type WebhookCreateOrUpdateProperties

type WebhookCreateOrUpdateProperties struct {
	IsEnabled  *bool                       `json:"isEnabled,omitempty"`
	URI        *string                     `json:"uri,omitempty"`
	ExpiryTime *date.Time                  `json:"expiryTime,omitempty"`
	Parameters *map[string]*string         `json:"parameters,omitempty"`
	Runbook    *RunbookAssociationProperty `json:"runbook,omitempty"`
	RunOn      *string                     `json:"runOn,omitempty"`
}

WebhookCreateOrUpdateProperties is the properties of the create webhook operation.

type WebhookListResult

type WebhookListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Webhook `json:"value,omitempty"`
	NextLink          *string    `json:"nextLink,omitempty"`
}

WebhookListResult is the response model for the list webhook operation.

func (WebhookListResult) WebhookListResultPreparer

func (client WebhookListResult) WebhookListResultPreparer() (*http.Request, error)

WebhookListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type WebhookProperties

type WebhookProperties struct {
	IsEnabled        *bool                       `json:"isEnabled,omitempty"`
	URI              *string                     `json:"uri,omitempty"`
	ExpiryTime       *date.Time                  `json:"expiryTime,omitempty"`
	LastInvokedTime  *date.Time                  `json:"lastInvokedTime,omitempty"`
	Parameters       *map[string]*string         `json:"parameters,omitempty"`
	Runbook          *RunbookAssociationProperty `json:"runbook,omitempty"`
	RunOn            *string                     `json:"runOn,omitempty"`
	CreationTime     *date.Time                  `json:"creationTime,omitempty"`
	LastModifiedTime *date.Time                  `json:"lastModifiedTime,omitempty"`
	Description      *string                     `json:"description,omitempty"`
}

WebhookProperties is definition of the webhook properties

type WebhookUpdateParameters

type WebhookUpdateParameters struct {
	Name                     *string `json:"name,omitempty"`
	*WebhookUpdateProperties `json:"properties,omitempty"`
}

WebhookUpdateParameters is the parameters supplied to the update webhook operation.

type WebhookUpdateProperties

type WebhookUpdateProperties struct {
	IsEnabled   *bool               `json:"isEnabled,omitempty"`
	RunOn       *string             `json:"runOn,omitempty"`
	Parameters  *map[string]*string `json:"parameters,omitempty"`
	Description *string             `json:"description,omitempty"`
}

WebhookUpdateProperties is the properties of the update webhook.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL