automation

package
v14.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package automation implements the Azure ARM Automation service API version .

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:"-"`
	// AccountProperties - Gets or sets the automation account properties.
	*AccountProperties `json:"properties,omitempty"`
	// Etag - Gets or sets the etag of the resource.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Account definition of the automation account type.

func (Account) MarshalJSON

func (a Account) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Account.

func (*Account) UnmarshalJSON

func (a *Account) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Account struct.

type AccountClient

type AccountClient struct {
	BaseClient
}

AccountClient is the automation Client

func NewAccountClient

func NewAccountClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) AccountClient

NewAccountClient creates an instance of the AccountClient client.

func NewAccountClientWithBaseURI

func NewAccountClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) AccountClient

NewAccountClientWithBaseURI creates an instance of the AccountClient client.

func (AccountClient) CreateOrUpdate

func (client AccountClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountCreateOrUpdateParameters) (result Account, err error)

CreateOrUpdate create or update automation account.

resourceGroupName is the resource group name. automationAccountName is parameters supplied to the create or update automation account. parameters is parameters supplied to the create or update automation account.

func (AccountClient) CreateOrUpdatePreparer

func (client AccountClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountClient) CreateOrUpdateResponder

func (client AccountClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)

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

func (AccountClient) CreateOrUpdateSender

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(ctx context.Context, resourceGroupName string, automationAccountName string) (result autorest.Response, err error)

Delete delete an automation account.

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

func (AccountClient) DeletePreparer

func (client AccountClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccountClient) DeleteResponder

func (client AccountClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AccountClient) DeleteSender

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(ctx context.Context, resourceGroupName string, automationAccountName string) (result Account, err error)

Get get information about an Automation Account.

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

func (AccountClient) GetPreparer

func (client AccountClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccountClient) GetResponder

func (client AccountClient) GetResponder(resp *http.Response) (result Account, err error)

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

func (AccountClient) GetSender

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(ctx context.Context) (result AccountListResultPage, err error)

List retrieve a list of accounts within a given subscription.

func (AccountClient) ListByResourceGroup

func (client AccountClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResultPage, err error)

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

resourceGroupName is the resource group name.

func (AccountClient) ListByResourceGroupComplete

func (client AccountClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AccountListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AccountClient) ListByResourceGroupPreparer

func (client AccountClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountClient) ListByResourceGroupResponder

func (client AccountClient) ListByResourceGroupResponder(resp *http.Response) (result AccountListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AccountClient) ListByResourceGroupSender

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) ListComplete

func (client AccountClient) ListComplete(ctx context.Context) (result AccountListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AccountClient) ListPreparer

func (client AccountClient) ListPreparer(ctx context.Context) (*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(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountUpdateParameters) (result Account, err error)

Update update an automation account.

resourceGroupName is the resource group name. automationAccountName is automation account name. parameters is parameters supplied to the update automation account.

func (AccountClient) UpdatePreparer

func (client AccountClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AccountUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccountClient) UpdateResponder

func (client AccountClient) UpdateResponder(resp *http.Response) (result Account, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AccountClient) UpdateSender

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 - Gets or sets account create or update properties.
	*AccountCreateOrUpdateProperties `json:"properties,omitempty"`
	// Name - Gets or sets name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

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

func (AccountCreateOrUpdateParameters) MarshalJSON

func (acoup AccountCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountCreateOrUpdateParameters.

func (*AccountCreateOrUpdateParameters) UnmarshalJSON

func (acoup *AccountCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccountCreateOrUpdateParameters struct.

type AccountCreateOrUpdateProperties

type AccountCreateOrUpdateProperties struct {
	// Sku - Gets or sets account SKU.
	Sku *Sku `json:"sku,omitempty"`
}

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

type AccountListResult

type AccountListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets list of accounts.
	Value *[]Account `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

AccountListResult the response model for the list account operation.

func (AccountListResult) IsEmpty

func (alr AccountListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AccountListResultIterator

type AccountListResultIterator struct {
	// contains filtered or unexported fields
}

AccountListResultIterator provides access to a complete listing of Account values.

func (*AccountListResultIterator) Next

func (iter *AccountListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AccountListResultIterator) NotDone

func (iter AccountListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AccountListResultIterator) Response

Response returns the raw server response from the last page request.

func (AccountListResultIterator) Value

func (iter AccountListResultIterator) Value() Account

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AccountListResultPage

type AccountListResultPage struct {
	// contains filtered or unexported fields
}

AccountListResultPage contains a page of Account values.

func (*AccountListResultPage) Next

func (page *AccountListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AccountListResultPage) NotDone

func (page AccountListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AccountListResultPage) Response

func (page AccountListResultPage) Response() AccountListResult

Response returns the raw server response from the last page request.

func (AccountListResultPage) Values

func (page AccountListResultPage) Values() []Account

Values returns the slice of values for the current page or nil if there are no values.

type AccountProperties

type AccountProperties struct {
	// Sku - Gets or sets the SKU of account.
	Sku *Sku `json:"sku,omitempty"`
	// LastModifiedBy - Gets or sets the last modified by.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// State - Gets status of account. Possible values include: 'Ok', 'Unavailable', 'Suspended'
	State AccountState `json:"state,omitempty"`
	// CreationTime - Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

AccountProperties definition of the account property.

type AccountState

type AccountState string

AccountState enumerates the values for account state.

const (
	// Ok ...
	Ok AccountState = "Ok"
	// Suspended ...
	Suspended AccountState = "Suspended"
	// Unavailable ...
	Unavailable AccountState = "Unavailable"
)

type AccountUpdateParameters

type AccountUpdateParameters struct {
	// AccountUpdateProperties - Gets or sets account update properties.
	*AccountUpdateProperties `json:"properties,omitempty"`
	// Name - Gets or sets the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

AccountUpdateParameters the parameters supplied to the update automation account operation.

func (AccountUpdateParameters) MarshalJSON

func (aup AccountUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountUpdateParameters.

func (*AccountUpdateParameters) UnmarshalJSON

func (aup *AccountUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccountUpdateParameters struct.

type AccountUpdateProperties

type AccountUpdateProperties struct {
	// Sku - Gets or sets account SKU.
	Sku *Sku `json:"sku,omitempty"`
}

AccountUpdateProperties the parameters supplied to the update account properties.

type Activity

type Activity struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets the name of the activity.
	Name *string `json:"name,omitempty"`
	// ActivityProperties - Gets or sets the properties of the activity.
	*ActivityProperties `json:"properties,omitempty"`
}

Activity definition of the activity.

func (*Activity) UnmarshalJSON

func (a *Activity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Activity struct.

type ActivityClient

type ActivityClient struct {
	BaseClient
}

ActivityClient is the automation Client

func NewActivityClient

func NewActivityClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ActivityClient

NewActivityClient creates an instance of the ActivityClient client.

func NewActivityClientWithBaseURI

func NewActivityClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ActivityClient

NewActivityClientWithBaseURI creates an instance of the ActivityClient client.

func (ActivityClient) Get

func (client ActivityClient) Get(ctx context.Context, automationAccountName string, moduleName string, activityName string) (result Activity, err error)

Get retrieve the activity in the module identified by module name and activity name.

automationAccountName is the automation account name. moduleName is the name of module. activityName is the name of activity.

func (ActivityClient) GetPreparer

func (client ActivityClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, moduleName string) (result ActivityListResultPage, err error)

ListByModule retrieve a list of activities in the module identified by module name.

automationAccountName is the automation account name. moduleName is the name of module.

func (ActivityClient) ListByModuleComplete

func (client ActivityClient) ListByModuleComplete(ctx context.Context, automationAccountName string, moduleName string) (result ActivityListResultIterator, err error)

ListByModuleComplete enumerates all values, automatically crossing page boundaries as required.

func (ActivityClient) ListByModulePreparer

func (client ActivityClient) ListByModulePreparer(ctx context.Context, 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 - Gets or sets a list of activities.
	Value *[]Activity `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ActivityListResult the response model for the list activity operation.

func (ActivityListResult) IsEmpty

func (alr ActivityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ActivityListResultIterator

type ActivityListResultIterator struct {
	// contains filtered or unexported fields
}

ActivityListResultIterator provides access to a complete listing of Activity values.

func (*ActivityListResultIterator) Next

func (iter *ActivityListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ActivityListResultIterator) NotDone

func (iter ActivityListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ActivityListResultIterator) Response

Response returns the raw server response from the last page request.

func (ActivityListResultIterator) Value

func (iter ActivityListResultIterator) Value() Activity

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ActivityListResultPage

type ActivityListResultPage struct {
	// contains filtered or unexported fields
}

ActivityListResultPage contains a page of Activity values.

func (*ActivityListResultPage) Next

func (page *ActivityListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ActivityListResultPage) NotDone

func (page ActivityListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ActivityListResultPage) Response

Response returns the raw server response from the last page request.

func (ActivityListResultPage) Values

func (page ActivityListResultPage) Values() []Activity

Values returns the slice of values for the current page or nil if there are no values.

type ActivityOutputType

type ActivityOutputType struct {
	// Name - Gets or sets the name of the activity output type.
	Name *string `json:"name,omitempty"`
	// Type - Gets or sets the type of the activity output type.
	Type *string `json:"type,omitempty"`
}

ActivityOutputType definition of the activity output type.

type ActivityParameter

type ActivityParameter struct {
	// Name - Gets or sets the name of the activity parameter.
	Name *string `json:"name,omitempty"`
	// Type - Gets or sets the type of the activity parameter.
	Type *string `json:"type,omitempty"`
	// IsMandatory - Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional.
	IsMandatory *bool `json:"isMandatory,omitempty"`
	// IsDynamic - Gets or sets a Boolean value that indicates true if the parameter is dynamic.
	IsDynamic *bool `json:"isDynamic,omitempty"`
	// Position - Gets or sets the position of the activity parameter.
	Position *bool `json:"position,omitempty"`
	// ValueFromPipeline - Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object.
	ValueFromPipeline *bool `json:"valueFromPipeline,omitempty"`
	// ValueFromPipelineByPropertyName - Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name.
	ValueFromPipelineByPropertyName *bool `json:"valueFromPipelineByPropertyName,omitempty"`
	// ValueFromRemainingArguments - Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values.
	ValueFromRemainingArguments *bool `json:"valueFromRemainingArguments,omitempty"`
}

ActivityParameter definition of the activity parameter.

type ActivityParameterSet

type ActivityParameterSet struct {
	// Name - Gets or sets the name of the activity parameter set.
	Name *string `json:"name,omitempty"`
	// Parameters - Gets or sets the parameters of the activity parameter set.
	Parameters *[]ActivityParameter `json:"parameters,omitempty"`
}

ActivityParameterSet definition of the activity parameter set.

type ActivityProperties

type ActivityProperties struct {
	// Definition - Gets or sets the user name of the activity.
	Definition *string `json:"definition,omitempty"`
	// ParameterSets - Gets or sets the parameter sets of the activity.
	ParameterSets *[]ActivityParameterSet `json:"parameterSets,omitempty"`
	// OutputTypes - Gets or sets the output types of the activity.
	OutputTypes *[]ActivityOutputType `json:"outputTypes,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

ActivityProperties properties of the activity.

type AdvancedSchedule

type AdvancedSchedule struct {
	// WeekDays - Days of the week that the job should execute on.
	WeekDays *[]string `json:"weekDays,omitempty"`
	// MonthDays - Days of the month that the job should execute on. Must be between 1 and 31.
	MonthDays *[]int32 `json:"monthDays,omitempty"`
	// MonthlyOccurrences - Occurrences of days within a month.
	MonthlyOccurrences *[]AdvancedScheduleMonthlyOccurrence `json:"monthlyOccurrences,omitempty"`
}

AdvancedSchedule the properties of the create Advanced Schedule.

type AdvancedScheduleMonthlyOccurrence

type AdvancedScheduleMonthlyOccurrence struct {
	// Occurrence - Occurrence of the week within the month. Must be between 1 and 5
	Occurrence *int32 `json:"occurrence,omitempty"`
	// Day - Day of the occurrence. Must be one of monday, tuesday, wednesday,thursday, friday, saturday, sunday. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'
	Day ScheduleDay `json:"day,omitempty"`
}

AdvancedScheduleMonthlyOccurrence the properties of the create advanced schedule monthly occurrence.

type AgentRegistration

type AgentRegistration struct {
	autorest.Response `json:"-"`
	// DscMetaConfiguration - Gets or sets the dsc meta configuration.
	DscMetaConfiguration *string `json:"dscMetaConfiguration,omitempty"`
	// Endpoint - Gets or sets the dsc server endpoint.
	Endpoint *string `json:"endpoint,omitempty"`
	// Keys - Gets or sets the agent registration keys.
	Keys *AgentRegistrationKeys `json:"keys,omitempty"`
	// ID - Gets or sets the id.
	ID *string `json:"id,omitempty"`
}

AgentRegistration definition of the agent registration infomration type.

type AgentRegistrationInformationClient

type AgentRegistrationInformationClient struct {
	BaseClient
}

AgentRegistrationInformationClient is the automation Client

func NewAgentRegistrationInformationClient

func NewAgentRegistrationInformationClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) AgentRegistrationInformationClient

NewAgentRegistrationInformationClient creates an instance of the AgentRegistrationInformationClient client.

func NewAgentRegistrationInformationClientWithBaseURI

func NewAgentRegistrationInformationClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) AgentRegistrationInformationClient

NewAgentRegistrationInformationClientWithBaseURI creates an instance of the AgentRegistrationInformationClient client.

func (AgentRegistrationInformationClient) Get

func (client AgentRegistrationInformationClient) Get(ctx context.Context, automationAccountName string) (result AgentRegistration, err error)

Get retrieve the automation agent registration information.

automationAccountName is the automation account name.

func (AgentRegistrationInformationClient) GetPreparer

func (client AgentRegistrationInformationClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, parameters AgentRegistrationRegenerateKeyParameter) (result AgentRegistration, err error)

RegenerateKey regenerate a primary or secondary agent registration key

automationAccountName is the automation account name. parameters is the name of the agent registration key to be regenerated

func (AgentRegistrationInformationClient) RegenerateKeyPreparer

func (client AgentRegistrationInformationClient) RegenerateKeyPreparer(ctx context.Context, automationAccountName string, parameters AgentRegistrationRegenerateKeyParameter) (*http.Request, error)

RegenerateKeyPreparer prepares the RegenerateKey request.

func (AgentRegistrationInformationClient) RegenerateKeyResponder

func (client AgentRegistrationInformationClient) RegenerateKeyResponder(resp *http.Response) (result AgentRegistration, err error)

RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.

func (AgentRegistrationInformationClient) RegenerateKeySender

func (client AgentRegistrationInformationClient) RegenerateKeySender(req *http.Request) (*http.Response, error)

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

type AgentRegistrationKeyName

type AgentRegistrationKeyName string

AgentRegistrationKeyName enumerates the values for agent registration key name.

const (
	// Primary ...
	Primary AgentRegistrationKeyName = "Primary"
	// Secondary ...
	Secondary AgentRegistrationKeyName = "Secondary"
)

type AgentRegistrationKeys

type AgentRegistrationKeys struct {
	// Primary - Gets or sets the primary key.
	Primary *string `json:"primary,omitempty"`
	// Secondary - Gets or sets the secondary key.
	Secondary *string `json:"secondary,omitempty"`
}

AgentRegistrationKeys definition of the agent registration keys.

type AgentRegistrationRegenerateKeyParameter

type AgentRegistrationRegenerateKeyParameter struct {
	// KeyName - Gets or sets the agent registration key name - Primary or Secondary. Possible values include: 'Primary', 'Secondary'
	KeyName AgentRegistrationKeyName `json:"keyName,omitempty"`
	// Name - Gets or sets the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

AgentRegistrationRegenerateKeyParameter the parameters supplied to the regenerate keys operation.

func (AgentRegistrationRegenerateKeyParameter) MarshalJSON

func (arrkp AgentRegistrationRegenerateKeyParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AgentRegistrationRegenerateKeyParameter.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI               string
	SubscriptionID        string
	ResourceGroupName     string
	ClientRequestID       string
	AutomationAccountName string
}

BaseClient is the base client for Automation.

func New

func New(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type Certificate

type Certificate struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets the name of the certificate.
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// CertificateProperties - Gets or sets the properties of the certificate.
	*CertificateProperties `json:"properties,omitempty"`
}

Certificate definition of the certificate.

func (*Certificate) UnmarshalJSON

func (c *Certificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Certificate struct.

type CertificateClient

type CertificateClient struct {
	BaseClient
}

CertificateClient is the automation Client

func NewCertificateClient

func NewCertificateClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) CertificateClient

NewCertificateClient creates an instance of the CertificateClient client.

func NewCertificateClientWithBaseURI

func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) CertificateClient

NewCertificateClientWithBaseURI creates an instance of the CertificateClient client.

func (CertificateClient) CreateOrUpdate

func (client CertificateClient) CreateOrUpdate(ctx context.Context, automationAccountName string, certificateName string, parameters CertificateCreateOrUpdateParameters) (result Certificate, err error)

CreateOrUpdate create a certificate.

automationAccountName is the automation account name. certificateName is the parameters supplied to the create or update certificate operation. parameters is the parameters supplied to the create or update certificate operation.

func (CertificateClient) CreateOrUpdatePreparer

func (client CertificateClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, certificateName string) (result autorest.Response, err error)

Delete delete the certificate.

automationAccountName is the automation account name. certificateName is the name of certificate.

func (CertificateClient) DeletePreparer

func (client CertificateClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, certificateName string) (result Certificate, err error)

Get retrieve the certificate identified by certificate name.

automationAccountName is the automation account name. certificateName is the name of certificate.

func (CertificateClient) GetPreparer

func (client CertificateClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result CertificateListResultPage, err error)

ListByAutomationAccount retrieve a list of certificates.

automationAccountName is the automation account name.

func (CertificateClient) ListByAutomationAccountComplete

func (client CertificateClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result CertificateListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (CertificateClient) ListByAutomationAccountPreparer

func (client CertificateClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (CertificateClient) ListByAutomationAccountResponder

func (client CertificateClient) ListByAutomationAccountResponder(resp *http.Response) (result CertificateListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (CertificateClient) ListByAutomationAccountSender

func (client CertificateClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

func (CertificateClient) Update

func (client CertificateClient) Update(ctx context.Context, automationAccountName string, certificateName string, parameters CertificateUpdateParameters) (result Certificate, err error)

Update update a certificate.

automationAccountName is the automation account name. certificateName is the parameters supplied to the update certificate operation. parameters is the parameters supplied to the update certificate operation.

func (CertificateClient) UpdatePreparer

func (client CertificateClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the name of the certificate.
	Name *string `json:"name,omitempty"`
	// CertificateCreateOrUpdateProperties - Gets or sets the properties of the certificate.
	*CertificateCreateOrUpdateProperties `json:"properties,omitempty"`
}

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

func (*CertificateCreateOrUpdateParameters) UnmarshalJSON

func (ccoup *CertificateCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateCreateOrUpdateParameters struct.

type CertificateCreateOrUpdateProperties

type CertificateCreateOrUpdateProperties struct {
	// Base64Value - Gets or sets the base64 encoded value of the certificate.
	Base64Value *string `json:"base64Value,omitempty"`
	// Description - Gets or sets the description of the certificate.
	Description *string `json:"description,omitempty"`
	// Thumbprint - Gets or sets the thumbprint of the certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// IsExportable - Gets or sets the is exportable flag of the certificate.
	IsExportable *bool `json:"isExportable,omitempty"`
}

CertificateCreateOrUpdateProperties the properties of the create certificate operation.

type CertificateListResult

type CertificateListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of certificates.
	Value *[]Certificate `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

CertificateListResult the response model for the list certificate operation.

func (CertificateListResult) IsEmpty

func (clr CertificateListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateListResultIterator

type CertificateListResultIterator struct {
	// contains filtered or unexported fields
}

CertificateListResultIterator provides access to a complete listing of Certificate values.

func (*CertificateListResultIterator) Next

func (iter *CertificateListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CertificateListResultIterator) NotDone

func (iter CertificateListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CertificateListResultIterator) Response

Response returns the raw server response from the last page request.

func (CertificateListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CertificateListResultPage

type CertificateListResultPage struct {
	// contains filtered or unexported fields
}

CertificateListResultPage contains a page of Certificate values.

func (*CertificateListResultPage) Next

func (page *CertificateListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CertificateListResultPage) NotDone

func (page CertificateListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CertificateListResultPage) Response

Response returns the raw server response from the last page request.

func (CertificateListResultPage) Values

func (page CertificateListResultPage) Values() []Certificate

Values returns the slice of values for the current page or nil if there are no values.

type CertificateProperties

type CertificateProperties struct {
	// Thumbprint - Gets the thumbprint of the certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// ExpiryTime - Gets the expiry time of the certificate.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// IsExportable - Gets the is exportable flag of the certificate.
	IsExportable *bool `json:"isExportable,omitempty"`
	// CreationTime - Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

CertificateProperties properties of the certificate.

type CertificateUpdateParameters

type CertificateUpdateParameters struct {
	// Name - Gets or sets the name of the certificate.
	Name *string `json:"name,omitempty"`
	// CertificateUpdateProperties - Gets or sets the properties of the certificate.
	*CertificateUpdateProperties `json:"properties,omitempty"`
}

CertificateUpdateParameters the parameters supplied to the update certificate operation.

func (*CertificateUpdateParameters) UnmarshalJSON

func (cup *CertificateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CertificateUpdateParameters struct.

type CertificateUpdateProperties

type CertificateUpdateProperties struct {
	// Description - Gets or sets the description of the certificate.
	Description *string `json:"description,omitempty"`
}

CertificateUpdateProperties the properties of the update certificate operation

type CollectionItemUpdateConfiguration

type CollectionItemUpdateConfiguration struct {
	// AzureVirtualMachines - List of azure resource Ids for azure virtual machines targeted by the software update configuration.
	AzureVirtualMachines *[]string `json:"azureVirtualMachines,omitempty"`
	// Duration - Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601
	Duration *string `json:"duration,omitempty"`
}

CollectionItemUpdateConfiguration object returned when requesting a collection of software update configuration

type Connection

type Connection struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets the name of the connection.
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// ConnectionProperties - Gets or sets the properties of the connection.
	*ConnectionProperties `json:"properties,omitempty"`
}

Connection definition of the connection.

func (*Connection) UnmarshalJSON

func (c *Connection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Connection struct.

type ConnectionClient

type ConnectionClient struct {
	BaseClient
}

ConnectionClient is the automation Client

func NewConnectionClient

func NewConnectionClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ConnectionClient

NewConnectionClient creates an instance of the ConnectionClient client.

func NewConnectionClientWithBaseURI

func NewConnectionClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ConnectionClient

NewConnectionClientWithBaseURI creates an instance of the ConnectionClient client.

func (ConnectionClient) CreateOrUpdate

func (client ConnectionClient) CreateOrUpdate(ctx context.Context, automationAccountName string, connectionName string, parameters ConnectionCreateOrUpdateParameters) (result Connection, err error)

CreateOrUpdate create or update a connection.

automationAccountName is the automation account name. connectionName is the parameters supplied to the create or update connection operation. parameters is the parameters supplied to the create or update connection operation.

func (ConnectionClient) CreateOrUpdatePreparer

func (client ConnectionClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, connectionName string) (result Connection, err error)

Delete delete the connection.

automationAccountName is the automation account name. connectionName is the name of connection.

func (ConnectionClient) DeletePreparer

func (client ConnectionClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, connectionName string) (result Connection, err error)

Get retrieve the connection identified by connection name.

automationAccountName is the automation account name. connectionName is the name of connection.

func (ConnectionClient) GetPreparer

func (client ConnectionClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result ConnectionListResultPage, err error)

ListByAutomationAccount retrieve a list of connections.

automationAccountName is the automation account name.

func (ConnectionClient) ListByAutomationAccountComplete

func (client ConnectionClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result ConnectionListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (ConnectionClient) ListByAutomationAccountPreparer

func (client ConnectionClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ConnectionClient) ListByAutomationAccountResponder

func (client ConnectionClient) ListByAutomationAccountResponder(resp *http.Response) (result ConnectionListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (ConnectionClient) ListByAutomationAccountSender

func (client ConnectionClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

func (ConnectionClient) Update

func (client ConnectionClient) Update(ctx context.Context, automationAccountName string, connectionName string, parameters ConnectionUpdateParameters) (result Connection, err error)

Update update a connection.

automationAccountName is the automation account name. connectionName is the parameters supplied to the update a connection operation. parameters is the parameters supplied to the update a connection operation.

func (ConnectionClient) UpdatePreparer

func (client ConnectionClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the name of the connection.
	Name *string `json:"name,omitempty"`
	// ConnectionCreateOrUpdateProperties - Gets or sets the properties of the connection.
	*ConnectionCreateOrUpdateProperties `json:"properties,omitempty"`
}

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

func (*ConnectionCreateOrUpdateParameters) UnmarshalJSON

func (ccoup *ConnectionCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionCreateOrUpdateParameters struct.

type ConnectionCreateOrUpdateProperties

type ConnectionCreateOrUpdateProperties struct {
	// Description - Gets or sets the description of the connection.
	Description *string `json:"description,omitempty"`
	// ConnectionType - Gets or sets the connectionType of the connection.
	ConnectionType *ConnectionTypeAssociationProperty `json:"connectionType,omitempty"`
	// FieldDefinitionValues - Gets or sets the field definition properties of the connection.
	FieldDefinitionValues map[string]*string `json:"fieldDefinitionValues"`
}

ConnectionCreateOrUpdateProperties the properties of the create connection properties

func (ConnectionCreateOrUpdateProperties) MarshalJSON

func (ccoup ConnectionCreateOrUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionCreateOrUpdateProperties.

type ConnectionListResult

type ConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of connection.
	Value *[]Connection `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ConnectionListResult the response model for the list connection operation.

func (ConnectionListResult) IsEmpty

func (clr ConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionListResultIterator

type ConnectionListResultIterator struct {
	// contains filtered or unexported fields
}

ConnectionListResultIterator provides access to a complete listing of Connection values.

func (*ConnectionListResultIterator) Next

func (iter *ConnectionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConnectionListResultIterator) NotDone

func (iter ConnectionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (ConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConnectionListResultPage

type ConnectionListResultPage struct {
	// contains filtered or unexported fields
}

ConnectionListResultPage contains a page of Connection values.

func (*ConnectionListResultPage) Next

func (page *ConnectionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConnectionListResultPage) NotDone

func (page ConnectionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (ConnectionListResultPage) Values

func (page ConnectionListResultPage) Values() []Connection

Values returns the slice of values for the current page or nil if there are no values.

type ConnectionProperties

type ConnectionProperties struct {
	// ConnectionType - Gets or sets the connectionType of the connection.
	ConnectionType *ConnectionTypeAssociationProperty `json:"connectionType,omitempty"`
	// FieldDefinitionValues - Gets the field definition values of the connection.
	FieldDefinitionValues map[string]*string `json:"fieldDefinitionValues"`
	// CreationTime - Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

ConnectionProperties definition of the connection properties.

func (ConnectionProperties) MarshalJSON

func (cp ConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionProperties.

type ConnectionType

type ConnectionType struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets the name of the connection type.
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// ConnectionTypeProperties - Gets or sets the properties of the connection type.
	*ConnectionTypeProperties `json:"properties,omitempty"`
}

ConnectionType definition of the connection type.

func (*ConnectionType) UnmarshalJSON

func (ct *ConnectionType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionType struct.

type ConnectionTypeAssociationProperty

type ConnectionTypeAssociationProperty struct {
	// Name - Gets or sets the name of the connection type.
	Name *string `json:"name,omitempty"`
}

ConnectionTypeAssociationProperty the connection type property associated with the entity.

type ConnectionTypeClient

type ConnectionTypeClient struct {
	BaseClient
}

ConnectionTypeClient is the automation Client

func NewConnectionTypeClient

func NewConnectionTypeClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ConnectionTypeClient

NewConnectionTypeClient creates an instance of the ConnectionTypeClient client.

func NewConnectionTypeClientWithBaseURI

func NewConnectionTypeClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ConnectionTypeClient

NewConnectionTypeClientWithBaseURI creates an instance of the ConnectionTypeClient client.

func (ConnectionTypeClient) CreateOrUpdate

func (client ConnectionTypeClient) CreateOrUpdate(ctx context.Context, automationAccountName string, connectionTypeName string, parameters ConnectionTypeCreateOrUpdateParameters) (result ConnectionType, err error)

CreateOrUpdate create a connectiontype.

automationAccountName is the automation account name. connectionTypeName is the parameters supplied to the create or update connectiontype operation. parameters is the parameters supplied to the create or update connectiontype operation.

func (ConnectionTypeClient) CreateOrUpdatePreparer

func (client ConnectionTypeClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, connectionTypeName string) (result autorest.Response, err error)

Delete delete the connectiontype.

automationAccountName is the automation account name. connectionTypeName is the name of connectiontype.

func (ConnectionTypeClient) DeletePreparer

func (client ConnectionTypeClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, connectionTypeName string) (result ConnectionType, err error)

Get retrieve the connectiontype identified by connectiontype name.

automationAccountName is the automation account name. connectionTypeName is the name of connectiontype.

func (ConnectionTypeClient) GetPreparer

func (client ConnectionTypeClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result ConnectionTypeListResultPage, err error)

ListByAutomationAccount retrieve a list of connectiontypes.

automationAccountName is the automation account name.

func (ConnectionTypeClient) ListByAutomationAccountComplete

func (client ConnectionTypeClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result ConnectionTypeListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (ConnectionTypeClient) ListByAutomationAccountPreparer

func (client ConnectionTypeClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ConnectionTypeClient) ListByAutomationAccountResponder

func (client ConnectionTypeClient) ListByAutomationAccountResponder(resp *http.Response) (result ConnectionTypeListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (ConnectionTypeClient) ListByAutomationAccountSender

func (client ConnectionTypeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

type ConnectionTypeCreateOrUpdateParameters

type ConnectionTypeCreateOrUpdateParameters struct {
	// Name - Gets or sets the name of the connection type.
	Name *string `json:"name,omitempty"`
	// ConnectionTypeCreateOrUpdateProperties - Gets or sets the value of the connection type.
	*ConnectionTypeCreateOrUpdateProperties `json:"properties,omitempty"`
}

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

func (*ConnectionTypeCreateOrUpdateParameters) UnmarshalJSON

func (ctcoup *ConnectionTypeCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionTypeCreateOrUpdateParameters struct.

type ConnectionTypeCreateOrUpdateProperties

type ConnectionTypeCreateOrUpdateProperties struct {
	// IsGlobal - Gets or sets a Boolean value to indicate if the connection type is global.
	IsGlobal *bool `json:"isGlobal,omitempty"`
	// FieldDefinitions - Gets or sets the field definitions of the connection type.
	FieldDefinitions map[string]*FieldDefinition `json:"fieldDefinitions"`
}

ConnectionTypeCreateOrUpdateProperties the properties of the create connection type.

func (ConnectionTypeCreateOrUpdateProperties) MarshalJSON

func (ctcoup ConnectionTypeCreateOrUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionTypeCreateOrUpdateProperties.

type ConnectionTypeListResult

type ConnectionTypeListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of connection types.
	Value *[]ConnectionType `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ConnectionTypeListResult the response model for the list connection type operation.

func (ConnectionTypeListResult) IsEmpty

func (ctlr ConnectionTypeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionTypeListResultIterator

type ConnectionTypeListResultIterator struct {
	// contains filtered or unexported fields
}

ConnectionTypeListResultIterator provides access to a complete listing of ConnectionType values.

func (*ConnectionTypeListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConnectionTypeListResultIterator) NotDone

func (iter ConnectionTypeListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConnectionTypeListResultIterator) Response

Response returns the raw server response from the last page request.

func (ConnectionTypeListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConnectionTypeListResultPage

type ConnectionTypeListResultPage struct {
	// contains filtered or unexported fields
}

ConnectionTypeListResultPage contains a page of ConnectionType values.

func (*ConnectionTypeListResultPage) Next

func (page *ConnectionTypeListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConnectionTypeListResultPage) NotDone

func (page ConnectionTypeListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConnectionTypeListResultPage) Response

Response returns the raw server response from the last page request.

func (ConnectionTypeListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ConnectionTypeProperties

type ConnectionTypeProperties struct {
	// IsGlobal - Gets or sets a Boolean value to indicate if the connection type is global.
	IsGlobal *bool `json:"isGlobal,omitempty"`
	// FieldDefinitions - Gets the field definitions of the connection type.
	FieldDefinitions map[string]*FieldDefinition `json:"fieldDefinitions"`
	// CreationTime - Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

ConnectionTypeProperties properties of the connection type.

func (ConnectionTypeProperties) MarshalJSON

func (ctp ConnectionTypeProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionTypeProperties.

type ConnectionUpdateParameters

type ConnectionUpdateParameters struct {
	// Name - Gets or sets the name of the connection.
	Name *string `json:"name,omitempty"`
	// ConnectionUpdateProperties - Gets or sets the properties of the connection.
	*ConnectionUpdateProperties `json:"properties,omitempty"`
}

ConnectionUpdateParameters the parameters supplied to the update connection operation.

func (*ConnectionUpdateParameters) UnmarshalJSON

func (cup *ConnectionUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionUpdateParameters struct.

type ConnectionUpdateProperties

type ConnectionUpdateProperties struct {
	// Description - Gets or sets the description of the connection.
	Description *string `json:"description,omitempty"`
	// FieldDefinitionValues - Gets or sets the field definition values of the connection.
	FieldDefinitionValues map[string]*string `json:"fieldDefinitionValues"`
}

ConnectionUpdateProperties the properties of the update connection operation.

func (ConnectionUpdateProperties) MarshalJSON

func (cup ConnectionUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionUpdateProperties.

type ContentHash

type ContentHash struct {
	// Algorithm - Gets or sets the content hash algorithm used to hash the content.
	Algorithm *string `json:"algorithm,omitempty"`
	// Value - Gets or sets expected hash value of the content.
	Value *string `json:"value,omitempty"`
}

ContentHash definition of the runbook property type.

type ContentLink struct {
	// URI - Gets or sets the uri of the runbook content.
	URI *string `json:"uri,omitempty"`
	// ContentHash - Gets or sets the hash.
	ContentHash *ContentHash `json:"contentHash,omitempty"`
	// Version - Gets or sets the version of the content.
	Version *string `json:"version,omitempty"`
}

ContentLink definition of the content link.

type ContentSource

type ContentSource struct {
	// Hash - Gets or sets the hash.
	Hash *ContentHash `json:"hash,omitempty"`
	// Type - Gets or sets the content source type. Possible values include: 'EmbeddedContent', 'URI'
	Type ContentSourceType `json:"type,omitempty"`
	// Value - Gets or sets the value of the content. This is based on the content source type.
	Value *string `json:"value,omitempty"`
	// Version - Gets or sets the version of the content.
	Version *string `json:"version,omitempty"`
}

ContentSource definition of the content source.

type ContentSourceType

type ContentSourceType string

ContentSourceType enumerates the values for content source type.

const (
	// EmbeddedContent ...
	EmbeddedContent ContentSourceType = "embeddedContent"
	// URI ...
	URI ContentSourceType = "uri"
)

type Credential

type Credential struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets the name of the credential.
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// CredentialProperties - Gets or sets the properties of the credential.
	*CredentialProperties `json:"properties,omitempty"`
}

Credential definition of the credential.

func (*Credential) UnmarshalJSON

func (c *Credential) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Credential struct.

type CredentialClient

type CredentialClient struct {
	BaseClient
}

CredentialClient is the automation Client

func NewCredentialClient

func NewCredentialClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) CredentialClient

NewCredentialClient creates an instance of the CredentialClient client.

func NewCredentialClientWithBaseURI

func NewCredentialClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) CredentialClient

NewCredentialClientWithBaseURI creates an instance of the CredentialClient client.

func (CredentialClient) CreateOrUpdate

func (client CredentialClient) CreateOrUpdate(ctx context.Context, automationAccountName string, credentialName string, parameters CredentialCreateOrUpdateParameters) (result Credential, err error)

CreateOrUpdate create a credential.

automationAccountName is the automation account name. credentialName is the parameters supplied to the create or update credential operation. parameters is the parameters supplied to the create or update credential operation.

func (CredentialClient) CreateOrUpdatePreparer

func (client CredentialClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, credentialName string) (result autorest.Response, err error)

Delete delete the credential.

automationAccountName is the automation account name. credentialName is the name of credential.

func (CredentialClient) DeletePreparer

func (client CredentialClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, credentialName string) (result Credential, err error)

Get retrieve the credential identified by credential name.

automationAccountName is the automation account name. credentialName is the name of credential.

func (CredentialClient) GetPreparer

func (client CredentialClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result CredentialListResultPage, err error)

ListByAutomationAccount retrieve a list of credentials.

automationAccountName is the automation account name.

func (CredentialClient) ListByAutomationAccountComplete

func (client CredentialClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result CredentialListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (CredentialClient) ListByAutomationAccountPreparer

func (client CredentialClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (CredentialClient) ListByAutomationAccountResponder

func (client CredentialClient) ListByAutomationAccountResponder(resp *http.Response) (result CredentialListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (CredentialClient) ListByAutomationAccountSender

func (client CredentialClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

func (CredentialClient) Update

func (client CredentialClient) Update(ctx context.Context, automationAccountName string, credentialName string, parameters CredentialUpdateParameters) (result Credential, err error)

Update update a credential.

automationAccountName is the automation account name. credentialName is the parameters supplied to the Update credential operation. parameters is the parameters supplied to the Update credential operation.

func (CredentialClient) UpdatePreparer

func (client CredentialClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the name of the credential.
	Name *string `json:"name,omitempty"`
	// CredentialCreateOrUpdateProperties - Gets or sets the properties of the credential.
	*CredentialCreateOrUpdateProperties `json:"properties,omitempty"`
}

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

func (*CredentialCreateOrUpdateParameters) UnmarshalJSON

func (ccoup *CredentialCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CredentialCreateOrUpdateParameters struct.

type CredentialCreateOrUpdateProperties

type CredentialCreateOrUpdateProperties struct {
	// UserName - Gets or sets the user name of the credential.
	UserName *string `json:"userName,omitempty"`
	// Password - Gets or sets the password of the credential.
	Password *string `json:"password,omitempty"`
	// Description - Gets or sets the description of the credential.
	Description *string `json:"description,omitempty"`
}

CredentialCreateOrUpdateProperties the properties of the create cerdential operation.

type CredentialListResult

type CredentialListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of credentials.
	Value *[]Credential `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

CredentialListResult the response model for the list credential operation.

func (CredentialListResult) IsEmpty

func (clr CredentialListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CredentialListResultIterator

type CredentialListResultIterator struct {
	// contains filtered or unexported fields
}

CredentialListResultIterator provides access to a complete listing of Credential values.

func (*CredentialListResultIterator) Next

func (iter *CredentialListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CredentialListResultIterator) NotDone

func (iter CredentialListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CredentialListResultIterator) Response

Response returns the raw server response from the last page request.

func (CredentialListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CredentialListResultPage

type CredentialListResultPage struct {
	// contains filtered or unexported fields
}

CredentialListResultPage contains a page of Credential values.

func (*CredentialListResultPage) Next

func (page *CredentialListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CredentialListResultPage) NotDone

func (page CredentialListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CredentialListResultPage) Response

Response returns the raw server response from the last page request.

func (CredentialListResultPage) Values

func (page CredentialListResultPage) Values() []Credential

Values returns the slice of values for the current page or nil if there are no values.

type CredentialProperties

type CredentialProperties struct {
	// UserName - Gets the user name of the credential.
	UserName *string `json:"userName,omitempty"`
	// CreationTime - Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

CredentialProperties definition of the credential properties

type CredentialUpdateParameters

type CredentialUpdateParameters struct {
	// Name - Gets or sets the name of the credential.
	Name *string `json:"name,omitempty"`
	// CredentialUpdateProperties - Gets or sets the properties of the variable.
	*CredentialUpdateProperties `json:"properties,omitempty"`
}

CredentialUpdateParameters the parameters supplied to the Update credential operation.

func (*CredentialUpdateParameters) UnmarshalJSON

func (cup *CredentialUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CredentialUpdateParameters struct.

type CredentialUpdateProperties

type CredentialUpdateProperties struct {
	// UserName - Gets or sets the user name of the credential.
	UserName *string `json:"userName,omitempty"`
	// Password - Gets or sets the password of the credential.
	Password *string `json:"password,omitempty"`
	// Description - Gets or sets the description of the credential.
	Description *string `json:"description,omitempty"`
}

CredentialUpdateProperties the properties of the Update credential

type DscCompilationJob

type DscCompilationJob struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// DscCompilationJobProperties - Gets or sets the properties of the Dsc Compilation job.
	*DscCompilationJobProperties `json:"properties,omitempty"`
}

DscCompilationJob definition of the Dsc Compilation job.

func (*DscCompilationJob) UnmarshalJSON

func (dcj *DscCompilationJob) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscCompilationJob struct.

type DscCompilationJobClient

type DscCompilationJobClient struct {
	BaseClient
}

DscCompilationJobClient is the automation Client

func NewDscCompilationJobClient

func NewDscCompilationJobClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscCompilationJobClient

NewDscCompilationJobClient creates an instance of the DscCompilationJobClient client.

func NewDscCompilationJobClientWithBaseURI

func NewDscCompilationJobClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscCompilationJobClient

NewDscCompilationJobClientWithBaseURI creates an instance of the DscCompilationJobClient client.

func (DscCompilationJobClient) Create

func (client DscCompilationJobClient) Create(ctx context.Context, automationAccountName string, compilationJobID uuid.UUID, parameters DscCompilationJobCreateParameters) (result DscCompilationJob, err error)

Create creates the Dsc compilation job of the configuration.

automationAccountName is the automation account name. compilationJobID is the the DSC configuration Id. parameters is the parameters supplied to the create compilation job operation.

func (DscCompilationJobClient) CreatePreparer

func (client DscCompilationJobClient) CreatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, compilationJobID uuid.UUID) (result DscCompilationJob, err error)

Get retrieve the Dsc configuration compilation job identified by job id.

automationAccountName is the automation account name. compilationJobID is the Dsc configuration compilation job id.

func (DscCompilationJobClient) GetPreparer

func (client DscCompilationJobClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobID uuid.UUID, jobStreamID string) (result JobStream, err error)

GetStream retrieve the job stream identified by job stream id.

automationAccountName is the automation account name. jobID is the job id. jobStreamID is the job stream id.

func (DscCompilationJobClient) GetStreamPreparer

func (client DscCompilationJobClient) GetStreamPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, filter string) (result DscCompilationJobListResultPage, err error)

ListByAutomationAccount retrieve a list of dsc compilation jobs.

automationAccountName is the automation account name. filter is the filter to apply on the operation.

func (DscCompilationJobClient) ListByAutomationAccountComplete

func (client DscCompilationJobClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string, filter string) (result DscCompilationJobListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (DscCompilationJobClient) ListByAutomationAccountPreparer

func (client DscCompilationJobClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string, filter string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscCompilationJobClient) ListByAutomationAccountResponder

func (client DscCompilationJobClient) ListByAutomationAccountResponder(resp *http.Response) (result DscCompilationJobListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (DscCompilationJobClient) ListByAutomationAccountSender

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

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

type DscCompilationJobCreateParameters

type DscCompilationJobCreateParameters struct {
	// DscCompilationJobCreateProperties - Gets or sets the list of compilation job properties.
	*DscCompilationJobCreateProperties `json:"properties,omitempty"`
	// Name - Gets or sets name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

DscCompilationJobCreateParameters the parameters supplied to the create compilation job operation.

func (DscCompilationJobCreateParameters) MarshalJSON

func (dcjcp DscCompilationJobCreateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscCompilationJobCreateParameters.

func (*DscCompilationJobCreateParameters) UnmarshalJSON

func (dcjcp *DscCompilationJobCreateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscCompilationJobCreateParameters struct.

type DscCompilationJobCreateProperties

type DscCompilationJobCreateProperties struct {
	// Configuration - Gets or sets the configuration.
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
	// NewNodeConfigurationBuildVersionRequired - If a new build version of NodeConfiguration is required.
	NewNodeConfigurationBuildVersionRequired *bool `json:"newNodeConfigurationBuildVersionRequired,omitempty"`
}

DscCompilationJobCreateProperties the parameters supplied to the create compilation job operation.

func (DscCompilationJobCreateProperties) MarshalJSON

func (dcjcp DscCompilationJobCreateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscCompilationJobCreateProperties.

type DscCompilationJobListResult

type DscCompilationJobListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of Dsc Compilation jobs.
	Value *[]DscCompilationJob `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

DscCompilationJobListResult the response model for the list job operation.

func (DscCompilationJobListResult) IsEmpty

func (dcjlr DscCompilationJobListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscCompilationJobListResultIterator

type DscCompilationJobListResultIterator struct {
	// contains filtered or unexported fields
}

DscCompilationJobListResultIterator provides access to a complete listing of DscCompilationJob values.

func (*DscCompilationJobListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DscCompilationJobListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DscCompilationJobListResultIterator) Response

Response returns the raw server response from the last page request.

func (DscCompilationJobListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DscCompilationJobListResultPage

type DscCompilationJobListResultPage struct {
	// contains filtered or unexported fields
}

DscCompilationJobListResultPage contains a page of DscCompilationJob values.

func (*DscCompilationJobListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DscCompilationJobListResultPage) NotDone

func (page DscCompilationJobListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DscCompilationJobListResultPage) Response

Response returns the raw server response from the last page request.

func (DscCompilationJobListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DscCompilationJobProperties

type DscCompilationJobProperties struct {
	// Configuration - Gets or sets the configuration.
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	// StartedBy - Gets the compilation job started by.
	StartedBy *string `json:"startedBy,omitempty"`
	// JobID - Gets the id of the job.
	JobID *uuid.UUID `json:"jobId,omitempty"`
	// CreationTime - Gets the creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// Status - Gets or sets the status of the job. Possible values include: 'JobStatusNew', 'JobStatusActivating', 'JobStatusRunning', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusStopped', 'JobStatusBlocked', 'JobStatusSuspended', 'JobStatusDisconnected', 'JobStatusSuspending', 'JobStatusStopping', 'JobStatusResuming', 'JobStatusRemoving'
	Status JobStatus `json:"status,omitempty"`
	// StatusDetails - Gets or sets the status details of the job.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// StartTime - Gets the start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Gets the end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Exception - Gets the exception of the job.
	Exception *string `json:"exception,omitempty"`
	// LastModifiedTime - Gets the last modified time of the job.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastStatusModifiedTime - Gets the last status modified time of the job.
	LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
}

DscCompilationJobProperties definition of Dsc Compilation job properties.

func (DscCompilationJobProperties) MarshalJSON

func (dcjp DscCompilationJobProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscCompilationJobProperties.

type DscConfiguration

type DscConfiguration struct {
	autorest.Response `json:"-"`
	// DscConfigurationProperties - Gets or sets the configuration properties.
	*DscConfigurationProperties `json:"properties,omitempty"`
	// Etag - Gets or sets the etag of the resource.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

DscConfiguration definition of the configuration type.

func (DscConfiguration) MarshalJSON

func (dc DscConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscConfiguration.

func (*DscConfiguration) UnmarshalJSON

func (dc *DscConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscConfiguration struct.

type DscConfigurationAssociationProperty

type DscConfigurationAssociationProperty struct {
	// Name - Gets or sets the name of the Dsc configuration.
	Name *string `json:"name,omitempty"`
}

DscConfigurationAssociationProperty the Dsc configuration property associated with the entity.

type DscConfigurationClient

type DscConfigurationClient struct {
	BaseClient
}

DscConfigurationClient is the automation Client

func NewDscConfigurationClient

func NewDscConfigurationClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscConfigurationClient

NewDscConfigurationClient creates an instance of the DscConfigurationClient client.

func NewDscConfigurationClientWithBaseURI

func NewDscConfigurationClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscConfigurationClient

NewDscConfigurationClientWithBaseURI creates an instance of the DscConfigurationClient client.

func (DscConfigurationClient) CreateOrUpdate

func (client DscConfigurationClient) CreateOrUpdate(ctx context.Context, automationAccountName string, configurationName string, parameters DscConfigurationCreateOrUpdateParameters) (result DscConfiguration, err error)

CreateOrUpdate create the configuration identified by configuration name.

automationAccountName is the automation account name. configurationName is the create or update parameters for configuration. parameters is the create or update parameters for configuration.

func (DscConfigurationClient) CreateOrUpdatePreparer

func (client DscConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, automationAccountName string, configurationName string, parameters DscConfigurationCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DscConfigurationClient) CreateOrUpdateResponder

func (client DscConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscConfiguration, err error)

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

func (DscConfigurationClient) CreateOrUpdateSender

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

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

func (DscConfigurationClient) Delete

func (client DscConfigurationClient) Delete(ctx context.Context, automationAccountName string, configurationName string) (result autorest.Response, err error)

Delete delete the dsc configuration identified by configuration name.

automationAccountName is the automation account name. configurationName is the configuration name.

func (DscConfigurationClient) DeletePreparer

func (client DscConfigurationClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, configurationName string) (result DscConfiguration, err error)

Get retrieve the configuration identified by configuration name.

automationAccountName is the automation account name. configurationName is the configuration name.

func (DscConfigurationClient) GetContent

func (client DscConfigurationClient) GetContent(ctx context.Context, automationAccountName string, configurationName string) (result ReadCloser, err error)

GetContent retrieve the configuration script identified by configuration name.

automationAccountName is the automation account name. configurationName is the configuration name.

func (DscConfigurationClient) GetContentPreparer

func (client DscConfigurationClient) GetContentPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result DscConfigurationListResultPage, err error)

ListByAutomationAccount retrieve a list of configurations.

automationAccountName is the automation account name.

func (DscConfigurationClient) ListByAutomationAccountComplete

func (client DscConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result DscConfigurationListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (DscConfigurationClient) ListByAutomationAccountPreparer

func (client DscConfigurationClient) ListByAutomationAccountPreparer(ctx context.Context, 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 - Gets or sets configuration create or update properties.
	*DscConfigurationCreateOrUpdateProperties `json:"properties,omitempty"`
	// Name - Gets or sets name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

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

func (DscConfigurationCreateOrUpdateParameters) MarshalJSON

func (dccoup DscConfigurationCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscConfigurationCreateOrUpdateParameters.

func (*DscConfigurationCreateOrUpdateParameters) UnmarshalJSON

func (dccoup *DscConfigurationCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscConfigurationCreateOrUpdateParameters struct.

type DscConfigurationCreateOrUpdateProperties

type DscConfigurationCreateOrUpdateProperties struct {
	// LogVerbose - Gets or sets verbose log option.
	LogVerbose *bool `json:"logVerbose,omitempty"`
	// LogProgress - Gets or sets progress log option.
	LogProgress *bool `json:"logProgress,omitempty"`
	// Source - Gets or sets the source.
	Source *ContentSource `json:"source,omitempty"`
	// Parameters - Gets or sets the configuration parameters.
	Parameters map[string]*DscConfigurationParameter `json:"parameters"`
	// Description - Gets or sets the description of the configuration.
	Description *string `json:"description,omitempty"`
}

DscConfigurationCreateOrUpdateProperties the properties to create or update configuration.

func (DscConfigurationCreateOrUpdateProperties) MarshalJSON

func (dccoup DscConfigurationCreateOrUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscConfigurationCreateOrUpdateProperties.

type DscConfigurationListResult

type DscConfigurationListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of configurations.
	Value *[]DscConfiguration `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

DscConfigurationListResult the response model for the list configuration operation.

func (DscConfigurationListResult) IsEmpty

func (dclr DscConfigurationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscConfigurationListResultIterator

type DscConfigurationListResultIterator struct {
	// contains filtered or unexported fields
}

DscConfigurationListResultIterator provides access to a complete listing of DscConfiguration values.

func (*DscConfigurationListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DscConfigurationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DscConfigurationListResultIterator) Response

Response returns the raw server response from the last page request.

func (DscConfigurationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DscConfigurationListResultPage

type DscConfigurationListResultPage struct {
	// contains filtered or unexported fields
}

DscConfigurationListResultPage contains a page of DscConfiguration values.

func (*DscConfigurationListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DscConfigurationListResultPage) NotDone

func (page DscConfigurationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DscConfigurationListResultPage) Response

Response returns the raw server response from the last page request.

func (DscConfigurationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DscConfigurationParameter

type DscConfigurationParameter struct {
	// Type - Gets or sets the type of the parameter.
	Type *string `json:"type,omitempty"`
	// IsMandatory - Gets or sets a Boolean value to indicate whether the parameter is madatory or not.
	IsMandatory *bool `json:"isMandatory,omitempty"`
	// Position - Get or sets the position of the parameter.
	Position *int32 `json:"position,omitempty"`
	// DefaultValue - Gets or sets the default value of parameter.
	DefaultValue *string `json:"defaultValue,omitempty"`
}

DscConfigurationParameter definition of the configuration parameter type.

type DscConfigurationProperties

type DscConfigurationProperties struct {
	// ProvisioningState - Gets or sets the provisioning state of the configuration. Possible values include: 'Succeeded'
	ProvisioningState DscConfigurationProvisioningState `json:"provisioningState,omitempty"`
	// JobCount - Gets or sets the job count of the configuration.
	JobCount *int32 `json:"jobCount,omitempty"`
	// Parameters - Gets or sets the configuration parameters.
	Parameters map[string]*DscConfigurationParameter `json:"parameters"`
	// Source - Gets or sets the source.
	Source *ContentSource `json:"source,omitempty"`
	// State - Gets or sets the state of the configuration. Possible values include: 'DscConfigurationStateNew', 'DscConfigurationStateEdit', 'DscConfigurationStatePublished'
	State DscConfigurationState `json:"state,omitempty"`
	// LogVerbose - Gets or sets verbose log option.
	LogVerbose *bool `json:"logVerbose,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

DscConfigurationProperties definition of the configuration property type.

func (DscConfigurationProperties) MarshalJSON

func (dcp DscConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscConfigurationProperties.

type DscConfigurationProvisioningState

type DscConfigurationProvisioningState string

DscConfigurationProvisioningState enumerates the values for dsc configuration provisioning state.

const (
	// Succeeded ...
	Succeeded DscConfigurationProvisioningState = "Succeeded"
)

type DscConfigurationState

type DscConfigurationState string

DscConfigurationState enumerates the values for dsc configuration state.

const (
	// DscConfigurationStateEdit ...
	DscConfigurationStateEdit DscConfigurationState = "Edit"
	// DscConfigurationStateNew ...
	DscConfigurationStateNew DscConfigurationState = "New"
	// DscConfigurationStatePublished ...
	DscConfigurationStatePublished DscConfigurationState = "Published"
)

type DscMetaConfiguration

type DscMetaConfiguration struct {
	// ConfigurationModeFrequencyMins - Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.
	ConfigurationModeFrequencyMins *int32 `json:"configurationModeFrequencyMins,omitempty"`
	// RebootNodeIfNeeded - Gets or sets the RebootNodeIfNeeded value of the meta configuration.
	RebootNodeIfNeeded *bool `json:"rebootNodeIfNeeded,omitempty"`
	// ConfigurationMode - Gets or sets the ConfigurationMode value of the meta configuration.
	ConfigurationMode *string `json:"configurationMode,omitempty"`
	// ActionAfterReboot - Gets or sets the ActionAfterReboot value of the meta configuration.
	ActionAfterReboot *string `json:"actionAfterReboot,omitempty"`
	// CertificateID - Gets or sets the CertificateId value of the meta configuration.
	CertificateID *string `json:"certificateId,omitempty"`
	// RefreshFrequencyMins - Gets or sets the RefreshFrequencyMins value of the meta configuration.
	RefreshFrequencyMins *int32 `json:"refreshFrequencyMins,omitempty"`
	// AllowModuleOverwrite - Gets or sets the AllowModuleOverwrite value of the meta configuration.
	AllowModuleOverwrite *bool `json:"allowModuleOverwrite,omitempty"`
}

DscMetaConfiguration definition of the DSC Meta Configuration.

type DscNode

type DscNode struct {
	autorest.Response `json:"-"`
	// LastSeen - Gets or sets the last seen time of the node.
	LastSeen *date.Time `json:"lastSeen,omitempty"`
	// RegistrationTime - Gets or sets the registration time of the node.
	RegistrationTime *date.Time `json:"registrationTime,omitempty"`
	// IP - Gets or sets the ip of the node.
	IP *string `json:"ip,omitempty"`
	// AccountID - Gets or sets the account id of the node.
	AccountID *string `json:"accountId,omitempty"`
	// NodeConfiguration - Gets or sets the configuration of the node.
	NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"`
	// Status - Gets or sets the status of the node.
	Status *string `json:"status,omitempty"`
	// NodeID - Gets or sets the node id.
	NodeID *string `json:"nodeId,omitempty"`
	// Etag - Gets or sets the etag of the resource.
	Etag *string `json:"etag,omitempty"`
	// ExtensionHandler - Gets or sets the list of extensionHandler properties for a Node.
	ExtensionHandler *[]DscNodeExtensionHandlerAssociationProperty `json:"extensionHandler,omitempty"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

DscNode definition of the dsc node type.

func (DscNode) MarshalJSON

func (dn DscNode) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscNode.

type DscNodeClient

type DscNodeClient struct {
	BaseClient
}

DscNodeClient is the automation Client

func NewDscNodeClient

func NewDscNodeClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscNodeClient

NewDscNodeClient creates an instance of the DscNodeClient client.

func NewDscNodeClientWithBaseURI

func NewDscNodeClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscNodeClient

NewDscNodeClientWithBaseURI creates an instance of the DscNodeClient client.

func (DscNodeClient) Delete

func (client DscNodeClient) Delete(ctx context.Context, automationAccountName string, nodeID string) (result DscNode, err error)

Delete delete the dsc node identified by node id.

automationAccountName is automation account name. nodeID is the node id.

func (DscNodeClient) DeletePreparer

func (client DscNodeClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, nodeID string) (result DscNode, err error)

Get retrieve the dsc node identified by node id.

automationAccountName is the automation account name. nodeID is the node id.

func (DscNodeClient) GetPreparer

func (client DscNodeClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, filter string) (result DscNodeListResultPage, err error)

ListByAutomationAccount retrieve a list of dsc nodes.

automationAccountName is the automation account name. filter is the filter to apply on the operation.

func (DscNodeClient) ListByAutomationAccountComplete

func (client DscNodeClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string, filter string) (result DscNodeListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (DscNodeClient) ListByAutomationAccountPreparer

func (client DscNodeClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string, filter string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscNodeClient) ListByAutomationAccountResponder

func (client DscNodeClient) ListByAutomationAccountResponder(resp *http.Response) (result DscNodeListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (DscNodeClient) ListByAutomationAccountSender

func (client DscNodeClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

func (DscNodeClient) Update

func (client DscNodeClient) Update(ctx context.Context, automationAccountName string, nodeID string, parameters DscNodeUpdateParameters) (result DscNode, err error)

Update update the dsc node.

automationAccountName is the automation account name. nodeID is parameters supplied to the update dsc node. parameters is parameters supplied to the update dsc node.

func (DscNodeClient) UpdatePreparer

func (client DscNodeClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the node configuration name.
	Name *string `json:"name,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// CreationTime - Gets or sets creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// Configuration - Gets or sets the configuration of the node.
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
}

DscNodeConfiguration definition of the dsc node configuration.

type DscNodeConfigurationAssociationProperty

type DscNodeConfigurationAssociationProperty struct {
	// Name - Gets or sets the name of the dsc nodeconfiguration.
	Name *string `json:"name,omitempty"`
}

DscNodeConfigurationAssociationProperty the dsc nodeconfiguration property associated with the entity.

type DscNodeConfigurationClient

type DscNodeConfigurationClient struct {
	BaseClient
}

DscNodeConfigurationClient is the automation Client

func NewDscNodeConfigurationClient

func NewDscNodeConfigurationClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscNodeConfigurationClient

NewDscNodeConfigurationClient creates an instance of the DscNodeConfigurationClient client.

func NewDscNodeConfigurationClientWithBaseURI

func NewDscNodeConfigurationClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) DscNodeConfigurationClient

NewDscNodeConfigurationClientWithBaseURI creates an instance of the DscNodeConfigurationClient client.

func (DscNodeConfigurationClient) CreateOrUpdate

func (client DscNodeConfigurationClient) CreateOrUpdate(ctx context.Context, automationAccountName string, nodeConfigurationName string, parameters DscNodeConfigurationCreateOrUpdateParameters) (result DscNodeConfiguration, err error)

CreateOrUpdate create the node configuration identified by node configuration name.

automationAccountName is the automation account name. nodeConfigurationName is the create or update parameters for configuration. parameters is the create or update parameters for configuration.

func (DscNodeConfigurationClient) CreateOrUpdatePreparer

func (client DscNodeConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, automationAccountName string, nodeConfigurationName string, parameters DscNodeConfigurationCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DscNodeConfigurationClient) CreateOrUpdateResponder

func (client DscNodeConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscNodeConfiguration, err error)

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

func (DscNodeConfigurationClient) CreateOrUpdateSender

func (client DscNodeConfigurationClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (DscNodeConfigurationClient) Delete

func (client DscNodeConfigurationClient) Delete(ctx context.Context, automationAccountName string, nodeConfigurationName string) (result autorest.Response, err error)

Delete delete the Dsc node configurations by node configuration.

automationAccountName is the automation account name. nodeConfigurationName is the Dsc node configuration name.

func (DscNodeConfigurationClient) DeletePreparer

func (client DscNodeConfigurationClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, nodeConfigurationName string) (result DscNodeConfiguration, err error)

Get retrieve the Dsc node configurations by node configuration.

automationAccountName is the automation account name. nodeConfigurationName is the Dsc node configuration name.

func (DscNodeConfigurationClient) GetPreparer

func (client DscNodeConfigurationClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, filter string) (result DscNodeConfigurationListResultPage, err error)

ListByAutomationAccount retrieve a list of dsc node configurations.

automationAccountName is the automation account name. filter is the filter to apply on the operation.

func (DscNodeConfigurationClient) ListByAutomationAccountComplete

func (client DscNodeConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string, filter string) (result DscNodeConfigurationListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (DscNodeConfigurationClient) ListByAutomationAccountPreparer

func (client DscNodeConfigurationClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string, filter string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscNodeConfigurationClient) ListByAutomationAccountResponder

func (client DscNodeConfigurationClient) ListByAutomationAccountResponder(resp *http.Response) (result DscNodeConfigurationListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (DscNodeConfigurationClient) ListByAutomationAccountSender

func (client DscNodeConfigurationClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

type DscNodeConfigurationCreateOrUpdateParameters

type DscNodeConfigurationCreateOrUpdateParameters struct {
	// Source - Gets or sets the source.
	Source *ContentSource `json:"source,omitempty"`
	// Name - Gets or sets the type of the parameter.
	Name *string `json:"name,omitempty"`
	// Configuration - Gets or sets the configuration of the node.
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	// NewNodeConfigurationBuildVersionRequired - If a new build version of NodeConfiguration is required.
	NewNodeConfigurationBuildVersionRequired *bool `json:"newNodeConfigurationBuildVersionRequired,omitempty"`
}

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

type DscNodeConfigurationListResult

type DscNodeConfigurationListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of Dsc node configurations.
	Value *[]DscNodeConfiguration `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

DscNodeConfigurationListResult the response model for the list job operation.

func (DscNodeConfigurationListResult) IsEmpty

func (dnclr DscNodeConfigurationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscNodeConfigurationListResultIterator

type DscNodeConfigurationListResultIterator struct {
	// contains filtered or unexported fields
}

DscNodeConfigurationListResultIterator provides access to a complete listing of DscNodeConfiguration values.

func (*DscNodeConfigurationListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DscNodeConfigurationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DscNodeConfigurationListResultIterator) Response

Response returns the raw server response from the last page request.

func (DscNodeConfigurationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DscNodeConfigurationListResultPage

type DscNodeConfigurationListResultPage struct {
	// contains filtered or unexported fields
}

DscNodeConfigurationListResultPage contains a page of DscNodeConfiguration values.

func (*DscNodeConfigurationListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DscNodeConfigurationListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DscNodeConfigurationListResultPage) Response

Response returns the raw server response from the last page request.

func (DscNodeConfigurationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DscNodeExtensionHandlerAssociationProperty

type DscNodeExtensionHandlerAssociationProperty struct {
	// Name - Gets or sets the name of the extension handler.
	Name *string `json:"name,omitempty"`
	// Version - Gets or sets the version of the extension handler.
	Version *string `json:"version,omitempty"`
}

DscNodeExtensionHandlerAssociationProperty the dsc extensionHandler property associated with the node

type DscNodeListResult

type DscNodeListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of dsc nodes.
	Value *[]DscNode `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

DscNodeListResult the response model for the list dsc nodes operation.

func (DscNodeListResult) IsEmpty

func (dnlr DscNodeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscNodeListResultIterator

type DscNodeListResultIterator struct {
	// contains filtered or unexported fields
}

DscNodeListResultIterator provides access to a complete listing of DscNode values.

func (*DscNodeListResultIterator) Next

func (iter *DscNodeListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DscNodeListResultIterator) NotDone

func (iter DscNodeListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DscNodeListResultIterator) Response

Response returns the raw server response from the last page request.

func (DscNodeListResultIterator) Value

func (iter DscNodeListResultIterator) Value() DscNode

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DscNodeListResultPage

type DscNodeListResultPage struct {
	// contains filtered or unexported fields
}

DscNodeListResultPage contains a page of DscNode values.

func (*DscNodeListResultPage) Next

func (page *DscNodeListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DscNodeListResultPage) NotDone

func (page DscNodeListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DscNodeListResultPage) Response

func (page DscNodeListResultPage) Response() DscNodeListResult

Response returns the raw server response from the last page request.

func (DscNodeListResultPage) Values

func (page DscNodeListResultPage) Values() []DscNode

Values returns the slice of values for the current page or nil if there are no values.

type DscNodeReport

type DscNodeReport struct {
	autorest.Response `json:"-"`
	// EndTime - Gets or sets the end time of the node report.
	EndTime *date.Time `json:"endTime,omitempty"`
	// LastModifiedTime - Gets or sets the lastModifiedTime of the node report.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// StartTime - Gets or sets the start time of the node report.
	StartTime *date.Time `json:"startTime,omitempty"`
	// Type - Gets or sets the type of the node report.
	Type *string `json:"type,omitempty"`
	// ReportID - Gets or sets the id of the node report.
	ReportID *string `json:"reportId,omitempty"`
	// Status - Gets or sets the status of the node report.
	Status *string `json:"status,omitempty"`
	// RefreshMode - Gets or sets the refreshMode of the node report.
	RefreshMode *string `json:"refreshMode,omitempty"`
	// RebootRequested - Gets or sets the rebootRequested of the node report.
	RebootRequested *string `json:"rebootRequested,omitempty"`
	// ReportFormatVersion - Gets or sets the reportFormatVersion of the node report.
	ReportFormatVersion *string `json:"reportFormatVersion,omitempty"`
	// ConfigurationVersion - Gets or sets the configurationVersion of the node report.
	ConfigurationVersion *string `json:"configurationVersion,omitempty"`
	// ID - Gets or sets the id.
	ID *string `json:"id,omitempty"`
	// Errors - Gets or sets the errors for the node report.
	Errors *[]DscReportError `json:"errors,omitempty"`
	// Resources - Gets or sets the resource for the node report.
	Resources *[]DscReportResource `json:"resources,omitempty"`
	// MetaConfiguration - Gets or sets the metaConfiguration of the node at the time of the report.
	MetaConfiguration *DscMetaConfiguration `json:"metaConfiguration,omitempty"`
	// HostName - Gets or sets the hostname of the node that sent the report.
	HostName *string `json:"hostName,omitempty"`
	// IPV4Addresses - Gets or sets the IPv4 address of the node that sent the report.
	IPV4Addresses *[]string `json:"iPV4Addresses,omitempty"`
	// IPV6Addresses - Gets or sets the IPv6 address of the node that sent the report.
	IPV6Addresses *[]string `json:"iPV6Addresses,omitempty"`
	// NumberOfResources - Gets or sets the number of resource in the node report.
	NumberOfResources *int32 `json:"numberOfResources,omitempty"`
	// RawErrors - Gets or sets the unparsed errors for the node report.
	RawErrors *string `json:"rawErrors,omitempty"`
}

DscNodeReport definition of the dsc node report type.

type DscNodeReportListResult

type DscNodeReportListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of dsc node reports.
	Value *[]DscNodeReport `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

DscNodeReportListResult the response model for the list dsc nodes operation.

func (DscNodeReportListResult) IsEmpty

func (dnrlr DscNodeReportListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscNodeReportListResultIterator

type DscNodeReportListResultIterator struct {
	// contains filtered or unexported fields
}

DscNodeReportListResultIterator provides access to a complete listing of DscNodeReport values.

func (*DscNodeReportListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DscNodeReportListResultIterator) NotDone

func (iter DscNodeReportListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DscNodeReportListResultIterator) Response

Response returns the raw server response from the last page request.

func (DscNodeReportListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DscNodeReportListResultPage

type DscNodeReportListResultPage struct {
	// contains filtered or unexported fields
}

DscNodeReportListResultPage contains a page of DscNodeReport values.

func (*DscNodeReportListResultPage) Next

func (page *DscNodeReportListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DscNodeReportListResultPage) NotDone

func (page DscNodeReportListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DscNodeReportListResultPage) Response

Response returns the raw server response from the last page request.

func (DscNodeReportListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DscNodeUpdateParameters

type DscNodeUpdateParameters struct {
	// NodeID - Gets or sets the id of the dsc node.
	NodeID *string `json:"nodeId,omitempty"`
	// NodeConfiguration - Gets or sets the configuration of the node.
	NodeConfiguration *DscNodeConfigurationAssociationProperty `json:"nodeConfiguration,omitempty"`
}

DscNodeUpdateParameters the parameters supplied to the update dsc node operation.

type DscReportError

type DscReportError struct {
	// ErrorSource - Gets or sets the source of the error.
	ErrorSource *string `json:"errorSource,omitempty"`
	// ResourceID - Gets or sets the resource ID which generated the error.
	ResourceID *string `json:"resourceId,omitempty"`
	// ErrorCode - Gets or sets the error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// ErrorMessage - Gets or sets the error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Locale - Gets or sets the locale of the error.
	Locale *string `json:"locale,omitempty"`
	// ErrorDetails - Gets or sets the error details.
	ErrorDetails *string `json:"errorDetails,omitempty"`
}

DscReportError definition of the dsc node report error type.

type DscReportResource

type DscReportResource struct {
	// ResourceID - Gets or sets the ID of the resource.
	ResourceID *string `json:"resourceId,omitempty"`
	// SourceInfo - Gets or sets the source info of the resource.
	SourceInfo *string `json:"sourceInfo,omitempty"`
	// DependsOn - Gets or sets the Resource Navigation values for resources the resource depends on.
	DependsOn *[]DscReportResourceNavigation `json:"dependsOn,omitempty"`
	// ModuleName - Gets or sets the module name of the resource.
	ModuleName *string `json:"moduleName,omitempty"`
	// ModuleVersion - Gets or sets the module version of the resource.
	ModuleVersion *string `json:"moduleVersion,omitempty"`
	// ResourceName - Gets or sets the name of the resource.
	ResourceName *string `json:"resourceName,omitempty"`
	// Error - Gets or sets the error of the resource.
	Error *string `json:"error,omitempty"`
	// Status - Gets or sets the status of the resource.
	Status *string `json:"status,omitempty"`
	// DurationInSeconds - Gets or sets the duration in seconds for the resource.
	DurationInSeconds *float64 `json:"durationInSeconds,omitempty"`
	// StartDate - Gets or sets the start date of the resource.
	StartDate *date.Time `json:"startDate,omitempty"`
}

DscReportResource definition of the DSC Report Resource.

type DscReportResourceNavigation

type DscReportResourceNavigation struct {
	// ResourceID - Gets or sets the ID of the resource to navigate to.
	ResourceID *string `json:"resourceId,omitempty"`
}

DscReportResourceNavigation navigation for DSC Report Resource.

type ErrorResponse

type ErrorResponse struct {
	// Code - Error code
	Code *string `json:"code,omitempty"`
	// Message - Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
}

ErrorResponse error response of an operation failure

type FieldDefinition

type FieldDefinition struct {
	// IsEncrypted - Gets or sets the isEncrypted flag of the connection field definition.
	IsEncrypted *bool `json:"isEncrypted,omitempty"`
	// IsOptional - Gets or sets the isOptional flag of the connection field definition.
	IsOptional *bool `json:"isOptional,omitempty"`
	// Type - Gets or sets the type of the connection field definition.
	Type *string `json:"type,omitempty"`
}

FieldDefinition definition of the connection fields.

type FieldsClient

type FieldsClient struct {
	BaseClient
}

FieldsClient is the automation Client

func NewFieldsClient

func NewFieldsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) FieldsClient

NewFieldsClient creates an instance of the FieldsClient client.

func NewFieldsClientWithBaseURI

func NewFieldsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) FieldsClient

NewFieldsClientWithBaseURI creates an instance of the FieldsClient client.

func (FieldsClient) ListByType

func (client FieldsClient) ListByType(ctx context.Context, automationAccountName string, moduleName string, typeName string) (result TypeFieldListResult, err error)

ListByType retrieve a list of fields of a given type identified by module name.

automationAccountName is the automation account name. moduleName is the name of module. typeName is the name of type.

func (FieldsClient) ListByTypePreparer

func (client FieldsClient) ListByTypePreparer(ctx context.Context, 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 ...
	Accepted HTTPStatusCode = "Accepted"
	// Ambiguous ...
	Ambiguous HTTPStatusCode = "Ambiguous"
	// BadGateway ...
	BadGateway HTTPStatusCode = "BadGateway"
	// BadRequest ...
	BadRequest HTTPStatusCode = "BadRequest"
	// Conflict ...
	Conflict HTTPStatusCode = "Conflict"
	// Continue ...
	Continue HTTPStatusCode = "Continue"
	// Created ...
	Created HTTPStatusCode = "Created"
	// ExpectationFailed ...
	ExpectationFailed HTTPStatusCode = "ExpectationFailed"
	// Forbidden ...
	Forbidden HTTPStatusCode = "Forbidden"
	// Found ...
	Found HTTPStatusCode = "Found"
	// GatewayTimeout ...
	GatewayTimeout HTTPStatusCode = "GatewayTimeout"
	// Gone ...
	Gone HTTPStatusCode = "Gone"
	// HTTPVersionNotSupported ...
	HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
	// InternalServerError ...
	InternalServerError HTTPStatusCode = "InternalServerError"
	// LengthRequired ...
	LengthRequired HTTPStatusCode = "LengthRequired"
	// MethodNotAllowed ...
	MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
	// Moved ...
	Moved HTTPStatusCode = "Moved"
	// MovedPermanently ...
	MovedPermanently HTTPStatusCode = "MovedPermanently"
	// MultipleChoices ...
	MultipleChoices HTTPStatusCode = "MultipleChoices"
	// NoContent ...
	NoContent HTTPStatusCode = "NoContent"
	// NonAuthoritativeInformation ...
	NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
	// NotAcceptable ...
	NotAcceptable HTTPStatusCode = "NotAcceptable"
	// NotFound ...
	NotFound HTTPStatusCode = "NotFound"
	// NotImplemented ...
	NotImplemented HTTPStatusCode = "NotImplemented"
	// NotModified ...
	NotModified HTTPStatusCode = "NotModified"
	// OK ...
	OK HTTPStatusCode = "OK"
	// PartialContent ...
	PartialContent HTTPStatusCode = "PartialContent"
	// PaymentRequired ...
	PaymentRequired HTTPStatusCode = "PaymentRequired"
	// PreconditionFailed ...
	PreconditionFailed HTTPStatusCode = "PreconditionFailed"
	// ProxyAuthenticationRequired ...
	ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
	// Redirect ...
	Redirect HTTPStatusCode = "Redirect"
	// RedirectKeepVerb ...
	RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb"
	// RedirectMethod ...
	RedirectMethod HTTPStatusCode = "RedirectMethod"
	// RequestedRangeNotSatisfiable ...
	RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
	// RequestEntityTooLarge ...
	RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
	// RequestTimeout ...
	RequestTimeout HTTPStatusCode = "RequestTimeout"
	// RequestURITooLong ...
	RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
	// ResetContent ...
	ResetContent HTTPStatusCode = "ResetContent"
	// SeeOther ...
	SeeOther HTTPStatusCode = "SeeOther"
	// ServiceUnavailable ...
	ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
	// SwitchingProtocols ...
	SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
	// TemporaryRedirect ...
	TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
	// Unauthorized ...
	Unauthorized HTTPStatusCode = "Unauthorized"
	// UnsupportedMediaType ...
	UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
	// Unused ...
	Unused HTTPStatusCode = "Unused"
	// UpgradeRequired ...
	UpgradeRequired HTTPStatusCode = "UpgradeRequired"
	// UseProxy ...
	UseProxy HTTPStatusCode = "UseProxy"
)

type HybridRunbookWorker

type HybridRunbookWorker struct {
	// Name - Gets or sets the worker machine name.
	Name *string `json:"name,omitempty"`
	// IP - Gets or sets the assigned machine IP address.
	IP *string `json:"ip,omitempty"`
	// RegistrationTime - Gets or sets the registration time of the worker machine.
	RegistrationTime *date.Time `json:"registrationTime,omitempty"`
}

HybridRunbookWorker definition of hybrid runbook worker.

type HybridRunbookWorkerGroup

type HybridRunbookWorkerGroup struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the name of the group.
	Name *string `json:"name,omitempty"`
	// HybridRunbookWorkers - Gets or sets the list of hybrid runbook workers.
	HybridRunbookWorkers *[]HybridRunbookWorker `json:"hybridRunbookWorkers,omitempty"`
	// Credential - Sets the credential of a worker group.
	Credential *RunAsCredentialAssociationProperty `json:"credential,omitempty"`
}

HybridRunbookWorkerGroup definition of hybrid runbook worker group.

type HybridRunbookWorkerGroupClient

type HybridRunbookWorkerGroupClient struct {
	BaseClient
}

HybridRunbookWorkerGroupClient is the automation Client

func NewHybridRunbookWorkerGroupClient

func NewHybridRunbookWorkerGroupClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) HybridRunbookWorkerGroupClient

NewHybridRunbookWorkerGroupClient creates an instance of the HybridRunbookWorkerGroupClient client.

func NewHybridRunbookWorkerGroupClientWithBaseURI

func NewHybridRunbookWorkerGroupClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) HybridRunbookWorkerGroupClient

NewHybridRunbookWorkerGroupClientWithBaseURI creates an instance of the HybridRunbookWorkerGroupClient client.

func (HybridRunbookWorkerGroupClient) Delete

func (client HybridRunbookWorkerGroupClient) Delete(ctx context.Context, automationAccountName string, hybridRunbookWorkerGroupName string) (result autorest.Response, err error)

Delete delete a hybrid runbook worker group.

automationAccountName is automation account name. hybridRunbookWorkerGroupName is the hybrid runbook worker group name

func (HybridRunbookWorkerGroupClient) DeletePreparer

func (client HybridRunbookWorkerGroupClient) DeletePreparer(ctx context.Context, automationAccountName string, hybridRunbookWorkerGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (HybridRunbookWorkerGroupClient) DeleteResponder

func (client HybridRunbookWorkerGroupClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (HybridRunbookWorkerGroupClient) DeleteSender

func (client HybridRunbookWorkerGroupClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (HybridRunbookWorkerGroupClient) Get

func (client HybridRunbookWorkerGroupClient) Get(ctx context.Context, automationAccountName string, hybridRunbookWorkerGroupName string) (result HybridRunbookWorkerGroup, err error)

Get retrieve a hybrid runbook worker group.

automationAccountName is the automation account name. hybridRunbookWorkerGroupName is the hybrid runbook worker group name

func (HybridRunbookWorkerGroupClient) GetPreparer

func (client HybridRunbookWorkerGroupClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result HybridRunbookWorkerGroupsListResultPage, err error)

ListByAutomationAccount retrieve a list of hybrid runbook worker groups.

automationAccountName is the automation account name.

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountComplete

func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result HybridRunbookWorkerGroupsListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer

func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountResponder

func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountResponder(resp *http.Response) (result HybridRunbookWorkerGroupsListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountSender

func (client HybridRunbookWorkerGroupClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

func (HybridRunbookWorkerGroupClient) Update

func (client HybridRunbookWorkerGroupClient) Update(ctx context.Context, automationAccountName string, hybridRunbookWorkerGroupName string, parameters HybridRunbookWorkerGroupUpdateParameters) (result HybridRunbookWorkerGroup, err error)

Update update a hybrid runbook worker group.

automationAccountName is the automation account name. hybridRunbookWorkerGroupName is the hybrid runbook worker group name parameters is the hybrid runbook worker group

func (HybridRunbookWorkerGroupClient) UpdatePreparer

func (client HybridRunbookWorkerGroupClient) UpdatePreparer(ctx context.Context, automationAccountName string, hybridRunbookWorkerGroupName string, parameters HybridRunbookWorkerGroupUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (HybridRunbookWorkerGroupClient) UpdateResponder

func (client HybridRunbookWorkerGroupClient) UpdateResponder(resp *http.Response) (result HybridRunbookWorkerGroup, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (HybridRunbookWorkerGroupClient) UpdateSender

func (client HybridRunbookWorkerGroupClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type HybridRunbookWorkerGroupUpdateParameters

type HybridRunbookWorkerGroupUpdateParameters struct {
	// Credential - Sets the credential of a worker group.
	Credential *RunAsCredentialAssociationProperty `json:"credential,omitempty"`
}

HybridRunbookWorkerGroupUpdateParameters parameters supplied to the update operation.

type HybridRunbookWorkerGroupsListResult

type HybridRunbookWorkerGroupsListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of hybrid runbook worker groups.
	Value *[]HybridRunbookWorkerGroup `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

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

func (HybridRunbookWorkerGroupsListResult) IsEmpty

func (hrwglr HybridRunbookWorkerGroupsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HybridRunbookWorkerGroupsListResultIterator

type HybridRunbookWorkerGroupsListResultIterator struct {
	// contains filtered or unexported fields
}

HybridRunbookWorkerGroupsListResultIterator provides access to a complete listing of HybridRunbookWorkerGroup values.

func (*HybridRunbookWorkerGroupsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (HybridRunbookWorkerGroupsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (HybridRunbookWorkerGroupsListResultIterator) Response

Response returns the raw server response from the last page request.

func (HybridRunbookWorkerGroupsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type HybridRunbookWorkerGroupsListResultPage

type HybridRunbookWorkerGroupsListResultPage struct {
	// contains filtered or unexported fields
}

HybridRunbookWorkerGroupsListResultPage contains a page of HybridRunbookWorkerGroup values.

func (*HybridRunbookWorkerGroupsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (HybridRunbookWorkerGroupsListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HybridRunbookWorkerGroupsListResultPage) Response

Response returns the raw server response from the last page request.

func (HybridRunbookWorkerGroupsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type Job

type Job struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
	// JobProperties - Gets or sets the properties of the job.
	*JobProperties `json:"properties,omitempty"`
}

Job definition of the job.

func (*Job) UnmarshalJSON

func (j *Job) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Job struct.

type JobClient

type JobClient struct {
	BaseClient
}

JobClient is the automation Client

func NewJobClient

func NewJobClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) JobClient

NewJobClient creates an instance of the JobClient client.

func NewJobClientWithBaseURI

func NewJobClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) JobClient

NewJobClientWithBaseURI creates an instance of the JobClient client.

func (JobClient) Create

func (client JobClient) Create(ctx context.Context, automationAccountName string, jobID uuid.UUID, parameters JobCreateParameters) (result Job, err error)

Create create a job of the runbook.

automationAccountName is the automation account name. jobID is the job id. parameters is the parameters supplied to the create job operation.

func (JobClient) CreatePreparer

func (client JobClient) CreatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobID uuid.UUID) (result Job, err error)

Get retrieve the job identified by job id.

automationAccountName is the automation account name. jobID is the job id.

func (JobClient) GetOutput

func (client JobClient) GetOutput(ctx context.Context, automationAccountName string, jobID string) (result ReadCloser, err error)

GetOutput retrieve the job output identified by job id.

automationAccountName is the automation account name. jobID is the job id.

func (JobClient) GetOutputPreparer

func (client JobClient) GetOutputPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobID string) (result ReadCloser, err error)

GetRunbookContent retrieve the runbook content of the job identified by job id.

automationAccountName is the automation account name. jobID is the job id.

func (JobClient) GetRunbookContentPreparer

func (client JobClient) GetRunbookContentPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, filter string) (result JobListResultPage, err error)

ListByAutomationAccount retrieve a list of jobs.

automationAccountName is the automation account name. filter is the filter to apply on the operation.

func (JobClient) ListByAutomationAccountComplete

func (client JobClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string, filter string) (result JobListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (JobClient) ListByAutomationAccountPreparer

func (client JobClient) ListByAutomationAccountPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error)

Resume resume the job identified by jobId.

automationAccountName is the automation account name. jobID is the job id.

func (JobClient) ResumePreparer

func (client JobClient) ResumePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error)

Stop stop the job identified by jobId.

automationAccountName is the automation account name. jobID is the job id.

func (JobClient) StopPreparer

func (client JobClient) StopPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobID uuid.UUID) (result autorest.Response, err error)

Suspend suspend the job identified by jobId.

automationAccountName is the automation account name. jobID is the job id.

func (JobClient) SuspendPreparer

func (client JobClient) SuspendPreparer(ctx context.Context, 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 - Gets or sets the list of job properties.
	*JobCreateProperties `json:"properties,omitempty"`
	// Name - Gets or sets name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

JobCreateParameters the parameters supplied to the create job operation.

func (JobCreateParameters) MarshalJSON

func (jcp JobCreateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobCreateParameters.

func (*JobCreateParameters) UnmarshalJSON

func (jcp *JobCreateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobCreateParameters struct.

type JobCreateProperties

type JobCreateProperties struct {
	// Runbook - Gets or sets the runbook.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
	// RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed.
	RunOn *string `json:"runOn,omitempty"`
}

JobCreateProperties the parameters supplied to the create job operation.

func (JobCreateProperties) MarshalJSON

func (jcp JobCreateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobCreateProperties.

type JobListResult

type JobListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of jobs.
	Value *[]Job `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

JobListResult the response model for the list job operation.

func (JobListResult) IsEmpty

func (jlr JobListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobListResultIterator

type JobListResultIterator struct {
	// contains filtered or unexported fields
}

JobListResultIterator provides access to a complete listing of Job values.

func (*JobListResultIterator) Next

func (iter *JobListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (JobListResultIterator) NotDone

func (iter JobListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (JobListResultIterator) Response

func (iter JobListResultIterator) Response() JobListResult

Response returns the raw server response from the last page request.

func (JobListResultIterator) Value

func (iter JobListResultIterator) Value() Job

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type JobListResultPage

type JobListResultPage struct {
	// contains filtered or unexported fields
}

JobListResultPage contains a page of Job values.

func (*JobListResultPage) Next

func (page *JobListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (JobListResultPage) NotDone

func (page JobListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (JobListResultPage) Response

func (page JobListResultPage) Response() JobListResult

Response returns the raw server response from the last page request.

func (JobListResultPage) Values

func (page JobListResultPage) Values() []Job

Values returns the slice of values for the current page or nil if there are no values.

type JobNavigation

type JobNavigation struct {
	// ID - Id of the job associated with the software update configuration run
	ID *string `json:"id,omitempty"`
}

JobNavigation software update configuration machine run job navigation properties.

type JobProperties

type JobProperties struct {
	// Runbook - Gets or sets the runbook.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// StartedBy - Gets or sets the job started by.
	StartedBy *string `json:"startedBy,omitempty"`
	// RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed.
	RunOn *string `json:"runOn,omitempty"`
	// JobID - Gets or sets the id of the job.
	JobID *uuid.UUID `json:"jobId,omitempty"`
	// CreationTime - Gets or sets the creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// Status - Gets or sets the status of the job. Possible values include: 'JobStatusNew', 'JobStatusActivating', 'JobStatusRunning', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusStopped', 'JobStatusBlocked', 'JobStatusSuspended', 'JobStatusDisconnected', 'JobStatusSuspending', 'JobStatusStopping', 'JobStatusResuming', 'JobStatusRemoving'
	Status JobStatus `json:"status,omitempty"`
	// StatusDetails - Gets or sets the status details of the job.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// StartTime - Gets or sets the start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Gets or sets the end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Exception - Gets or sets the exception of the job.
	Exception *string `json:"exception,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time of the job.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastStatusModifiedTime - Gets or sets the last status modified time of the job.
	LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
}

JobProperties definition of job properties.

func (JobProperties) MarshalJSON

func (jp JobProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobProperties.

type JobSchedule

type JobSchedule struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets the name of the variable.
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// JobScheduleProperties - Gets or sets the properties of the job schedule.
	*JobScheduleProperties `json:"properties,omitempty"`
}

JobSchedule definition of the job schedule.

func (*JobSchedule) UnmarshalJSON

func (js *JobSchedule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobSchedule struct.

type JobScheduleClient

type JobScheduleClient struct {
	BaseClient
}

JobScheduleClient is the automation Client

func NewJobScheduleClient

func NewJobScheduleClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) JobScheduleClient

NewJobScheduleClient creates an instance of the JobScheduleClient client.

func NewJobScheduleClientWithBaseURI

func NewJobScheduleClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) JobScheduleClient

NewJobScheduleClientWithBaseURI creates an instance of the JobScheduleClient client.

func (JobScheduleClient) Create

func (client JobScheduleClient) Create(ctx context.Context, automationAccountName string, jobScheduleID uuid.UUID, parameters JobScheduleCreateParameters) (result JobSchedule, err error)

Create create a job schedule.

automationAccountName is the automation account name. jobScheduleID is the job schedule name. parameters is the parameters supplied to the create job schedule operation.

func (JobScheduleClient) CreatePreparer

func (client JobScheduleClient) CreatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobScheduleID uuid.UUID) (result autorest.Response, err error)

Delete delete the job schedule identified by job schedule name.

automationAccountName is the automation account name. jobScheduleID is the job schedule name.

func (JobScheduleClient) DeletePreparer

func (client JobScheduleClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobScheduleID uuid.UUID) (result JobSchedule, err error)

Get retrieve the job schedule identified by job schedule name.

automationAccountName is the automation account name. jobScheduleID is the job schedule name.

func (JobScheduleClient) GetPreparer

func (client JobScheduleClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result JobScheduleListResultPage, err error)

ListByAutomationAccount retrieve a list of job schedules.

automationAccountName is the automation account name.

func (JobScheduleClient) ListByAutomationAccountComplete

func (client JobScheduleClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result JobScheduleListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (JobScheduleClient) ListByAutomationAccountPreparer

func (client JobScheduleClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (JobScheduleClient) ListByAutomationAccountResponder

func (client JobScheduleClient) ListByAutomationAccountResponder(resp *http.Response) (result JobScheduleListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (JobScheduleClient) ListByAutomationAccountSender

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

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

type JobScheduleCreateParameters

type JobScheduleCreateParameters struct {
	// JobScheduleCreateProperties - Gets or sets the list of job schedule properties.
	*JobScheduleCreateProperties `json:"properties,omitempty"`
}

JobScheduleCreateParameters the parameters supplied to the create job schedule operation.

func (*JobScheduleCreateParameters) UnmarshalJSON

func (jscp *JobScheduleCreateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobScheduleCreateParameters struct.

type JobScheduleCreateProperties

type JobScheduleCreateProperties struct {
	// Schedule - Gets or sets the schedule.
	Schedule *ScheduleAssociationProperty `json:"schedule,omitempty"`
	// Runbook - Gets or sets the runbook.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// RunOn - Gets or sets the hybrid worker group that the scheduled job should run on.
	RunOn *string `json:"runOn,omitempty"`
	// Parameters - Gets or sets a list of job properties.
	Parameters map[string]*string `json:"parameters"`
}

JobScheduleCreateProperties the parameters supplied to the create job schedule operation.

func (JobScheduleCreateProperties) MarshalJSON

func (jscp JobScheduleCreateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobScheduleCreateProperties.

type JobScheduleListResult

type JobScheduleListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of job schedules.
	Value *[]JobSchedule `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

JobScheduleListResult the response model for the list job schedule operation.

func (JobScheduleListResult) IsEmpty

func (jslr JobScheduleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobScheduleListResultIterator

type JobScheduleListResultIterator struct {
	// contains filtered or unexported fields
}

JobScheduleListResultIterator provides access to a complete listing of JobSchedule values.

func (*JobScheduleListResultIterator) Next

func (iter *JobScheduleListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (JobScheduleListResultIterator) NotDone

func (iter JobScheduleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (JobScheduleListResultIterator) Response

Response returns the raw server response from the last page request.

func (JobScheduleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type JobScheduleListResultPage

type JobScheduleListResultPage struct {
	// contains filtered or unexported fields
}

JobScheduleListResultPage contains a page of JobSchedule values.

func (*JobScheduleListResultPage) Next

func (page *JobScheduleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (JobScheduleListResultPage) NotDone

func (page JobScheduleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (JobScheduleListResultPage) Response

Response returns the raw server response from the last page request.

func (JobScheduleListResultPage) Values

func (page JobScheduleListResultPage) Values() []JobSchedule

Values returns the slice of values for the current page or nil if there are no values.

type JobScheduleProperties

type JobScheduleProperties struct {
	// JobScheduleID - Gets or sets the id of job schedule.
	JobScheduleID *string `json:"jobScheduleId,omitempty"`
	// Schedule - Gets or sets the schedule.
	Schedule *ScheduleAssociationProperty `json:"schedule,omitempty"`
	// Runbook - Gets or sets the runbook.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// RunOn - Gets or sets the hybrid worker group that the scheduled job should run on.
	RunOn *string `json:"runOn,omitempty"`
	// Parameters - Gets or sets the parameters of the job schedule.
	Parameters map[string]*string `json:"parameters"`
}

JobScheduleProperties definition of job schedule parameters.

func (JobScheduleProperties) MarshalJSON

func (jsp JobScheduleProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobScheduleProperties.

type JobStatus

type JobStatus string

JobStatus enumerates the values for job status.

const (
	// JobStatusActivating ...
	JobStatusActivating JobStatus = "Activating"
	// JobStatusBlocked ...
	JobStatusBlocked JobStatus = "Blocked"
	// JobStatusCompleted ...
	JobStatusCompleted JobStatus = "Completed"
	// JobStatusDisconnected ...
	JobStatusDisconnected JobStatus = "Disconnected"
	// JobStatusFailed ...
	JobStatusFailed JobStatus = "Failed"
	// JobStatusNew ...
	JobStatusNew JobStatus = "New"
	// JobStatusRemoving ...
	JobStatusRemoving JobStatus = "Removing"
	// JobStatusResuming ...
	JobStatusResuming JobStatus = "Resuming"
	// JobStatusRunning ...
	JobStatusRunning JobStatus = "Running"
	// JobStatusStopped ...
	JobStatusStopped JobStatus = "Stopped"
	// JobStatusStopping ...
	JobStatusStopping JobStatus = "Stopping"
	// JobStatusSuspended ...
	JobStatusSuspended JobStatus = "Suspended"
	// JobStatusSuspending ...
	JobStatusSuspending JobStatus = "Suspending"
)

type JobStream

type JobStream struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
	// JobStreamProperties - Gets or sets the id of the job stream.
	*JobStreamProperties `json:"properties,omitempty"`
}

JobStream definition of the job stream.

func (*JobStream) UnmarshalJSON

func (js *JobStream) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobStream struct.

type JobStreamClient

type JobStreamClient struct {
	BaseClient
}

JobStreamClient is the automation Client

func NewJobStreamClient

func NewJobStreamClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) JobStreamClient

NewJobStreamClient creates an instance of the JobStreamClient client.

func NewJobStreamClientWithBaseURI

func NewJobStreamClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) JobStreamClient

NewJobStreamClientWithBaseURI creates an instance of the JobStreamClient client.

func (JobStreamClient) Get

func (client JobStreamClient) Get(ctx context.Context, automationAccountName string, jobID string, jobStreamID string) (result JobStream, err error)

Get retrieve the job stream identified by job stream id.

automationAccountName is the automation account name. jobID is the job id. jobStreamID is the job stream id.

func (JobStreamClient) GetPreparer

func (client JobStreamClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, jobID string, filter string) (result JobStreamListResultPage, err error)

ListByJob retrieve a list of jobs streams identified by job id.

automationAccountName is the automation account name. jobID is the job Id. filter is the filter to apply on the operation.

func (JobStreamClient) ListByJobComplete

func (client JobStreamClient) ListByJobComplete(ctx context.Context, automationAccountName string, jobID string, filter string) (result JobStreamListResultIterator, err error)

ListByJobComplete enumerates all values, automatically crossing page boundaries as required.

func (JobStreamClient) ListByJobPreparer

func (client JobStreamClient) ListByJobPreparer(ctx context.Context, 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 - A list of job streams.
	Value *[]JobStream `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

JobStreamListResult the response model for the list job stream operation.

func (JobStreamListResult) IsEmpty

func (jslr JobStreamListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobStreamListResultIterator

type JobStreamListResultIterator struct {
	// contains filtered or unexported fields
}

JobStreamListResultIterator provides access to a complete listing of JobStream values.

func (*JobStreamListResultIterator) Next

func (iter *JobStreamListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (JobStreamListResultIterator) NotDone

func (iter JobStreamListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (JobStreamListResultIterator) Response

Response returns the raw server response from the last page request.

func (JobStreamListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type JobStreamListResultPage

type JobStreamListResultPage struct {
	// contains filtered or unexported fields
}

JobStreamListResultPage contains a page of JobStream values.

func (*JobStreamListResultPage) Next

func (page *JobStreamListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (JobStreamListResultPage) NotDone

func (page JobStreamListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (JobStreamListResultPage) Response

Response returns the raw server response from the last page request.

func (JobStreamListResultPage) Values

func (page JobStreamListResultPage) Values() []JobStream

Values returns the slice of values for the current page or nil if there are no values.

type JobStreamProperties

type JobStreamProperties struct {
	// JobStreamID - Gets or sets the id of the job stream.
	JobStreamID *string `json:"jobStreamId,omitempty"`
	// Time - Gets or sets the creation time of the job.
	Time *date.Time `json:"time,omitempty"`
	// StreamType - Gets or sets the stream type. Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any'
	StreamType JobStreamType `json:"streamType,omitempty"`
	// StreamText - Gets or sets the stream text.
	StreamText *string `json:"streamText,omitempty"`
	// Summary - Gets or sets the summary.
	Summary *string `json:"summary,omitempty"`
	// Value - Gets or sets the values of the job stream.
	Value map[string]interface{} `json:"value"`
}

JobStreamProperties definition of the job stream.

func (JobStreamProperties) MarshalJSON

func (jsp JobStreamProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobStreamProperties.

type JobStreamType

type JobStreamType string

JobStreamType enumerates the values for job stream type.

const (
	// Any ...
	Any JobStreamType = "Any"
	// Debug ...
	Debug JobStreamType = "Debug"
	// Error ...
	Error JobStreamType = "Error"
	// Output ...
	Output JobStreamType = "Output"
	// Progress ...
	Progress JobStreamType = "Progress"
	// Verbose ...
	Verbose JobStreamType = "Verbose"
	// Warning ...
	Warning JobStreamType = "Warning"
)

type LinuxProperties

type LinuxProperties struct {
	// IncludedPackageClassifications - Update classifications included in the software update configuration. Possible values include: 'Unclassified', 'Critical', 'Security', 'Other'
	IncludedPackageClassifications LinuxUpdateClasses `json:"includedPackageClassifications,omitempty"`
	// ExcludedPackageNameMasks - packages excluded from the software update configuration.
	ExcludedPackageNameMasks *[]string `json:"excludedPackageNameMasks,omitempty"`
}

LinuxProperties linux specific update configuration.

type LinuxUpdateClasses

type LinuxUpdateClasses string

LinuxUpdateClasses enumerates the values for linux update classes.

const (
	// Critical ...
	Critical LinuxUpdateClasses = "Critical"
	// Other ...
	Other LinuxUpdateClasses = "Other"
	// Security ...
	Security LinuxUpdateClasses = "Security"
	// Unclassified ...
	Unclassified LinuxUpdateClasses = "Unclassified"
)

type Module

type Module struct {
	autorest.Response `json:"-"`
	// ModuleProperties - Gets or sets the module properties.
	*ModuleProperties `json:"properties,omitempty"`
	// Etag - Gets or sets the etag of the resource.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Module definition of the module type.

func (Module) MarshalJSON

func (mVar Module) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Module.

func (*Module) UnmarshalJSON

func (mVar *Module) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Module struct.

type ModuleClient

type ModuleClient struct {
	BaseClient
}

ModuleClient is the automation Client

func NewModuleClient

func NewModuleClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ModuleClient

NewModuleClient creates an instance of the ModuleClient client.

func NewModuleClientWithBaseURI

func NewModuleClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ModuleClient

NewModuleClientWithBaseURI creates an instance of the ModuleClient client.

func (ModuleClient) CreateOrUpdate

func (client ModuleClient) CreateOrUpdate(ctx context.Context, automationAccountName string, moduleName string, parameters ModuleCreateOrUpdateParameters) (result Module, err error)

CreateOrUpdate create or Update the module identified by module name.

automationAccountName is the automation account name. moduleName is the name of module. parameters is the create or update parameters for module.

func (ModuleClient) CreateOrUpdatePreparer

func (client ModuleClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, moduleName string) (result autorest.Response, err error)

Delete delete the module by name.

automationAccountName is the automation account name. moduleName is the module name.

func (ModuleClient) DeletePreparer

func (client ModuleClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, moduleName string) (result Module, err error)

Get retrieve the module identified by module name.

automationAccountName is the automation account name. moduleName is the module name.

func (ModuleClient) GetPreparer

func (client ModuleClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result ModuleListResultPage, err error)

ListByAutomationAccount retrieve a list of modules.

automationAccountName is the automation account name.

func (ModuleClient) ListByAutomationAccountComplete

func (client ModuleClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result ModuleListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (ModuleClient) ListByAutomationAccountPreparer

func (client ModuleClient) ListByAutomationAccountPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, moduleName string, parameters ModuleUpdateParameters) (result Module, err error)

Update update the module identified by module name.

automationAccountName is the automation account name. moduleName is the name of module. parameters is the update parameters for module.

func (ModuleClient) UpdatePreparer

func (client ModuleClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the module create properties.
	*ModuleCreateOrUpdateProperties `json:"properties,omitempty"`
	// Name - Gets or sets name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

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

func (ModuleCreateOrUpdateParameters) MarshalJSON

func (mcoup ModuleCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ModuleCreateOrUpdateParameters.

func (*ModuleCreateOrUpdateParameters) UnmarshalJSON

func (mcoup *ModuleCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ModuleCreateOrUpdateParameters struct.

type ModuleCreateOrUpdateProperties

type ModuleCreateOrUpdateProperties struct {
	// ContentLink - Gets or sets the module content link.
	ContentLink *ContentLink `json:"contentLink,omitempty"`
}

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

type ModuleErrorInfo

type ModuleErrorInfo struct {
	// Code - Gets or sets the error code.
	Code *string `json:"code,omitempty"`
	// Message - Gets or sets the error message.
	Message *string `json:"message,omitempty"`
}

ModuleErrorInfo definition of the module error info type.

type ModuleListResult

type ModuleListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of modules.
	Value *[]Module `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ModuleListResult the response model for the list module operation.

func (ModuleListResult) IsEmpty

func (mlr ModuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ModuleListResultIterator

type ModuleListResultIterator struct {
	// contains filtered or unexported fields
}

ModuleListResultIterator provides access to a complete listing of Module values.

func (*ModuleListResultIterator) Next

func (iter *ModuleListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ModuleListResultIterator) NotDone

func (iter ModuleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ModuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (ModuleListResultIterator) Value

func (iter ModuleListResultIterator) Value() Module

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ModuleListResultPage

type ModuleListResultPage struct {
	// contains filtered or unexported fields
}

ModuleListResultPage contains a page of Module values.

func (*ModuleListResultPage) Next

func (page *ModuleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ModuleListResultPage) NotDone

func (page ModuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ModuleListResultPage) Response

func (page ModuleListResultPage) Response() ModuleListResult

Response returns the raw server response from the last page request.

func (ModuleListResultPage) Values

func (page ModuleListResultPage) Values() []Module

Values returns the slice of values for the current page or nil if there are no values.

type ModuleProperties

type ModuleProperties struct {
	// IsGlobal - Gets or sets the isGlobal flag of the module.
	IsGlobal *bool `json:"isGlobal,omitempty"`
	// Version - Gets or sets the version of the module.
	Version *string `json:"version,omitempty"`
	// SizeInBytes - Gets or sets the size in bytes of the module.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// ActivityCount - Gets or sets the activity count of the module.
	ActivityCount *int32 `json:"activityCount,omitempty"`
	// ProvisioningState - Gets or sets the provisioning state of the module. Possible values include: 'ModuleProvisioningStateCreated', 'ModuleProvisioningStateCreating', 'ModuleProvisioningStateStartingImportModuleRunbook', 'ModuleProvisioningStateRunningImportModuleRunbook', 'ModuleProvisioningStateContentRetrieved', 'ModuleProvisioningStateContentDownloaded', 'ModuleProvisioningStateContentValidated', 'ModuleProvisioningStateConnectionTypeImported', 'ModuleProvisioningStateContentStored', 'ModuleProvisioningStateModuleDataStored', 'ModuleProvisioningStateActivitiesStored', 'ModuleProvisioningStateModuleImportRunbookComplete', 'ModuleProvisioningStateSucceeded', 'ModuleProvisioningStateFailed', 'ModuleProvisioningStateCancelled', 'ModuleProvisioningStateUpdating'
	ProvisioningState ModuleProvisioningState `json:"provisioningState,omitempty"`
	// ContentLink - Gets or sets the contentLink of the module.
	ContentLink *ContentLink `json:"contentLink,omitempty"`
	// Error - Gets or sets the error info of the module.
	Error *ModuleErrorInfo `json:"error,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

ModuleProperties definition of the module property type.

type ModuleProvisioningState

type ModuleProvisioningState string

ModuleProvisioningState enumerates the values for module provisioning state.

const (
	// ModuleProvisioningStateActivitiesStored ...
	ModuleProvisioningStateActivitiesStored ModuleProvisioningState = "ActivitiesStored"
	// ModuleProvisioningStateCancelled ...
	ModuleProvisioningStateCancelled ModuleProvisioningState = "Cancelled"
	// ModuleProvisioningStateConnectionTypeImported ...
	ModuleProvisioningStateConnectionTypeImported ModuleProvisioningState = "ConnectionTypeImported"
	// ModuleProvisioningStateContentDownloaded ...
	ModuleProvisioningStateContentDownloaded ModuleProvisioningState = "ContentDownloaded"
	// ModuleProvisioningStateContentRetrieved ...
	ModuleProvisioningStateContentRetrieved ModuleProvisioningState = "ContentRetrieved"
	// ModuleProvisioningStateContentStored ...
	ModuleProvisioningStateContentStored ModuleProvisioningState = "ContentStored"
	// ModuleProvisioningStateContentValidated ...
	ModuleProvisioningStateContentValidated ModuleProvisioningState = "ContentValidated"
	// ModuleProvisioningStateCreated ...
	ModuleProvisioningStateCreated ModuleProvisioningState = "Created"
	// ModuleProvisioningStateCreating ...
	ModuleProvisioningStateCreating ModuleProvisioningState = "Creating"
	// ModuleProvisioningStateFailed ...
	ModuleProvisioningStateFailed ModuleProvisioningState = "Failed"
	// ModuleProvisioningStateModuleDataStored ...
	ModuleProvisioningStateModuleDataStored ModuleProvisioningState = "ModuleDataStored"
	// ModuleProvisioningStateModuleImportRunbookComplete ...
	ModuleProvisioningStateModuleImportRunbookComplete ModuleProvisioningState = "ModuleImportRunbookComplete"
	// ModuleProvisioningStateRunningImportModuleRunbook ...
	ModuleProvisioningStateRunningImportModuleRunbook ModuleProvisioningState = "RunningImportModuleRunbook"
	// ModuleProvisioningStateStartingImportModuleRunbook ...
	ModuleProvisioningStateStartingImportModuleRunbook ModuleProvisioningState = "StartingImportModuleRunbook"
	// ModuleProvisioningStateSucceeded ...
	ModuleProvisioningStateSucceeded ModuleProvisioningState = "Succeeded"
	// ModuleProvisioningStateUpdating ...
	ModuleProvisioningStateUpdating ModuleProvisioningState = "Updating"
)

type ModuleUpdateParameters

type ModuleUpdateParameters struct {
	// ModuleUpdateProperties - Gets or sets the module update properties.
	*ModuleUpdateProperties `json:"properties,omitempty"`
	// Name - Gets or sets name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

ModuleUpdateParameters the parameters supplied to the update module operation.

func (ModuleUpdateParameters) MarshalJSON

func (mup ModuleUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ModuleUpdateParameters.

func (*ModuleUpdateParameters) UnmarshalJSON

func (mup *ModuleUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ModuleUpdateParameters struct.

type ModuleUpdateProperties

type ModuleUpdateProperties struct {
	// ContentLink - Gets or sets the module content link.
	ContentLink *ContentLink `json:"contentLink,omitempty"`
}

ModuleUpdateProperties the parameters supplied to the update properties.

type NodeReportsClient

type NodeReportsClient struct {
	BaseClient
}

NodeReportsClient is the automation Client

func NewNodeReportsClient

func NewNodeReportsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) NodeReportsClient

NewNodeReportsClient creates an instance of the NodeReportsClient client.

func NewNodeReportsClientWithBaseURI

func NewNodeReportsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) NodeReportsClient

NewNodeReportsClientWithBaseURI creates an instance of the NodeReportsClient client.

func (NodeReportsClient) Get

func (client NodeReportsClient) Get(ctx context.Context, automationAccountName string, nodeID string, reportID string) (result DscNodeReport, err error)

Get retrieve the Dsc node report data by node id and report id.

automationAccountName is the automation account name. nodeID is the Dsc node id. reportID is the report id.

func (NodeReportsClient) GetContent

func (client NodeReportsClient) GetContent(ctx context.Context, automationAccountName string, nodeID string, reportID string) (result ReadCloser, err error)

GetContent retrieve the Dsc node reports by node id and report id.

automationAccountName is the automation account name. nodeID is the Dsc node id. reportID is the report id.

func (NodeReportsClient) GetContentPreparer

func (client NodeReportsClient) GetContentPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, automationAccountName string, nodeID string, filter string) (result DscNodeReportListResultPage, err error)

ListByNode retrieve the Dsc node report list by node id.

automationAccountName is the automation account name. nodeID is the parameters supplied to the list operation. filter is the filter to apply on the operation.

func (NodeReportsClient) ListByNodeComplete

func (client NodeReportsClient) ListByNodeComplete(ctx context.Context, automationAccountName string, nodeID string, filter string) (result DscNodeReportListResultIterator, err error)

ListByNodeComplete enumerates all values, automatically crossing page boundaries as required.

func (NodeReportsClient) ListByNodePreparer

func (client NodeReportsClient) ListByNodePreparer(ctx context.Context, 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 {
	BaseClient
}

ObjectDataTypesClient is the automation Client

func NewObjectDataTypesClient

func NewObjectDataTypesClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ObjectDataTypesClient

NewObjectDataTypesClient creates an instance of the ObjectDataTypesClient client.

func NewObjectDataTypesClientWithBaseURI

func NewObjectDataTypesClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ObjectDataTypesClient

NewObjectDataTypesClientWithBaseURI creates an instance of the ObjectDataTypesClient client.

func (ObjectDataTypesClient) ListFieldsByModuleAndType

func (client ObjectDataTypesClient) ListFieldsByModuleAndType(ctx context.Context, automationAccountName string, moduleName string, typeName string) (result TypeFieldListResult, err error)

ListFieldsByModuleAndType retrieve a list of fields of a given type identified by module name.

automationAccountName is the automation account name. moduleName is the name of module. typeName is the name of type.

func (ObjectDataTypesClient) ListFieldsByModuleAndTypePreparer

func (client ObjectDataTypesClient) ListFieldsByModuleAndTypePreparer(ctx context.Context, automationAccountName string, moduleName string, typeName string) (*http.Request, error)

ListFieldsByModuleAndTypePreparer prepares the ListFieldsByModuleAndType request.

func (ObjectDataTypesClient) ListFieldsByModuleAndTypeResponder

func (client ObjectDataTypesClient) ListFieldsByModuleAndTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)

ListFieldsByModuleAndTypeResponder handles the response to the ListFieldsByModuleAndType request. The method always closes the http.Response Body.

func (ObjectDataTypesClient) ListFieldsByModuleAndTypeSender

func (client ObjectDataTypesClient) ListFieldsByModuleAndTypeSender(req *http.Request) (*http.Response, error)

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

func (ObjectDataTypesClient) ListFieldsByType

func (client ObjectDataTypesClient) ListFieldsByType(ctx context.Context, automationAccountName string, typeName string) (result TypeFieldListResult, err error)

ListFieldsByType retrieve a list of fields of a given type across all accessible modules.

automationAccountName is the automation account name. typeName is the name of type.

func (ObjectDataTypesClient) ListFieldsByTypePreparer

func (client ObjectDataTypesClient) ListFieldsByTypePreparer(ctx context.Context, 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 OperatingSystemType

type OperatingSystemType string

OperatingSystemType enumerates the values for operating system type.

const (
	// Linux ...
	Linux OperatingSystemType = "Linux"
	// Windows ...
	Windows OperatingSystemType = "Windows"
)

type Operation

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - Provider, Resource and Operation values
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation automation REST API operation

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.Automation
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Runbooks, Jobs etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay provider, Resource and Operation values

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Automation operations supported by the Automation resource provider.
	Value *[]Operation `json:"value,omitempty"`
}

OperationListResult the response model for the list of Automation operations

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the automation Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists all of the available Automation REST API operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*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 ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Completed ...
	Completed ProvisioningState = "Completed"
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Running ...
	Running ProvisioningState = "Running"
)

type ReadCloser

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

ReadCloser ...

type Resource

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

Resource the Resource definition.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type RunAsCredentialAssociationProperty

type RunAsCredentialAssociationProperty struct {
	// Name - Gets or sets the name of the credential.
	Name *string `json:"name,omitempty"`
}

RunAsCredentialAssociationProperty definition of runas credential to use for hybrid worker.

type Runbook

type Runbook struct {
	autorest.Response `json:"-"`
	// RunbookProperties - Gets or sets the runbook properties.
	*RunbookProperties `json:"properties,omitempty"`
	// Etag - Gets or sets the etag of the resource.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Runbook definition of the runbook type.

func (Runbook) MarshalJSON

func (r Runbook) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Runbook.

func (*Runbook) UnmarshalJSON

func (r *Runbook) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Runbook struct.

type RunbookAssociationProperty

type RunbookAssociationProperty struct {
	// Name - Gets or sets the name of the runbook.
	Name *string `json:"name,omitempty"`
}

RunbookAssociationProperty the runbook property associated with the entity.

type RunbookClient

type RunbookClient struct {
	BaseClient
}

RunbookClient is the automation Client

func NewRunbookClient

func NewRunbookClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) RunbookClient

NewRunbookClient creates an instance of the RunbookClient client.

func NewRunbookClientWithBaseURI

func NewRunbookClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) RunbookClient

NewRunbookClientWithBaseURI creates an instance of the RunbookClient client.

func (RunbookClient) CreateOrUpdate

func (client RunbookClient) CreateOrUpdate(ctx context.Context, automationAccountName string, runbookName string, parameters RunbookCreateOrUpdateParameters) (result autorest.Response, err error)

CreateOrUpdate create the runbook identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name. parameters is the create or update parameters for runbook. Provide either content link for a published runbook or draft, not both.

func (RunbookClient) CreateOrUpdatePreparer

func (client RunbookClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string) (result autorest.Response, err error)

Delete delete the runbook by name.

automationAccountName is the automation account name. runbookName is the runbook name.

func (RunbookClient) DeletePreparer

func (client RunbookClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string) (result Runbook, err error)

Get retrieve the runbook identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name.

func (RunbookClient) GetContent

func (client RunbookClient) GetContent(ctx context.Context, automationAccountName string, runbookName string) (result ReadCloser, err error)

GetContent retrieve the content of runbook identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name.

func (RunbookClient) GetContentPreparer

func (client RunbookClient) GetContentPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result RunbookListResultPage, err error)

ListByAutomationAccount retrieve a list of runbooks.

automationAccountName is the automation account name.

func (RunbookClient) ListByAutomationAccountComplete

func (client RunbookClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result RunbookListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (RunbookClient) ListByAutomationAccountPreparer

func (client RunbookClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (RunbookClient) ListByAutomationAccountResponder

func (client RunbookClient) ListByAutomationAccountResponder(resp *http.Response) (result RunbookListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (RunbookClient) ListByAutomationAccountSender

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

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

func (RunbookClient) Update

func (client RunbookClient) Update(ctx context.Context, automationAccountName string, runbookName string, parameters RunbookUpdateParameters) (result Runbook, err error)

Update update the runbook identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name. parameters is the update parameters for runbook.

func (RunbookClient) UpdatePreparer

func (client RunbookClient) UpdatePreparer(ctx context.Context, 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 RunbookCreateOrUpdateDraftParameters

type RunbookCreateOrUpdateDraftParameters struct {
	// RunbookContent - Content of the Runbook.
	RunbookContent *string `json:"runbookContent,omitempty"`
}

RunbookCreateOrUpdateDraftParameters the parameters supplied to the create or update runbook operation.

type RunbookCreateOrUpdateDraftProperties

type RunbookCreateOrUpdateDraftProperties struct {
	// LogVerbose - Gets or sets verbose log option.
	LogVerbose *bool `json:"logVerbose,omitempty"`
	// LogProgress - Gets or sets progress log option.
	LogProgress *bool `json:"logProgress,omitempty"`
	// RunbookType - Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell'
	RunbookType RunbookTypeEnum `json:"runbookType,omitempty"`
	// Draft - Gets or sets the draft runbook properties.
	Draft *RunbookDraft `json:"draft,omitempty"`
	// Description - Gets or sets the description of the runbook.
	Description *string `json:"description,omitempty"`
	// LogActivityTrace - Gets or sets the activity-level tracing options of the runbook.
	LogActivityTrace *int32 `json:"logActivityTrace,omitempty"`
}

RunbookCreateOrUpdateDraftProperties the parameters supplied to the create or update dratft runbook properties.

type RunbookCreateOrUpdateParameters

type RunbookCreateOrUpdateParameters struct {
	// RunbookCreateOrUpdateProperties - Gets or sets runbook create or update properties.
	*RunbookCreateOrUpdateProperties `json:"properties,omitempty"`
	// Name - Gets or sets the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

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

func (RunbookCreateOrUpdateParameters) MarshalJSON

func (rcoup RunbookCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RunbookCreateOrUpdateParameters.

func (*RunbookCreateOrUpdateParameters) UnmarshalJSON

func (rcoup *RunbookCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RunbookCreateOrUpdateParameters struct.

type RunbookCreateOrUpdateProperties

type RunbookCreateOrUpdateProperties struct {
	// LogVerbose - Gets or sets verbose log option.
	LogVerbose *bool `json:"logVerbose,omitempty"`
	// LogProgress - Gets or sets progress log option.
	LogProgress *bool `json:"logProgress,omitempty"`
	// RunbookType - Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell'
	RunbookType RunbookTypeEnum `json:"runbookType,omitempty"`
	// Draft - Gets or sets the draft runbook properties.
	Draft *RunbookDraft `json:"draft,omitempty"`
	// PublishContentLink - Gets or sets the published runbook content link.
	PublishContentLink *ContentLink `json:"publishContentLink,omitempty"`
	// Description - Gets or sets the description of the runbook.
	Description *string `json:"description,omitempty"`
	// LogActivityTrace - Gets or sets the activity-level tracing options of the runbook.
	LogActivityTrace *int32 `json:"logActivityTrace,omitempty"`
}

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

type RunbookDraft

type RunbookDraft struct {
	autorest.Response `json:"-"`
	// InEdit - Gets or sets whether runbook is in edit mode.
	InEdit *bool `json:"inEdit,omitempty"`
	// DraftContentLink - Gets or sets the draft runbook content link.
	DraftContentLink *ContentLink `json:"draftContentLink,omitempty"`
	// CreationTime - Gets or sets the creation time of the runbook draft.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time of the runbook draft.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Parameters - Gets or sets the runbook draft parameters.
	Parameters map[string]*RunbookParameter `json:"parameters"`
	// OutputTypes - Gets or sets the runbook output types.
	OutputTypes *[]string `json:"outputTypes,omitempty"`
}

RunbookDraft definition of the runbook type.

func (RunbookDraft) MarshalJSON

func (rd RunbookDraft) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RunbookDraft.

type RunbookDraftClient

type RunbookDraftClient struct {
	BaseClient
}

RunbookDraftClient is the automation Client

func NewRunbookDraftClient

func NewRunbookDraftClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) RunbookDraftClient

NewRunbookDraftClient creates an instance of the RunbookDraftClient client.

func NewRunbookDraftClientWithBaseURI

func NewRunbookDraftClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) RunbookDraftClient

NewRunbookDraftClientWithBaseURI creates an instance of the RunbookDraftClient client.

func (RunbookDraftClient) CreateOrUpdate

func (client RunbookDraftClient) CreateOrUpdate(ctx context.Context, automationAccountName string, runbookName string, runbookContent io.ReadCloser) (result RunbookDraftCreateOrUpdateFuture, err error)

CreateOrUpdate updates the runbook draft with runbookStream as its content.

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(ctx context.Context, automationAccountName string, runbookName string, runbookContent io.ReadCloser) (*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) (future RunbookDraftCreateOrUpdateFuture, err 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(ctx context.Context, automationAccountName string, runbookName string) (result RunbookDraft, err error)

Get retrieve the runbook draft identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name.

func (RunbookDraftClient) GetContent

func (client RunbookDraftClient) GetContent(ctx context.Context, automationAccountName string, runbookName string) (result ReadCloser, err error)

GetContent retrieve the content of runbook draft identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name.

func (RunbookDraftClient) GetContentPreparer

func (client RunbookDraftClient) GetContentPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string) (result RunbookDraftPublishFuture, err error)

Publish publish runbook draft.

automationAccountName is the automation account name. runbookName is the parameters supplied to the publish runbook operation.

func (RunbookDraftClient) PublishPreparer

func (client RunbookDraftClient) PublishPreparer(ctx context.Context, automationAccountName string, runbookName string) (*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) (future RunbookDraftPublishFuture, err 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(ctx context.Context, automationAccountName string, runbookName string) (result RunbookDraftUndoEditResult, err error)

UndoEdit retrieve the runbook identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name.

func (RunbookDraftClient) UndoEditPreparer

func (client RunbookDraftClient) UndoEditPreparer(ctx context.Context, 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 RunbookDraftCreateOrUpdateFuture

type RunbookDraftCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

RunbookDraftCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (RunbookDraftCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RunbookDraftPublishFuture

type RunbookDraftPublishFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

RunbookDraftPublishFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (RunbookDraftPublishFuture) Result

func (future RunbookDraftPublishFuture) Result(client RunbookDraftClient) (r Runbook, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RunbookDraftUndoEditResult

type RunbookDraftUndoEditResult struct {
	autorest.Response `json:"-"`
	// StatusCode - Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestURITooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HTTPVersionNotSupported'
	StatusCode HTTPStatusCode `json:"statusCode,omitempty"`
	RequestID  *string        `json:"requestId,omitempty"`
}

RunbookDraftUndoEditResult the response model for the undoedit runbook operation.

type RunbookListResult

type RunbookListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of runbooks.
	Value *[]Runbook `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

RunbookListResult the response model for the list runbook operation.

func (RunbookListResult) IsEmpty

func (rlr RunbookListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RunbookListResultIterator

type RunbookListResultIterator struct {
	// contains filtered or unexported fields
}

RunbookListResultIterator provides access to a complete listing of Runbook values.

func (*RunbookListResultIterator) Next

func (iter *RunbookListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RunbookListResultIterator) NotDone

func (iter RunbookListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RunbookListResultIterator) Response

Response returns the raw server response from the last page request.

func (RunbookListResultIterator) Value

func (iter RunbookListResultIterator) Value() Runbook

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RunbookListResultPage

type RunbookListResultPage struct {
	// contains filtered or unexported fields
}

RunbookListResultPage contains a page of Runbook values.

func (*RunbookListResultPage) Next

func (page *RunbookListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RunbookListResultPage) NotDone

func (page RunbookListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RunbookListResultPage) Response

func (page RunbookListResultPage) Response() RunbookListResult

Response returns the raw server response from the last page request.

func (RunbookListResultPage) Values

func (page RunbookListResultPage) Values() []Runbook

Values returns the slice of values for the current page or nil if there are no values.

type RunbookParameter

type RunbookParameter struct {
	// Type - Gets or sets the type of the parameter.
	Type *string `json:"type,omitempty"`
	// IsMandatory - Gets or sets a Boolean value to indicate whether the parameter is madatory or not.
	IsMandatory *bool `json:"isMandatory,omitempty"`
	// Position - Get or sets the position of the parameter.
	Position *int32 `json:"position,omitempty"`
	// DefaultValue - Gets or sets the default value of parameter.
	DefaultValue *string `json:"defaultValue,omitempty"`
}

RunbookParameter definition of the runbook parameter type.

type RunbookProperties

type RunbookProperties struct {
	// RunbookType - Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell'
	RunbookType RunbookTypeEnum `json:"runbookType,omitempty"`
	// PublishContentLink - Gets or sets the published runbook content link.
	PublishContentLink *ContentLink `json:"publishContentLink,omitempty"`
	// State - Gets or sets the state of the runbook. Possible values include: 'RunbookStateNew', 'RunbookStateEdit', 'RunbookStatePublished'
	State RunbookState `json:"state,omitempty"`
	// LogVerbose - Gets or sets verbose log option.
	LogVerbose *bool `json:"logVerbose,omitempty"`
	// LogProgress - Gets or sets progress log option.
	LogProgress *bool `json:"logProgress,omitempty"`
	// LogActivityTrace - Gets or sets the option to log activity trace of the runbook.
	LogActivityTrace *int32 `json:"logActivityTrace,omitempty"`
	// JobCount - Gets or sets the job count of the runbook.
	JobCount *int32 `json:"jobCount,omitempty"`
	// Parameters - Gets or sets the runbook parameters.
	Parameters map[string]*RunbookParameter `json:"parameters"`
	// OutputTypes - Gets or sets the runbook output types.
	OutputTypes *[]string `json:"outputTypes,omitempty"`
	// Draft - Gets or sets the draft runbook properties.
	Draft *RunbookDraft `json:"draft,omitempty"`
	// ProvisioningState - Gets or sets the provisioning state of the runbook. Possible values include: 'RunbookProvisioningStateSucceeded'
	ProvisioningState RunbookProvisioningState `json:"provisioningState,omitempty"`
	// LastModifiedBy - Gets or sets the last modified by.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

RunbookProperties definition of the runbook property type.

func (RunbookProperties) MarshalJSON

func (rp RunbookProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RunbookProperties.

type RunbookProvisioningState

type RunbookProvisioningState string

RunbookProvisioningState enumerates the values for runbook provisioning state.

const (
	// RunbookProvisioningStateSucceeded ...
	RunbookProvisioningStateSucceeded RunbookProvisioningState = "Succeeded"
)

type RunbookState

type RunbookState string

RunbookState enumerates the values for runbook state.

const (
	// RunbookStateEdit ...
	RunbookStateEdit RunbookState = "Edit"
	// RunbookStateNew ...
	RunbookStateNew RunbookState = "New"
	// RunbookStatePublished ...
	RunbookStatePublished RunbookState = "Published"
)

type RunbookTypeEnum

type RunbookTypeEnum string

RunbookTypeEnum enumerates the values for runbook type enum.

const (
	// Graph ...
	Graph RunbookTypeEnum = "Graph"
	// GraphPowerShell ...
	GraphPowerShell RunbookTypeEnum = "GraphPowerShell"
	// GraphPowerShellWorkflow ...
	GraphPowerShellWorkflow RunbookTypeEnum = "GraphPowerShellWorkflow"
	// PowerShell ...
	PowerShell RunbookTypeEnum = "PowerShell"
	// PowerShellWorkflow ...
	PowerShellWorkflow RunbookTypeEnum = "PowerShellWorkflow"
	// Script ...
	Script RunbookTypeEnum = "Script"
)

type RunbookUpdateParameters

type RunbookUpdateParameters struct {
	// RunbookUpdateProperties - Gets or sets the runbook update properties.
	*RunbookUpdateProperties `json:"properties,omitempty"`
	// Name - Gets or sets the name of the resource.
	Name *string `json:"name,omitempty"`
	// Location - Gets or sets the location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the tags attached to the resource.
	Tags map[string]*string `json:"tags"`
}

RunbookUpdateParameters the parameters supplied to the update runbook operation.

func (RunbookUpdateParameters) MarshalJSON

func (rup RunbookUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RunbookUpdateParameters.

func (*RunbookUpdateParameters) UnmarshalJSON

func (rup *RunbookUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RunbookUpdateParameters struct.

type RunbookUpdateProperties

type RunbookUpdateProperties struct {
	// Description - Gets or sets the description of the runbook.
	Description *string `json:"description,omitempty"`
	// LogVerbose - Gets or sets verbose log option.
	LogVerbose *bool `json:"logVerbose,omitempty"`
	// LogProgress - Gets or sets progress log option.
	LogProgress *bool `json:"logProgress,omitempty"`
	// LogActivityTrace - Gets or sets the activity-level tracing options of the runbook.
	LogActivityTrace *int32 `json:"logActivityTrace,omitempty"`
}

RunbookUpdateProperties the parameters supplied to the update runbook properties.

type Schedule

type Schedule struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets name of the schedule.
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// ScheduleProperties - Gets or sets the properties of the schedule.
	*ScheduleProperties `json:"properties,omitempty"`
}

Schedule definition of the schedule.

func (*Schedule) UnmarshalJSON

func (s *Schedule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Schedule struct.

type ScheduleAssociationProperty

type ScheduleAssociationProperty struct {
	// Name - Gets or sets the name of the schedule.
	Name *string `json:"name,omitempty"`
}

ScheduleAssociationProperty the schedule property associated with the entity.

type ScheduleClient

type ScheduleClient struct {
	BaseClient
}

ScheduleClient is the automation Client

func NewScheduleClient

func NewScheduleClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ScheduleClient

NewScheduleClient creates an instance of the ScheduleClient client.

func NewScheduleClientWithBaseURI

func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) ScheduleClient

NewScheduleClientWithBaseURI creates an instance of the ScheduleClient client.

func (ScheduleClient) CreateOrUpdate

func (client ScheduleClient) CreateOrUpdate(ctx context.Context, automationAccountName string, scheduleName string, parameters ScheduleCreateOrUpdateParameters) (result Schedule, err error)

CreateOrUpdate create a schedule.

automationAccountName is the automation account name. scheduleName is the schedule name. parameters is the parameters supplied to the create or update schedule operation.

func (ScheduleClient) CreateOrUpdatePreparer

func (client ScheduleClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, scheduleName string) (result autorest.Response, err error)

Delete delete the schedule identified by schedule name.

automationAccountName is the automation account name. scheduleName is the schedule name.

func (ScheduleClient) DeletePreparer

func (client ScheduleClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, scheduleName string) (result Schedule, err error)

Get retrieve the schedule identified by schedule name.

automationAccountName is the automation account name. scheduleName is the schedule name.

func (ScheduleClient) GetPreparer

func (client ScheduleClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result ScheduleListResultPage, err error)

ListByAutomationAccount retrieve a list of schedules.

automationAccountName is the automation account name.

func (ScheduleClient) ListByAutomationAccountComplete

func (client ScheduleClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result ScheduleListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (ScheduleClient) ListByAutomationAccountPreparer

func (client ScheduleClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ScheduleClient) ListByAutomationAccountResponder

func (client ScheduleClient) ListByAutomationAccountResponder(resp *http.Response) (result ScheduleListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (ScheduleClient) ListByAutomationAccountSender

func (client ScheduleClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

func (ScheduleClient) Update

func (client ScheduleClient) Update(ctx context.Context, automationAccountName string, scheduleName string, parameters ScheduleUpdateParameters) (result Schedule, err error)

Update update the schedule identified by schedule name.

automationAccountName is the automation account name. scheduleName is the schedule name. parameters is the parameters supplied to the update schedule operation.

func (ScheduleClient) UpdatePreparer

func (client ScheduleClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the name of the schedule.
	Name *string `json:"name,omitempty"`
	// ScheduleCreateOrUpdateProperties - Gets or sets the list of schedule properties.
	*ScheduleCreateOrUpdateProperties `json:"properties,omitempty"`
}

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

func (*ScheduleCreateOrUpdateParameters) UnmarshalJSON

func (scoup *ScheduleCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScheduleCreateOrUpdateParameters struct.

type ScheduleCreateOrUpdateProperties

type ScheduleCreateOrUpdateProperties struct {
	// Description - Gets or sets the description of the schedule.
	Description *string `json:"description,omitempty"`
	// StartTime - Gets or sets the start time of the schedule.
	StartTime *date.Time `json:"startTime,omitempty"`
	// ExpiryTime - Gets or sets the end time of the schedule.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// Interval - Gets or sets the interval of the schedule.
	Interval interface{} `json:"interval,omitempty"`
	// Frequency - Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month'
	Frequency ScheduleFrequency `json:"frequency,omitempty"`
	// TimeZone - Gets or sets the time zone of the schedule.
	TimeZone *string `json:"timeZone,omitempty"`
	// AdvancedSchedule - Gets or sets the AdvancedSchedule.
	AdvancedSchedule *AdvancedSchedule `json:"advancedSchedule,omitempty"`
}

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

type ScheduleDay

type ScheduleDay string

ScheduleDay enumerates the values for schedule day.

const (
	// Friday ...
	Friday ScheduleDay = "Friday"
	// Monday ...
	Monday ScheduleDay = "Monday"
	// Saturday ...
	Saturday ScheduleDay = "Saturday"
	// Sunday ...
	Sunday ScheduleDay = "Sunday"
	// Thursday ...
	Thursday ScheduleDay = "Thursday"
	// Tuesday ...
	Tuesday ScheduleDay = "Tuesday"
	// Wednesday ...
	Wednesday ScheduleDay = "Wednesday"
)

type ScheduleFrequency

type ScheduleFrequency string

ScheduleFrequency enumerates the values for schedule frequency.

const (
	// Day ...
	Day ScheduleFrequency = "Day"
	// Hour ...
	Hour ScheduleFrequency = "Hour"
	// Month ...
	Month ScheduleFrequency = "Month"
	// OneTime ...
	OneTime ScheduleFrequency = "OneTime"
	// Week ...
	Week ScheduleFrequency = "Week"
)

type ScheduleListResult

type ScheduleListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of schedules.
	Value *[]Schedule `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ScheduleListResult the response model for the list schedule operation.

func (ScheduleListResult) IsEmpty

func (slr ScheduleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ScheduleListResultIterator

type ScheduleListResultIterator struct {
	// contains filtered or unexported fields
}

ScheduleListResultIterator provides access to a complete listing of Schedule values.

func (*ScheduleListResultIterator) Next

func (iter *ScheduleListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ScheduleListResultIterator) NotDone

func (iter ScheduleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ScheduleListResultIterator) Response

Response returns the raw server response from the last page request.

func (ScheduleListResultIterator) Value

func (iter ScheduleListResultIterator) Value() Schedule

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ScheduleListResultPage

type ScheduleListResultPage struct {
	// contains filtered or unexported fields
}

ScheduleListResultPage contains a page of Schedule values.

func (*ScheduleListResultPage) Next

func (page *ScheduleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ScheduleListResultPage) NotDone

func (page ScheduleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ScheduleListResultPage) Response

Response returns the raw server response from the last page request.

func (ScheduleListResultPage) Values

func (page ScheduleListResultPage) Values() []Schedule

Values returns the slice of values for the current page or nil if there are no values.

type ScheduleProperties

type ScheduleProperties struct {
	// StartTime - Gets or sets the start time of the schedule.
	StartTime *date.Time `json:"startTime,omitempty"`
	// StartTimeOffsetMinutes - Gets the start time's offset in minutes.
	StartTimeOffsetMinutes *float64 `json:"startTimeOffsetMinutes,omitempty"`
	// ExpiryTime - Gets or sets the end time of the schedule.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// ExpiryTimeOffsetMinutes - Gets or sets the expiry time's offset in minutes.
	ExpiryTimeOffsetMinutes *float64 `json:"expiryTimeOffsetMinutes,omitempty"`
	// IsEnabled - Gets or sets a value indicating whether this schedule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// NextRun - Gets or sets the next run time of the schedule.
	NextRun *date.Time `json:"nextRun,omitempty"`
	// NextRunOffsetMinutes - Gets or sets the next run time's offset in minutes.
	NextRunOffsetMinutes *float64 `json:"nextRunOffsetMinutes,omitempty"`
	// Interval - Gets or sets the interval of the schedule.
	Interval interface{} `json:"interval,omitempty"`
	// Frequency - Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month'
	Frequency ScheduleFrequency `json:"frequency,omitempty"`
	// TimeZone - Gets or sets the time zone of the schedule.
	TimeZone *string `json:"timeZone,omitempty"`
	// AdvancedSchedule - Gets or sets the advanced schedule.
	AdvancedSchedule *AdvancedSchedule `json:"advancedSchedule,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

ScheduleProperties definition of schedule parameters.

type ScheduleUpdateParameters

type ScheduleUpdateParameters struct {
	// Name - Gets or sets the name of the schedule.
	Name *string `json:"name,omitempty"`
	// ScheduleUpdateProperties - Gets or sets the list of schedule properties.
	*ScheduleUpdateProperties `json:"properties,omitempty"`
}

ScheduleUpdateParameters the parameters supplied to the update schedule operation.

func (*ScheduleUpdateParameters) UnmarshalJSON

func (sup *ScheduleUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScheduleUpdateParameters struct.

type ScheduleUpdateProperties

type ScheduleUpdateProperties struct {
	// Description - Gets or sets the description of the schedule.
	Description *string `json:"description,omitempty"`
	// IsEnabled - Gets or sets a value indicating whether this schedule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

ScheduleUpdateProperties the parameters supplied to the update schedule operation.

type Sku

type Sku struct {
	// Name - Gets or sets the SKU name of the account. Possible values include: 'Free', 'Basic'
	Name SkuNameEnum `json:"name,omitempty"`
	// Family - Gets or sets the SKU family.
	Family *string `json:"family,omitempty"`
	// Capacity - Gets or sets the SKU capacity.
	Capacity *int32 `json:"capacity,omitempty"`
}

Sku the account SKU.

type SkuNameEnum

type SkuNameEnum string

SkuNameEnum enumerates the values for sku name enum.

const (
	// Basic ...
	Basic SkuNameEnum = "Basic"
	// Free ...
	Free SkuNameEnum = "Free"
)

type SoftwareUpdateConfiguration

type SoftwareUpdateConfiguration struct {
	autorest.Response `json:"-"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// ID - Resource Id.
	ID *string `json:"id,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// SoftwareUpdateConfigurationProperties - Software update configuration properties.
	*SoftwareUpdateConfigurationProperties `json:"properties,omitempty"`
}

SoftwareUpdateConfiguration software update configuration properties.

func (*SoftwareUpdateConfiguration) UnmarshalJSON

func (suc *SoftwareUpdateConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SoftwareUpdateConfiguration struct.

type SoftwareUpdateConfigurationCollectionItem

type SoftwareUpdateConfigurationCollectionItem struct {
	// Name - Name of the software update configuration.
	Name *string `json:"name,omitempty"`
	// ID - Resource Id of the software update configuration
	ID *string `json:"id,omitempty"`
	// SoftwareUpdateConfigurationCollectionItemProperties - Software update configuration properties.
	*SoftwareUpdateConfigurationCollectionItemProperties `json:"properties,omitempty"`
}

SoftwareUpdateConfigurationCollectionItem software update configuration collection item properties.

func (*SoftwareUpdateConfigurationCollectionItem) UnmarshalJSON

func (succi *SoftwareUpdateConfigurationCollectionItem) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SoftwareUpdateConfigurationCollectionItem struct.

type SoftwareUpdateConfigurationCollectionItemProperties

type SoftwareUpdateConfigurationCollectionItemProperties struct {
	// UpdateConfiguration - Update specific properties of the software update configuration.
	UpdateConfiguration *CollectionItemUpdateConfiguration `json:"updateConfiguration,omitempty"`
	// Frequency - execution frequency of the schedule associated with the software update configuration. Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month'
	Frequency ScheduleFrequency `json:"frequency,omitempty"`
	// StartTime - the start time of the update.
	StartTime *date.Time `json:"startTime,omitempty"`
	// CreationTime - Creation time of the software update configuration, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Last time software update configuration was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// ProvisioningState - Provisioning state for the software update configuration, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// NextRun - ext run time of the update.
	NextRun *date.Time `json:"nextRun,omitempty"`
}

SoftwareUpdateConfigurationCollectionItemProperties software update configuration collection item properties.

type SoftwareUpdateConfigurationListResult

type SoftwareUpdateConfigurationListResult struct {
	autorest.Response `json:"-"`
	// Value - outer object returned when listing all software update configurations
	Value *[]SoftwareUpdateConfigurationCollectionItem `json:"value,omitempty"`
}

SoftwareUpdateConfigurationListResult result of listing all software update configuration

type SoftwareUpdateConfigurationMachineRun

type SoftwareUpdateConfigurationMachineRun struct {
	autorest.Response `json:"-"`
	// Name - Name of the software update configuration machine run
	Name *string `json:"name,omitempty"`
	// ID - Resource Id of the software update configuration machine run
	ID *string `json:"id,omitempty"`
	// UpdateConfigurationMachineRunProperties - Software update configuration machine run properties.
	*UpdateConfigurationMachineRunProperties `json:"properties,omitempty"`
}

SoftwareUpdateConfigurationMachineRun software update configuration machine run model.

func (*SoftwareUpdateConfigurationMachineRun) UnmarshalJSON

func (sucmr *SoftwareUpdateConfigurationMachineRun) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SoftwareUpdateConfigurationMachineRun struct.

type SoftwareUpdateConfigurationMachineRunListResult

type SoftwareUpdateConfigurationMachineRunListResult struct {
	autorest.Response `json:"-"`
	// Value - outer object returned when listing all software update configuration machine runs
	Value *[]SoftwareUpdateConfigurationMachineRun `json:"value,omitempty"`
	// NextLink - link to next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SoftwareUpdateConfigurationMachineRunListResult result of listing all software update configuration machine runs

type SoftwareUpdateConfigurationMachineRunsClient

type SoftwareUpdateConfigurationMachineRunsClient struct {
	BaseClient
}

SoftwareUpdateConfigurationMachineRunsClient is the automation Client

func NewSoftwareUpdateConfigurationMachineRunsClient

func NewSoftwareUpdateConfigurationMachineRunsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SoftwareUpdateConfigurationMachineRunsClient

NewSoftwareUpdateConfigurationMachineRunsClient creates an instance of the SoftwareUpdateConfigurationMachineRunsClient client.

func NewSoftwareUpdateConfigurationMachineRunsClientWithBaseURI

func NewSoftwareUpdateConfigurationMachineRunsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SoftwareUpdateConfigurationMachineRunsClient

NewSoftwareUpdateConfigurationMachineRunsClientWithBaseURI creates an instance of the SoftwareUpdateConfigurationMachineRunsClient client.

func (SoftwareUpdateConfigurationMachineRunsClient) GetByID

func (client SoftwareUpdateConfigurationMachineRunsClient) GetByID(ctx context.Context, softwareUpdateConfigurationMachineRunID uuid.UUID) (result SoftwareUpdateConfigurationMachineRun, err error)

GetByID get a single software update configuration machine run by Id.

softwareUpdateConfigurationMachineRunID is the Id of the software update configuration machine run.

func (SoftwareUpdateConfigurationMachineRunsClient) GetByIDPreparer

func (client SoftwareUpdateConfigurationMachineRunsClient) GetByIDPreparer(ctx context.Context, softwareUpdateConfigurationMachineRunID uuid.UUID) (*http.Request, error)

GetByIDPreparer prepares the GetByID request.

func (SoftwareUpdateConfigurationMachineRunsClient) GetByIDResponder

GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.

func (SoftwareUpdateConfigurationMachineRunsClient) GetByIDSender

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

func (SoftwareUpdateConfigurationMachineRunsClient) List

List return list of software update configuration machine runs

filter is the filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' skip is number of entries you skip before returning results top is maximum number of entries returned in the results collection

func (SoftwareUpdateConfigurationMachineRunsClient) ListPreparer

func (client SoftwareUpdateConfigurationMachineRunsClient) ListPreparer(ctx context.Context, filter string, skip string, top string) (*http.Request, error)

ListPreparer prepares the List request.

func (SoftwareUpdateConfigurationMachineRunsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SoftwareUpdateConfigurationMachineRunsClient) ListSender

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

type SoftwareUpdateConfigurationProperties

type SoftwareUpdateConfigurationProperties struct {
	// UpdateConfiguration - update specific properties for the Software update configuration
	UpdateConfiguration *UpdateConfiguration `json:"updateConfiguration,omitempty"`
	// ScheduleInfo - Schedule information for the Software update configuration
	ScheduleInfo *ScheduleProperties `json:"scheduleInfo,omitempty"`
	// ProvisioningState - Provisioning state for the software update configuration, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Error - detailes of provisioning error
	Error *ErrorResponse `json:"error,omitempty"`
	// CreationTime - Creation time of theresource, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// CreatedBy - createdBy property, which only appears in the response.
	CreatedBy *string `json:"createdBy,omitempty"`
	// LastModifiedTime - Last time resource was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastModifiedBy - lastModifiedBy property, which only appears in the response.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
}

SoftwareUpdateConfigurationProperties software update configuration properties.

type SoftwareUpdateConfigurationRun

type SoftwareUpdateConfigurationRun struct {
	autorest.Response `json:"-"`
	// Name - Name of the software update configuration run.
	Name *string `json:"name,omitempty"`
	// ID - Resource Id of the software update configuration run
	ID *string `json:"id,omitempty"`
	// SoftwareUpdateConfigurationRunProperties - Software update configuration Run properties.
	*SoftwareUpdateConfigurationRunProperties `json:"properties,omitempty"`
}

SoftwareUpdateConfigurationRun software update configuration Run properties.

func (*SoftwareUpdateConfigurationRun) UnmarshalJSON

func (sucr *SoftwareUpdateConfigurationRun) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SoftwareUpdateConfigurationRun struct.

type SoftwareUpdateConfigurationRunListResult

type SoftwareUpdateConfigurationRunListResult struct {
	autorest.Response `json:"-"`
	// Value - outer object returned when listing all software update configuration runs
	Value *[]SoftwareUpdateConfigurationRun `json:"value,omitempty"`
	// NextLink - link to next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SoftwareUpdateConfigurationRunListResult result of listing all software update configuration runs

type SoftwareUpdateConfigurationRunProperties

type SoftwareUpdateConfigurationRunProperties struct {
	// SoftwareUpdateConfiguration - software update configuration triggered this run
	SoftwareUpdateConfiguration *UpdateConfigurationNavigation `json:"softwareUpdateConfiguration,omitempty"`
	// Status - Status of the software update configuration run.
	Status *string `json:"status,omitempty"`
	// ConfiguredDuration - configured duration for the software update configuration run.
	ConfiguredDuration *string `json:"configuredDuration,omitempty"`
	// OsType - Operating system target of the software update configuration triggered this run
	OsType *string `json:"osType,omitempty"`
	// StartTime - Etart time of the software update configuration run.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - End time of the software update configuration run.
	EndTime *date.Time `json:"endTime,omitempty"`
	// ComputerCount - Number of computers in the software update configuration run.
	ComputerCount *int32 `json:"computerCount,omitempty"`
	// FailedCount - Number of computers with failed status.
	FailedCount *int32 `json:"failedCount,omitempty"`
	// CreationTime - Creation time of theresource, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// CreatedBy - createdBy property, which only appears in the response.
	CreatedBy *string `json:"createdBy,omitempty"`
	// LastModifiedTime - Last time resource was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastModifiedBy - lastModifiedBy property, which only appears in the response.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
}

SoftwareUpdateConfigurationRunProperties software update configuration properties.

type SoftwareUpdateConfigurationRunsClient

type SoftwareUpdateConfigurationRunsClient struct {
	BaseClient
}

SoftwareUpdateConfigurationRunsClient is the automation Client

func NewSoftwareUpdateConfigurationRunsClient

func NewSoftwareUpdateConfigurationRunsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SoftwareUpdateConfigurationRunsClient

NewSoftwareUpdateConfigurationRunsClient creates an instance of the SoftwareUpdateConfigurationRunsClient client.

func NewSoftwareUpdateConfigurationRunsClientWithBaseURI

func NewSoftwareUpdateConfigurationRunsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SoftwareUpdateConfigurationRunsClient

NewSoftwareUpdateConfigurationRunsClientWithBaseURI creates an instance of the SoftwareUpdateConfigurationRunsClient client.

func (SoftwareUpdateConfigurationRunsClient) GetByID

func (client SoftwareUpdateConfigurationRunsClient) GetByID(ctx context.Context, softwareUpdateConfigurationRunID uuid.UUID) (result SoftwareUpdateConfigurationRun, err error)

GetByID get a single software update configuration Run by Id.

softwareUpdateConfigurationRunID is the Id of the software update configuration run.

func (SoftwareUpdateConfigurationRunsClient) GetByIDPreparer

func (client SoftwareUpdateConfigurationRunsClient) GetByIDPreparer(ctx context.Context, softwareUpdateConfigurationRunID uuid.UUID) (*http.Request, error)

GetByIDPreparer prepares the GetByID request.

func (SoftwareUpdateConfigurationRunsClient) GetByIDResponder

func (client SoftwareUpdateConfigurationRunsClient) GetByIDResponder(resp *http.Response) (result SoftwareUpdateConfigurationRun, err error)

GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.

func (SoftwareUpdateConfigurationRunsClient) GetByIDSender

func (client SoftwareUpdateConfigurationRunsClient) GetByIDSender(req *http.Request) (*http.Response, error)

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

func (SoftwareUpdateConfigurationRunsClient) List

List return list of software update configuration runs

filter is the filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' skip is number of entries you skip before returning results top is maximum number of entries returned in the results collection

func (SoftwareUpdateConfigurationRunsClient) ListPreparer

func (client SoftwareUpdateConfigurationRunsClient) ListPreparer(ctx context.Context, filter string, skip string, top string) (*http.Request, error)

ListPreparer prepares the List request.

func (SoftwareUpdateConfigurationRunsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SoftwareUpdateConfigurationRunsClient) ListSender

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

type SoftwareUpdateConfigurationsClient

type SoftwareUpdateConfigurationsClient struct {
	BaseClient
}

SoftwareUpdateConfigurationsClient is the automation Client

func NewSoftwareUpdateConfigurationsClient

func NewSoftwareUpdateConfigurationsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SoftwareUpdateConfigurationsClient

NewSoftwareUpdateConfigurationsClient creates an instance of the SoftwareUpdateConfigurationsClient client.

func NewSoftwareUpdateConfigurationsClientWithBaseURI

func NewSoftwareUpdateConfigurationsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SoftwareUpdateConfigurationsClient

NewSoftwareUpdateConfigurationsClientWithBaseURI creates an instance of the SoftwareUpdateConfigurationsClient client.

func (SoftwareUpdateConfigurationsClient) Create

func (client SoftwareUpdateConfigurationsClient) Create(ctx context.Context, softwareUpdateConfigurationName string, parameters SoftwareUpdateConfiguration) (result SoftwareUpdateConfiguration, err error)

Create create a new software update configuration with the name given in the URI.

softwareUpdateConfigurationName is the name of the software update configuration to be created. parameters is request body.

func (SoftwareUpdateConfigurationsClient) CreatePreparer

func (client SoftwareUpdateConfigurationsClient) CreatePreparer(ctx context.Context, softwareUpdateConfigurationName string, parameters SoftwareUpdateConfiguration) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SoftwareUpdateConfigurationsClient) CreateResponder

func (client SoftwareUpdateConfigurationsClient) CreateResponder(resp *http.Response) (result SoftwareUpdateConfiguration, err error)

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

func (SoftwareUpdateConfigurationsClient) CreateSender

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

func (client SoftwareUpdateConfigurationsClient) Delete(ctx context.Context, softwareUpdateConfigurationName string) (result autorest.Response, err error)

Delete delete a specific software update configuration.

softwareUpdateConfigurationName is the name of the software update configuration to be created.

func (SoftwareUpdateConfigurationsClient) DeletePreparer

func (client SoftwareUpdateConfigurationsClient) DeletePreparer(ctx context.Context, softwareUpdateConfigurationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SoftwareUpdateConfigurationsClient) DeleteResponder

func (client SoftwareUpdateConfigurationsClient) 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 (SoftwareUpdateConfigurationsClient) DeleteSender

func (client SoftwareUpdateConfigurationsClient) 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 (SoftwareUpdateConfigurationsClient) GetByName

func (client SoftwareUpdateConfigurationsClient) GetByName(ctx context.Context, softwareUpdateConfigurationName string) (result SoftwareUpdateConfiguration, err error)

GetByName get a single software update configuration by name.

softwareUpdateConfigurationName is the name of the software update configuration to be created.

func (SoftwareUpdateConfigurationsClient) GetByNamePreparer

func (client SoftwareUpdateConfigurationsClient) GetByNamePreparer(ctx context.Context, softwareUpdateConfigurationName string) (*http.Request, error)

GetByNamePreparer prepares the GetByName request.

func (SoftwareUpdateConfigurationsClient) GetByNameResponder

func (client SoftwareUpdateConfigurationsClient) GetByNameResponder(resp *http.Response) (result SoftwareUpdateConfiguration, err error)

GetByNameResponder handles the response to the GetByName request. The method always closes the http.Response Body.

func (SoftwareUpdateConfigurationsClient) GetByNameSender

func (client SoftwareUpdateConfigurationsClient) GetByNameSender(req *http.Request) (*http.Response, error)

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

func (SoftwareUpdateConfigurationsClient) List

List get all software update configurations for the account.

filter is the filter to apply on the operation.

func (SoftwareUpdateConfigurationsClient) ListPreparer

func (client SoftwareUpdateConfigurationsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (SoftwareUpdateConfigurationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SoftwareUpdateConfigurationsClient) ListSender

func (client SoftwareUpdateConfigurationsClient) 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 SourceControl

type SourceControl struct {
	autorest.Response `json:"-"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// ID - Resource Id.
	ID *string `json:"id,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
	// SourceControlProperties - Gets or sets the properties of the source control.
	*SourceControlProperties `json:"properties,omitempty"`
}

SourceControl definition of the source control.

func (*SourceControl) UnmarshalJSON

func (sc *SourceControl) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControl struct.

type SourceControlClient

type SourceControlClient struct {
	BaseClient
}

SourceControlClient is the automation Client

func NewSourceControlClient

func NewSourceControlClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SourceControlClient

NewSourceControlClient creates an instance of the SourceControlClient client.

func NewSourceControlClientWithBaseURI

func NewSourceControlClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SourceControlClient

NewSourceControlClientWithBaseURI creates an instance of the SourceControlClient client.

func (SourceControlClient) CreateOrUpdate

func (client SourceControlClient) CreateOrUpdate(ctx context.Context, automationAccountName string, sourceControlName string, parameters SourceControlCreateOrUpdateParameters) (result SourceControl, err error)

CreateOrUpdate create a source control.

automationAccountName is the automation account name. sourceControlName is the source control name. parameters is the parameters supplied to the create or update source control operation.

func (SourceControlClient) CreateOrUpdatePreparer

func (client SourceControlClient) CreateOrUpdatePreparer(ctx context.Context, automationAccountName string, sourceControlName string, parameters SourceControlCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SourceControlClient) CreateOrUpdateResponder

func (client SourceControlClient) CreateOrUpdateResponder(resp *http.Response) (result SourceControl, err error)

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

func (SourceControlClient) CreateOrUpdateSender

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

func (client SourceControlClient) Delete(ctx context.Context, automationAccountName string, sourceControlName string) (result autorest.Response, err error)

Delete delete the source control.

automationAccountName is the automation account name. sourceControlName is the name of source control.

func (SourceControlClient) DeletePreparer

func (client SourceControlClient) DeletePreparer(ctx context.Context, automationAccountName string, sourceControlName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SourceControlClient) DeleteResponder

func (client SourceControlClient) 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 (SourceControlClient) DeleteSender

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

func (client SourceControlClient) Get(ctx context.Context, automationAccountName string, sourceControlName string) (result SourceControl, err error)

Get retrieve the source control identified by source control name.

automationAccountName is the automation account name. sourceControlName is the name of source control.

func (SourceControlClient) GetPreparer

func (client SourceControlClient) GetPreparer(ctx context.Context, automationAccountName string, sourceControlName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SourceControlClient) GetResponder

func (client SourceControlClient) GetResponder(resp *http.Response) (result SourceControl, err error)

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

func (SourceControlClient) GetSender

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

func (client SourceControlClient) ListByAutomationAccount(ctx context.Context, automationAccountName string, filter string) (result SourceControlListResultPage, err error)

ListByAutomationAccount retrieve a list of source controls.

automationAccountName is the automation account name. filter is the filter to apply on the operation.

func (SourceControlClient) ListByAutomationAccountComplete

func (client SourceControlClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string, filter string) (result SourceControlListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (SourceControlClient) ListByAutomationAccountPreparer

func (client SourceControlClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string, filter string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (SourceControlClient) ListByAutomationAccountResponder

func (client SourceControlClient) ListByAutomationAccountResponder(resp *http.Response) (result SourceControlListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (SourceControlClient) ListByAutomationAccountSender

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

func (client SourceControlClient) Update(ctx context.Context, automationAccountName string, sourceControlName string, parameters SourceControlUpdateParameters) (result SourceControl, err error)

Update update a source control.

automationAccountName is the automation account name. sourceControlName is the source control name. parameters is the parameters supplied to the update source control operation.

func (SourceControlClient) UpdatePreparer

func (client SourceControlClient) UpdatePreparer(ctx context.Context, automationAccountName string, sourceControlName string, parameters SourceControlUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SourceControlClient) UpdateResponder

func (client SourceControlClient) UpdateResponder(resp *http.Response) (result SourceControl, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SourceControlClient) UpdateSender

func (client SourceControlClient) 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 SourceControlCreateOrUpdateParameters

type SourceControlCreateOrUpdateParameters struct {
	// SourceControlCreateOrUpdateProperties - Gets or sets the properties of the source control.
	*SourceControlCreateOrUpdateProperties `json:"properties,omitempty"`
}

SourceControlCreateOrUpdateParameters the parameters supplied to the create or update source control operation.

func (*SourceControlCreateOrUpdateParameters) UnmarshalJSON

func (sccoup *SourceControlCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlCreateOrUpdateParameters struct.

type SourceControlCreateOrUpdateProperties

type SourceControlCreateOrUpdateProperties struct {
	// RepoURL - Gets or sets the repo url of the source control.
	RepoURL *string `json:"repoUrl,omitempty"`
	// Branch - Gets or sets the repo branch of the source control. Include branch as empty string for VsoTfvc.
	Branch *string `json:"branch,omitempty"`
	// FolderPath - Gets or sets the folder path of the source control. Path must be relative.
	FolderPath *string `json:"folderPath,omitempty"`
	// AutoSync - Gets or sets auto async of the source control. Default is false.
	AutoSync *bool `json:"autoSync,omitempty"`
	// PublishRunbook - Gets or sets the auto publish of the source control. Default is true.
	PublishRunbook *bool `json:"publishRunbook,omitempty"`
	// SourceType - The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub'
	SourceType SourceType `json:"sourceType,omitempty"`
	// SecurityToken - Gets or sets the authorization token for the repo of the source control.
	SecurityToken *string `json:"securityToken,omitempty"`
	// Description - Gets or sets the user description of the source control.
	Description *string `json:"description,omitempty"`
}

SourceControlCreateOrUpdateProperties the properties of the create source control operation.

type SourceControlListResult

type SourceControlListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of souce controls.
	Value *[]SourceControl `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

SourceControlListResult the response model for the list source controls operation.

func (SourceControlListResult) IsEmpty

func (sclr SourceControlListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SourceControlListResultIterator

type SourceControlListResultIterator struct {
	// contains filtered or unexported fields
}

SourceControlListResultIterator provides access to a complete listing of SourceControl values.

func (*SourceControlListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SourceControlListResultIterator) NotDone

func (iter SourceControlListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SourceControlListResultIterator) Response

Response returns the raw server response from the last page request.

func (SourceControlListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SourceControlListResultPage

type SourceControlListResultPage struct {
	// contains filtered or unexported fields
}

SourceControlListResultPage contains a page of SourceControl values.

func (*SourceControlListResultPage) Next

func (page *SourceControlListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SourceControlListResultPage) NotDone

func (page SourceControlListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SourceControlListResultPage) Response

Response returns the raw server response from the last page request.

func (SourceControlListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SourceControlProperties

type SourceControlProperties struct {
	// RepoURL - Gets or sets the repo url of the source control.
	RepoURL *string `json:"repoUrl,omitempty"`
	// Branch - Gets or sets the repo branch of the source control. Include branch as empty string for VsoTfvc.
	Branch *string `json:"branch,omitempty"`
	// FolderPath - Gets or sets the folder path of the source control.
	FolderPath *string `json:"folderPath,omitempty"`
	// AutoSync - Gets or sets auto async of the source control. Default is false.
	AutoSync *bool `json:"autoSync,omitempty"`
	// PublishRunbook - Gets or sets the auto publish of the source control. Default is true.
	PublishRunbook *bool `json:"publishRunbook,omitempty"`
	// SourceType - The source type. Must be one of VsoGit, VsoTfvc, GitHub. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub'
	SourceType SourceType `json:"sourceType,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
}

SourceControlProperties definition of the source control properties

type SourceControlSyncJob

type SourceControlSyncJob struct {
	autorest.Response `json:"-"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource id.
	ID *string `json:"id,omitempty"`
	// SourceControlSyncJobProperties - Gets the properties of the source control sync job.
	*SourceControlSyncJobProperties `json:"properties,omitempty"`
}

SourceControlSyncJob definition of the source control sync job.

func (*SourceControlSyncJob) UnmarshalJSON

func (scsj *SourceControlSyncJob) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlSyncJob struct.

type SourceControlSyncJobByID

type SourceControlSyncJobByID struct {
	autorest.Response `json:"-"`
	// ID - Gets the id of the job.
	ID *string `json:"id,omitempty"`
	// SourceControlSyncJobByIDProperties - Gets the properties of the source control sync job.
	*SourceControlSyncJobByIDProperties `json:"properties,omitempty"`
}

SourceControlSyncJobByID definition of the source control sync job.

func (*SourceControlSyncJobByID) UnmarshalJSON

func (scsjbi *SourceControlSyncJobByID) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlSyncJobByID struct.

type SourceControlSyncJobByIDErrors

type SourceControlSyncJobByIDErrors struct {
	// Code - Gets the error code for the job.
	Code *string `json:"code,omitempty"`
	// Message - Gets the error message for the job.
	Message *string `json:"message,omitempty"`
}

SourceControlSyncJobByIDErrors error details of the source control sync job.

type SourceControlSyncJobByIDProperties

type SourceControlSyncJobByIDProperties struct {
	// SourceControlSyncJobID - Gets the source control sync job id.
	SourceControlSyncJobID *string `json:"sourceControlSyncJobId,omitempty"`
	// CreationTime - Gets the creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// ProvisioningState - Gets the provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StartTime - Gets the start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Gets the end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// StartedBy - Gets the user who started the sync job.
	StartedBy *string `json:"startedBy,omitempty"`
	// Errors - Error details of the source control sync job.
	Errors *SourceControlSyncJobByIDErrors `json:"errors,omitempty"`
}

SourceControlSyncJobByIDProperties definition of source control sync job properties.

type SourceControlSyncJobClient

type SourceControlSyncJobClient struct {
	BaseClient
}

SourceControlSyncJobClient is the automation Client

func NewSourceControlSyncJobClient

func NewSourceControlSyncJobClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SourceControlSyncJobClient

NewSourceControlSyncJobClient creates an instance of the SourceControlSyncJobClient client.

func NewSourceControlSyncJobClientWithBaseURI

func NewSourceControlSyncJobClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) SourceControlSyncJobClient

NewSourceControlSyncJobClientWithBaseURI creates an instance of the SourceControlSyncJobClient client.

func (SourceControlSyncJobClient) Create

func (client SourceControlSyncJobClient) Create(ctx context.Context, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID) (result SourceControlSyncJob, err error)

Create creates the sync job for a source control.

automationAccountName is the automation account name. sourceControlName is the source control name. sourceControlSyncJobID is the source control sync job id.

func (SourceControlSyncJobClient) CreatePreparer

func (client SourceControlSyncJobClient) CreatePreparer(ctx context.Context, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SourceControlSyncJobClient) CreateResponder

func (client SourceControlSyncJobClient) CreateResponder(resp *http.Response) (result SourceControlSyncJob, err error)

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

func (SourceControlSyncJobClient) CreateSender

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

func (client SourceControlSyncJobClient) Get(ctx context.Context, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID) (result SourceControlSyncJobByID, err error)

Get retrieve the source control sync job identified by job id.

automationAccountName is the automation account name. sourceControlName is the source control name. sourceControlSyncJobID is the source control sync job id.

func (SourceControlSyncJobClient) GetPreparer

func (client SourceControlSyncJobClient) GetPreparer(ctx context.Context, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID) (*http.Request, error)

GetPreparer prepares the Get request.

func (SourceControlSyncJobClient) GetResponder

func (client SourceControlSyncJobClient) GetResponder(resp *http.Response) (result SourceControlSyncJobByID, err error)

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

func (SourceControlSyncJobClient) GetSender

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

func (client SourceControlSyncJobClient) ListByAutomationAccount(ctx context.Context, automationAccountName string, sourceControlName string, filter string) (result SourceControlSyncJobListResultPage, err error)

ListByAutomationAccount retrieve a list of source control sync jobs.

automationAccountName is the automation account name. sourceControlName is the source control name. filter is the filter to apply on the operation.

func (SourceControlSyncJobClient) ListByAutomationAccountComplete

func (client SourceControlSyncJobClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string, sourceControlName string, filter string) (result SourceControlSyncJobListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (SourceControlSyncJobClient) ListByAutomationAccountPreparer

func (client SourceControlSyncJobClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string, sourceControlName string, filter string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (SourceControlSyncJobClient) ListByAutomationAccountResponder

func (client SourceControlSyncJobClient) ListByAutomationAccountResponder(resp *http.Response) (result SourceControlSyncJobListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (SourceControlSyncJobClient) ListByAutomationAccountSender

func (client SourceControlSyncJobClient) 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 SourceControlSyncJobListResult

type SourceControlSyncJobListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets a list of source control sync jobs.
	Value *[]SourceControlSyncJob `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

SourceControlSyncJobListResult the response model for the list source control sync jobs operation.

func (SourceControlSyncJobListResult) IsEmpty

func (scsjlr SourceControlSyncJobListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SourceControlSyncJobListResultIterator

type SourceControlSyncJobListResultIterator struct {
	// contains filtered or unexported fields
}

SourceControlSyncJobListResultIterator provides access to a complete listing of SourceControlSyncJob values.

func (*SourceControlSyncJobListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SourceControlSyncJobListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SourceControlSyncJobListResultIterator) Response

Response returns the raw server response from the last page request.

func (SourceControlSyncJobListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SourceControlSyncJobListResultPage

type SourceControlSyncJobListResultPage struct {
	// contains filtered or unexported fields
}

SourceControlSyncJobListResultPage contains a page of SourceControlSyncJob values.

func (*SourceControlSyncJobListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SourceControlSyncJobListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SourceControlSyncJobListResultPage) Response

Response returns the raw server response from the last page request.

func (SourceControlSyncJobListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SourceControlSyncJobProperties

type SourceControlSyncJobProperties struct {
	// SourceControlSyncJobID - Gets the source control sync job id.
	SourceControlSyncJobID *string `json:"sourceControlSyncJobId,omitempty"`
	// CreationTime - Gets the creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// ProvisioningState - Gets the provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StartTime - Gets the start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Gets the end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// StartedBy - Gets the user who started the sync job.
	StartedBy *string `json:"startedBy,omitempty"`
}

SourceControlSyncJobProperties definition of source control sync job properties.

type SourceControlUpdateParameters

type SourceControlUpdateParameters struct {
	// SourceControlUpdateProperties - Gets or sets the value of the source control.
	*SourceControlUpdateProperties `json:"properties,omitempty"`
}

SourceControlUpdateParameters the parameters supplied to the update source control operation.

func (*SourceControlUpdateParameters) UnmarshalJSON

func (scup *SourceControlUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlUpdateParameters struct.

type SourceControlUpdateProperties

type SourceControlUpdateProperties struct {
	// Branch - Gets or sets the repo branch of the source control.
	Branch *string `json:"branch,omitempty"`
	// FolderPath - Gets or sets the folder path of the source control. Path must be relative.
	FolderPath *string `json:"folderPath,omitempty"`
	// AutoSync - Gets or sets auto async of the source control. Default is false.
	AutoSync *bool `json:"autoSync,omitempty"`
	// PublishRunbook - Gets or sets the auto publish of the source control. Default is true.
	PublishRunbook *bool `json:"publishRunbook,omitempty"`
	// SecurityToken - Gets or sets the authorization token for the repo of the source control.
	SecurityToken *string `json:"securityToken,omitempty"`
	// Description - Gets or sets the user description of the source control.
	Description *string `json:"description,omitempty"`
}

SourceControlUpdateProperties the properties of the update source control

type SourceType

type SourceType string

SourceType enumerates the values for source type.

const (
	// GitHub ...
	GitHub SourceType = "GitHub"
	// VsoGit ...
	VsoGit SourceType = "VsoGit"
	// VsoTfvc ...
	VsoTfvc SourceType = "VsoTfvc"
)

type Statistics

type Statistics struct {
	// CounterProperty - Gets the property value of the statistic.
	CounterProperty *string `json:"counterProperty,omitempty"`
	// CounterValue - Gets the value of the statistic.
	CounterValue *int64 `json:"counterValue,omitempty"`
	// StartTime - Gets the startTime of the statistic.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Gets the endTime of the statistic.
	EndTime *date.Time `json:"endTime,omitempty"`
	// ID - Gets the id.
	ID *string `json:"id,omitempty"`
}

Statistics definition of the statistic.

type StatisticsClient

type StatisticsClient struct {
	BaseClient
}

StatisticsClient is the automation Client

func NewStatisticsClient

func NewStatisticsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) StatisticsClient

NewStatisticsClient creates an instance of the StatisticsClient client.

func NewStatisticsClientWithBaseURI

func NewStatisticsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) StatisticsClient

NewStatisticsClientWithBaseURI creates an instance of the StatisticsClient client.

func (StatisticsClient) ListByAutomationAccount

func (client StatisticsClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result StatisticsListResult, err error)

ListByAutomationAccount retrieve the statistics for the account.

resourceGroupName is the resource group name. automationAccountName is the automation account name. filter is the filter to apply on the operation.

func (StatisticsClient) ListByAutomationAccountPreparer

func (client StatisticsClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (StatisticsClient) ListByAutomationAccountResponder

func (client StatisticsClient) ListByAutomationAccountResponder(resp *http.Response) (result StatisticsListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (StatisticsClient) ListByAutomationAccountSender

func (client StatisticsClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

type StatisticsListResult

type StatisticsListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of statistics.
	Value *[]Statistics `json:"value,omitempty"`
}

StatisticsListResult the response model for the list statistics operation.

type String

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

String ...

type SubResource

type SubResource struct {
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
}

SubResource the Sub Resource definition.

type TestJob

type TestJob struct {
	autorest.Response `json:"-"`
	// CreationTime - Gets or sets the creation time of the test job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// Status - Gets or sets the status of the test job.
	Status *string `json:"status,omitempty"`
	// StatusDetails - Gets or sets the status details of the test job.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed.
	RunOn *string `json:"runOn,omitempty"`
	// StartTime - Gets or sets the start time of the test job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Gets or sets the end time of the test job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Exception - Gets or sets the exception of the test job.
	Exception *string `json:"exception,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time of the test job.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastStatusModifiedTime - Gets or sets the last status modified time of the test job.
	LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"`
	// Parameters - Gets or sets the parameters of the test job.
	Parameters map[string]*string `json:"parameters"`
}

TestJob definition of the test job.

func (TestJob) MarshalJSON

func (tj TestJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TestJob.

type TestJobCreateParameters

type TestJobCreateParameters struct {
	// RunbookName - Gets or sets the runbook name.
	RunbookName *string `json:"runbookName,omitempty"`
	// Parameters - Gets or sets the parameters of the test job.
	Parameters map[string]*string `json:"parameters"`
	// RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed.
	RunOn *string `json:"runOn,omitempty"`
}

TestJobCreateParameters the parameters supplied to the create test job operation.

func (TestJobCreateParameters) MarshalJSON

func (tjcp TestJobCreateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TestJobCreateParameters.

type TestJobStreamsClient

type TestJobStreamsClient struct {
	BaseClient
}

TestJobStreamsClient is the automation Client

func NewTestJobStreamsClient

func NewTestJobStreamsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) TestJobStreamsClient

NewTestJobStreamsClient creates an instance of the TestJobStreamsClient client.

func NewTestJobStreamsClientWithBaseURI

func NewTestJobStreamsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) TestJobStreamsClient

NewTestJobStreamsClientWithBaseURI creates an instance of the TestJobStreamsClient client.

func (TestJobStreamsClient) Get

func (client TestJobStreamsClient) Get(ctx context.Context, automationAccountName string, runbookName string, jobStreamID string) (result JobStream, err error)

Get retrieve a test job streams identified by runbook name and stream id.

automationAccountName is the automation account name. runbookName is the runbook name. jobStreamID is the job stream id.

func (TestJobStreamsClient) GetPreparer

func (client TestJobStreamsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string, filter string) (result JobStreamListResultPage, err error)

ListByTestJob retrieve a list of test job streams identified by runbook name.

automationAccountName is the automation account name. runbookName is the runbook name. filter is the filter to apply on the operation.

func (TestJobStreamsClient) ListByTestJobComplete

func (client TestJobStreamsClient) ListByTestJobComplete(ctx context.Context, automationAccountName string, runbookName string, filter string) (result JobStreamListResultIterator, err error)

ListByTestJobComplete enumerates all values, automatically crossing page boundaries as required.

func (TestJobStreamsClient) ListByTestJobPreparer

func (client TestJobStreamsClient) ListByTestJobPreparer(ctx context.Context, 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 {
	BaseClient
}

TestJobsClient is the automation Client

func NewTestJobsClient

func NewTestJobsClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) TestJobsClient

NewTestJobsClient creates an instance of the TestJobsClient client.

func NewTestJobsClientWithBaseURI

func NewTestJobsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) TestJobsClient

NewTestJobsClientWithBaseURI creates an instance of the TestJobsClient client.

func (TestJobsClient) Create

func (client TestJobsClient) Create(ctx context.Context, automationAccountName string, runbookName string, parameters TestJobCreateParameters) (result TestJob, err error)

Create create a test job of the runbook.

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(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string) (result TestJob, err error)

Get retrieve the test job for the specified runbook.

automationAccountName is the automation account name. runbookName is the runbook name.

func (TestJobsClient) GetPreparer

func (client TestJobsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string) (result autorest.Response, err error)

Resume resume the test job.

automationAccountName is the automation account name. runbookName is the runbook name.

func (TestJobsClient) ResumePreparer

func (client TestJobsClient) ResumePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string) (result autorest.Response, err error)

Stop stop the test job.

automationAccountName is the automation account name. runbookName is the runbook name.

func (TestJobsClient) StopPreparer

func (client TestJobsClient) StopPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, runbookName string) (result autorest.Response, err error)

Suspend suspend the test job.

automationAccountName is the automation account name. runbookName is the runbook name.

func (TestJobsClient) SuspendPreparer

func (client TestJobsClient) SuspendPreparer(ctx context.Context, 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 - Gets or sets the name of the field.
	Name *string `json:"name,omitempty"`
	// Type - Gets or sets the type of the field.
	Type *string `json:"type,omitempty"`
}

TypeField information about a field of a type.

type TypeFieldListResult

type TypeFieldListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of fields.
	Value *[]TypeField `json:"value,omitempty"`
}

TypeFieldListResult the response model for the list fields operation.

type UpdateConfiguration

type UpdateConfiguration struct {
	// OperatingSystem - operating system of target machines. Possible values include: 'Windows', 'Linux'
	OperatingSystem OperatingSystemType `json:"operatingSystem,omitempty"`
	// Windows - Windows specific update configuration.
	Windows *WindowsProperties `json:"windows,omitempty"`
	// Linux - Linux specific update configuration.
	Linux *LinuxProperties `json:"linux,omitempty"`
	// Duration - Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601
	Duration *string `json:"duration,omitempty"`
	// AzureVirtualMachines - List of azure resource Ids for azure virtual machines targeted by the software update configuration.
	AzureVirtualMachines *[]string `json:"azureVirtualMachines,omitempty"`
	// NonAzureComputerNames - List of names of non-azure machines targeted by the software update configuration.
	NonAzureComputerNames *[]string `json:"nonAzureComputerNames,omitempty"`
}

UpdateConfiguration update specifc properties of the software update configuration.

type UpdateConfigurationMachineRunProperties

type UpdateConfigurationMachineRunProperties struct {
	// TargetComputer - name of the updated computer
	TargetComputer *string `json:"targetComputer,omitempty"`
	// TargetComputerType - type of the updated computer.
	TargetComputerType *string `json:"targetComputerType,omitempty"`
	// SoftwareUpdateConfiguration - software update configuration triggered this run
	SoftwareUpdateConfiguration *UpdateConfigurationNavigation `json:"softwareUpdateConfiguration,omitempty"`
	// Status - Status of the software update configuration machine run.
	Status *string `json:"status,omitempty"`
	// OsType - Operating system target of the software update configuration triggered this run
	OsType *string `json:"osType,omitempty"`
	// CorrelationID - correlation id of the software update configuration machine run
	CorrelationID *uuid.UUID `json:"correlationId,omitempty"`
	// SourceComputerID - source computer id of the software update configuration machine run
	SourceComputerID *uuid.UUID `json:"sourceComputerId,omitempty"`
	// StartTime - Start time of the software update configuration machine run.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - End time of the software update configuration machine run.
	EndTime *date.Time `json:"endTime,omitempty"`
	// ConfiguredDuration - configured duration for the software update configuration run.
	ConfiguredDuration *string `json:"configuredDuration,omitempty"`
	// Job - Job associated with the software update configuration machine run
	Job *JobNavigation `json:"job,omitempty"`
	// CreationTime - Creation time of theresource, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// CreatedBy - createdBy property, which only appears in the response.
	CreatedBy *string `json:"createdBy,omitempty"`
	// LastModifiedTime - Last time resource was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastModifiedBy - lastModifiedBy property, which only appears in the response.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
}

UpdateConfigurationMachineRunProperties software update configuration machine run properties.

type UpdateConfigurationNavigation

type UpdateConfigurationNavigation struct {
	// Name - Name of the software update configuration triggered the software update configuration run
	Name *string `json:"name,omitempty"`
}

UpdateConfigurationNavigation software update configuration Run Navigation model.

type Usage

type Usage struct {
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the usage counter name.
	Name *UsageCounterName `json:"name,omitempty"`
	// Unit - Gets or sets the usage unit name.
	Unit *string `json:"unit,omitempty"`
	// CurrentValue - Gets or sets the current usage value.
	CurrentValue *float64 `json:"currentValue,omitempty"`
	// Limit - Gets or sets max limit. -1 for unlimited
	Limit *int64 `json:"limit,omitempty"`
	// ThrottleStatus - Gets or sets the throttle status.
	ThrottleStatus *string `json:"throttleStatus,omitempty"`
}

Usage definition of Usage.

type UsageCounterName

type UsageCounterName struct {
	// Value - Gets or sets the usage counter name.
	Value *string `json:"value,omitempty"`
	// LocalizedValue - Gets or sets the localized usage counter name.
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageCounterName definition of usage counter name.

type UsageListResult

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

UsageListResult the response model for the get usage operation.

type UsagesClient

type UsagesClient struct {
	BaseClient
}

UsagesClient is the automation Client

func NewUsagesClient

func NewUsagesClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) UsagesClient

NewUsagesClient creates an instance of the UsagesClient client.

func NewUsagesClientWithBaseURI

func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) UsagesClient

NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.

func (UsagesClient) ListByAutomationAccount

func (client UsagesClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result UsageListResult, err error)

ListByAutomationAccount retrieve the usage for the account id.

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

func (UsagesClient) ListByAutomationAccountPreparer

func (client UsagesClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (UsagesClient) ListByAutomationAccountResponder

func (client UsagesClient) ListByAutomationAccountResponder(resp *http.Response) (result UsageListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (UsagesClient) ListByAutomationAccountSender

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 - Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets the name of the variable.
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// VariableProperties - Gets or sets the properties of the variable.
	*VariableProperties `json:"properties,omitempty"`
}

Variable definition of the varible.

func (*Variable) UnmarshalJSON

func (vVar *Variable) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Variable struct.

type VariableClient

type VariableClient struct {
	BaseClient
}

VariableClient is the automation Client

func NewVariableClient

func NewVariableClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) VariableClient

NewVariableClient creates an instance of the VariableClient client.

func NewVariableClientWithBaseURI

func NewVariableClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) VariableClient

NewVariableClientWithBaseURI creates an instance of the VariableClient client.

func (VariableClient) CreateOrUpdate

func (client VariableClient) CreateOrUpdate(ctx context.Context, automationAccountName string, variableName string, parameters VariableCreateOrUpdateParameters) (result Variable, err error)

CreateOrUpdate create a variable.

automationAccountName is the automation account name. variableName is the variable name. parameters is the parameters supplied to the create or update variable operation.

func (VariableClient) CreateOrUpdatePreparer

func (client VariableClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, variableName string) (result autorest.Response, err error)

Delete delete the variable.

automationAccountName is the automation account name. variableName is the name of variable.

func (VariableClient) DeletePreparer

func (client VariableClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, variableName string) (result Variable, err error)

Get retrieve the variable identified by variable name.

automationAccountName is the automation account name. variableName is the name of variable.

func (VariableClient) GetPreparer

func (client VariableClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result VariableListResultPage, err error)

ListByAutomationAccount retrieve a list of variables.

automationAccountName is the automation account name.

func (VariableClient) ListByAutomationAccountComplete

func (client VariableClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string) (result VariableListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (VariableClient) ListByAutomationAccountPreparer

func (client VariableClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (VariableClient) ListByAutomationAccountResponder

func (client VariableClient) ListByAutomationAccountResponder(resp *http.Response) (result VariableListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (VariableClient) ListByAutomationAccountSender

func (client VariableClient) ListByAutomationAccountSender(req *http.Request) (*http.Response, error)

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

func (VariableClient) Update

func (client VariableClient) Update(ctx context.Context, automationAccountName string, variableName string, parameters VariableUpdateParameters) (result Variable, err error)

Update update a variable.

automationAccountName is the automation account name. variableName is the variable name. parameters is the parameters supplied to the update variable operation.

func (VariableClient) UpdatePreparer

func (client VariableClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the name of the variable.
	Name *string `json:"name,omitempty"`
	// VariableCreateOrUpdateProperties - Gets or sets the properties of the variable.
	*VariableCreateOrUpdateProperties `json:"properties,omitempty"`
}

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

func (*VariableCreateOrUpdateParameters) UnmarshalJSON

func (vcoup *VariableCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VariableCreateOrUpdateParameters struct.

type VariableCreateOrUpdateProperties

type VariableCreateOrUpdateProperties struct {
	// Value - Gets or sets the value of the variable.
	Value *string `json:"value,omitempty"`
	// Description - Gets or sets the description of the variable.
	Description *string `json:"description,omitempty"`
	// IsEncrypted - Gets or sets the encrypted flag of the variable.
	IsEncrypted *bool `json:"isEncrypted,omitempty"`
}

VariableCreateOrUpdateProperties the properties of the create variable operation.

type VariableListResult

type VariableListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of variables.
	Value *[]Variable `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

VariableListResult the response model for the list variables operation.

func (VariableListResult) IsEmpty

func (vlr VariableListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VariableListResultIterator

type VariableListResultIterator struct {
	// contains filtered or unexported fields
}

VariableListResultIterator provides access to a complete listing of Variable values.

func (*VariableListResultIterator) Next

func (iter *VariableListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VariableListResultIterator) NotDone

func (iter VariableListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VariableListResultIterator) Response

Response returns the raw server response from the last page request.

func (VariableListResultIterator) Value

func (iter VariableListResultIterator) Value() Variable

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VariableListResultPage

type VariableListResultPage struct {
	// contains filtered or unexported fields
}

VariableListResultPage contains a page of Variable values.

func (*VariableListResultPage) Next

func (page *VariableListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VariableListResultPage) NotDone

func (page VariableListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VariableListResultPage) Response

Response returns the raw server response from the last page request.

func (VariableListResultPage) Values

func (page VariableListResultPage) Values() []Variable

Values returns the slice of values for the current page or nil if there are no values.

type VariableProperties

type VariableProperties struct {
	// Value - Gets or sets the value of the variable.
	Value *string `json:"value,omitempty"`
	// IsEncrypted - Gets or sets the encrypted flag of the variable.
	IsEncrypted *bool `json:"isEncrypted,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

VariableProperties definition of the varible properties

type VariableUpdateParameters

type VariableUpdateParameters struct {
	// Name - Gets or sets the name of the variable.
	Name *string `json:"name,omitempty"`
	// VariableUpdateProperties - Gets or sets the value of the variable.
	*VariableUpdateProperties `json:"properties,omitempty"`
}

VariableUpdateParameters the parameters supplied to the update variable operation.

func (*VariableUpdateParameters) UnmarshalJSON

func (vup *VariableUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VariableUpdateParameters struct.

type VariableUpdateProperties

type VariableUpdateProperties struct {
	// Value - Gets or sets the value of the variable.
	Value *string `json:"value,omitempty"`
	// Description - Gets or sets the description of the variable.
	Description *string `json:"description,omitempty"`
}

VariableUpdateProperties the properties of the update variable

type Webhook

type Webhook struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the name of the webhook.
	Name *string `json:"name,omitempty"`
	// WebhookProperties - Gets or sets the webhook properties.
	*WebhookProperties `json:"properties,omitempty"`
}

Webhook definition of the webhook type.

func (*Webhook) UnmarshalJSON

func (w *Webhook) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Webhook struct.

type WebhookClient

type WebhookClient struct {
	BaseClient
}

WebhookClient is the automation Client

func NewWebhookClient

func NewWebhookClient(subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) WebhookClient

NewWebhookClient creates an instance of the WebhookClient client.

func NewWebhookClientWithBaseURI

func NewWebhookClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, clientRequestID string, automationAccountName string) WebhookClient

NewWebhookClientWithBaseURI creates an instance of the WebhookClient client.

func (WebhookClient) CreateOrUpdate

func (client WebhookClient) CreateOrUpdate(ctx context.Context, automationAccountName string, webhookName string, parameters WebhookCreateOrUpdateParameters) (result Webhook, err error)

CreateOrUpdate create the webhook identified by webhook name.

automationAccountName is the automation account name. webhookName is the webhook name. parameters is the create or update parameters for webhook.

func (WebhookClient) CreateOrUpdatePreparer

func (client WebhookClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, webhookName string) (result autorest.Response, err error)

Delete delete the webhook by name.

automationAccountName is the automation account name. webhookName is the webhook name.

func (WebhookClient) DeletePreparer

func (client WebhookClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string) (result String, err error)

GenerateURI generates a Uri for use in creating a webhook.

automationAccountName is the automation account name.

func (WebhookClient) GenerateURIPreparer

func (client WebhookClient) GenerateURIPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, webhookName string) (result Webhook, err error)

Get retrieve the webhook identified by webhook name.

automationAccountName is the automation account name. webhookName is the webhook name.

func (WebhookClient) GetPreparer

func (client WebhookClient) GetPreparer(ctx context.Context, 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(ctx context.Context, automationAccountName string, filter string) (result WebhookListResultPage, err error)

ListByAutomationAccount retrieve a list of webhooks.

automationAccountName is the automation account name. filter is the filter to apply on the operation.

func (WebhookClient) ListByAutomationAccountComplete

func (client WebhookClient) ListByAutomationAccountComplete(ctx context.Context, automationAccountName string, filter string) (result WebhookListResultIterator, err error)

ListByAutomationAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (WebhookClient) ListByAutomationAccountPreparer

func (client WebhookClient) ListByAutomationAccountPreparer(ctx context.Context, automationAccountName string, filter string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (WebhookClient) ListByAutomationAccountResponder

func (client WebhookClient) ListByAutomationAccountResponder(resp *http.Response) (result WebhookListResult, err error)

ListByAutomationAccountResponder handles the response to the ListByAutomationAccount request. The method always closes the http.Response Body.

func (WebhookClient) ListByAutomationAccountSender

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

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

func (WebhookClient) Update

func (client WebhookClient) Update(ctx context.Context, automationAccountName string, webhookName string, parameters WebhookUpdateParameters) (result Webhook, err error)

Update update the webhook identified by webhook name.

automationAccountName is the automation account name. webhookName is the webhook name. parameters is the update parameters for webhook.

func (WebhookClient) UpdatePreparer

func (client WebhookClient) UpdatePreparer(ctx context.Context, 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 - Gets or sets the name of the webhook.
	Name *string `json:"name,omitempty"`
	// WebhookCreateOrUpdateProperties - Gets or sets the properties of the webhook.
	*WebhookCreateOrUpdateProperties `json:"properties,omitempty"`
}

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

func (*WebhookCreateOrUpdateParameters) UnmarshalJSON

func (wcoup *WebhookCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebhookCreateOrUpdateParameters struct.

type WebhookCreateOrUpdateProperties

type WebhookCreateOrUpdateProperties struct {
	// IsEnabled - Gets or sets the value of the enabled flag of webhook.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// URI - Gets or sets the uri.
	URI *string `json:"uri,omitempty"`
	// ExpiryTime - Gets or sets the expiry time.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
	// Runbook - Gets or sets the runbook.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on.
	RunOn *string `json:"runOn,omitempty"`
}

WebhookCreateOrUpdateProperties the properties of the create webhook operation.

func (WebhookCreateOrUpdateProperties) MarshalJSON

func (wcoup WebhookCreateOrUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookCreateOrUpdateProperties.

type WebhookListResult

type WebhookListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of webhooks.
	Value *[]Webhook `json:"value,omitempty"`
	// NextLink - Gets or sets the next link.
	NextLink *string `json:"nextLink,omitempty"`
}

WebhookListResult the response model for the list webhook operation.

func (WebhookListResult) IsEmpty

func (wlr WebhookListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WebhookListResultIterator

type WebhookListResultIterator struct {
	// contains filtered or unexported fields
}

WebhookListResultIterator provides access to a complete listing of Webhook values.

func (*WebhookListResultIterator) Next

func (iter *WebhookListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WebhookListResultIterator) NotDone

func (iter WebhookListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WebhookListResultIterator) Response

Response returns the raw server response from the last page request.

func (WebhookListResultIterator) Value

func (iter WebhookListResultIterator) Value() Webhook

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WebhookListResultPage

type WebhookListResultPage struct {
	// contains filtered or unexported fields
}

WebhookListResultPage contains a page of Webhook values.

func (*WebhookListResultPage) Next

func (page *WebhookListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WebhookListResultPage) NotDone

func (page WebhookListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WebhookListResultPage) Response

func (page WebhookListResultPage) Response() WebhookListResult

Response returns the raw server response from the last page request.

func (WebhookListResultPage) Values

func (page WebhookListResultPage) Values() []Webhook

Values returns the slice of values for the current page or nil if there are no values.

type WebhookProperties

type WebhookProperties struct {
	// IsEnabled - Gets or sets the value of the enabled flag of the webhook.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// URI - Gets or sets the webhook uri.
	URI *string `json:"uri,omitempty"`
	// ExpiryTime - Gets or sets the expiry time.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// LastInvokedTime - Gets or sets the last invoked time.
	LastInvokedTime *date.Time `json:"lastInvokedTime,omitempty"`
	// Parameters - Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
	Parameters map[string]*string `json:"parameters"`
	// Runbook - Gets or sets the runbook the webhook is associated with.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on.
	RunOn *string `json:"runOn,omitempty"`
	// CreationTime - Gets or sets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

WebhookProperties definition of the webhook properties

func (WebhookProperties) MarshalJSON

func (wp WebhookProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookProperties.

type WebhookUpdateParameters

type WebhookUpdateParameters struct {
	// Name - Gets or sets the name of the webhook.
	Name *string `json:"name,omitempty"`
	// WebhookUpdateProperties - Gets or sets the value of the webhook.
	*WebhookUpdateProperties `json:"properties,omitempty"`
}

WebhookUpdateParameters the parameters supplied to the update webhook operation.

func (*WebhookUpdateParameters) UnmarshalJSON

func (wup *WebhookUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebhookUpdateParameters struct.

type WebhookUpdateProperties

type WebhookUpdateProperties struct {
	// IsEnabled - Gets or sets the value of the enabled flag of webhook.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on.
	RunOn *string `json:"runOn,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
	// Description - Gets or sets the description of the webhook.
	Description *string `json:"description,omitempty"`
}

WebhookUpdateProperties the properties of the update webhook.

func (WebhookUpdateProperties) MarshalJSON

func (wup WebhookUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookUpdateProperties.

type WindowsProperties

type WindowsProperties struct {
	// IncludedUpdateClassifications - Update classification included in the software update configuration. A comma separated string with required values. Possible values include: 'WindowsUpdateClassesUnclassified', 'WindowsUpdateClassesCritical', 'WindowsUpdateClassesSecurity', 'WindowsUpdateClassesUpdateRollup', 'WindowsUpdateClassesFeaturePack', 'WindowsUpdateClassesServicePack', 'WindowsUpdateClassesDefinition', 'WindowsUpdateClassesTools', 'WindowsUpdateClassesUpdates'
	IncludedUpdateClassifications WindowsUpdateClasses `json:"includedUpdateClassifications,omitempty"`
	// ExcludedKbNumbers - KB numbers excluded from the software update configuration.
	ExcludedKbNumbers *[]string `json:"excludedKbNumbers,omitempty"`
}

WindowsProperties windows specific update configuration.

type WindowsUpdateClasses

type WindowsUpdateClasses string

WindowsUpdateClasses enumerates the values for windows update classes.

const (
	// WindowsUpdateClassesCritical ...
	WindowsUpdateClassesCritical WindowsUpdateClasses = "Critical"
	// WindowsUpdateClassesDefinition ...
	WindowsUpdateClassesDefinition WindowsUpdateClasses = "Definition"
	// WindowsUpdateClassesFeaturePack ...
	WindowsUpdateClassesFeaturePack WindowsUpdateClasses = "FeaturePack"
	// WindowsUpdateClassesSecurity ...
	WindowsUpdateClassesSecurity WindowsUpdateClasses = "Security"
	// WindowsUpdateClassesServicePack ...
	WindowsUpdateClassesServicePack WindowsUpdateClasses = "ServicePack"
	// WindowsUpdateClassesTools ...
	WindowsUpdateClassesTools WindowsUpdateClasses = "Tools"
	// WindowsUpdateClassesUnclassified ...
	WindowsUpdateClassesUnclassified WindowsUpdateClasses = "Unclassified"
	// WindowsUpdateClassesUpdateRollup ...
	WindowsUpdateClassesUpdateRollup WindowsUpdateClasses = "UpdateRollup"
	// WindowsUpdateClassesUpdates ...
	WindowsUpdateClassesUpdates WindowsUpdateClasses = "Updates"
)

Jump to

Keyboard shortcuts

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