automation

package
v62.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 12 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"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

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

NewAccountClient creates an instance of the AccountClient client.

func NewAccountClientWithBaseURI

func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient

NewAccountClientWithBaseURI creates an instance of the AccountClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. parameters - 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. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

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. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

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. Parameters: resourceGroupName - name of an Azure Resource group.

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. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. parameters - 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 NewAccountListResultIterator

func NewAccountListResultIterator(page AccountListResultPage) AccountListResultIterator

Creates a new instance of the AccountListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*AccountListResultIterator) NextWithContext

func (iter *AccountListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewAccountListResultPage

func NewAccountListResultPage(cur AccountListResult, getNextPage func(context.Context, AccountListResult) (AccountListResult, error)) AccountListResultPage

Creates a new instance of the AccountListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*AccountListResultPage) NextWithContext

func (page *AccountListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - READ-ONLY; Gets status of account. Possible values include: 'Ok', 'Unavailable', 'Suspended'
	State AccountState `json:"state,omitempty"`
	// CreationTime - READ-ONLY; Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - READ-ONLY; 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.

func (AccountProperties) MarshalJSON

func (ap AccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountProperties.

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

func PossibleAccountStateValues

func PossibleAccountStateValues() []AccountState

PossibleAccountStateValues returns an array of possible values for the AccountState const type.

type AccountUpdateParameters

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

AccountUpdateParameters the parameters supplied to the update automation account operation.

func (AccountUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for AccountUpdateParameters.

func (*AccountUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AccountUpdateParameters struct.

type AccountUpdateProperties

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

AccountUpdateProperties the parameters supplied to the update account properties.

type Activity

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

Activity definition of the activity.

func (Activity) MarshalJSON

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

MarshalJSON is the custom marshaler for 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) ActivityClient

NewActivityClient creates an instance of the ActivityClient client.

func NewActivityClientWithBaseURI

func NewActivityClientWithBaseURI(baseURI string, subscriptionID string) ActivityClient

NewActivityClientWithBaseURI creates an instance of the ActivityClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ActivityClient) Get

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

Get retrieve the activity in the module identified by module name and activity name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the name of module. activityName - the name of activity.

func (ActivityClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ActivityClient) GetResponder

func (client ActivityClient) GetResponder(resp *http.Response) (result Activity, err error)

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

func (ActivityClient) GetSender

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, resourceGroupName string, automationAccountName string, moduleName string) (result ActivityListResultPage, err error)

ListByModule retrieve a list of activities in the module identified by module name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the name of module.

func (ActivityClient) ListByModuleComplete

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

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

func (ActivityClient) ListByModulePreparer

func (client ActivityClient) ListByModulePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string) (*http.Request, error)

ListByModulePreparer prepares the ListByModule request.

func (ActivityClient) ListByModuleResponder

func (client ActivityClient) ListByModuleResponder(resp *http.Response) (result ActivityListResult, err error)

ListByModuleResponder handles the response to the ListByModule request. The method always closes the http.Response Body.

func (ActivityClient) ListByModuleSender

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 NewActivityListResultIterator

func NewActivityListResultIterator(page ActivityListResultPage) ActivityListResultIterator

Creates a new instance of the ActivityListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*ActivityListResultIterator) NextWithContext

func (iter *ActivityListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewActivityListResultPage

func NewActivityListResultPage(cur ActivityListResult, getNextPage func(context.Context, ActivityListResult) (ActivityListResult, error)) ActivityListResultPage

Creates a new instance of the ActivityListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*ActivityListResultPage) NextWithContext

func (page *ActivityListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 *int64 `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"`
	// Description - Gets or sets the description of the activity parameter.
	Description *string `json:"description,omitempty"`
	// ValidationSet - Gets or sets the validation set of activity parameter.
	ValidationSet *[]ActivityParameterValidationSet `json:"validationSet,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 ActivityParameterValidationSet

type ActivityParameterValidationSet struct {
	// MemberValue - Gets or sets the name of the activity parameter validation set member.
	MemberValue *string `json:"memberValue,omitempty"`
}

ActivityParameterValidationSet definition of the activity parameter validation 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 information type.

type AgentRegistrationInformationClient

type AgentRegistrationInformationClient struct {
	BaseClient
}

AgentRegistrationInformationClient is the automation Client

func NewAgentRegistrationInformationClient

func NewAgentRegistrationInformationClient(subscriptionID string) AgentRegistrationInformationClient

NewAgentRegistrationInformationClient creates an instance of the AgentRegistrationInformationClient client.

func NewAgentRegistrationInformationClientWithBaseURI

func NewAgentRegistrationInformationClientWithBaseURI(baseURI string, subscriptionID string) AgentRegistrationInformationClient

NewAgentRegistrationInformationClientWithBaseURI creates an instance of the AgentRegistrationInformationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AgentRegistrationInformationClient) Get

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

Get retrieve the automation agent registration information. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (AgentRegistrationInformationClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AgentRegistrationInformationClient) GetResponder

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

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

func (AgentRegistrationInformationClient) GetSender

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

func (AgentRegistrationInformationClient) RegenerateKey

func (client AgentRegistrationInformationClient) RegenerateKey(ctx context.Context, resourceGroupName string, automationAccountName string, parameters AgentRegistrationRegenerateKeyParameter) (result AgentRegistration, err error)

RegenerateKey regenerate a primary or secondary agent registration key Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. parameters - the name of the agent registration key to be regenerated

func (AgentRegistrationInformationClient) RegenerateKeyPreparer

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

RegenerateKeyPreparer prepares the RegenerateKey request.

func (AgentRegistrationInformationClient) RegenerateKeyResponder

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

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

func (AgentRegistrationInformationClient) RegenerateKeySender

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

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

type AgentRegistrationKeyName

type AgentRegistrationKeyName string

AgentRegistrationKeyName enumerates the values for agent registration key name.

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

func PossibleAgentRegistrationKeyNameValues

func PossibleAgentRegistrationKeyNameValues() []AgentRegistrationKeyName

PossibleAgentRegistrationKeyNameValues returns an array of possible values for the AgentRegistrationKeyName const type.

type AgentRegistrationKeys

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

AgentRegistrationKeys definition of the agent registration keys.

type AgentRegistrationRegenerateKeyParameter

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

AgentRegistrationRegenerateKeyParameter the parameters supplied to the regenerate keys operation.

func (AgentRegistrationRegenerateKeyParameter) MarshalJSON

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

MarshalJSON is the custom marshaler for AgentRegistrationRegenerateKeyParameter.

type AzureQueryProperties

type AzureQueryProperties struct {
	// Scope - List of Subscription or Resource Group ARM Ids.
	Scope *[]string `json:"scope,omitempty"`
	// Locations - List of locations to scope the query to.
	Locations *[]string `json:"locations,omitempty"`
	// TagSettings - Tag settings for the VM.
	TagSettings *TagSettingsProperties `json:"tagSettings,omitempty"`
}

AzureQueryProperties azure query for the update configuration.

type BaseClient

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

BaseClient is the base client for Automation.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type Certificate

type Certificate struct {
	autorest.Response `json:"-"`
	// CertificateProperties - Gets or sets the properties of the certificate.
	*CertificateProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Certificate definition of the certificate.

func (Certificate) MarshalJSON

func (c Certificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Certificate.

func (*Certificate) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Certificate struct.

type CertificateClient

type CertificateClient struct {
	BaseClient
}

CertificateClient is the automation Client

func NewCertificateClient

func NewCertificateClient(subscriptionID string) CertificateClient

NewCertificateClient creates an instance of the CertificateClient client.

func NewCertificateClientWithBaseURI

func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient

NewCertificateClientWithBaseURI creates an instance of the CertificateClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CertificateClient) CreateOrUpdate

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

CreateOrUpdate create a certificate. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. certificateName - the parameters supplied to the create or update certificate operation. parameters - the parameters supplied to the create or update certificate operation.

func (CertificateClient) CreateOrUpdatePreparer

func (client CertificateClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters CertificateCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CertificateClient) CreateOrUpdateResponder

func (client CertificateClient) CreateOrUpdateResponder(resp *http.Response) (result Certificate, err error)

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

func (CertificateClient) CreateOrUpdateSender

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

Delete delete the certificate. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. certificateName - the name of certificate.

func (CertificateClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (CertificateClient) DeleteResponder

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

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

func (CertificateClient) DeleteSender

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, resourceGroupName string, automationAccountName string, certificateName string) (result Certificate, err error)

Get retrieve the certificate identified by certificate name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. certificateName - the name of certificate.

func (CertificateClient) GetPreparer

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

GetPreparer prepares the Get request.

func (CertificateClient) GetResponder

func (client CertificateClient) GetResponder(resp *http.Response) (result Certificate, err error)

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

func (CertificateClient) GetSender

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, resourceGroupName string, automationAccountName string) (result CertificateListResultPage, err error)

ListByAutomationAccount retrieve a list of certificates. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (CertificateClient) ListByAutomationAccountComplete

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

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

func (CertificateClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (CertificateClient) ListByAutomationAccountResponder

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

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

func (CertificateClient) ListByAutomationAccountSender

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

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

func (CertificateClient) Update

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

Update update a certificate. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. certificateName - the parameters supplied to the update certificate operation. parameters - the parameters supplied to the update certificate operation.

func (CertificateClient) UpdatePreparer

func (client CertificateClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, certificateName string, parameters CertificateUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CertificateClient) UpdateResponder

func (client CertificateClient) UpdateResponder(resp *http.Response) (result Certificate, err error)

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

func (CertificateClient) UpdateSender

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

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

MarshalJSON is the custom marshaler for CertificateCreateOrUpdateParameters.

func (*CertificateCreateOrUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CertificateCreateOrUpdateParameters struct.

type CertificateCreateOrUpdateProperties

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

CertificateCreateOrUpdateProperties the properties of the create certificate operation.

type CertificateListResult

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

CertificateListResult the response model for the list certificate operation.

func (CertificateListResult) IsEmpty

func (clr CertificateListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateListResultIterator

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

CertificateListResultIterator provides access to a complete listing of Certificate values.

func NewCertificateListResultIterator

func NewCertificateListResultIterator(page CertificateListResultPage) CertificateListResultIterator

Creates a new instance of the CertificateListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*CertificateListResultIterator) NextWithContext

func (iter *CertificateListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewCertificateListResultPage

Creates a new instance of the CertificateListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*CertificateListResultPage) NextWithContext

func (page *CertificateListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - READ-ONLY; Gets the thumbprint of the certificate.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// ExpiryTime - READ-ONLY; Gets the expiry time of the certificate.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// IsExportable - READ-ONLY; Gets the is exportable flag of the certificate.
	IsExportable *bool `json:"isExportable,omitempty"`
	// CreationTime - READ-ONLY; Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - READ-ONLY; 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.

func (CertificateProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for CertificateProperties.

type CertificateUpdateParameters

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

CertificateUpdateParameters the parameters supplied to the update certificate operation.

func (CertificateUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for CertificateUpdateParameters.

func (*CertificateUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CertificateUpdateParameters struct.

type CertificateUpdateProperties

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

CertificateUpdateProperties the properties of the update certificate operation

type 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:"-"`
	// ConnectionProperties - Gets or sets the properties of the connection.
	*ConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Connection definition of the connection.

func (Connection) MarshalJSON

func (c Connection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Connection.

func (*Connection) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Connection struct.

type ConnectionClient

type ConnectionClient struct {
	BaseClient
}

ConnectionClient is the automation Client

func NewConnectionClient

func NewConnectionClient(subscriptionID string) ConnectionClient

NewConnectionClient creates an instance of the ConnectionClient client.

func NewConnectionClientWithBaseURI

func NewConnectionClientWithBaseURI(baseURI string, subscriptionID string) ConnectionClient

NewConnectionClientWithBaseURI creates an instance of the ConnectionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectionClient) CreateOrUpdate

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

CreateOrUpdate create or update a connection. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. connectionName - the parameters supplied to the create or update connection operation. parameters - the parameters supplied to the create or update connection operation.

func (ConnectionClient) CreateOrUpdatePreparer

func (client ConnectionClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters ConnectionCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectionClient) CreateOrUpdateResponder

func (client ConnectionClient) CreateOrUpdateResponder(resp *http.Response) (result Connection, err error)

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

func (ConnectionClient) CreateOrUpdateSender

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, resourceGroupName string, automationAccountName string, connectionName string) (result Connection, err error)

Delete delete the connection. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. connectionName - the name of connection.

func (ConnectionClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ConnectionClient) DeleteResponder

func (client ConnectionClient) DeleteResponder(resp *http.Response) (result Connection, err error)

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

func (ConnectionClient) DeleteSender

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, resourceGroupName string, automationAccountName string, connectionName string) (result Connection, err error)

Get retrieve the connection identified by connection name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. connectionName - the name of connection.

func (ConnectionClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ConnectionClient) GetResponder

func (client ConnectionClient) GetResponder(resp *http.Response) (result Connection, err error)

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

func (ConnectionClient) GetSender

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, resourceGroupName string, automationAccountName string) (result ConnectionListResultPage, err error)

ListByAutomationAccount retrieve a list of connections. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (ConnectionClient) ListByAutomationAccountComplete

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

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

func (ConnectionClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ConnectionClient) ListByAutomationAccountResponder

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

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

func (ConnectionClient) ListByAutomationAccountSender

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

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

func (ConnectionClient) Update

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

Update update a connection. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. connectionName - the parameters supplied to the update a connection operation. parameters - the parameters supplied to the update a connection operation.

func (ConnectionClient) UpdatePreparer

func (client ConnectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionName string, parameters ConnectionUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ConnectionClient) UpdateResponder

func (client ConnectionClient) UpdateResponder(resp *http.Response) (result Connection, err error)

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

func (ConnectionClient) UpdateSender

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

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

MarshalJSON is the custom marshaler for ConnectionCreateOrUpdateParameters.

func (*ConnectionCreateOrUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConnectionCreateOrUpdateParameters struct.

type ConnectionCreateOrUpdateProperties

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

ConnectionCreateOrUpdateProperties the properties of the create connection properties

func (ConnectionCreateOrUpdateProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionCreateOrUpdateProperties.

type ConnectionListResult

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

ConnectionListResult the response model for the list connection operation.

func (ConnectionListResult) IsEmpty

func (clr ConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionListResultIterator

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

ConnectionListResultIterator provides access to a complete listing of Connection values.

func NewConnectionListResultIterator

func NewConnectionListResultIterator(page ConnectionListResultPage) ConnectionListResultIterator

Creates a new instance of the ConnectionListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*ConnectionListResultIterator) NextWithContext

func (iter *ConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewConnectionListResultPage

func NewConnectionListResultPage(cur ConnectionListResult, getNextPage func(context.Context, ConnectionListResult) (ConnectionListResult, error)) ConnectionListResultPage

Creates a new instance of the ConnectionListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*ConnectionListResultPage) NextWithContext

func (page *ConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - READ-ONLY; Gets the field definition values of the connection.
	FieldDefinitionValues map[string]*string `json:"fieldDefinitionValues"`
	// CreationTime - READ-ONLY; Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - READ-ONLY; 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 - READ-ONLY; Gets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Gets the name of the connection type.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// ConnectionTypeProperties - Gets or sets the properties of the connection type.
	*ConnectionTypeProperties `json:"properties,omitempty"`
}

ConnectionType definition of the connection type.

func (ConnectionType) MarshalJSON

func (ct ConnectionType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionType.

func (*ConnectionType) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConnectionType struct.

type ConnectionTypeAssociationProperty

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

ConnectionTypeAssociationProperty the connection type property associated with the entity.

type ConnectionTypeClient

type ConnectionTypeClient struct {
	BaseClient
}

ConnectionTypeClient is the automation Client

func NewConnectionTypeClient

func NewConnectionTypeClient(subscriptionID string) ConnectionTypeClient

NewConnectionTypeClient creates an instance of the ConnectionTypeClient client.

func NewConnectionTypeClientWithBaseURI

func NewConnectionTypeClientWithBaseURI(baseURI string, subscriptionID string) ConnectionTypeClient

NewConnectionTypeClientWithBaseURI creates an instance of the ConnectionTypeClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectionTypeClient) CreateOrUpdate

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

CreateOrUpdate create a connection type. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. connectionTypeName - the parameters supplied to the create or update connection type operation. parameters - the parameters supplied to the create or update connection type operation.

func (ConnectionTypeClient) CreateOrUpdatePreparer

func (client ConnectionTypeClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, connectionTypeName string, parameters ConnectionTypeCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectionTypeClient) CreateOrUpdateResponder

func (client ConnectionTypeClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectionType, err error)

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

func (ConnectionTypeClient) CreateOrUpdateSender

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

Delete delete the connection type. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. connectionTypeName - the name of connection type.

func (ConnectionTypeClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ConnectionTypeClient) DeleteResponder

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

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

func (ConnectionTypeClient) DeleteSender

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, resourceGroupName string, automationAccountName string, connectionTypeName string) (result ConnectionType, err error)

Get retrieve the connection type identified by connection type name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. connectionTypeName - the name of connection type.

func (ConnectionTypeClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ConnectionTypeClient) GetResponder

func (client ConnectionTypeClient) GetResponder(resp *http.Response) (result ConnectionType, err error)

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

func (ConnectionTypeClient) GetSender

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, resourceGroupName string, automationAccountName string) (result ConnectionTypeListResultPage, err error)

ListByAutomationAccount retrieve a list of connection types. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (ConnectionTypeClient) ListByAutomationAccountComplete

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

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

func (ConnectionTypeClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ConnectionTypeClient) ListByAutomationAccountResponder

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

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

func (ConnectionTypeClient) ListByAutomationAccountSender

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

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

type ConnectionTypeCreateOrUpdateParameters

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

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

func (ConnectionTypeCreateOrUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionTypeCreateOrUpdateParameters.

func (*ConnectionTypeCreateOrUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConnectionTypeCreateOrUpdateParameters struct.

type ConnectionTypeCreateOrUpdateProperties

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

ConnectionTypeCreateOrUpdateProperties the properties of the create connection type.

func (ConnectionTypeCreateOrUpdateProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionTypeCreateOrUpdateProperties.

type ConnectionTypeListResult

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

ConnectionTypeListResult the response model for the list connection type operation.

func (ConnectionTypeListResult) IsEmpty

func (ctlr ConnectionTypeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionTypeListResultIterator

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

ConnectionTypeListResultIterator provides access to a complete listing of ConnectionType values.

func NewConnectionTypeListResultIterator

func NewConnectionTypeListResultIterator(page ConnectionTypeListResultPage) ConnectionTypeListResultIterator

Creates a new instance of the ConnectionTypeListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*ConnectionTypeListResultIterator) NextWithContext

func (iter *ConnectionTypeListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewConnectionTypeListResultPage

Creates a new instance of the ConnectionTypeListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*ConnectionTypeListResultPage) NextWithContext

func (page *ConnectionTypeListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - READ-ONLY; Gets the field definitions of the connection type.
	FieldDefinitions map[string]*FieldDefinition `json:"fieldDefinitions"`
	// CreationTime - READ-ONLY; Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

ConnectionTypeProperties properties of the connection type.

func (ConnectionTypeProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionTypeProperties.

type ConnectionUpdateParameters

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

ConnectionUpdateParameters the parameters supplied to the update connection operation.

func (ConnectionUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionUpdateParameters.

func (*ConnectionUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConnectionUpdateParameters struct.

type ConnectionUpdateProperties

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

ConnectionUpdateProperties the properties of the update connection operation.

func (ConnectionUpdateProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionUpdateProperties.

type ContentHash

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

ContentHash definition of the runbook property type.

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

ContentLink definition of the content link.

type ContentSource

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

ContentSource definition of the content source.

type ContentSourceType

type ContentSourceType string

ContentSourceType enumerates the values for content source type.

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

func PossibleContentSourceTypeValues

func PossibleContentSourceTypeValues() []ContentSourceType

PossibleContentSourceTypeValues returns an array of possible values for the ContentSourceType const type.

type Credential

type Credential struct {
	autorest.Response `json:"-"`
	// CredentialProperties - Gets or sets the properties of the credential.
	*CredentialProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Credential definition of the credential.

func (Credential) MarshalJSON

func (c Credential) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Credential.

func (*Credential) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Credential struct.

type CredentialClient

type CredentialClient struct {
	BaseClient
}

CredentialClient is the automation Client

func NewCredentialClient

func NewCredentialClient(subscriptionID string) CredentialClient

NewCredentialClient creates an instance of the CredentialClient client.

func NewCredentialClientWithBaseURI

func NewCredentialClientWithBaseURI(baseURI string, subscriptionID string) CredentialClient

NewCredentialClientWithBaseURI creates an instance of the CredentialClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CredentialClient) CreateOrUpdate

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

CreateOrUpdate create a credential. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. credentialName - the parameters supplied to the create or update credential operation. parameters - the parameters supplied to the create or update credential operation.

func (CredentialClient) CreateOrUpdatePreparer

func (client CredentialClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters CredentialCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CredentialClient) CreateOrUpdateResponder

func (client CredentialClient) CreateOrUpdateResponder(resp *http.Response) (result Credential, err error)

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

func (CredentialClient) CreateOrUpdateSender

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

Delete delete the credential. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. credentialName - the name of credential.

func (CredentialClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (CredentialClient) DeleteResponder

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

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

func (CredentialClient) DeleteSender

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, resourceGroupName string, automationAccountName string, credentialName string) (result Credential, err error)

Get retrieve the credential identified by credential name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. credentialName - the name of credential.

func (CredentialClient) GetPreparer

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

GetPreparer prepares the Get request.

func (CredentialClient) GetResponder

func (client CredentialClient) GetResponder(resp *http.Response) (result Credential, err error)

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

func (CredentialClient) GetSender

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, resourceGroupName string, automationAccountName string) (result CredentialListResultPage, err error)

ListByAutomationAccount retrieve a list of credentials. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (CredentialClient) ListByAutomationAccountComplete

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

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

func (CredentialClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (CredentialClient) ListByAutomationAccountResponder

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

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

func (CredentialClient) ListByAutomationAccountSender

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

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

func (CredentialClient) Update

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

Update update a credential. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. credentialName - the parameters supplied to the Update credential operation. parameters - the parameters supplied to the Update credential operation.

func (CredentialClient) UpdatePreparer

func (client CredentialClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, credentialName string, parameters CredentialUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CredentialClient) UpdateResponder

func (client CredentialClient) UpdateResponder(resp *http.Response) (result Credential, err error)

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

func (CredentialClient) UpdateSender

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

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

MarshalJSON is the custom marshaler for CredentialCreateOrUpdateParameters.

func (*CredentialCreateOrUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CredentialCreateOrUpdateParameters struct.

type CredentialCreateOrUpdateProperties

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

CredentialCreateOrUpdateProperties the properties of the create credential 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 NewCredentialListResultIterator

func NewCredentialListResultIterator(page CredentialListResultPage) CredentialListResultIterator

Creates a new instance of the CredentialListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*CredentialListResultIterator) NextWithContext

func (iter *CredentialListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewCredentialListResultPage

func NewCredentialListResultPage(cur CredentialListResult, getNextPage func(context.Context, CredentialListResult) (CredentialListResult, error)) CredentialListResultPage

Creates a new instance of the CredentialListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*CredentialListResultPage) NextWithContext

func (page *CredentialListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - READ-ONLY; Gets the user name of the credential.
	UserName *string `json:"userName,omitempty"`
	// CreationTime - READ-ONLY; Gets the creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - READ-ONLY; 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

func (CredentialProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for CredentialProperties.

type CredentialUpdateParameters

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

CredentialUpdateParameters the parameters supplied to the Update credential operation.

func (CredentialUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for CredentialUpdateParameters.

func (*CredentialUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CredentialUpdateParameters struct.

type CredentialUpdateProperties

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

CredentialUpdateProperties the properties of the Update credential

type DscCompilationJob

type DscCompilationJob struct {
	autorest.Response `json:"-"`
	// DscCompilationJobProperties - Gets or sets the properties of the Dsc Compilation job.
	*DscCompilationJobProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

DscCompilationJob definition of the Dsc Compilation job.

func (DscCompilationJob) MarshalJSON

func (dcj DscCompilationJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscCompilationJob.

func (*DscCompilationJob) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DscCompilationJob struct.

type DscCompilationJobClient

type DscCompilationJobClient struct {
	BaseClient
}

DscCompilationJobClient is the automation Client

func NewDscCompilationJobClient

func NewDscCompilationJobClient(subscriptionID string) DscCompilationJobClient

NewDscCompilationJobClient creates an instance of the DscCompilationJobClient client.

func NewDscCompilationJobClientWithBaseURI

func NewDscCompilationJobClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobClient

NewDscCompilationJobClientWithBaseURI creates an instance of the DscCompilationJobClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DscCompilationJobClient) Create

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

Create creates the Dsc compilation job of the configuration. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. compilationJobID - the DSC configuration Id. parameters - the parameters supplied to the create compilation job operation.

func (DscCompilationJobClient) CreatePreparer

func (client DscCompilationJobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID, parameters DscCompilationJobCreateParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (DscCompilationJobClient) CreateResponder

func (client DscCompilationJobClient) CreateResponder(resp *http.Response) (result DscCompilationJob, err error)

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

func (DscCompilationJobClient) CreateSender

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, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID) (result DscCompilationJob, err error)

Get retrieve the Dsc configuration compilation job identified by job id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. compilationJobID - the Dsc configuration compilation job id.

func (DscCompilationJobClient) GetPreparer

func (client DscCompilationJobClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobID uuid.UUID) (*http.Request, error)

GetPreparer prepares the Get request.

func (DscCompilationJobClient) GetResponder

func (client DscCompilationJobClient) GetResponder(resp *http.Response) (result DscCompilationJob, err error)

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

func (DscCompilationJobClient) GetSender

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, resourceGroupName string, automationAccountName string, jobID uuid.UUID, jobStreamID string) (result JobStream, err error)

GetStream retrieve the job stream identified by job stream id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobID - the job id. jobStreamID - the job stream id.

func (DscCompilationJobClient) GetStreamPreparer

func (client DscCompilationJobClient) GetStreamPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID, jobStreamID string) (*http.Request, error)

GetStreamPreparer prepares the GetStream request.

func (DscCompilationJobClient) GetStreamResponder

func (client DscCompilationJobClient) GetStreamResponder(resp *http.Response) (result JobStream, err error)

GetStreamResponder handles the response to the GetStream request. The method always closes the http.Response Body.

func (DscCompilationJobClient) GetStreamSender

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, resourceGroupName string, automationAccountName string, filter string) (result DscCompilationJobListResultPage, err error)

ListByAutomationAccount retrieve a list of dsc compilation jobs. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation.

func (DscCompilationJobClient) ListByAutomationAccountComplete

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

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

func (DscCompilationJobClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscCompilationJobClient) ListByAutomationAccountResponder

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

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

func (DscCompilationJobClient) ListByAutomationAccountSender

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

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

type DscCompilationJobCreateParameters

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

DscCompilationJobCreateParameters the parameters supplied to the create compilation job operation.

func (DscCompilationJobCreateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for DscCompilationJobCreateParameters.

func (*DscCompilationJobCreateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DscCompilationJobCreateParameters struct.

type DscCompilationJobCreateProperties

type DscCompilationJobCreateProperties struct {
	// Configuration - Gets or sets the configuration.
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
	// IncrementNodeConfigurationBuild - If a new build version of NodeConfiguration is required.
	IncrementNodeConfigurationBuild *bool `json:"incrementNodeConfigurationBuild,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 NewDscCompilationJobListResultIterator

func NewDscCompilationJobListResultIterator(page DscCompilationJobListResultPage) DscCompilationJobListResultIterator

Creates a new instance of the DscCompilationJobListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*DscCompilationJobListResultIterator) NextWithContext

func (iter *DscCompilationJobListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDscCompilationJobListResultPage

Creates a new instance of the DscCompilationJobListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*DscCompilationJobListResultPage) NextWithContext

func (page *DscCompilationJobListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - READ-ONLY; Gets the compilation job started by.
	StartedBy *string `json:"startedBy,omitempty"`
	// JobID - READ-ONLY; Gets the id of the job.
	JobID *uuid.UUID `json:"jobId,omitempty"`
	// CreationTime - READ-ONLY; Gets the creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// ProvisioningState - The current provisioning state of the job. Possible values include: 'JobProvisioningStateFailed', 'JobProvisioningStateSucceeded', 'JobProvisioningStateSuspended', 'JobProvisioningStateProcessing'
	ProvisioningState JobProvisioningState `json:"provisioningState,omitempty"`
	// RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed.
	RunOn *string `json:"runOn,omitempty"`
	// Status - Gets or sets the status of the job. Possible values include: 'JobStatusNew', 'JobStatusActivating', 'JobStatusRunning', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusStopped', 'JobStatusBlocked', 'JobStatusSuspended', 'JobStatusDisconnected', 'JobStatusSuspending', 'JobStatusStopping', 'JobStatusResuming', 'JobStatusRemoving'
	Status JobStatus `json:"status,omitempty"`
	// StatusDetails - Gets or sets the status details of the job.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// StartTime - READ-ONLY; Gets the start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; Gets the end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Exception - READ-ONLY; Gets the exception of the job.
	Exception *string `json:"exception,omitempty"`
	// LastModifiedTime - READ-ONLY; Gets the last modified time of the job.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastStatusModifiedTime - READ-ONLY; Gets the last status modified time of the job.
	LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
}

DscCompilationJobProperties definition of Dsc Compilation job properties.

func (DscCompilationJobProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for DscCompilationJobProperties.

type DscCompilationJobStreamClient

type DscCompilationJobStreamClient struct {
	BaseClient
}

DscCompilationJobStreamClient is the automation Client

func NewDscCompilationJobStreamClient

func NewDscCompilationJobStreamClient(subscriptionID string) DscCompilationJobStreamClient

NewDscCompilationJobStreamClient creates an instance of the DscCompilationJobStreamClient client.

func NewDscCompilationJobStreamClientWithBaseURI

func NewDscCompilationJobStreamClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobStreamClient

NewDscCompilationJobStreamClientWithBaseURI creates an instance of the DscCompilationJobStreamClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DscCompilationJobStreamClient) ListByJob

func (client DscCompilationJobStreamClient) ListByJob(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (result JobStreamListResult, err error)

ListByJob retrieve all the job streams for the compilation Job. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobID - the job id.

func (DscCompilationJobStreamClient) ListByJobPreparer

func (client DscCompilationJobStreamClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobID uuid.UUID) (*http.Request, error)

ListByJobPreparer prepares the ListByJob request.

func (DscCompilationJobStreamClient) ListByJobResponder

func (client DscCompilationJobStreamClient) ListByJobResponder(resp *http.Response) (result JobStreamListResult, err error)

ListByJobResponder handles the response to the ListByJob request. The method always closes the http.Response Body.

func (DscCompilationJobStreamClient) ListByJobSender

func (client DscCompilationJobStreamClient) ListByJobSender(req *http.Request) (*http.Response, error)

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

type DscConfiguration

type DscConfiguration struct {
	autorest.Response `json:"-"`
	// DscConfigurationProperties - Gets or sets the configuration properties.
	*DscConfigurationProperties `json:"properties,omitempty"`
	// Etag - Gets or sets the etag of the resource.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

DscConfiguration definition of the configuration type.

func (DscConfiguration) MarshalJSON

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

MarshalJSON is the custom marshaler for DscConfiguration.

func (*DscConfiguration) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DscConfiguration struct.

type DscConfigurationAssociationProperty

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

DscConfigurationAssociationProperty the Dsc configuration property associated with the entity.

type DscConfigurationClient

type DscConfigurationClient struct {
	BaseClient
}

DscConfigurationClient is the automation Client

func NewDscConfigurationClient

func NewDscConfigurationClient(subscriptionID string) DscConfigurationClient

NewDscConfigurationClient creates an instance of the DscConfigurationClient client.

func NewDscConfigurationClientWithBaseURI

func NewDscConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscConfigurationClient

NewDscConfigurationClientWithBaseURI creates an instance of the DscConfigurationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DscConfigurationClient) CreateOrUpdate

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

CreateOrUpdate create the configuration identified by configuration name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. configurationName - the create or update parameters for configuration. parameters - the create or update parameters for configuration.

func (DscConfigurationClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DscConfigurationClient) CreateOrUpdateResponder

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

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

func (DscConfigurationClient) CreateOrUpdateSender

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

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

func (DscConfigurationClient) Delete

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

Delete delete the dsc configuration identified by configuration name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. configurationName - the configuration name.

func (DscConfigurationClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (DscConfigurationClient) DeleteResponder

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

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

func (DscConfigurationClient) DeleteSender

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, resourceGroupName string, automationAccountName string, configurationName string) (result DscConfiguration, err error)

Get retrieve the configuration identified by configuration name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. configurationName - the configuration name.

func (DscConfigurationClient) GetContent

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

GetContent retrieve the configuration script identified by configuration name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. configurationName - the configuration name.

func (DscConfigurationClient) GetContentPreparer

func (client DscConfigurationClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string) (*http.Request, error)

GetContentPreparer prepares the GetContent request.

func (DscConfigurationClient) GetContentResponder

func (client DscConfigurationClient) GetContentResponder(resp *http.Response) (result 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, resourceGroupName string, automationAccountName string, configurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DscConfigurationClient) GetResponder

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

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

func (DscConfigurationClient) GetSender

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

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

func (DscConfigurationClient) ListByAutomationAccount

func (client DscConfigurationClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string, skip *int32, top *int32, inlinecount string) (result DscConfigurationListResultPage, err error)

ListByAutomationAccount retrieve a list of configurations. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation. skip - the number of rows to skip. top - the number of rows to take. inlinecount - return total rows.

func (DscConfigurationClient) ListByAutomationAccountComplete

func (client DscConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, filter string, skip *int32, top *int32, inlinecount string) (result DscConfigurationListResultIterator, err error)

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

func (DscConfigurationClient) ListByAutomationAccountPreparer

func (client DscConfigurationClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, filter string, skip *int32, top *int32, inlinecount string) (*http.Request, error)

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscConfigurationClient) ListByAutomationAccountResponder

func (client DscConfigurationClient) ListByAutomationAccountResponder(resp *http.Response) (result DscConfigurationListResult, err error)

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

func (DscConfigurationClient) ListByAutomationAccountSender

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

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

func (DscConfigurationClient) Update

func (client DscConfigurationClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters *DscConfigurationUpdateParameters) (result DscConfiguration, err error)

Update create the configuration identified by configuration name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. configurationName - the create or update parameters for configuration. parameters - the create or update parameters for configuration.

func (DscConfigurationClient) UpdatePreparer

func (client DscConfigurationClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters *DscConfigurationUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DscConfigurationClient) UpdateResponder

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

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

func (DscConfigurationClient) UpdateSender

func (client DscConfigurationClient) 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 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"`
	// TotalCount - Gets the total number of configurations matching filter criteria.
	TotalCount *int32 `json:"totalCount,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 NewDscConfigurationListResultIterator

func NewDscConfigurationListResultIterator(page DscConfigurationListResultPage) DscConfigurationListResultIterator

Creates a new instance of the DscConfigurationListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*DscConfigurationListResultIterator) NextWithContext

func (iter *DscConfigurationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDscConfigurationListResultPage

Creates a new instance of the DscConfigurationListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*DscConfigurationListResultPage) NextWithContext

func (page *DscConfigurationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 mandatory 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"`
	// NodeConfigurationCount - Gets the number of compiled node configurations.
	NodeConfigurationCount *int32 `json:"nodeConfigurationCount,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

DscConfigurationProperties definition of the configuration property type.

func (DscConfigurationProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for DscConfigurationProperties.

type DscConfigurationProvisioningState

type DscConfigurationProvisioningState string

DscConfigurationProvisioningState enumerates the values for dsc configuration provisioning state.

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

func PossibleDscConfigurationProvisioningStateValues

func PossibleDscConfigurationProvisioningStateValues() []DscConfigurationProvisioningState

PossibleDscConfigurationProvisioningStateValues returns an array of possible values for the DscConfigurationProvisioningState const type.

type DscConfigurationState

type DscConfigurationState string

DscConfigurationState enumerates the values for dsc configuration state.

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

func PossibleDscConfigurationStateValues

func PossibleDscConfigurationStateValues() []DscConfigurationState

PossibleDscConfigurationStateValues returns an array of possible values for the DscConfigurationState const type.

type DscConfigurationUpdateParameters

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

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

func (DscConfigurationUpdateParameters) MarshalJSON

func (dcup DscConfigurationUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscConfigurationUpdateParameters.

func (*DscConfigurationUpdateParameters) UnmarshalJSON

func (dcup *DscConfigurationUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscConfigurationUpdateParameters struct.

type DscMetaConfiguration

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

DscMetaConfiguration definition of the DSC Meta Configuration.

type DscNode

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

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

NewDscNodeClient creates an instance of the DscNodeClient client.

func NewDscNodeClientWithBaseURI

func NewDscNodeClientWithBaseURI(baseURI string, subscriptionID string) DscNodeClient

NewDscNodeClientWithBaseURI creates an instance of the DscNodeClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DscNodeClient) Delete

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

Delete delete the dsc node identified by node id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeID - the node id.

func (DscNodeClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (DscNodeClient) DeleteResponder

func (client DscNodeClient) DeleteResponder(resp *http.Response) (result DscNode, err error)

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

func (DscNodeClient) DeleteSender

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, resourceGroupName string, automationAccountName string, nodeID string) (result DscNode, err error)

Get retrieve the dsc node identified by node id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeID - the node id.

func (DscNodeClient) GetPreparer

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

GetPreparer prepares the Get request.

func (DscNodeClient) GetResponder

func (client DscNodeClient) GetResponder(resp *http.Response) (result DscNode, err error)

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

func (DscNodeClient) GetSender

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, resourceGroupName string, automationAccountName string, filter string) (result DscNodeListResultPage, err error)

ListByAutomationAccount retrieve a list of dsc nodes. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation.

func (DscNodeClient) ListByAutomationAccountComplete

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

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

func (DscNodeClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscNodeClient) ListByAutomationAccountResponder

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

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

func (DscNodeClient) ListByAutomationAccountSender

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

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

func (DscNodeClient) Update

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

Update update the dsc node. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeID - parameters supplied to the update dsc node. parameters - parameters supplied to the update dsc node.

func (DscNodeClient) UpdatePreparer

func (client DscNodeClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, parameters DscNodeUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DscNodeClient) UpdateResponder

func (client DscNodeClient) UpdateResponder(resp *http.Response) (result DscNode, err error)

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

func (DscNodeClient) UpdateSender

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:"-"`
	// 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 - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

DscNodeConfiguration definition of the dsc node configuration.

func (DscNodeConfiguration) MarshalJSON

func (dnc DscNodeConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscNodeConfiguration.

type DscNodeConfigurationAssociationProperty

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

DscNodeConfigurationAssociationProperty the dsc node configuration property associated with the entity.

type DscNodeConfigurationClient

type DscNodeConfigurationClient struct {
	BaseClient
}

DscNodeConfigurationClient is the automation Client

func NewDscNodeConfigurationClient

func NewDscNodeConfigurationClient(subscriptionID string) DscNodeConfigurationClient

NewDscNodeConfigurationClient creates an instance of the DscNodeConfigurationClient client.

func NewDscNodeConfigurationClientWithBaseURI

func NewDscNodeConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscNodeConfigurationClient

NewDscNodeConfigurationClientWithBaseURI creates an instance of the DscNodeConfigurationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DscNodeConfigurationClient) CreateOrUpdate

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

CreateOrUpdate create the node configuration identified by node configuration name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeConfigurationName - the create or update parameters for configuration. parameters - the create or update parameters for configuration.

func (DscNodeConfigurationClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DscNodeConfigurationClient) CreateOrUpdateResponder

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

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

func (DscNodeConfigurationClient) CreateOrUpdateSender

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

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

func (DscNodeConfigurationClient) Delete

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

Delete delete the Dsc node configurations by node configuration. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeConfigurationName - the Dsc node configuration name.

func (DscNodeConfigurationClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (DscNodeConfigurationClient) DeleteResponder

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

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

func (DscNodeConfigurationClient) DeleteSender

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, resourceGroupName string, automationAccountName string, nodeConfigurationName string) (result DscNodeConfiguration, err error)

Get retrieve the Dsc node configurations by node configuration. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeConfigurationName - the Dsc node configuration name.

func (DscNodeConfigurationClient) GetPreparer

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

GetPreparer prepares the Get request.

func (DscNodeConfigurationClient) GetResponder

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

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

func (DscNodeConfigurationClient) GetSender

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, resourceGroupName string, automationAccountName string, filter string) (result DscNodeConfigurationListResultPage, err error)

ListByAutomationAccount retrieve a list of dsc node configurations. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation.

func (DscNodeConfigurationClient) ListByAutomationAccountComplete

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

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

func (DscNodeConfigurationClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscNodeConfigurationClient) ListByAutomationAccountResponder

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

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

func (DscNodeConfigurationClient) ListByAutomationAccountSender

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

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

type DscNodeConfigurationCreateOrUpdateParameters

type DscNodeConfigurationCreateOrUpdateParameters struct {
	// Source - Gets or sets the source.
	Source *ContentSource `json:"source,omitempty"`
	// Name - Name of the node configuration.
	Name *string `json:"name,omitempty"`
	// Configuration - Gets or sets the configuration of the node.
	Configuration *DscConfigurationAssociationProperty `json:"configuration,omitempty"`
	// IncrementNodeConfigurationBuild - If a new build version of NodeConfiguration is required.
	IncrementNodeConfigurationBuild *bool `json:"incrementNodeConfigurationBuild,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 NewDscNodeConfigurationListResultIterator

func NewDscNodeConfigurationListResultIterator(page DscNodeConfigurationListResultPage) DscNodeConfigurationListResultIterator

Creates a new instance of the DscNodeConfigurationListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*DscNodeConfigurationListResultIterator) NextWithContext

func (iter *DscNodeConfigurationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDscNodeConfigurationListResultPage

Creates a new instance of the DscNodeConfigurationListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*DscNodeConfigurationListResultPage) NextWithContext

func (page *DscNodeConfigurationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDscNodeListResultIterator

func NewDscNodeListResultIterator(page DscNodeListResultPage) DscNodeListResultIterator

Creates a new instance of the DscNodeListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*DscNodeListResultIterator) NextWithContext

func (iter *DscNodeListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDscNodeListResultPage

func NewDscNodeListResultPage(cur DscNodeListResult, getNextPage func(context.Context, DscNodeListResult) (DscNodeListResult, error)) DscNodeListResultPage

Creates a new instance of the DscNodeListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*DscNodeListResultPage) NextWithContext

func (page *DscNodeListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDscNodeReportListResultIterator

func NewDscNodeReportListResultIterator(page DscNodeReportListResultPage) DscNodeReportListResultIterator

Creates a new instance of the DscNodeReportListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*DscNodeReportListResultIterator) NextWithContext

func (iter *DscNodeReportListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDscNodeReportListResultPage

Creates a new instance of the DscNodeReportListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*DscNodeReportListResultPage) NextWithContext

func (page *DscNodeReportListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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) FieldsClient

NewFieldsClient creates an instance of the FieldsClient client.

func NewFieldsClientWithBaseURI

func NewFieldsClientWithBaseURI(baseURI string, subscriptionID string) FieldsClient

NewFieldsClientWithBaseURI creates an instance of the FieldsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FieldsClient) ListByType

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

ListByType retrieve a list of fields of a given type identified by module name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the name of module. typeName - the name of type.

func (FieldsClient) ListByTypePreparer

func (client FieldsClient) ListByTypePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, typeName string) (*http.Request, error)

ListByTypePreparer prepares the ListByType request.

func (FieldsClient) ListByTypeResponder

func (client FieldsClient) ListByTypeResponder(resp *http.Response) (result TypeFieldListResult, err error)

ListByTypeResponder handles the response to the ListByType request. The method always closes the http.Response Body.

func (FieldsClient) ListByTypeSender

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 GroupTypeEnum

type GroupTypeEnum string

GroupTypeEnum enumerates the values for group type enum.

const (
	// System ...
	System GroupTypeEnum = "System"
	// User ...
	User GroupTypeEnum = "User"
)

func PossibleGroupTypeEnumValues

func PossibleGroupTypeEnumValues() []GroupTypeEnum

PossibleGroupTypeEnumValues returns an array of possible values for the GroupTypeEnum const type.

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

func PossibleHTTPStatusCodeValues

func PossibleHTTPStatusCodeValues() []HTTPStatusCode

PossibleHTTPStatusCodeValues returns an array of possible values for the HTTPStatusCode const type.

type HybridRunbookWorker

type HybridRunbookWorker struct {
	// Name - Gets or sets the worker machine name.
	Name *string `json:"name,omitempty"`
	// IP - Gets or sets the assigned machine IP address.
	IP *string `json:"ip,omitempty"`
	// RegistrationTime - Gets or sets the registration time of the worker machine.
	RegistrationTime *date.Time `json:"registrationTime,omitempty"`
	// LastSeenDateTime - Last Heartbeat from the Worker
	LastSeenDateTime *date.Time `json:"lastSeenDateTime,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"`
	// GroupType - Type of the HybridWorkerGroup. Possible values include: 'User', 'System'
	GroupType GroupTypeEnum `json:"groupType,omitempty"`
}

HybridRunbookWorkerGroup definition of hybrid runbook worker group.

type HybridRunbookWorkerGroupClient

type HybridRunbookWorkerGroupClient struct {
	BaseClient
}

HybridRunbookWorkerGroupClient is the automation Client

func NewHybridRunbookWorkerGroupClient

func NewHybridRunbookWorkerGroupClient(subscriptionID string) HybridRunbookWorkerGroupClient

NewHybridRunbookWorkerGroupClient creates an instance of the HybridRunbookWorkerGroupClient client.

func NewHybridRunbookWorkerGroupClientWithBaseURI

func NewHybridRunbookWorkerGroupClientWithBaseURI(baseURI string, subscriptionID string) HybridRunbookWorkerGroupClient

NewHybridRunbookWorkerGroupClientWithBaseURI creates an instance of the HybridRunbookWorkerGroupClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HybridRunbookWorkerGroupClient) Delete

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

Delete delete a hybrid runbook worker group. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. hybridRunbookWorkerGroupName - the hybrid runbook worker group name

func (HybridRunbookWorkerGroupClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (HybridRunbookWorkerGroupClient) DeleteResponder

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

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

func (HybridRunbookWorkerGroupClient) DeleteSender

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

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

func (HybridRunbookWorkerGroupClient) Get

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

Get retrieve a hybrid runbook worker group. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. hybridRunbookWorkerGroupName - the hybrid runbook worker group name

func (HybridRunbookWorkerGroupClient) GetPreparer

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

GetPreparer prepares the Get request.

func (HybridRunbookWorkerGroupClient) GetResponder

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

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

func (HybridRunbookWorkerGroupClient) GetSender

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, resourceGroupName string, automationAccountName string, filter string) (result HybridRunbookWorkerGroupsListResultPage, err error)

ListByAutomationAccount retrieve a list of hybrid runbook worker groups. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation.

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountComplete

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

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

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountResponder

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

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

func (HybridRunbookWorkerGroupClient) ListByAutomationAccountSender

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

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

func (HybridRunbookWorkerGroupClient) Update

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

Update update a hybrid runbook worker group. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. hybridRunbookWorkerGroupName - the hybrid runbook worker group name parameters - the hybrid runbook worker group

func (HybridRunbookWorkerGroupClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (HybridRunbookWorkerGroupClient) UpdateResponder

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

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

func (HybridRunbookWorkerGroupClient) UpdateSender

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

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

type HybridRunbookWorkerGroupUpdateParameters

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

HybridRunbookWorkerGroupUpdateParameters parameters supplied to the update operation.

type HybridRunbookWorkerGroupsListResult

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

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

func (HybridRunbookWorkerGroupsListResult) IsEmpty

func (hrwglr HybridRunbookWorkerGroupsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HybridRunbookWorkerGroupsListResultIterator

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

HybridRunbookWorkerGroupsListResultIterator provides access to a complete listing of HybridRunbookWorkerGroup values.

func NewHybridRunbookWorkerGroupsListResultIterator

func NewHybridRunbookWorkerGroupsListResultIterator(page HybridRunbookWorkerGroupsListResultPage) HybridRunbookWorkerGroupsListResultIterator

Creates a new instance of the HybridRunbookWorkerGroupsListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*HybridRunbookWorkerGroupsListResultIterator) NextWithContext

func (iter *HybridRunbookWorkerGroupsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewHybridRunbookWorkerGroupsListResultPage

Creates a new instance of the HybridRunbookWorkerGroupsListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*HybridRunbookWorkerGroupsListResultPage) NextWithContext

func (page *HybridRunbookWorkerGroupsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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:"-"`
	// JobProperties - The properties of the job.
	*JobProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Job definition of the job.

func (Job) MarshalJSON

func (j Job) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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) JobClient

NewJobClient creates an instance of the JobClient client.

func NewJobClientWithBaseURI

func NewJobClientWithBaseURI(baseURI string, subscriptionID string) JobClient

NewJobClientWithBaseURI creates an instance of the JobClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobClient) Create

func (client JobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, jobName string, parameters JobCreateParameters, clientRequestID string) (result Job, err error)

Create create a job of the runbook. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. parameters - the parameters supplied to the create job operation. clientRequestID - identifies this specific client request.

func (JobClient) CreatePreparer

func (client JobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobName string, parameters JobCreateParameters, clientRequestID string) (*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, resourceGroupName string, automationAccountName string, jobName string, clientRequestID string) (result Job, err error)

Get retrieve the job identified by job name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. clientRequestID - identifies this specific client request.

func (JobClient) GetOutput

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

GetOutput retrieve the job output identified by job name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the name of the job to be created. clientRequestID - identifies this specific client request.

func (JobClient) GetOutputPreparer

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

GetRunbookContent retrieve the runbook content of the job identified by job name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. clientRequestID - identifies this specific client request.

func (JobClient) GetRunbookContentPreparer

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

ListByAutomationAccount retrieve a list of jobs. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation. clientRequestID - identifies this specific client request.

func (JobClient) ListByAutomationAccountComplete

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

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

func (JobClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (JobClient) ListByAutomationAccountResponder

func (client JobClient) ListByAutomationAccountResponder(resp *http.Response) (result JobListResultV2, 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, resourceGroupName string, automationAccountName string, jobName string, clientRequestID string) (result autorest.Response, err error)

Resume resume the job identified by jobName. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. clientRequestID - identifies this specific client request.

func (JobClient) ResumePreparer

func (client JobClient) ResumePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobName string, clientRequestID string) (*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, resourceGroupName string, automationAccountName string, jobName string, clientRequestID string) (result autorest.Response, err error)

Stop stop the job identified by jobName. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. clientRequestID - identifies this specific client request.

func (JobClient) StopPreparer

func (client JobClient) StopPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobName string, clientRequestID string) (*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, resourceGroupName string, automationAccountName string, jobName string, clientRequestID string) (result autorest.Response, err error)

Suspend suspend the job identified by job name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. clientRequestID - identifies this specific client request.

func (JobClient) SuspendPreparer

func (client JobClient) SuspendPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobName string, clientRequestID string) (*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 JobCollectionItem

type JobCollectionItem struct {
	// JobCollectionItemProperties - Job properties.
	*JobCollectionItemProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

JobCollectionItem job collection item properties.

func (JobCollectionItem) MarshalJSON

func (jci JobCollectionItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobCollectionItem.

func (*JobCollectionItem) UnmarshalJSON

func (jci *JobCollectionItem) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobCollectionItem struct.

type JobCollectionItemProperties

type JobCollectionItemProperties struct {
	// Runbook - READ-ONLY; The runbook association.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// JobID - READ-ONLY; The id of the job.
	JobID *uuid.UUID `json:"jobId,omitempty"`
	// CreationTime - READ-ONLY; The creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// Status - READ-ONLY; 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"`
	// StartTime - READ-ONLY; The start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; The end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// LastModifiedTime - READ-ONLY; The last modified time of the job.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of a resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// RunOn - Specifies the runOn group name where the job was executed.
	RunOn *string `json:"runOn,omitempty"`
}

JobCollectionItemProperties job collection item properties.

func (JobCollectionItemProperties) MarshalJSON

func (jcip JobCollectionItemProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobCollectionItemProperties.

type JobCreateParameters

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

JobCreateParameters the parameters supplied to the create job operation.

func (JobCreateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for JobCreateParameters.

func (*JobCreateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for JobCreateParameters struct.

type JobCreateProperties

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

JobCreateProperties ...

func (JobCreateProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for JobCreateProperties.

type JobListResultV2

type JobListResultV2 struct {
	autorest.Response `json:"-"`
	// Value - List of jobs.
	Value *[]JobCollectionItem `json:"value,omitempty"`
	// NextLink - READ-ONLY; The  link to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

JobListResultV2 the response model for the list job operation.

func (JobListResultV2) IsEmpty

func (jlrv JobListResultV2) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (JobListResultV2) MarshalJSON

func (jlrv JobListResultV2) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobListResultV2.

type JobListResultV2Iterator

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

JobListResultV2Iterator provides access to a complete listing of JobCollectionItem values.

func NewJobListResultV2Iterator

func NewJobListResultV2Iterator(page JobListResultV2Page) JobListResultV2Iterator

Creates a new instance of the JobListResultV2Iterator type.

func (*JobListResultV2Iterator) Next

func (iter *JobListResultV2Iterator) 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. Deprecated: Use NextWithContext() instead.

func (*JobListResultV2Iterator) NextWithContext

func (iter *JobListResultV2Iterator) NextWithContext(ctx context.Context) (err error)

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

func (JobListResultV2Iterator) NotDone

func (iter JobListResultV2Iterator) NotDone() bool

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

func (JobListResultV2Iterator) Response

func (iter JobListResultV2Iterator) Response() JobListResultV2

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

func (JobListResultV2Iterator) Value

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

type JobListResultV2Page

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

JobListResultV2Page contains a page of JobCollectionItem values.

func NewJobListResultV2Page

func NewJobListResultV2Page(cur JobListResultV2, getNextPage func(context.Context, JobListResultV2) (JobListResultV2, error)) JobListResultV2Page

Creates a new instance of the JobListResultV2Page type.

func (*JobListResultV2Page) Next

func (page *JobListResultV2Page) 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. Deprecated: Use NextWithContext() instead.

func (*JobListResultV2Page) NextWithContext

func (page *JobListResultV2Page) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (JobListResultV2Page) NotDone

func (page JobListResultV2Page) NotDone() bool

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

func (JobListResultV2Page) Response

func (page JobListResultV2Page) Response() JobListResultV2

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

func (JobListResultV2Page) Values

func (page JobListResultV2Page) Values() []JobCollectionItem

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

type JobNavigation

type JobNavigation struct {
	// ID - READ-ONLY; 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.

func (JobNavigation) MarshalJSON

func (jn JobNavigation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobNavigation.

type JobProperties

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

JobProperties definition of job properties.

func (JobProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for JobProperties.

type JobProvisioningState

type JobProvisioningState string

JobProvisioningState enumerates the values for job provisioning state.

const (
	// JobProvisioningStateFailed ...
	JobProvisioningStateFailed JobProvisioningState = "Failed"
	// JobProvisioningStateProcessing ...
	JobProvisioningStateProcessing JobProvisioningState = "Processing"
	// JobProvisioningStateSucceeded ...
	JobProvisioningStateSucceeded JobProvisioningState = "Succeeded"
	// JobProvisioningStateSuspended ...
	JobProvisioningStateSuspended JobProvisioningState = "Suspended"
)

func PossibleJobProvisioningStateValues

func PossibleJobProvisioningStateValues() []JobProvisioningState

PossibleJobProvisioningStateValues returns an array of possible values for the JobProvisioningState const type.

type JobSchedule

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

JobSchedule definition of the job schedule.

func (JobSchedule) MarshalJSON

func (js JobSchedule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobSchedule.

func (*JobSchedule) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for JobSchedule struct.

type JobScheduleClient

type JobScheduleClient struct {
	BaseClient
}

JobScheduleClient is the automation Client

func NewJobScheduleClient

func NewJobScheduleClient(subscriptionID string) JobScheduleClient

NewJobScheduleClient creates an instance of the JobScheduleClient client.

func NewJobScheduleClientWithBaseURI

func NewJobScheduleClientWithBaseURI(baseURI string, subscriptionID string) JobScheduleClient

NewJobScheduleClientWithBaseURI creates an instance of the JobScheduleClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobScheduleClient) Create

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

Create create a job schedule. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobScheduleID - the job schedule name. parameters - the parameters supplied to the create job schedule operation.

func (JobScheduleClient) CreatePreparer

func (client JobScheduleClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID, parameters JobScheduleCreateParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (JobScheduleClient) CreateResponder

func (client JobScheduleClient) CreateResponder(resp *http.Response) (result JobSchedule, err error)

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

func (JobScheduleClient) CreateSender

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, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (result autorest.Response, err error)

Delete delete the job schedule identified by job schedule name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobScheduleID - the job schedule name.

func (JobScheduleClient) DeletePreparer

func (client JobScheduleClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (JobScheduleClient) DeleteResponder

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

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

func (JobScheduleClient) DeleteSender

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, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (result JobSchedule, err error)

Get retrieve the job schedule identified by job schedule name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobScheduleID - the job schedule name.

func (JobScheduleClient) GetPreparer

func (client JobScheduleClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobScheduleID uuid.UUID) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobScheduleClient) GetResponder

func (client JobScheduleClient) GetResponder(resp *http.Response) (result JobSchedule, err error)

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

func (JobScheduleClient) GetSender

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, resourceGroupName string, automationAccountName string, filter string) (result JobScheduleListResultPage, err error)

ListByAutomationAccount retrieve a list of job schedules. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation.

func (JobScheduleClient) ListByAutomationAccountComplete

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

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

func (JobScheduleClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (JobScheduleClient) ListByAutomationAccountResponder

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

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

func (JobScheduleClient) ListByAutomationAccountSender

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

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

type JobScheduleCreateParameters

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

JobScheduleCreateParameters the parameters supplied to the create job schedule operation.

func (JobScheduleCreateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for JobScheduleCreateParameters.

func (*JobScheduleCreateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for JobScheduleCreateParameters struct.

type JobScheduleCreateProperties

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

JobScheduleCreateProperties the parameters supplied to the create job schedule operation.

func (JobScheduleCreateProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for JobScheduleCreateProperties.

type JobScheduleListResult

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

JobScheduleListResult the response model for the list job schedule operation.

func (JobScheduleListResult) IsEmpty

func (jslr JobScheduleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobScheduleListResultIterator

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

JobScheduleListResultIterator provides access to a complete listing of JobSchedule values.

func NewJobScheduleListResultIterator

func NewJobScheduleListResultIterator(page JobScheduleListResultPage) JobScheduleListResultIterator

Creates a new instance of the JobScheduleListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*JobScheduleListResultIterator) NextWithContext

func (iter *JobScheduleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewJobScheduleListResultPage

Creates a new instance of the JobScheduleListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*JobScheduleListResultPage) NextWithContext

func (page *JobScheduleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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"
)

func PossibleJobStatusValues

func PossibleJobStatusValues() []JobStatus

PossibleJobStatusValues returns an array of possible values for the JobStatus const type.

type JobStream

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

JobStream definition of the job stream.

func (JobStream) MarshalJSON

func (js JobStream) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobStream.

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

NewJobStreamClient creates an instance of the JobStreamClient client.

func NewJobStreamClientWithBaseURI

func NewJobStreamClientWithBaseURI(baseURI string, subscriptionID string) JobStreamClient

NewJobStreamClientWithBaseURI creates an instance of the JobStreamClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobStreamClient) Get

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

Get retrieve the job stream identified by job stream id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. jobStreamID - the job stream id. clientRequestID - identifies this specific client request.

func (JobStreamClient) GetPreparer

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

ListByJob retrieve a list of jobs streams identified by job name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. jobName - the job name. filter - the filter to apply on the operation. clientRequestID - identifies this specific client request.

func (JobStreamClient) ListByJobComplete

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

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

func (JobStreamClient) ListByJobPreparer

func (client JobStreamClient) ListByJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, jobName string, filter string, clientRequestID 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 NewJobStreamListResultIterator

func NewJobStreamListResultIterator(page JobStreamListResultPage) JobStreamListResultIterator

Creates a new instance of the JobStreamListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*JobStreamListResultIterator) NextWithContext

func (iter *JobStreamListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewJobStreamListResultPage

func NewJobStreamListResultPage(cur JobStreamListResult, getNextPage func(context.Context, JobStreamListResult) (JobStreamListResult, error)) JobStreamListResultPage

Creates a new instance of the JobStreamListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*JobStreamListResultPage) NextWithContext

func (page *JobStreamListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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"
)

func PossibleJobStreamTypeValues

func PossibleJobStreamTypeValues() []JobStreamType

PossibleJobStreamTypeValues returns an array of possible values for the JobStreamType const type.

type Key

type Key struct {
	// KeyName - READ-ONLY; Automation key name. Possible values include: 'KeyNamePrimary', 'KeyNameSecondary'
	KeyName KeyName `json:"KeyName,omitempty"`
	// Permissions - READ-ONLY; Automation key permissions. Possible values include: 'Read', 'Full'
	Permissions KeyPermissions `json:"Permissions,omitempty"`
	// Value - READ-ONLY; Value of the Automation Key used for registration.
	Value *string `json:"Value,omitempty"`
}

Key automation key which is used to register a DSC Node

func (Key) MarshalJSON

func (kVar Key) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Key.

type KeyListResult

type KeyListResult struct {
	autorest.Response `json:"-"`
	// Keys - Lists the automation keys.
	Keys *[]Key `json:"keys,omitempty"`
}

KeyListResult ...

type KeyName

type KeyName string

KeyName enumerates the values for key name.

const (
	// KeyNamePrimary ...
	KeyNamePrimary KeyName = "Primary"
	// KeyNameSecondary ...
	KeyNameSecondary KeyName = "Secondary"
)

func PossibleKeyNameValues

func PossibleKeyNameValues() []KeyName

PossibleKeyNameValues returns an array of possible values for the KeyName const type.

type KeyPermissions

type KeyPermissions string

KeyPermissions enumerates the values for key permissions.

const (
	// Full ...
	Full KeyPermissions = "Full"
	// Read ...
	Read KeyPermissions = "Read"
)

func PossibleKeyPermissionsValues

func PossibleKeyPermissionsValues() []KeyPermissions

PossibleKeyPermissionsValues returns an array of possible values for the KeyPermissions const type.

type KeysClient

type KeysClient struct {
	BaseClient
}

KeysClient is the automation Client

func NewKeysClient

func NewKeysClient(subscriptionID string) KeysClient

NewKeysClient creates an instance of the KeysClient client.

func NewKeysClientWithBaseURI

func NewKeysClientWithBaseURI(baseURI string, subscriptionID string) KeysClient

NewKeysClientWithBaseURI creates an instance of the KeysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (KeysClient) ListByAutomationAccount

func (client KeysClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result KeyListResult, err error)

ListByAutomationAccount retrieve the automation keys for an account. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (KeysClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (KeysClient) ListByAutomationAccountResponder

func (client KeysClient) ListByAutomationAccountResponder(resp *http.Response) (result KeyListResult, err error)

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

func (KeysClient) ListByAutomationAccountSender

func (client KeysClient) 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 LinkedWorkspace

type LinkedWorkspace struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Gets the id of the linked workspace.
	ID *string `json:"id,omitempty"`
}

LinkedWorkspace definition of the linked workspace.

func (LinkedWorkspace) MarshalJSON

func (lw LinkedWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LinkedWorkspace.

type LinkedWorkspaceClient

type LinkedWorkspaceClient struct {
	BaseClient
}

LinkedWorkspaceClient is the automation Client

func NewLinkedWorkspaceClient

func NewLinkedWorkspaceClient(subscriptionID string) LinkedWorkspaceClient

NewLinkedWorkspaceClient creates an instance of the LinkedWorkspaceClient client.

func NewLinkedWorkspaceClientWithBaseURI

func NewLinkedWorkspaceClientWithBaseURI(baseURI string, subscriptionID string) LinkedWorkspaceClient

NewLinkedWorkspaceClientWithBaseURI creates an instance of the LinkedWorkspaceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LinkedWorkspaceClient) Get

func (client LinkedWorkspaceClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string) (result LinkedWorkspace, err error)

Get retrieve the linked workspace for the account id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (LinkedWorkspaceClient) GetPreparer

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

GetPreparer prepares the Get request.

func (LinkedWorkspaceClient) GetResponder

func (client LinkedWorkspaceClient) GetResponder(resp *http.Response) (result LinkedWorkspace, err error)

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

func (LinkedWorkspaceClient) GetSender

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

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"`
	// IncludedPackageNameMasks - packages included from the software update configuration.
	IncludedPackageNameMasks *[]string `json:"includedPackageNameMasks,omitempty"`
	// RebootSetting - Reboot setting for the software update configuration.
	RebootSetting *string `json:"rebootSetting,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"
)

func PossibleLinuxUpdateClassesValues

func PossibleLinuxUpdateClassesValues() []LinuxUpdateClasses

PossibleLinuxUpdateClassesValues returns an array of possible values for the LinuxUpdateClasses const type.

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"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

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

NewModuleClient creates an instance of the ModuleClient client.

func NewModuleClientWithBaseURI

func NewModuleClientWithBaseURI(baseURI string, subscriptionID string) ModuleClient

NewModuleClientWithBaseURI creates an instance of the ModuleClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ModuleClient) CreateOrUpdate

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

CreateOrUpdate create or Update the module identified by module name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the name of module. parameters - the create or update parameters for module.

func (ModuleClient) CreateOrUpdatePreparer

func (client ModuleClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters ModuleCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ModuleClient) CreateOrUpdateResponder

func (client ModuleClient) CreateOrUpdateResponder(resp *http.Response) (result Module, err error)

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

func (ModuleClient) CreateOrUpdateSender

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

Delete delete the module by name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the module name.

func (ModuleClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ModuleClient) DeleteResponder

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

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

func (ModuleClient) DeleteSender

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, resourceGroupName string, automationAccountName string, moduleName string) (result Module, err error)

Get retrieve the module identified by module name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the module name.

func (ModuleClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ModuleClient) GetResponder

func (client ModuleClient) GetResponder(resp *http.Response) (result Module, err error)

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

func (ModuleClient) GetSender

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, resourceGroupName string, automationAccountName string) (result ModuleListResultPage, err error)

ListByAutomationAccount retrieve a list of modules. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (ModuleClient) ListByAutomationAccountComplete

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

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

func (ModuleClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ModuleClient) ListByAutomationAccountResponder

func (client ModuleClient) ListByAutomationAccountResponder(resp *http.Response) (result ModuleListResult, err error)

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

func (ModuleClient) ListByAutomationAccountSender

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, resourceGroupName string, automationAccountName string, moduleName string, parameters ModuleUpdateParameters) (result Module, err error)

Update update the module identified by module name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the name of module. parameters - the update parameters for module.

func (ModuleClient) UpdatePreparer

func (client ModuleClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, moduleName string, parameters ModuleUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ModuleClient) UpdateResponder

func (client ModuleClient) UpdateResponder(resp *http.Response) (result Module, err error)

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

func (ModuleClient) UpdateSender

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 NewModuleListResultIterator

func NewModuleListResultIterator(page ModuleListResultPage) ModuleListResultIterator

Creates a new instance of the ModuleListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*ModuleListResultIterator) NextWithContext

func (iter *ModuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewModuleListResultPage

func NewModuleListResultPage(cur ModuleListResult, getNextPage func(context.Context, ModuleListResult) (ModuleListResult, error)) ModuleListResultPage

Creates a new instance of the ModuleListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*ModuleListResultPage) NextWithContext

func (page *ModuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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"`
	// IsComposite - Gets or sets type of module, if its composite or not.
	IsComposite *bool `json:"isComposite,omitempty"`
}

ModuleProperties definition of the module property type.

type ModuleProvisioningState

type ModuleProvisioningState string

ModuleProvisioningState enumerates the values for module provisioning state.

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

func PossibleModuleProvisioningStateValues

func PossibleModuleProvisioningStateValues() []ModuleProvisioningState

PossibleModuleProvisioningStateValues returns an array of possible values for the ModuleProvisioningState const type.

type ModuleUpdateParameters

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

ModuleUpdateParameters the parameters supplied to the update module operation.

func (ModuleUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for ModuleUpdateParameters.

func (*ModuleUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ModuleUpdateParameters struct.

type ModuleUpdateProperties

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

ModuleUpdateProperties the parameters supplied to the update properties.

type NodeReportsClient

type NodeReportsClient struct {
	BaseClient
}

NodeReportsClient is the automation Client

func NewNodeReportsClient

func NewNodeReportsClient(subscriptionID string) NodeReportsClient

NewNodeReportsClient creates an instance of the NodeReportsClient client.

func NewNodeReportsClientWithBaseURI

func NewNodeReportsClientWithBaseURI(baseURI string, subscriptionID string) NodeReportsClient

NewNodeReportsClientWithBaseURI creates an instance of the NodeReportsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (NodeReportsClient) Get

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

Get retrieve the Dsc node report data by node id and report id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeID - the Dsc node id. reportID - the report id.

func (NodeReportsClient) GetContent

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

GetContent retrieve the Dsc node reports by node id and report id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeID - the Dsc node id. reportID - the report id.

func (NodeReportsClient) GetContentPreparer

func (client NodeReportsClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (*http.Request, error)

GetContentPreparer prepares the GetContent request.

func (NodeReportsClient) GetContentResponder

func (client NodeReportsClient) GetContentResponder(resp *http.Response) (result SetObject, err error)

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

func (NodeReportsClient) GetContentSender

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, resourceGroupName string, automationAccountName string, nodeID string, reportID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NodeReportsClient) GetResponder

func (client NodeReportsClient) GetResponder(resp *http.Response) (result DscNodeReport, err error)

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

func (NodeReportsClient) GetSender

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

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

func (NodeReportsClient) ListByNode

func (client NodeReportsClient) ListByNode(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, filter string) (result DscNodeReportListResultPage, err error)

ListByNode retrieve the Dsc node report list by node id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. nodeID - the parameters supplied to the list operation. filter - the filter to apply on the operation.

func (NodeReportsClient) ListByNodeComplete

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

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

func (NodeReportsClient) ListByNodePreparer

func (client NodeReportsClient) ListByNodePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, filter string) (*http.Request, error)

ListByNodePreparer prepares the ListByNode request.

func (NodeReportsClient) ListByNodeResponder

func (client NodeReportsClient) ListByNodeResponder(resp *http.Response) (result DscNodeReportListResult, err error)

ListByNodeResponder handles the response to the ListByNode request. The method always closes the http.Response Body.

func (NodeReportsClient) ListByNodeSender

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 NonAzureQueryProperties

type NonAzureQueryProperties struct {
	// FunctionAlias - Log Analytics Saved Search name.
	FunctionAlias *string `json:"functionAlias,omitempty"`
	// WorkspaceID - Workspace Id for Log Analytics in which the saved Search is resided.
	WorkspaceID *string `json:"workspaceId,omitempty"`
}

NonAzureQueryProperties non Azure query for the update configuration.

type ObjectDataTypesClient

type ObjectDataTypesClient struct {
	BaseClient
}

ObjectDataTypesClient is the automation Client

func NewObjectDataTypesClient

func NewObjectDataTypesClient(subscriptionID string) ObjectDataTypesClient

NewObjectDataTypesClient creates an instance of the ObjectDataTypesClient client.

func NewObjectDataTypesClientWithBaseURI

func NewObjectDataTypesClientWithBaseURI(baseURI string, subscriptionID string) ObjectDataTypesClient

NewObjectDataTypesClientWithBaseURI creates an instance of the ObjectDataTypesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ObjectDataTypesClient) ListFieldsByModuleAndType

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

ListFieldsByModuleAndType retrieve a list of fields of a given type identified by module name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. moduleName - the name of module. typeName - the name of type.

func (ObjectDataTypesClient) ListFieldsByModuleAndTypePreparer

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

ListFieldsByModuleAndTypePreparer prepares the ListFieldsByModuleAndType request.

func (ObjectDataTypesClient) ListFieldsByModuleAndTypeResponder

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

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

func (ObjectDataTypesClient) ListFieldsByModuleAndTypeSender

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

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

func (ObjectDataTypesClient) ListFieldsByType

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

ListFieldsByType retrieve a list of fields of a given type across all accessible modules. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. typeName - the name of type.

func (ObjectDataTypesClient) ListFieldsByTypePreparer

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

ListFieldsByTypePreparer prepares the ListFieldsByType request.

func (ObjectDataTypesClient) ListFieldsByTypeResponder

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

ListFieldsByTypeResponder handles the response to the ListFieldsByType request. The method always closes the http.Response Body.

func (ObjectDataTypesClient) ListFieldsByTypeSender

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

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

type OperatingSystemType

type OperatingSystemType string

OperatingSystemType enumerates the values for operating system type.

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

func PossibleOperatingSystemTypeValues

func PossibleOperatingSystemTypeValues() []OperatingSystemType

PossibleOperatingSystemTypeValues returns an array of possible values for the OperatingSystemType const type.

type Operation

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

Operation automation REST API operation

type OperationDisplay

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

OperationDisplay provider, Resource and Operation values

type OperationListResult

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

OperationListResult the response model for the list of Automation operations

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the automation Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

ProxyResource ARM proxy resource.

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type ReadCloser

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

ReadCloser ...

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Resource the core properties of ARM resources

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"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

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

NewRunbookClient creates an instance of the RunbookClient client.

func NewRunbookClientWithBaseURI

func NewRunbookClientWithBaseURI(baseURI string, subscriptionID string) RunbookClient

NewRunbookClientWithBaseURI creates an instance of the RunbookClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RunbookClient) CreateOrUpdate

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

CreateOrUpdate create the runbook identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name. parameters - the create or update parameters for runbook. Provide either content link for a published runbook or draft, not both.

func (RunbookClient) CreateOrUpdatePreparer

func (client RunbookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters RunbookCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RunbookClient) CreateOrUpdateResponder

func (client RunbookClient) CreateOrUpdateResponder(resp *http.Response) (result Runbook, err error)

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

func (RunbookClient) CreateOrUpdateSender

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

Delete delete the runbook by name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (RunbookClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (RunbookClient) DeleteResponder

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

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

func (RunbookClient) DeleteSender

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, resourceGroupName string, automationAccountName string, runbookName string) (result Runbook, err error)

Get retrieve the runbook identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (RunbookClient) GetContent

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

GetContent retrieve the content of runbook identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (RunbookClient) GetContentPreparer

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

GetContentPreparer prepares the GetContent request.

func (RunbookClient) GetContentResponder

func (client RunbookClient) GetContentResponder(resp *http.Response) (result 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, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RunbookClient) GetResponder

func (client RunbookClient) GetResponder(resp *http.Response) (result Runbook, err error)

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

func (RunbookClient) GetSender

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

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

func (RunbookClient) ListByAutomationAccount

func (client RunbookClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result RunbookListResultPage, err error)

ListByAutomationAccount retrieve a list of runbooks. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (RunbookClient) ListByAutomationAccountComplete

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

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

func (RunbookClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (RunbookClient) ListByAutomationAccountResponder

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

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

func (RunbookClient) ListByAutomationAccountSender

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

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

func (RunbookClient) Update

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

Update update the runbook identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name. parameters - the update parameters for runbook.

func (RunbookClient) UpdatePreparer

func (client RunbookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters RunbookUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RunbookClient) UpdateResponder

func (client RunbookClient) UpdateResponder(resp *http.Response) (result Runbook, err error)

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

func (RunbookClient) UpdateSender

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 draft 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 ...

func (RunbookDraft) MarshalJSON

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

MarshalJSON is the custom marshaler for RunbookDraft.

type RunbookDraftClient

type RunbookDraftClient struct {
	BaseClient
}

RunbookDraftClient is the automation Client

func NewRunbookDraftClient

func NewRunbookDraftClient(subscriptionID string) RunbookDraftClient

NewRunbookDraftClient creates an instance of the RunbookDraftClient client.

func NewRunbookDraftClientWithBaseURI

func NewRunbookDraftClientWithBaseURI(baseURI string, subscriptionID string) RunbookDraftClient

NewRunbookDraftClientWithBaseURI creates an instance of the RunbookDraftClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RunbookDraftClient) Get

func (client RunbookDraftClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraft, err error)

Get retrieve the runbook draft identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (RunbookDraftClient) GetContent

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

GetContent retrieve the content of runbook draft identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (RunbookDraftClient) GetContentPreparer

func (client RunbookDraftClient) GetContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

GetContentPreparer prepares the GetContent request.

func (RunbookDraftClient) GetContentResponder

func (client RunbookDraftClient) GetContentResponder(resp *http.Response) (result 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, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RunbookDraftClient) GetResponder

func (client RunbookDraftClient) GetResponder(resp *http.Response) (result RunbookDraft, err error)

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

func (RunbookDraftClient) GetSender

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

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

func (RunbookDraftClient) Publish

func (client RunbookDraftClient) Publish(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraftPublishFuture, err error)

Publish publish runbook draft. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the parameters supplied to the publish runbook operation.

func (RunbookDraftClient) PublishPreparer

func (client RunbookDraftClient) PublishPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

PublishPreparer prepares the Publish request.

func (RunbookDraftClient) PublishResponder

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

PublishResponder handles the response to the Publish request. The method always closes the http.Response Body.

func (RunbookDraftClient) PublishSender

func (client RunbookDraftClient) PublishSender(req *http.Request) (future RunbookDraftPublishFuture, err error)

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

func (RunbookDraftClient) ReplaceContent

func (client RunbookDraftClient) ReplaceContent(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, runbookContent io.ReadCloser) (result RunbookDraftReplaceContentFuture, err error)

ReplaceContent replaces the runbook draft content. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name. runbookContent - the runbook draft content.

func (RunbookDraftClient) ReplaceContentPreparer

func (client RunbookDraftClient) ReplaceContentPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, runbookContent io.ReadCloser) (*http.Request, error)

ReplaceContentPreparer prepares the ReplaceContent request.

func (RunbookDraftClient) ReplaceContentResponder

func (client RunbookDraftClient) ReplaceContentResponder(resp *http.Response) (result ReadCloser, err error)

ReplaceContentResponder handles the response to the ReplaceContent request. The method always closes the http.Response Body.

func (RunbookDraftClient) ReplaceContentSender

func (client RunbookDraftClient) ReplaceContentSender(req *http.Request) (future RunbookDraftReplaceContentFuture, err error)

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

func (RunbookDraftClient) UndoEdit

func (client RunbookDraftClient) UndoEdit(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result RunbookDraftUndoEditResult, err error)

UndoEdit undo draft edit to last known published state identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (RunbookDraftClient) UndoEditPreparer

func (client RunbookDraftClient) UndoEditPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

UndoEditPreparer prepares the UndoEdit request.

func (RunbookDraftClient) UndoEditResponder

func (client RunbookDraftClient) UndoEditResponder(resp *http.Response) (result RunbookDraftUndoEditResult, err error)

UndoEditResponder handles the response to the UndoEdit request. The method always closes the http.Response Body.

func (RunbookDraftClient) UndoEditSender

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 RunbookDraftPublishFuture

type RunbookDraftPublishFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RunbookDraftClient) (autorest.Response, error)
}

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

func (*RunbookDraftPublishFuture) UnmarshalJSON

func (future *RunbookDraftPublishFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RunbookDraftReplaceContentFuture

type RunbookDraftReplaceContentFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RunbookDraftClient) (ReadCloser, error)
}

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

func (*RunbookDraftReplaceContentFuture) UnmarshalJSON

func (future *RunbookDraftReplaceContentFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 undo edit 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 NewRunbookListResultIterator

func NewRunbookListResultIterator(page RunbookListResultPage) RunbookListResultIterator

Creates a new instance of the RunbookListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*RunbookListResultIterator) NextWithContext

func (iter *RunbookListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewRunbookListResultPage

func NewRunbookListResultPage(cur RunbookListResult, getNextPage func(context.Context, RunbookListResult) (RunbookListResult, error)) RunbookListResultPage

Creates a new instance of the RunbookListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*RunbookListResultPage) NextWithContext

func (page *RunbookListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 mandatory or not.
	IsMandatory *bool `json:"isMandatory,omitempty"`
	// Position - Get or sets the position of the parameter.
	Position *int32 `json:"position,omitempty"`
	// DefaultValue - Gets or sets the default value of parameter.
	DefaultValue *string `json:"defaultValue,omitempty"`
}

RunbookParameter definition of the runbook parameter type.

type RunbookProperties

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

RunbookProperties definition of the runbook property type.

func (RunbookProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for RunbookProperties.

type RunbookProvisioningState

type RunbookProvisioningState string

RunbookProvisioningState enumerates the values for runbook provisioning state.

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

func PossibleRunbookProvisioningStateValues

func PossibleRunbookProvisioningStateValues() []RunbookProvisioningState

PossibleRunbookProvisioningStateValues returns an array of possible values for the RunbookProvisioningState const type.

type RunbookState

type RunbookState string

RunbookState enumerates the values for runbook state.

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

func PossibleRunbookStateValues

func PossibleRunbookStateValues() []RunbookState

PossibleRunbookStateValues returns an array of possible values for the RunbookState const type.

type RunbookTypeEnum

type RunbookTypeEnum string

RunbookTypeEnum enumerates the values for runbook type enum.

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

func PossibleRunbookTypeEnumValues

func PossibleRunbookTypeEnumValues() []RunbookTypeEnum

PossibleRunbookTypeEnumValues returns an array of possible values for the RunbookTypeEnum const type.

type RunbookUpdateParameters

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

RunbookUpdateParameters the parameters supplied to the update runbook operation.

func (RunbookUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for RunbookUpdateParameters.

func (*RunbookUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for RunbookUpdateParameters struct.

type RunbookUpdateProperties

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

RunbookUpdateProperties the parameters supplied to the update runbook properties.

type Schedule

type Schedule struct {
	autorest.Response `json:"-"`
	// ScheduleProperties - Gets or sets the properties of the schedule.
	*ScheduleProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Schedule definition of the schedule.

func (Schedule) MarshalJSON

func (s Schedule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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) ScheduleClient

NewScheduleClient creates an instance of the ScheduleClient client.

func NewScheduleClientWithBaseURI

func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient

NewScheduleClientWithBaseURI creates an instance of the ScheduleClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ScheduleClient) CreateOrUpdate

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

CreateOrUpdate create a schedule. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. scheduleName - the schedule name. parameters - the parameters supplied to the create or update schedule operation.

func (ScheduleClient) CreateOrUpdatePreparer

func (client ScheduleClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters ScheduleCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ScheduleClient) CreateOrUpdateResponder

func (client ScheduleClient) CreateOrUpdateResponder(resp *http.Response) (result Schedule, err error)

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

func (ScheduleClient) CreateOrUpdateSender

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

Delete delete the schedule identified by schedule name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. scheduleName - the schedule name.

func (ScheduleClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ScheduleClient) DeleteResponder

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

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

func (ScheduleClient) DeleteSender

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, resourceGroupName string, automationAccountName string, scheduleName string) (result Schedule, err error)

Get retrieve the schedule identified by schedule name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. scheduleName - the schedule name.

func (ScheduleClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ScheduleClient) GetResponder

func (client ScheduleClient) GetResponder(resp *http.Response) (result Schedule, err error)

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

func (ScheduleClient) GetSender

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, resourceGroupName string, automationAccountName string) (result ScheduleListResultPage, err error)

ListByAutomationAccount retrieve a list of schedules. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (ScheduleClient) ListByAutomationAccountComplete

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

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

func (ScheduleClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ScheduleClient) ListByAutomationAccountResponder

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

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

func (ScheduleClient) ListByAutomationAccountSender

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

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

func (ScheduleClient) Update

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

Update update the schedule identified by schedule name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. scheduleName - the schedule name. parameters - the parameters supplied to the update schedule operation.

func (ScheduleClient) UpdatePreparer

func (client ScheduleClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, scheduleName string, parameters ScheduleUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ScheduleClient) UpdateResponder

func (client ScheduleClient) UpdateResponder(resp *http.Response) (result Schedule, err error)

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

func (ScheduleClient) UpdateSender

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

func (scoup ScheduleCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduleCreateOrUpdateParameters.

func (*ScheduleCreateOrUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ScheduleCreateOrUpdateParameters struct.

type ScheduleCreateOrUpdateProperties

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

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

type ScheduleDay

type ScheduleDay string

ScheduleDay enumerates the values for schedule day.

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

func PossibleScheduleDayValues

func PossibleScheduleDayValues() []ScheduleDay

PossibleScheduleDayValues returns an array of possible values for the ScheduleDay const type.

type ScheduleFrequency

type ScheduleFrequency string

ScheduleFrequency enumerates the values for schedule frequency.

const (
	// Day ...
	Day ScheduleFrequency = "Day"
	// Hour ...
	Hour ScheduleFrequency = "Hour"
	// Minute The minimum allowed interval for Minute schedules is 15 minutes.
	Minute ScheduleFrequency = "Minute"
	// Month ...
	Month ScheduleFrequency = "Month"
	// OneTime ...
	OneTime ScheduleFrequency = "OneTime"
	// Week ...
	Week ScheduleFrequency = "Week"
)

func PossibleScheduleFrequencyValues

func PossibleScheduleFrequencyValues() []ScheduleFrequency

PossibleScheduleFrequencyValues returns an array of possible values for the ScheduleFrequency const type.

type ScheduleListResult

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

ScheduleListResult the response model for the list schedule operation.

func (ScheduleListResult) IsEmpty

func (slr ScheduleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ScheduleListResultIterator

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

ScheduleListResultIterator provides access to a complete listing of Schedule values.

func NewScheduleListResultIterator

func NewScheduleListResultIterator(page ScheduleListResultPage) ScheduleListResultIterator

Creates a new instance of the ScheduleListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*ScheduleListResultIterator) NextWithContext

func (iter *ScheduleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewScheduleListResultPage

func NewScheduleListResultPage(cur ScheduleListResult, getNextPage func(context.Context, ScheduleListResult) (ScheduleListResult, error)) ScheduleListResultPage

Creates a new instance of the ScheduleListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*ScheduleListResultPage) NextWithContext

func (page *ScheduleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - READ-ONLY; 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 *int32 `json:"interval,omitempty"`
	// Frequency - Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month', 'Minute'
	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.

func (ScheduleProperties) MarshalJSON

func (sp ScheduleProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduleProperties.

type ScheduleUpdateParameters

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

ScheduleUpdateParameters the parameters supplied to the update schedule operation.

func (ScheduleUpdateParameters) MarshalJSON

func (sup ScheduleUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduleUpdateParameters.

func (*ScheduleUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ScheduleUpdateParameters struct.

type ScheduleUpdateProperties

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

ScheduleUpdateProperties the parameters supplied to the update schedule operation.

type SetObject

type SetObject struct {
	autorest.Response `json:"-"`
	Value             interface{} `json:"value,omitempty"`
}

SetObject ...

type Sku

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

Sku the account SKU.

type SkuNameEnum

type SkuNameEnum string

SkuNameEnum enumerates the values for sku name enum.

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

func PossibleSkuNameEnumValues

func PossibleSkuNameEnumValues() []SkuNameEnum

PossibleSkuNameEnumValues returns an array of possible values for the SkuNameEnum const type.

type SoftareUpdateConfigurationRunTaskProperties

type SoftareUpdateConfigurationRunTaskProperties struct {
	// Status - The status of the task.
	Status *string `json:"status,omitempty"`
	// Source - The name of the source of the task.
	Source *string `json:"source,omitempty"`
	// JobID - The job id of the task.
	JobID *string `json:"jobId,omitempty"`
}

SoftareUpdateConfigurationRunTaskProperties task properties of the software update configuration.

type SoftareUpdateConfigurationRunTasks

type SoftareUpdateConfigurationRunTasks struct {
	// PreTask - Pre task properties.
	PreTask *SoftareUpdateConfigurationRunTaskProperties `json:"preTask,omitempty"`
	// PostTask - Post task properties.
	PostTask *SoftareUpdateConfigurationRunTaskProperties `json:"postTask,omitempty"`
}

SoftareUpdateConfigurationRunTasks software update configuration run tasks model.

type SoftwareUpdateConfiguration

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

SoftwareUpdateConfiguration software update configuration properties.

func (SoftwareUpdateConfiguration) MarshalJSON

func (suc SoftwareUpdateConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SoftwareUpdateConfiguration.

func (*SoftwareUpdateConfiguration) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for SoftwareUpdateConfiguration struct.

type SoftwareUpdateConfigurationCollectionItem

type SoftwareUpdateConfigurationCollectionItem struct {
	// Name - READ-ONLY; Name of the software update configuration.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; 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) MarshalJSON

func (succi SoftwareUpdateConfigurationCollectionItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SoftwareUpdateConfigurationCollectionItem.

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', 'Minute'
	Frequency ScheduleFrequency `json:"frequency,omitempty"`
	// StartTime - the start time of the update.
	StartTime *date.Time `json:"startTime,omitempty"`
	// CreationTime - READ-ONLY; Creation time of the software update configuration, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - READ-ONLY; Last time software update configuration was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// ProvisioningState - READ-ONLY; 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.

func (SoftwareUpdateConfigurationCollectionItemProperties) MarshalJSON

MarshalJSON is the custom marshaler for SoftwareUpdateConfigurationCollectionItemProperties.

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 - READ-ONLY; Name of the software update configuration machine run
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; 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) MarshalJSON

func (sucmr SoftwareUpdateConfigurationMachineRun) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SoftwareUpdateConfigurationMachineRun.

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

NewSoftwareUpdateConfigurationMachineRunsClient creates an instance of the SoftwareUpdateConfigurationMachineRunsClient client.

func NewSoftwareUpdateConfigurationMachineRunsClientWithBaseURI

func NewSoftwareUpdateConfigurationMachineRunsClientWithBaseURI(baseURI string, subscriptionID string) SoftwareUpdateConfigurationMachineRunsClient

NewSoftwareUpdateConfigurationMachineRunsClientWithBaseURI creates an instance of the SoftwareUpdateConfigurationMachineRunsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SoftwareUpdateConfigurationMachineRunsClient) GetByID

func (client SoftwareUpdateConfigurationMachineRunsClient) GetByID(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationMachineRunID uuid.UUID, clientRequestID string) (result SoftwareUpdateConfigurationMachineRun, err error)

GetByID get a single software update configuration machine run by Id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. softwareUpdateConfigurationMachineRunID - the Id of the software update configuration machine run. clientRequestID - identifies this specific client request.

func (SoftwareUpdateConfigurationMachineRunsClient) GetByIDPreparer

func (client SoftwareUpdateConfigurationMachineRunsClient) GetByIDPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationMachineRunID uuid.UUID, clientRequestID string) (*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

func (client SoftwareUpdateConfigurationMachineRunsClient) List(ctx context.Context, resourceGroupName string, automationAccountName string, clientRequestID string, filter string, skip string, top string) (result SoftwareUpdateConfigurationMachineRunListResult, err error)

List return list of software update configuration machine runs Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. clientRequestID - identifies this specific client request. filter - the filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' skip - number of entries you skip before returning results top - maximum number of entries returned in the results collection

func (SoftwareUpdateConfigurationMachineRunsClient) ListPreparer

func (client SoftwareUpdateConfigurationMachineRunsClient) ListPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, clientRequestID string, 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 - READ-ONLY; Provisioning state for the software update configuration, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Error - Details of provisioning error
	Error *ErrorResponse `json:"error,omitempty"`
	// CreationTime - READ-ONLY; Creation time of the resource, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// CreatedBy - READ-ONLY; CreatedBy property, which only appears in the response.
	CreatedBy *string `json:"createdBy,omitempty"`
	// LastModifiedTime - READ-ONLY; Last time resource was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastModifiedBy - READ-ONLY; LastModifiedBy property, which only appears in the response.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Tasks - Tasks information for the Software update configuration.
	Tasks *SoftwareUpdateConfigurationTasks `json:"tasks,omitempty"`
}

SoftwareUpdateConfigurationProperties software update configuration properties.

func (SoftwareUpdateConfigurationProperties) MarshalJSON

func (sucp SoftwareUpdateConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SoftwareUpdateConfigurationProperties.

type SoftwareUpdateConfigurationRun

type SoftwareUpdateConfigurationRun struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; Name of the software update configuration run.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; 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) MarshalJSON

func (sucr SoftwareUpdateConfigurationRun) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SoftwareUpdateConfigurationRun.

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 - READ-ONLY; Status of the software update configuration run.
	Status *string `json:"status,omitempty"`
	// ConfiguredDuration - READ-ONLY; Configured duration for the software update configuration run.
	ConfiguredDuration *string `json:"configuredDuration,omitempty"`
	// OsType - READ-ONLY; Operating system target of the software update configuration triggered this run
	OsType *string `json:"osType,omitempty"`
	// StartTime - READ-ONLY; Start time of the software update configuration run.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; End time of the software update configuration run.
	EndTime *date.Time `json:"endTime,omitempty"`
	// ComputerCount - READ-ONLY; Number of computers in the software update configuration run.
	ComputerCount *int32 `json:"computerCount,omitempty"`
	// FailedCount - READ-ONLY; Number of computers with failed status.
	FailedCount *int32 `json:"failedCount,omitempty"`
	// CreationTime - READ-ONLY; Creation time of the resource, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// CreatedBy - READ-ONLY; CreatedBy property, which only appears in the response.
	CreatedBy *string `json:"createdBy,omitempty"`
	// LastModifiedTime - READ-ONLY; Last time resource was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastModifiedBy - READ-ONLY; LastModifiedBy property, which only appears in the response.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Tasks - Software update configuration tasks triggered in this run
	Tasks *SoftareUpdateConfigurationRunTasks `json:"tasks,omitempty"`
}

SoftwareUpdateConfigurationRunProperties software update configuration properties.

func (SoftwareUpdateConfigurationRunProperties) MarshalJSON

func (sucrp SoftwareUpdateConfigurationRunProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SoftwareUpdateConfigurationRunProperties.

type SoftwareUpdateConfigurationRunsClient

type SoftwareUpdateConfigurationRunsClient struct {
	BaseClient
}

SoftwareUpdateConfigurationRunsClient is the automation Client

func NewSoftwareUpdateConfigurationRunsClient

func NewSoftwareUpdateConfigurationRunsClient(subscriptionID string) SoftwareUpdateConfigurationRunsClient

NewSoftwareUpdateConfigurationRunsClient creates an instance of the SoftwareUpdateConfigurationRunsClient client.

func NewSoftwareUpdateConfigurationRunsClientWithBaseURI

func NewSoftwareUpdateConfigurationRunsClientWithBaseURI(baseURI string, subscriptionID string) SoftwareUpdateConfigurationRunsClient

NewSoftwareUpdateConfigurationRunsClientWithBaseURI creates an instance of the SoftwareUpdateConfigurationRunsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SoftwareUpdateConfigurationRunsClient) GetByID

func (client SoftwareUpdateConfigurationRunsClient) GetByID(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationRunID uuid.UUID, clientRequestID string) (result SoftwareUpdateConfigurationRun, err error)

GetByID get a single software update configuration Run by Id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. softwareUpdateConfigurationRunID - the Id of the software update configuration run. clientRequestID - identifies this specific client request.

func (SoftwareUpdateConfigurationRunsClient) GetByIDPreparer

func (client SoftwareUpdateConfigurationRunsClient) GetByIDPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationRunID uuid.UUID, clientRequestID string) (*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

func (client SoftwareUpdateConfigurationRunsClient) List(ctx context.Context, resourceGroupName string, automationAccountName string, clientRequestID string, filter string, skip string, top string) (result SoftwareUpdateConfigurationRunListResult, err error)

List return list of software update configuration runs Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. clientRequestID - identifies this specific client request. filter - the filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' skip - number of entries you skip before returning results top - maximum number of entries returned in the results collection

func (SoftwareUpdateConfigurationRunsClient) ListPreparer

func (client SoftwareUpdateConfigurationRunsClient) ListPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, clientRequestID string, 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 SoftwareUpdateConfigurationTasks

type SoftwareUpdateConfigurationTasks struct {
	// PreTask - Pre task properties.
	PreTask *TaskProperties `json:"preTask,omitempty"`
	// PostTask - Post task properties.
	PostTask *TaskProperties `json:"postTask,omitempty"`
}

SoftwareUpdateConfigurationTasks task properties of the software update configuration.

type SoftwareUpdateConfigurationsClient

type SoftwareUpdateConfigurationsClient struct {
	BaseClient
}

SoftwareUpdateConfigurationsClient is the automation Client

func NewSoftwareUpdateConfigurationsClient

func NewSoftwareUpdateConfigurationsClient(subscriptionID string) SoftwareUpdateConfigurationsClient

NewSoftwareUpdateConfigurationsClient creates an instance of the SoftwareUpdateConfigurationsClient client.

func NewSoftwareUpdateConfigurationsClientWithBaseURI

func NewSoftwareUpdateConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) SoftwareUpdateConfigurationsClient

NewSoftwareUpdateConfigurationsClientWithBaseURI creates an instance of the SoftwareUpdateConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SoftwareUpdateConfigurationsClient) Create

func (client SoftwareUpdateConfigurationsClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationName string, parameters SoftwareUpdateConfiguration, clientRequestID string) (result SoftwareUpdateConfiguration, err error)

Create create a new software update configuration with the name given in the URI. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. softwareUpdateConfigurationName - the name of the software update configuration to be created. parameters - request body. clientRequestID - identifies this specific client request.

func (SoftwareUpdateConfigurationsClient) CreatePreparer

func (client SoftwareUpdateConfigurationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationName string, parameters SoftwareUpdateConfiguration, clientRequestID string) (*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, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationName string, clientRequestID string) (result autorest.Response, err error)

Delete delete a specific software update configuration. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. softwareUpdateConfigurationName - the name of the software update configuration to be created. clientRequestID - identifies this specific client request.

func (SoftwareUpdateConfigurationsClient) DeletePreparer

func (client SoftwareUpdateConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationName string, clientRequestID 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, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationName string, clientRequestID string) (result SoftwareUpdateConfiguration, err error)

GetByName get a single software update configuration by name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. softwareUpdateConfigurationName - the name of the software update configuration to be created. clientRequestID - identifies this specific client request.

func (SoftwareUpdateConfigurationsClient) GetByNamePreparer

func (client SoftwareUpdateConfigurationsClient) GetByNamePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationName string, clientRequestID 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

func (client SoftwareUpdateConfigurationsClient) List(ctx context.Context, resourceGroupName string, automationAccountName string, clientRequestID string, filter string) (result SoftwareUpdateConfigurationListResult, err error)

List get all software update configurations for the account. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. clientRequestID - identifies this specific client request. filter - the filter to apply on the operation.

func (SoftwareUpdateConfigurationsClient) ListPreparer

func (client SoftwareUpdateConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, clientRequestID string, 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:"-"`
	// SourceControlProperties - The properties of the source control.
	*SourceControlProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

SourceControl definition of the source control.

func (SourceControl) MarshalJSON

func (sc SourceControl) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControl.

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

NewSourceControlClient creates an instance of the SourceControlClient client.

func NewSourceControlClientWithBaseURI

func NewSourceControlClientWithBaseURI(baseURI string, subscriptionID string) SourceControlClient

NewSourceControlClientWithBaseURI creates an instance of the SourceControlClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SourceControlClient) CreateOrUpdate

func (client SourceControlClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, parameters SourceControlCreateOrUpdateParameters) (result SourceControl, err error)

CreateOrUpdate create a source control. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the source control name. parameters - the parameters supplied to the create or update source control operation.

func (SourceControlClient) CreateOrUpdatePreparer

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

Delete delete the source control. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the name of source control.

func (SourceControlClient) DeletePreparer

func (client SourceControlClient) DeletePreparer(ctx context.Context, resourceGroupName string, 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, resourceGroupName string, automationAccountName string, sourceControlName string) (result SourceControl, err error)

Get retrieve the source control identified by source control name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the name of source control.

func (SourceControlClient) GetPreparer

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

ListByAutomationAccount retrieve a list of source controls. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation.

func (SourceControlClient) ListByAutomationAccountComplete

func (client SourceControlClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, 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, resourceGroupName string, 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, resourceGroupName string, automationAccountName string, sourceControlName string, parameters SourceControlUpdateParameters) (result SourceControl, err error)

Update update a source control. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the source control name. parameters - the parameters supplied to the update source control operation.

func (SourceControlClient) UpdatePreparer

func (client SourceControlClient) UpdatePreparer(ctx context.Context, resourceGroupName string, 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 - The properties of the source control.
	*SourceControlCreateOrUpdateProperties `json:"properties,omitempty"`
}

SourceControlCreateOrUpdateParameters the parameters supplied to the create or update source control operation.

func (SourceControlCreateOrUpdateParameters) MarshalJSON

func (sccoup SourceControlCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlCreateOrUpdateParameters.

func (*SourceControlCreateOrUpdateParameters) UnmarshalJSON

func (sccoup *SourceControlCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlCreateOrUpdateParameters struct.

type SourceControlCreateOrUpdateProperties

type SourceControlCreateOrUpdateProperties struct {
	// RepoURL - The repo url of the source control.
	RepoURL *string `json:"repoUrl,omitempty"`
	// Branch - The repo branch of the source control. Include branch as empty string for VsoTfvc.
	Branch *string `json:"branch,omitempty"`
	// FolderPath - The folder path of the source control. Path must be relative.
	FolderPath *string `json:"folderPath,omitempty"`
	// AutoSync - The auto async of the source control. Default is false.
	AutoSync *bool `json:"autoSync,omitempty"`
	// PublishRunbook - 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 - The authorization token for the repo of the source control.
	SecurityToken *SourceControlSecurityTokenProperties `json:"securityToken,omitempty"`
	// Description - 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 - The list of source controls.
	Value *[]SourceControl `json:"value,omitempty"`
	// NextLink - 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 NewSourceControlListResultIterator

func NewSourceControlListResultIterator(page SourceControlListResultPage) SourceControlListResultIterator

Creates a new instance of the SourceControlListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*SourceControlListResultIterator) NextWithContext

func (iter *SourceControlListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewSourceControlListResultPage

Creates a new instance of the SourceControlListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*SourceControlListResultPage) NextWithContext

func (page *SourceControlListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - The repo url of the source control.
	RepoURL *string `json:"repoUrl,omitempty"`
	// Branch - The repo branch of the source control. Include branch as empty string for VsoTfvc.
	Branch *string `json:"branch,omitempty"`
	// FolderPath - The folder path of the source control.
	FolderPath *string `json:"folderPath,omitempty"`
	// AutoSync - The auto sync of the source control. Default is false.
	AutoSync *bool `json:"autoSync,omitempty"`
	// PublishRunbook - 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 - The description.
	Description *string `json:"description,omitempty"`
	// CreationTime - The creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - The last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
}

SourceControlProperties definition of the source control properties

type SourceControlSecurityTokenProperties

type SourceControlSecurityTokenProperties struct {
	// AccessToken - The access token.
	AccessToken *string `json:"accessToken,omitempty"`
	// RefreshToken - The refresh token.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// TokenType - The token type. Must be either PersonalAccessToken or Oauth. Possible values include: 'PersonalAccessToken', 'Oauth'
	TokenType TokenType `json:"tokenType,omitempty"`
}

SourceControlSecurityTokenProperties ...

type SourceControlSyncJob

type SourceControlSyncJob struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// ID - READ-ONLY; Resource id.
	ID *string `json:"id,omitempty"`
	// SourceControlSyncJobProperties - The properties of the source control sync job.
	*SourceControlSyncJobProperties `json:"properties,omitempty"`
}

SourceControlSyncJob definition of the source control sync job.

func (SourceControlSyncJob) MarshalJSON

func (scsj SourceControlSyncJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJob.

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 - The id of the job.
	ID *string `json:"id,omitempty"`
	// SourceControlSyncJobByIDProperties - The properties of the source control sync job.
	*SourceControlSyncJobByIDProperties `json:"properties,omitempty"`
}

SourceControlSyncJobByID definition of the source control sync job.

func (SourceControlSyncJobByID) MarshalJSON

func (scsjbi SourceControlSyncJobByID) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobByID.

func (*SourceControlSyncJobByID) UnmarshalJSON

func (scsjbi *SourceControlSyncJobByID) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlSyncJobByID struct.

type SourceControlSyncJobByIDProperties

type SourceControlSyncJobByIDProperties struct {
	// SourceControlSyncJobID - The source control sync job id.
	SourceControlSyncJobID *string `json:"sourceControlSyncJobId,omitempty"`
	// CreationTime - READ-ONLY; The creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// ProvisioningState - The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StartTime - READ-ONLY; The start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; The end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// SyncType - The sync type. Possible values include: 'PartialSync', 'FullSync'
	SyncType SyncType `json:"syncType,omitempty"`
	// Exception - The exceptions that occurred while running the sync job.
	Exception *string `json:"exception,omitempty"`
}

SourceControlSyncJobByIDProperties definition of source control sync job properties.

func (SourceControlSyncJobByIDProperties) MarshalJSON

func (scsjbip SourceControlSyncJobByIDProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobByIDProperties.

type SourceControlSyncJobClient

type SourceControlSyncJobClient struct {
	BaseClient
}

SourceControlSyncJobClient is the automation Client

func NewSourceControlSyncJobClient

func NewSourceControlSyncJobClient(subscriptionID string) SourceControlSyncJobClient

NewSourceControlSyncJobClient creates an instance of the SourceControlSyncJobClient client.

func NewSourceControlSyncJobClientWithBaseURI

func NewSourceControlSyncJobClientWithBaseURI(baseURI string, subscriptionID string) SourceControlSyncJobClient

NewSourceControlSyncJobClientWithBaseURI creates an instance of the SourceControlSyncJobClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SourceControlSyncJobClient) Create

func (client SourceControlSyncJobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID, parameters SourceControlSyncJobCreateParameters) (result SourceControlSyncJob, err error)

Create creates the sync job for a source control. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the source control name. sourceControlSyncJobID - the source control sync job id. parameters - the parameters supplied to the create source control sync job operation.

func (SourceControlSyncJobClient) CreatePreparer

func (client SourceControlSyncJobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID, parameters SourceControlSyncJobCreateParameters) (*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, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID) (result SourceControlSyncJobByID, err error)

Get retrieve the source control sync job identified by job id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the source control name. sourceControlSyncJobID - the source control sync job id.

func (SourceControlSyncJobClient) GetPreparer

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

ListByAutomationAccount retrieve a list of source control sync jobs. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the source control name. filter - the filter to apply on the operation.

func (SourceControlSyncJobClient) ListByAutomationAccountComplete

func (client SourceControlSyncJobClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, 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, resourceGroupName string, 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 SourceControlSyncJobCreateParameters

type SourceControlSyncJobCreateParameters struct {
	// SourceControlSyncJobCreateProperties - The properties of the source control sync job.
	*SourceControlSyncJobCreateProperties `json:"properties,omitempty"`
}

SourceControlSyncJobCreateParameters the parameters supplied to the create source control sync job operation.

func (SourceControlSyncJobCreateParameters) MarshalJSON

func (scsjcp SourceControlSyncJobCreateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobCreateParameters.

func (*SourceControlSyncJobCreateParameters) UnmarshalJSON

func (scsjcp *SourceControlSyncJobCreateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlSyncJobCreateParameters struct.

type SourceControlSyncJobCreateProperties

type SourceControlSyncJobCreateProperties struct {
	// CommitID - The commit id of the source control sync job. If not syncing to a commitId, enter an empty string.
	CommitID *string `json:"commitId,omitempty"`
}

SourceControlSyncJobCreateProperties definition of create source control sync job properties.

type SourceControlSyncJobListResult

type SourceControlSyncJobListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of source control sync jobs.
	Value *[]SourceControlSyncJob `json:"value,omitempty"`
	// NextLink - 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 NewSourceControlSyncJobListResultIterator

func NewSourceControlSyncJobListResultIterator(page SourceControlSyncJobListResultPage) SourceControlSyncJobListResultIterator

Creates a new instance of the SourceControlSyncJobListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*SourceControlSyncJobListResultIterator) NextWithContext

func (iter *SourceControlSyncJobListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewSourceControlSyncJobListResultPage

Creates a new instance of the SourceControlSyncJobListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*SourceControlSyncJobListResultPage) NextWithContext

func (page *SourceControlSyncJobListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 - The source control sync job id.
	SourceControlSyncJobID *string `json:"sourceControlSyncJobId,omitempty"`
	// CreationTime - READ-ONLY; The creation time of the job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// ProvisioningState - The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StartTime - READ-ONLY; The start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; The end time of the job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// SyncType - The sync type. Possible values include: 'PartialSync', 'FullSync'
	SyncType SyncType `json:"syncType,omitempty"`
}

SourceControlSyncJobProperties definition of source control sync job properties.

func (SourceControlSyncJobProperties) MarshalJSON

func (scsjp SourceControlSyncJobProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobProperties.

type SourceControlSyncJobStream

type SourceControlSyncJobStream struct {
	// ID - READ-ONLY; Resource id.
	ID *string `json:"id,omitempty"`
	// SourceControlSyncJobStreamProperties - The properties of the source control sync job stream.
	*SourceControlSyncJobStreamProperties `json:"properties,omitempty"`
}

SourceControlSyncJobStream definition of the source control sync job stream.

func (SourceControlSyncJobStream) MarshalJSON

func (scsjs SourceControlSyncJobStream) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobStream.

func (*SourceControlSyncJobStream) UnmarshalJSON

func (scsjs *SourceControlSyncJobStream) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlSyncJobStream struct.

type SourceControlSyncJobStreamByID

type SourceControlSyncJobStreamByID struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource id.
	ID *string `json:"id,omitempty"`
	// SourceControlSyncJobStreamByIDProperties - The properties of the source control sync job stream.
	*SourceControlSyncJobStreamByIDProperties `json:"properties,omitempty"`
}

SourceControlSyncJobStreamByID definition of the source control sync job stream by id.

func (SourceControlSyncJobStreamByID) MarshalJSON

func (scsjsbi SourceControlSyncJobStreamByID) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobStreamByID.

func (*SourceControlSyncJobStreamByID) UnmarshalJSON

func (scsjsbi *SourceControlSyncJobStreamByID) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlSyncJobStreamByID struct.

type SourceControlSyncJobStreamByIDProperties

type SourceControlSyncJobStreamByIDProperties struct {
	// SourceControlSyncJobStreamID - The sync job stream id.
	SourceControlSyncJobStreamID *string `json:"sourceControlSyncJobStreamId,omitempty"`
	// Summary - The summary of the sync job stream.
	Summary *string `json:"summary,omitempty"`
	// Time - READ-ONLY; The time of the sync job stream.
	Time *date.Time `json:"time,omitempty"`
	// StreamType - The type of the sync job stream. Possible values include: 'StreamTypeError', 'StreamTypeOutput'
	StreamType StreamType `json:"streamType,omitempty"`
	// StreamText - The text of the sync job stream.
	StreamText *string `json:"streamText,omitempty"`
	// Value - The values of the job stream.
	Value map[string]interface{} `json:"value"`
}

SourceControlSyncJobStreamByIDProperties definition of source control sync job stream by id properties.

func (SourceControlSyncJobStreamByIDProperties) MarshalJSON

func (scsjsbip SourceControlSyncJobStreamByIDProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobStreamByIDProperties.

type SourceControlSyncJobStreamProperties

type SourceControlSyncJobStreamProperties struct {
	// SourceControlSyncJobStreamID - The sync job stream id.
	SourceControlSyncJobStreamID *string `json:"sourceControlSyncJobStreamId,omitempty"`
	// Summary - The summary of the sync job stream.
	Summary *string `json:"summary,omitempty"`
	// Time - READ-ONLY; The time of the sync job stream.
	Time *date.Time `json:"time,omitempty"`
	// StreamType - The type of the sync job stream. Possible values include: 'StreamTypeError', 'StreamTypeOutput'
	StreamType StreamType `json:"streamType,omitempty"`
}

SourceControlSyncJobStreamProperties definition of source control sync job stream properties.

func (SourceControlSyncJobStreamProperties) MarshalJSON

func (scsjsp SourceControlSyncJobStreamProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobStreamProperties.

type SourceControlSyncJobStreamsClient

type SourceControlSyncJobStreamsClient struct {
	BaseClient
}

SourceControlSyncJobStreamsClient is the automation Client

func NewSourceControlSyncJobStreamsClient

func NewSourceControlSyncJobStreamsClient(subscriptionID string) SourceControlSyncJobStreamsClient

NewSourceControlSyncJobStreamsClient creates an instance of the SourceControlSyncJobStreamsClient client.

func NewSourceControlSyncJobStreamsClientWithBaseURI

func NewSourceControlSyncJobStreamsClientWithBaseURI(baseURI string, subscriptionID string) SourceControlSyncJobStreamsClient

NewSourceControlSyncJobStreamsClientWithBaseURI creates an instance of the SourceControlSyncJobStreamsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SourceControlSyncJobStreamsClient) Get

func (client SourceControlSyncJobStreamsClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID, streamID string) (result SourceControlSyncJobStreamByID, err error)

Get retrieve a sync job stream identified by stream id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the source control name. sourceControlSyncJobID - the source control sync job id. streamID - the id of the sync job stream.

func (SourceControlSyncJobStreamsClient) GetPreparer

func (client SourceControlSyncJobStreamsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID, streamID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SourceControlSyncJobStreamsClient) GetResponder

func (client SourceControlSyncJobStreamsClient) GetResponder(resp *http.Response) (result SourceControlSyncJobStreamByID, err error)

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

func (SourceControlSyncJobStreamsClient) GetSender

func (client SourceControlSyncJobStreamsClient) 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 (SourceControlSyncJobStreamsClient) ListBySyncJob

func (client SourceControlSyncJobStreamsClient) ListBySyncJob(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID, filter string) (result SourceControlSyncJobStreamsListBySyncJobPage, err error)

ListBySyncJob retrieve a list of sync job streams identified by sync job id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. sourceControlName - the source control name. sourceControlSyncJobID - the source control sync job id. filter - the filter to apply on the operation.

func (SourceControlSyncJobStreamsClient) ListBySyncJobComplete

func (client SourceControlSyncJobStreamsClient) ListBySyncJobComplete(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID, filter string) (result SourceControlSyncJobStreamsListBySyncJobIterator, err error)

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

func (SourceControlSyncJobStreamsClient) ListBySyncJobPreparer

func (client SourceControlSyncJobStreamsClient) ListBySyncJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobID uuid.UUID, filter string) (*http.Request, error)

ListBySyncJobPreparer prepares the ListBySyncJob request.

func (SourceControlSyncJobStreamsClient) ListBySyncJobResponder

func (client SourceControlSyncJobStreamsClient) ListBySyncJobResponder(resp *http.Response) (result SourceControlSyncJobStreamsListBySyncJob, err error)

ListBySyncJobResponder handles the response to the ListBySyncJob request. The method always closes the http.Response Body.

func (SourceControlSyncJobStreamsClient) ListBySyncJobSender

func (client SourceControlSyncJobStreamsClient) ListBySyncJobSender(req *http.Request) (*http.Response, error)

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

type SourceControlSyncJobStreamsListBySyncJob

type SourceControlSyncJobStreamsListBySyncJob struct {
	autorest.Response `json:"-"`
	// Value - The list of source control sync job streams.
	Value *[]SourceControlSyncJobStream `json:"value,omitempty"`
	// NextLink - READ-ONLY; The next link.
	NextLink *string `json:"nextLink,omitempty"`
}

SourceControlSyncJobStreamsListBySyncJob the response model for the list source control sync job streams operation.

func (SourceControlSyncJobStreamsListBySyncJob) IsEmpty

func (scsjslbsj SourceControlSyncJobStreamsListBySyncJob) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SourceControlSyncJobStreamsListBySyncJob) MarshalJSON

func (scsjslbsj SourceControlSyncJobStreamsListBySyncJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlSyncJobStreamsListBySyncJob.

type SourceControlSyncJobStreamsListBySyncJobIterator

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

SourceControlSyncJobStreamsListBySyncJobIterator provides access to a complete listing of SourceControlSyncJobStream values.

func NewSourceControlSyncJobStreamsListBySyncJobIterator

func NewSourceControlSyncJobStreamsListBySyncJobIterator(page SourceControlSyncJobStreamsListBySyncJobPage) SourceControlSyncJobStreamsListBySyncJobIterator

Creates a new instance of the SourceControlSyncJobStreamsListBySyncJobIterator type.

func (*SourceControlSyncJobStreamsListBySyncJobIterator) 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. Deprecated: Use NextWithContext() instead.

func (*SourceControlSyncJobStreamsListBySyncJobIterator) NextWithContext

func (iter *SourceControlSyncJobStreamsListBySyncJobIterator) NextWithContext(ctx context.Context) (err error)

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

func (SourceControlSyncJobStreamsListBySyncJobIterator) NotDone

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

func (SourceControlSyncJobStreamsListBySyncJobIterator) Response

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

func (SourceControlSyncJobStreamsListBySyncJobIterator) Value

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

type SourceControlSyncJobStreamsListBySyncJobPage

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

SourceControlSyncJobStreamsListBySyncJobPage contains a page of SourceControlSyncJobStream values.

func NewSourceControlSyncJobStreamsListBySyncJobPage

Creates a new instance of the SourceControlSyncJobStreamsListBySyncJobPage type.

func (*SourceControlSyncJobStreamsListBySyncJobPage) 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. Deprecated: Use NextWithContext() instead.

func (*SourceControlSyncJobStreamsListBySyncJobPage) NextWithContext

func (page *SourceControlSyncJobStreamsListBySyncJobPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (SourceControlSyncJobStreamsListBySyncJobPage) NotDone

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

func (SourceControlSyncJobStreamsListBySyncJobPage) Response

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

func (SourceControlSyncJobStreamsListBySyncJobPage) Values

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

type SourceControlUpdateParameters

type SourceControlUpdateParameters struct {
	// SourceControlUpdateProperties - The value of the source control.
	*SourceControlUpdateProperties `json:"properties,omitempty"`
}

SourceControlUpdateParameters the parameters supplied to the update source control operation.

func (SourceControlUpdateParameters) MarshalJSON

func (scup SourceControlUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceControlUpdateParameters.

func (*SourceControlUpdateParameters) UnmarshalJSON

func (scup *SourceControlUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceControlUpdateParameters struct.

type SourceControlUpdateProperties

type SourceControlUpdateProperties struct {
	// Branch - The repo branch of the source control.
	Branch *string `json:"branch,omitempty"`
	// FolderPath - The folder path of the source control. Path must be relative.
	FolderPath *string `json:"folderPath,omitempty"`
	// AutoSync - The auto sync of the source control. Default is false.
	AutoSync *bool `json:"autoSync,omitempty"`
	// PublishRunbook - The auto publish of the source control. Default is true.
	PublishRunbook *bool `json:"publishRunbook,omitempty"`
	// SecurityToken - The authorization token for the repo of the source control.
	SecurityToken *SourceControlSecurityTokenProperties `json:"securityToken,omitempty"`
	// Description - 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"
)

func PossibleSourceTypeValues

func PossibleSourceTypeValues() []SourceType

PossibleSourceTypeValues returns an array of possible values for the SourceType const type.

type Statistics

type Statistics struct {
	// CounterProperty - READ-ONLY; Gets the property value of the statistic.
	CounterProperty *string `json:"counterProperty,omitempty"`
	// CounterValue - READ-ONLY; Gets the value of the statistic.
	CounterValue *int64 `json:"counterValue,omitempty"`
	// StartTime - READ-ONLY; Gets the startTime of the statistic.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; Gets the endTime of the statistic.
	EndTime *date.Time `json:"endTime,omitempty"`
	// ID - READ-ONLY; Gets the id.
	ID *string `json:"id,omitempty"`
}

Statistics definition of the statistic.

func (Statistics) MarshalJSON

func (s Statistics) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Statistics.

type StatisticsClient

type StatisticsClient struct {
	BaseClient
}

StatisticsClient is the automation Client

func NewStatisticsClient

func NewStatisticsClient(subscriptionID string) StatisticsClient

NewStatisticsClient creates an instance of the StatisticsClient client.

func NewStatisticsClientWithBaseURI

func NewStatisticsClientWithBaseURI(baseURI string, subscriptionID string) StatisticsClient

NewStatisticsClientWithBaseURI creates an instance of the StatisticsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - 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 StreamType

type StreamType string

StreamType enumerates the values for stream type.

const (
	// StreamTypeError ...
	StreamTypeError StreamType = "Error"
	// StreamTypeOutput ...
	StreamTypeOutput StreamType = "Output"
)

func PossibleStreamTypeValues

func PossibleStreamTypeValues() []StreamType

PossibleStreamTypeValues returns an array of possible values for the StreamType const type.

type String

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

String ...

type SyncType

type SyncType string

SyncType enumerates the values for sync type.

const (
	// FullSync ...
	FullSync SyncType = "FullSync"
	// PartialSync ...
	PartialSync SyncType = "PartialSync"
)

func PossibleSyncTypeValues

func PossibleSyncTypeValues() []SyncType

PossibleSyncTypeValues returns an array of possible values for the SyncType const type.

type TagOperators

type TagOperators string

TagOperators enumerates the values for tag operators.

const (
	// TagOperatorsAll ...
	TagOperatorsAll TagOperators = "All"
	// TagOperatorsAny ...
	TagOperatorsAny TagOperators = "Any"
)

func PossibleTagOperatorsValues

func PossibleTagOperatorsValues() []TagOperators

PossibleTagOperatorsValues returns an array of possible values for the TagOperators const type.

type TagSettingsProperties

type TagSettingsProperties struct {
	// Tags - Dictionary of tags with its list of values.
	Tags map[string][]string `json:"tags"`
	// FilterOperator - Filter VMs by Any or All specified tags. Possible values include: 'TagOperatorsAll', 'TagOperatorsAny'
	FilterOperator TagOperators `json:"filterOperator,omitempty"`
}

TagSettingsProperties tag filter information for the VM.

func (TagSettingsProperties) MarshalJSON

func (tsp TagSettingsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagSettingsProperties.

type TargetProperties

type TargetProperties struct {
	// AzureQueries - List of Azure queries in the software update configuration.
	AzureQueries *[]AzureQueryProperties `json:"azureQueries,omitempty"`
	// NonAzureQueries - List of non Azure queries in the software update configuration.
	NonAzureQueries *[]NonAzureQueryProperties `json:"nonAzureQueries,omitempty"`
}

TargetProperties group specific to the update configuration.

type TaskProperties

type TaskProperties struct {
	// Parameters - Gets or sets the parameters of the task.
	Parameters map[string]*string `json:"parameters"`
	// Source - Gets or sets the name of the runbook.
	Source *string `json:"source,omitempty"`
}

TaskProperties task properties of the software update configuration.

func (TaskProperties) MarshalJSON

func (tp TaskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TaskProperties.

type TestJob

type TestJob struct {
	autorest.Response `json:"-"`
	// CreationTime - Gets or sets the creation time of the test job.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// Status - Gets or sets the status of the test job.
	Status *string `json:"status,omitempty"`
	// StatusDetails - Gets or sets the status details of the test job.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// RunOn - Gets or sets the runOn which specifies the group name where the job is to be executed.
	RunOn *string `json:"runOn,omitempty"`
	// StartTime - Gets or sets the start time of the test job.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Gets or sets the end time of the test job.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Exception - Gets or sets the exception of the test job.
	Exception *string `json:"exception,omitempty"`
	// LastModifiedTime - Gets or sets the last modified time of the test job.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastStatusModifiedTime - Gets or sets the last status modified time of the test job.
	LastStatusModifiedTime *date.Time `json:"lastStatusModifiedTime,omitempty"`
	// Parameters - Gets or sets the parameters of the test job.
	Parameters map[string]*string `json:"parameters"`
	// LogActivityTrace - The activity-level tracing options of the runbook.
	LogActivityTrace *int32 `json:"logActivityTrace,omitempty"`
}

TestJob definition of the test job.

func (TestJob) MarshalJSON

func (tj TestJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TestJob.

type TestJobClient

type TestJobClient struct {
	BaseClient
}

TestJobClient is the automation Client

func NewTestJobClient

func NewTestJobClient(subscriptionID string) TestJobClient

NewTestJobClient creates an instance of the TestJobClient client.

func NewTestJobClientWithBaseURI

func NewTestJobClientWithBaseURI(baseURI string, subscriptionID string) TestJobClient

NewTestJobClientWithBaseURI creates an instance of the TestJobClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TestJobClient) Create

func (client TestJobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters TestJobCreateParameters) (result TestJob, err error)

Create create a test job of the runbook. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the parameters supplied to the create test job operation. parameters - the parameters supplied to the create test job operation.

func (TestJobClient) CreatePreparer

func (client TestJobClient) CreatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, parameters TestJobCreateParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (TestJobClient) CreateResponder

func (client TestJobClient) CreateResponder(resp *http.Response) (result TestJob, err error)

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

func (TestJobClient) CreateSender

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

func (client TestJobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result TestJob, err error)

Get retrieve the test job for the specified runbook. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (TestJobClient) GetPreparer

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

GetPreparer prepares the Get request.

func (TestJobClient) GetResponder

func (client TestJobClient) GetResponder(resp *http.Response) (result TestJob, err error)

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

func (TestJobClient) GetSender

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

func (client TestJobClient) Resume(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error)

Resume resume the test job. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (TestJobClient) ResumePreparer

func (client TestJobClient) ResumePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (TestJobClient) ResumeResponder

func (client TestJobClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (TestJobClient) ResumeSender

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

func (client TestJobClient) Stop(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error)

Stop stop the test job. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (TestJobClient) StopPreparer

func (client TestJobClient) StopPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (TestJobClient) StopResponder

func (client TestJobClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (TestJobClient) StopSender

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

func (client TestJobClient) Suspend(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (result autorest.Response, err error)

Suspend suspend the test job. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name.

func (TestJobClient) SuspendPreparer

func (client TestJobClient) SuspendPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string) (*http.Request, error)

SuspendPreparer prepares the Suspend request.

func (TestJobClient) SuspendResponder

func (client TestJobClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)

SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.

func (TestJobClient) SuspendSender

func (client TestJobClient) 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 TestJobCreateParameters

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

TestJobCreateParameters the parameters supplied to the create test job operation.

func (TestJobCreateParameters) MarshalJSON

func (tjcp TestJobCreateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TestJobCreateParameters.

type TestJobStreamsClient

type TestJobStreamsClient struct {
	BaseClient
}

TestJobStreamsClient is the automation Client

func NewTestJobStreamsClient

func NewTestJobStreamsClient(subscriptionID string) TestJobStreamsClient

NewTestJobStreamsClient creates an instance of the TestJobStreamsClient client.

func NewTestJobStreamsClientWithBaseURI

func NewTestJobStreamsClientWithBaseURI(baseURI string, subscriptionID string) TestJobStreamsClient

NewTestJobStreamsClientWithBaseURI creates an instance of the TestJobStreamsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TestJobStreamsClient) Get

func (client TestJobStreamsClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, jobStreamID string) (result JobStream, err error)

Get retrieve a test job stream of the test job identified by runbook name and stream id. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name. jobStreamID - the job stream id.

func (TestJobStreamsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (TestJobStreamsClient) GetResponder

func (client TestJobStreamsClient) GetResponder(resp *http.Response) (result JobStream, err error)

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

func (TestJobStreamsClient) GetSender

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, resourceGroupName string, automationAccountName string, runbookName string, filter string) (result JobStreamListResultPage, err error)

ListByTestJob retrieve a list of test job streams identified by runbook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. runbookName - the runbook name. filter - the filter to apply on the operation.

func (TestJobStreamsClient) ListByTestJobComplete

func (client TestJobStreamsClient) ListByTestJobComplete(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, filter string) (result JobStreamListResultIterator, err error)

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

func (TestJobStreamsClient) ListByTestJobPreparer

func (client TestJobStreamsClient) ListByTestJobPreparer(ctx context.Context, resourceGroupName string, automationAccountName string, runbookName string, filter string) (*http.Request, error)

ListByTestJobPreparer prepares the ListByTestJob request.

func (TestJobStreamsClient) ListByTestJobResponder

func (client TestJobStreamsClient) ListByTestJobResponder(resp *http.Response) (result JobStreamListResult, err error)

ListByTestJobResponder handles the response to the ListByTestJob request. The method always closes the http.Response Body.

func (TestJobStreamsClient) ListByTestJobSender

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 TokenType

type TokenType string

TokenType enumerates the values for token type.

const (
	// Oauth ...
	Oauth TokenType = "Oauth"
	// PersonalAccessToken ...
	PersonalAccessToken TokenType = "PersonalAccessToken"
)

func PossibleTokenTypeValues

func PossibleTokenTypeValues() []TokenType

PossibleTokenTypeValues returns an array of possible values for the TokenType const type.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

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"`
	// Targets - Group targets for the software update configuration.
	Targets *TargetProperties `json:"targets,omitempty"`
}

UpdateConfiguration update specific properties of the software update configuration.

type UpdateConfigurationMachineRunProperties

type UpdateConfigurationMachineRunProperties struct {
	// TargetComputer - READ-ONLY; name of the updated computer
	TargetComputer *string `json:"targetComputer,omitempty"`
	// TargetComputerType - READ-ONLY; type of the updated computer.
	TargetComputerType *string `json:"targetComputerType,omitempty"`
	// SoftwareUpdateConfiguration - software update configuration triggered this run
	SoftwareUpdateConfiguration *UpdateConfigurationNavigation `json:"softwareUpdateConfiguration,omitempty"`
	// Status - READ-ONLY; Status of the software update configuration machine run.
	Status *string `json:"status,omitempty"`
	// OsType - READ-ONLY; Operating system target of the software update configuration triggered this run
	OsType *string `json:"osType,omitempty"`
	// CorrelationID - READ-ONLY; correlation id of the software update configuration machine run
	CorrelationID *uuid.UUID `json:"correlationId,omitempty"`
	// SourceComputerID - READ-ONLY; source computer id of the software update configuration machine run
	SourceComputerID *uuid.UUID `json:"sourceComputerId,omitempty"`
	// StartTime - READ-ONLY; Start time of the software update configuration machine run.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; End time of the software update configuration machine run.
	EndTime *date.Time `json:"endTime,omitempty"`
	// ConfiguredDuration - READ-ONLY; 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 - READ-ONLY; Creation time of the resource, which only appears in the response.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// CreatedBy - READ-ONLY; createdBy property, which only appears in the response.
	CreatedBy *string `json:"createdBy,omitempty"`
	// LastModifiedTime - READ-ONLY; Last time resource was modified, which only appears in the response.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// LastModifiedBy - READ-ONLY; lastModifiedBy property, which only appears in the response.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Error - Details of provisioning error
	Error *ErrorResponse `json:"error,omitempty"`
}

UpdateConfigurationMachineRunProperties software update configuration machine run properties.

func (UpdateConfigurationMachineRunProperties) MarshalJSON

func (ucmrp UpdateConfigurationMachineRunProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateConfigurationMachineRunProperties.

type UpdateConfigurationNavigation

type UpdateConfigurationNavigation struct {
	// Name - READ-ONLY; Name of the software update configuration triggered the software update configuration run
	Name *string `json:"name,omitempty"`
}

UpdateConfigurationNavigation software update configuration Run Navigation model.

func (UpdateConfigurationNavigation) MarshalJSON

func (ucn UpdateConfigurationNavigation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateConfigurationNavigation.

type Usage

type Usage struct {
	// ID - Gets or sets the id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the usage counter name.
	Name *UsageCounterName `json:"name,omitempty"`
	// Unit - Gets or sets the usage unit name.
	Unit *string `json:"unit,omitempty"`
	// CurrentValue - Gets or sets the current usage value.
	CurrentValue *float64 `json:"currentValue,omitempty"`
	// Limit - Gets or sets max limit. -1 for unlimited
	Limit *int64 `json:"limit,omitempty"`
	// ThrottleStatus - Gets or sets the throttle status.
	ThrottleStatus *string `json:"throttleStatus,omitempty"`
}

Usage definition of Usage.

type UsageCounterName

type UsageCounterName struct {
	// Value - Gets or sets the usage counter name.
	Value *string `json:"value,omitempty"`
	// LocalizedValue - Gets or sets the localized usage counter name.
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageCounterName definition of usage counter name.

type UsageListResult

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

UsageListResult the response model for the get usage operation.

type UsagesClient

type UsagesClient struct {
	BaseClient
}

UsagesClient is the automation Client

func NewUsagesClient

func NewUsagesClient(subscriptionID string) UsagesClient

NewUsagesClient creates an instance of the UsagesClient client.

func NewUsagesClientWithBaseURI

func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient

NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

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:"-"`
	// VariableProperties - Gets or sets the properties of the variable.
	*VariableProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Variable definition of the variable.

func (Variable) MarshalJSON

func (vVar Variable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Variable.

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

NewVariableClient creates an instance of the VariableClient client.

func NewVariableClientWithBaseURI

func NewVariableClientWithBaseURI(baseURI string, subscriptionID string) VariableClient

NewVariableClientWithBaseURI creates an instance of the VariableClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VariableClient) CreateOrUpdate

func (client VariableClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableCreateOrUpdateParameters) (result Variable, err error)

CreateOrUpdate create a variable. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. variableName - the variable name. parameters - the parameters supplied to the create or update variable operation.

func (VariableClient) CreateOrUpdatePreparer

func (client VariableClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VariableClient) CreateOrUpdateResponder

func (client VariableClient) CreateOrUpdateResponder(resp *http.Response) (result Variable, err error)

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

func (VariableClient) CreateOrUpdateSender

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

Delete delete the variable. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. variableName - the name of variable.

func (VariableClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (VariableClient) DeleteResponder

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

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

func (VariableClient) DeleteSender

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, resourceGroupName string, automationAccountName string, variableName string) (result Variable, err error)

Get retrieve the variable identified by variable name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. variableName - the name of variable.

func (VariableClient) GetPreparer

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

GetPreparer prepares the Get request.

func (VariableClient) GetResponder

func (client VariableClient) GetResponder(resp *http.Response) (result Variable, err error)

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

func (VariableClient) GetSender

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, resourceGroupName string, automationAccountName string) (result VariableListResultPage, err error)

ListByAutomationAccount retrieve a list of variables. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (VariableClient) ListByAutomationAccountComplete

func (client VariableClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string) (result VariableListResultIterator, err error)

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

func (VariableClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (VariableClient) ListByAutomationAccountResponder

func (client VariableClient) ListByAutomationAccountResponder(resp *http.Response) (result VariableListResult, err error)

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

func (VariableClient) ListByAutomationAccountSender

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

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

func (VariableClient) Update

func (client VariableClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableUpdateParameters) (result Variable, err error)

Update update a variable. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. variableName - the variable name. parameters - the parameters supplied to the update variable operation.

func (VariableClient) UpdatePreparer

func (client VariableClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, variableName string, parameters VariableUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VariableClient) UpdateResponder

func (client VariableClient) UpdateResponder(resp *http.Response) (result Variable, err error)

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

func (VariableClient) UpdateSender

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

func (vcoup VariableCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VariableCreateOrUpdateParameters.

func (*VariableCreateOrUpdateParameters) UnmarshalJSON

func (vcoup *VariableCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VariableCreateOrUpdateParameters struct.

type VariableCreateOrUpdateProperties

type VariableCreateOrUpdateProperties struct {
	// Value - Gets or sets the value of the variable.
	Value *string `json:"value,omitempty"`
	// Description - Gets or sets the description of the variable.
	Description *string `json:"description,omitempty"`
	// IsEncrypted - Gets or sets the encrypted flag of the variable.
	IsEncrypted *bool `json:"isEncrypted,omitempty"`
}

VariableCreateOrUpdateProperties the properties of the create variable operation.

type VariableListResult

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

VariableListResult the response model for the list variables operation.

func (VariableListResult) IsEmpty

func (vlr VariableListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VariableListResultIterator

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

VariableListResultIterator provides access to a complete listing of Variable values.

func NewVariableListResultIterator

func NewVariableListResultIterator(page VariableListResultPage) VariableListResultIterator

Creates a new instance of the VariableListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*VariableListResultIterator) NextWithContext

func (iter *VariableListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewVariableListResultPage

func NewVariableListResultPage(cur VariableListResult, getNextPage func(context.Context, VariableListResult) (VariableListResult, error)) VariableListResultPage

Creates a new instance of the VariableListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*VariableListResultPage) NextWithContext

func (page *VariableListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 variable properties

type VariableUpdateParameters

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

VariableUpdateParameters the parameters supplied to the update variable operation.

func (VariableUpdateParameters) MarshalJSON

func (vup VariableUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VariableUpdateParameters.

func (*VariableUpdateParameters) UnmarshalJSON

func (vup *VariableUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VariableUpdateParameters struct.

type VariableUpdateProperties

type VariableUpdateProperties struct {
	// Value - Gets or sets the value of the variable.
	Value *string `json:"value,omitempty"`
	// Description - Gets or sets the description of the variable.
	Description *string `json:"description,omitempty"`
}

VariableUpdateProperties the properties of the update variable

type Webhook

type Webhook struct {
	autorest.Response `json:"-"`
	// WebhookProperties - Gets or sets the webhook properties.
	*WebhookProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource Id for the resource
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Webhook definition of the webhook type.

func (Webhook) MarshalJSON

func (w Webhook) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Webhook.

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

NewWebhookClient creates an instance of the WebhookClient client.

func NewWebhookClientWithBaseURI

func NewWebhookClientWithBaseURI(baseURI string, subscriptionID string) WebhookClient

NewWebhookClientWithBaseURI creates an instance of the WebhookClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (WebhookClient) CreateOrUpdate

func (client WebhookClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookCreateOrUpdateParameters) (result Webhook, err error)

CreateOrUpdate create the webhook identified by webhook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. webhookName - the webhook name. parameters - the create or update parameters for webhook.

func (WebhookClient) CreateOrUpdatePreparer

func (client WebhookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WebhookClient) CreateOrUpdateResponder

func (client WebhookClient) CreateOrUpdateResponder(resp *http.Response) (result Webhook, err error)

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

func (WebhookClient) CreateOrUpdateSender

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

Delete delete the webhook by name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. webhookName - the webhook name.

func (WebhookClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (WebhookClient) DeleteResponder

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

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

func (WebhookClient) DeleteSender

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, resourceGroupName string, automationAccountName string) (result String, err error)

GenerateURI generates a Uri for use in creating a webhook. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account.

func (WebhookClient) GenerateURIPreparer

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

GenerateURIPreparer prepares the GenerateURI request.

func (WebhookClient) GenerateURIResponder

func (client WebhookClient) GenerateURIResponder(resp *http.Response) (result String, err error)

GenerateURIResponder handles the response to the GenerateURI request. The method always closes the http.Response Body.

func (WebhookClient) GenerateURISender

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, resourceGroupName string, automationAccountName string, webhookName string) (result Webhook, err error)

Get retrieve the webhook identified by webhook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. webhookName - the webhook name.

func (WebhookClient) GetPreparer

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

GetPreparer prepares the Get request.

func (WebhookClient) GetResponder

func (client WebhookClient) GetResponder(resp *http.Response) (result Webhook, err error)

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

func (WebhookClient) GetSender

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, resourceGroupName string, automationAccountName string, filter string) (result WebhookListResultPage, err error)

ListByAutomationAccount retrieve a list of webhooks. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. filter - the filter to apply on the operation.

func (WebhookClient) ListByAutomationAccountComplete

func (client WebhookClient) ListByAutomationAccountComplete(ctx context.Context, resourceGroupName string, automationAccountName string, filter string) (result WebhookListResultIterator, err error)

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

func (WebhookClient) ListByAutomationAccountPreparer

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (WebhookClient) ListByAutomationAccountResponder

func (client WebhookClient) ListByAutomationAccountResponder(resp *http.Response) (result WebhookListResult, err error)

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

func (WebhookClient) ListByAutomationAccountSender

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

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

func (WebhookClient) Update

func (client WebhookClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookUpdateParameters) (result Webhook, err error)

Update update the webhook identified by webhook name. Parameters: resourceGroupName - name of an Azure Resource group. automationAccountName - the name of the automation account. webhookName - the webhook name. parameters - the update parameters for webhook.

func (WebhookClient) UpdatePreparer

func (client WebhookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, automationAccountName string, webhookName string, parameters WebhookUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WebhookClient) UpdateResponder

func (client WebhookClient) UpdateResponder(resp *http.Response) (result Webhook, err error)

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

func (WebhookClient) UpdateSender

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

func (wcoup WebhookCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookCreateOrUpdateParameters.

func (*WebhookCreateOrUpdateParameters) UnmarshalJSON

func (wcoup *WebhookCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebhookCreateOrUpdateParameters struct.

type WebhookCreateOrUpdateProperties

type WebhookCreateOrUpdateProperties struct {
	// IsEnabled - Gets or sets the value of the enabled flag of webhook.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// URI - Gets or sets the uri.
	URI *string `json:"uri,omitempty"`
	// ExpiryTime - Gets or sets the expiry time.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
	// Runbook - Gets or sets the runbook.
	Runbook *RunbookAssociationProperty `json:"runbook,omitempty"`
	// RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on.
	RunOn *string `json:"runOn,omitempty"`
}

WebhookCreateOrUpdateProperties the properties of the create webhook operation.

func (WebhookCreateOrUpdateProperties) MarshalJSON

func (wcoup WebhookCreateOrUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookCreateOrUpdateProperties.

type WebhookListResult

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

WebhookListResult the response model for the list webhook operation.

func (WebhookListResult) IsEmpty

func (wlr WebhookListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WebhookListResultIterator

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

WebhookListResultIterator provides access to a complete listing of Webhook values.

func NewWebhookListResultIterator

func NewWebhookListResultIterator(page WebhookListResultPage) WebhookListResultIterator

Creates a new instance of the WebhookListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*WebhookListResultIterator) NextWithContext

func (iter *WebhookListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewWebhookListResultPage

func NewWebhookListResultPage(cur WebhookListResult, getNextPage func(context.Context, WebhookListResult) (WebhookListResult, error)) WebhookListResultPage

Creates a new instance of the WebhookListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*WebhookListResultPage) NextWithContext

func (page *WebhookListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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"`
	// LastModifiedBy - Details of the user who last modified the Webhook
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Description - Gets or sets the description.
	Description *string `json:"description,omitempty"`
}

WebhookProperties definition of the webhook properties

func (WebhookProperties) MarshalJSON

func (wp WebhookProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookProperties.

type WebhookUpdateParameters

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

WebhookUpdateParameters the parameters supplied to the update webhook operation.

func (WebhookUpdateParameters) MarshalJSON

func (wup WebhookUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookUpdateParameters.

func (*WebhookUpdateParameters) UnmarshalJSON

func (wup *WebhookUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebhookUpdateParameters struct.

type WebhookUpdateProperties

type WebhookUpdateProperties struct {
	// IsEnabled - Gets or sets the value of the enabled flag of webhook.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// RunOn - Gets or sets the name of the hybrid worker group the webhook job will run on.
	RunOn *string `json:"runOn,omitempty"`
	// Parameters - Gets or sets the parameters of the job.
	Parameters map[string]*string `json:"parameters"`
	// Description - Gets or sets the description of the webhook.
	Description *string `json:"description,omitempty"`
}

WebhookUpdateProperties the properties of the update webhook.

func (WebhookUpdateProperties) MarshalJSON

func (wup WebhookUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookUpdateProperties.

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"`
	// IncludedKbNumbers - KB numbers included from the software update configuration.
	IncludedKbNumbers *[]string `json:"includedKbNumbers,omitempty"`
	// RebootSetting - Reboot setting for the software update configuration.
	RebootSetting *string `json:"rebootSetting,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"
)

func PossibleWindowsUpdateClassesValues

func PossibleWindowsUpdateClassesValues() []WindowsUpdateClasses

PossibleWindowsUpdateClassesValues returns an array of possible values for the WindowsUpdateClasses const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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