azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/automation/mgmt/2018-06-30-preview/automation Index | Files | Directories

package automation

import "github.com/Azure/azure-sdk-for-go/services/preview/automation/mgmt/2018-06-30-preview/automation"

Package automation implements the Azure ARM Automation service API version .

Automation Client

Index

Package Files

account.go activity.go agentregistrationinformation.go certificate.go client.go connection.go connectiontype.go credential.go dsccompilationjob.go dsccompilationjobstream.go dscconfiguration.go dscnode.go dscnodeconfiguration.go fields.go hybridrunbookworkergroup.go job.go jobschedule.go jobstream.go keys.go linkedworkspace.go models.go module.go nodecountinformation.go nodereports.go objectdatatypes.go operations.go python2package.go runbook.go runbookdraft.go schedule.go softwareupdateconfigurationmachineruns.go softwareupdateconfigurationruns.go softwareupdateconfigurations.go sourcecontrol.go sourcecontrolsyncjob.go sourcecontrolsyncjobstreams.go statistics.go testjob.go testjobstreams.go usages.go variable.go version.go watcher.go webhook.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Automation
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type Account Uses

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 Uses

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

MarshalJSON is the custom marshaler for Account.

func (*Account) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Account struct.

type AccountClient Uses

type AccountClient struct {
    BaseClient
}

AccountClient is the automation Client

func NewAccountClient Uses

func NewAccountClient(subscriptionID string) AccountClient

NewAccountClient creates an instance of the AccountClient client.

func NewAccountClientWithBaseURI Uses

func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient

NewAccountClientWithBaseURI creates an instance of the AccountClient client.

func (AccountClient) CreateOrUpdate Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AccountClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AccountClient) GetResponder Uses

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 Uses

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 Uses

func (client AccountClient) List(ctx context.Context) (result AccountListResultPage, err error)

List retrieve a list of accounts within a given subscription.

func (AccountClient) ListByResourceGroup Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (AccountClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (AccountClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (AccountClient) UpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for AccountCreateOrUpdateParameters.

func (*AccountCreateOrUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AccountCreateOrUpdateParameters struct.

type AccountCreateOrUpdateProperties Uses

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 Uses

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 Uses

func (alr AccountListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AccountListResultIterator Uses

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

AccountListResultIterator provides access to a complete listing of Account values.

func NewAccountListResultIterator Uses

func NewAccountListResultIterator(page AccountListResultPage) AccountListResultIterator

Creates a new instance of the AccountListResultIterator type.

func (*AccountListResultIterator) Next Uses

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 Uses

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 Uses

func (iter AccountListResultIterator) NotDone() bool

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

func (AccountListResultIterator) Response Uses

func (iter AccountListResultIterator) Response() AccountListResult

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

func (AccountListResultIterator) Value Uses

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 Uses

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

AccountListResultPage contains a page of Account values.

func NewAccountListResultPage Uses

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

Creates a new instance of the AccountListResultPage type.

func (*AccountListResultPage) Next Uses

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 Uses

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 Uses

func (page AccountListResultPage) NotDone() bool

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

func (AccountListResultPage) Response Uses

func (page AccountListResultPage) Response() AccountListResult

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

func (AccountListResultPage) Values Uses

func (page AccountListResultPage) Values() []Account

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

type AccountProperties Uses

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.

type AccountState Uses

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 Uses

func PossibleAccountStateValues() []AccountState

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

type AccountUpdateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for AccountUpdateParameters.

func (*AccountUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AccountUpdateParameters struct.

type AccountUpdateProperties Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for Activity.

func (*Activity) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Activity struct.

type ActivityClient Uses

type ActivityClient struct {
    BaseClient
}

ActivityClient is the automation Client

func NewActivityClient Uses

func NewActivityClient(subscriptionID string) ActivityClient

NewActivityClient creates an instance of the ActivityClient client.

func NewActivityClientWithBaseURI Uses

func NewActivityClientWithBaseURI(baseURI string, subscriptionID string) ActivityClient

NewActivityClientWithBaseURI creates an instance of the ActivityClient client.

func (ActivityClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByModulePreparer prepares the ListByModule request.

func (ActivityClient) ListByModuleResponder Uses

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 Uses

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 Uses

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 Uses

func (alr ActivityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ActivityListResultIterator Uses

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

ActivityListResultIterator provides access to a complete listing of Activity values.

func NewActivityListResultIterator Uses

func NewActivityListResultIterator(page ActivityListResultPage) ActivityListResultIterator

Creates a new instance of the ActivityListResultIterator type.

func (*ActivityListResultIterator) Next Uses

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 Uses

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 Uses

func (iter ActivityListResultIterator) NotDone() bool

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

func (ActivityListResultIterator) Response Uses

func (iter ActivityListResultIterator) Response() ActivityListResult

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

func (ActivityListResultIterator) Value Uses

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 Uses

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

ActivityListResultPage contains a page of Activity values.

func NewActivityListResultPage Uses

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

Creates a new instance of the ActivityListResultPage type.

func (*ActivityListResultPage) Next Uses

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 Uses

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 Uses

func (page ActivityListResultPage) NotDone() bool

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

func (ActivityListResultPage) Response Uses

func (page ActivityListResultPage) Response() ActivityListResult

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

func (ActivityListResultPage) Values Uses

func (page ActivityListResultPage) Values() []Activity

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

type ActivityOutputType Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type AgentRegistrationInformationClient struct {
    BaseClient
}

AgentRegistrationInformationClient is the automation Client

func NewAgentRegistrationInformationClient Uses

func NewAgentRegistrationInformationClient(subscriptionID string) AgentRegistrationInformationClient

NewAgentRegistrationInformationClient creates an instance of the AgentRegistrationInformationClient client.

func NewAgentRegistrationInformationClientWithBaseURI Uses

func NewAgentRegistrationInformationClientWithBaseURI(baseURI string, subscriptionID string) AgentRegistrationInformationClient

NewAgentRegistrationInformationClientWithBaseURI creates an instance of the AgentRegistrationInformationClient client.

func (AgentRegistrationInformationClient) Get Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AgentRegistrationInformationClient) GetResponder Uses

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 Uses

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

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

func (AgentRegistrationInformationClient) RegenerateKey Uses

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 Uses

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

RegenerateKeyPreparer prepares the RegenerateKey request.

func (AgentRegistrationInformationClient) RegenerateKeyResponder Uses

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 Uses

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 Uses

type AgentRegistrationKeyName string

AgentRegistrationKeyName enumerates the values for agent registration key name.

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

func PossibleAgentRegistrationKeyNameValues Uses

func PossibleAgentRegistrationKeyNameValues() []AgentRegistrationKeyName

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

type AgentRegistrationKeys Uses

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 Uses

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"`
}

AgentRegistrationRegenerateKeyParameter the parameters supplied to the regenerate keys operation.

type AzureQueryProperties Uses

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 Uses

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

BaseClient is the base client for Automation.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type Certificate Uses

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 Uses

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

MarshalJSON is the custom marshaler for Certificate.

func (*Certificate) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Certificate struct.

type CertificateClient Uses

type CertificateClient struct {
    BaseClient
}

CertificateClient is the automation Client

func NewCertificateClient Uses

func NewCertificateClient(subscriptionID string) CertificateClient

NewCertificateClient creates an instance of the CertificateClient client.

func NewCertificateClientWithBaseURI Uses

func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient

NewCertificateClientWithBaseURI creates an instance of the CertificateClient client.

func (CertificateClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (CertificateClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (CertificateClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (CertificateClient) ListByAutomationAccountResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for CertificateCreateOrUpdateParameters.

func (*CertificateCreateOrUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for CertificateCreateOrUpdateParameters struct.

type CertificateCreateOrUpdateProperties Uses

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 Uses

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 Uses

func (clr CertificateListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CertificateListResultIterator Uses

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

CertificateListResultIterator provides access to a complete listing of Certificate values.

func NewCertificateListResultIterator Uses

func NewCertificateListResultIterator(page CertificateListResultPage) CertificateListResultIterator

Creates a new instance of the CertificateListResultIterator type.

func (*CertificateListResultIterator) Next Uses

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 Uses

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 Uses

func (iter CertificateListResultIterator) NotDone() bool

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

func (CertificateListResultIterator) Response Uses

func (iter CertificateListResultIterator) Response() CertificateListResult

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

func (CertificateListResultIterator) Value Uses

func (iter CertificateListResultIterator) Value() Certificate

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

type CertificateListResultPage Uses

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

CertificateListResultPage contains a page of Certificate values.

func NewCertificateListResultPage Uses

func NewCertificateListResultPage(getNextPage func(context.Context, CertificateListResult) (CertificateListResult, error)) CertificateListResultPage

Creates a new instance of the CertificateListResultPage type.

func (*CertificateListResultPage) Next Uses

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 Uses

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 Uses

func (page CertificateListResultPage) NotDone() bool

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

func (CertificateListResultPage) Response Uses

func (page CertificateListResultPage) Response() CertificateListResult

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

func (CertificateListResultPage) Values Uses

func (page CertificateListResultPage) Values() []Certificate

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

type CertificateProperties Uses

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.

type CertificateUpdateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for CertificateUpdateParameters.

func (*CertificateUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for CertificateUpdateParameters struct.

type CertificateUpdateProperties Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for Connection.

func (*Connection) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Connection struct.

type ConnectionClient Uses

type ConnectionClient struct {
    BaseClient
}

ConnectionClient is the automation Client

func NewConnectionClient Uses

func NewConnectionClient(subscriptionID string) ConnectionClient

NewConnectionClient creates an instance of the ConnectionClient client.

func NewConnectionClientWithBaseURI Uses

func NewConnectionClientWithBaseURI(baseURI string, subscriptionID string) ConnectionClient

NewConnectionClientWithBaseURI creates an instance of the ConnectionClient client.

func (ConnectionClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ConnectionClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ConnectionClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ConnectionClient) ListByAutomationAccountResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionCreateOrUpdateParameters.

func (*ConnectionCreateOrUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConnectionCreateOrUpdateParameters struct.

type ConnectionCreateOrUpdateProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionCreateOrUpdateProperties.

type ConnectionListResult Uses

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 Uses

func (clr ConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionListResultIterator Uses

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

ConnectionListResultIterator provides access to a complete listing of Connection values.

func NewConnectionListResultIterator Uses

func NewConnectionListResultIterator(page ConnectionListResultPage) ConnectionListResultIterator

Creates a new instance of the ConnectionListResultIterator type.

func (*ConnectionListResultIterator) Next Uses

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 Uses

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 Uses

func (iter ConnectionListResultIterator) NotDone() bool

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

func (ConnectionListResultIterator) Response Uses

func (iter ConnectionListResultIterator) Response() ConnectionListResult

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

func (ConnectionListResultIterator) Value Uses

func (iter ConnectionListResultIterator) Value() Connection

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

type ConnectionListResultPage Uses

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

ConnectionListResultPage contains a page of Connection values.

func NewConnectionListResultPage Uses

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

Creates a new instance of the ConnectionListResultPage type.

func (*ConnectionListResultPage) Next Uses

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 Uses

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 Uses

func (page ConnectionListResultPage) NotDone() bool

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

func (ConnectionListResultPage) Response Uses

func (page ConnectionListResultPage) Response() ConnectionListResult

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

func (ConnectionListResultPage) Values Uses

func (page ConnectionListResultPage) Values() []Connection

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

type ConnectionProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionProperties.

type ConnectionType Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionType.

func (*ConnectionType) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConnectionType struct.

type ConnectionTypeAssociationProperty Uses

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 Uses

type ConnectionTypeClient struct {
    BaseClient
}

ConnectionTypeClient is the automation Client

func NewConnectionTypeClient Uses

func NewConnectionTypeClient(subscriptionID string) ConnectionTypeClient

NewConnectionTypeClient creates an instance of the ConnectionTypeClient client.

func NewConnectionTypeClientWithBaseURI Uses

func NewConnectionTypeClientWithBaseURI(baseURI string, subscriptionID string) ConnectionTypeClient

NewConnectionTypeClientWithBaseURI creates an instance of the ConnectionTypeClient client.

func (ConnectionTypeClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ConnectionTypeClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ConnectionTypeClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (ConnectionTypeClient) ListByAutomationAccountResponder Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionTypeCreateOrUpdateParameters.

func (*ConnectionTypeCreateOrUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConnectionTypeCreateOrUpdateParameters struct.

type ConnectionTypeCreateOrUpdateProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionTypeCreateOrUpdateProperties.

type ConnectionTypeListResult Uses

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 Uses

func (ctlr ConnectionTypeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionTypeListResultIterator Uses

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

ConnectionTypeListResultIterator provides access to a complete listing of ConnectionType values.

func NewConnectionTypeListResultIterator Uses

func NewConnectionTypeListResultIterator(page ConnectionTypeListResultPage) ConnectionTypeListResultIterator

Creates a new instance of the ConnectionTypeListResultIterator type.

func (*ConnectionTypeListResultIterator) Next Uses

func (iter *ConnectionTypeListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectionTypeListResultIterator) NextWithContext Uses

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 Uses

func (iter ConnectionTypeListResultIterator) NotDone() bool

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

func (ConnectionTypeListResultIterator) Response Uses

func (iter ConnectionTypeListResultIterator) Response() ConnectionTypeListResult

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

func (ConnectionTypeListResultIterator) Value Uses

func (iter ConnectionTypeListResultIterator) Value() ConnectionType

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

type ConnectionTypeListResultPage Uses

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

ConnectionTypeListResultPage contains a page of ConnectionType values.

func NewConnectionTypeListResultPage Uses

func NewConnectionTypeListResultPage(getNextPage func(context.Context, ConnectionTypeListResult) (ConnectionTypeListResult, error)) ConnectionTypeListResultPage

Creates a new instance of the ConnectionTypeListResultPage type.

func (*ConnectionTypeListResultPage) Next Uses

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 Uses

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 Uses

func (page ConnectionTypeListResultPage) NotDone() bool

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

func (ConnectionTypeListResultPage) Response Uses

func (page ConnectionTypeListResultPage) Response() ConnectionTypeListResult

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

func (ConnectionTypeListResultPage) Values Uses

func (page ConnectionTypeListResultPage) Values() []ConnectionType

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

type ConnectionTypeProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionTypeProperties.

type ConnectionUpdateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionUpdateParameters.

func (*ConnectionUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConnectionUpdateParameters struct.

type ConnectionUpdateProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ConnectionUpdateProperties.

type ContentHash Uses

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 Uses

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 Uses

type ContentSourceType string

ContentSourceType enumerates the values for content source type.

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

func PossibleContentSourceTypeValues Uses

func PossibleContentSourceTypeValues() []ContentSourceType

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

type CountType Uses

type CountType string

CountType enumerates the values for count type.

const (
    // Nodeconfiguration ...
    Nodeconfiguration CountType = "nodeconfiguration"
    // Status ...
    Status CountType = "status"
)

func PossibleCountTypeValues Uses

func PossibleCountTypeValues() []CountType

PossibleCountTypeValues returns an array of possible values for the CountType const type.

type Credential Uses

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 Uses

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

MarshalJSON is the custom marshaler for Credential.

func (*Credential) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Credential struct.

type CredentialClient Uses

type CredentialClient struct {
    BaseClient
}

CredentialClient is the automation Client

func NewCredentialClient Uses

func NewCredentialClient(subscriptionID string) CredentialClient

NewCredentialClient creates an instance of the CredentialClient client.

func NewCredentialClientWithBaseURI Uses

func NewCredentialClientWithBaseURI(baseURI string, subscriptionID string) CredentialClient

NewCredentialClientWithBaseURI creates an instance of the CredentialClient client.

func (CredentialClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (CredentialClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (CredentialClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (CredentialClient) ListByAutomationAccountResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for CredentialCreateOrUpdateParameters.

func (*CredentialCreateOrUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for CredentialCreateOrUpdateParameters struct.

type CredentialCreateOrUpdateProperties Uses

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 Uses

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 Uses

func (clr CredentialListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CredentialListResultIterator Uses

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

CredentialListResultIterator provides access to a complete listing of Credential values.

func NewCredentialListResultIterator Uses

func NewCredentialListResultIterator(page CredentialListResultPage) CredentialListResultIterator

Creates a new instance of the CredentialListResultIterator type.

func (*CredentialListResultIterator) Next Uses

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 Uses

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 Uses

func (iter CredentialListResultIterator) NotDone() bool

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

func (CredentialListResultIterator) Response Uses

func (iter CredentialListResultIterator) Response() CredentialListResult

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

func (CredentialListResultIterator) Value Uses

func (iter CredentialListResultIterator) Value() Credential

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

type CredentialListResultPage Uses

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

CredentialListResultPage contains a page of Credential values.

func NewCredentialListResultPage Uses

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

Creates a new instance of the CredentialListResultPage type.

func (*CredentialListResultPage) Next Uses

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 Uses

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 Uses

func (page CredentialListResultPage) NotDone() bool

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

func (CredentialListResultPage) Response Uses

func (page CredentialListResultPage) Response() CredentialListResult

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

func (CredentialListResultPage) Values Uses

func (page CredentialListResultPage) Values() []Credential

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

type CredentialProperties Uses

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

type CredentialUpdateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for CredentialUpdateParameters.

func (*CredentialUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for CredentialUpdateParameters struct.

type CredentialUpdateProperties Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscCompilationJob.

func (*DscCompilationJob) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DscCompilationJob struct.

type DscCompilationJobClient Uses

type DscCompilationJobClient struct {
    BaseClient
}

DscCompilationJobClient is the automation Client

func NewDscCompilationJobClient Uses

func NewDscCompilationJobClient(subscriptionID string) DscCompilationJobClient

NewDscCompilationJobClient creates an instance of the DscCompilationJobClient client.

func NewDscCompilationJobClientWithBaseURI Uses

func NewDscCompilationJobClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobClient

NewDscCompilationJobClientWithBaseURI creates an instance of the DscCompilationJobClient client.

func (DscCompilationJobClient) Create Uses

func (client DscCompilationJobClient) Create(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobName string, parameters DscCompilationJobCreateParameters) (result DscCompilationJobCreateFuture, 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. compilationJobName - the the DSC configuration Id. parameters - the parameters supplied to the create compilation job operation.

func (DscCompilationJobClient) CreatePreparer Uses

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

CreatePreparer prepares the Create request.

func (DscCompilationJobClient) CreateResponder Uses

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 Uses

func (client DscCompilationJobClient) CreateSender(req *http.Request) (future DscCompilationJobCreateFuture, err error)

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

func (DscCompilationJobClient) Get Uses

func (client DscCompilationJobClient) Get(ctx context.Context, resourceGroupName string, automationAccountName string, compilationJobName string) (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. compilationJobName - the the DSC configuration Id.

func (DscCompilationJobClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (DscCompilationJobClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByAutomationAccountPreparer prepares the ListByAutomationAccount request.

func (DscCompilationJobClient) ListByAutomationAccountResponder Uses

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 Uses

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 DscCompilationJobCreateFuture Uses

type DscCompilationJobCreateFuture struct {
    azure.Future
}

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

func (*DscCompilationJobCreateFuture) Result Uses

func (future *DscCompilationJobCreateFuture) Result(client DscCompilationJobClient) (dcj DscCompilationJob, err error)

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

type DscCompilationJobCreateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscCompilationJobCreateParameters.

func (*DscCompilationJobCreateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DscCompilationJobCreateParameters struct.

type DscCompilationJobCreateProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscCompilationJobCreateProperties.

type DscCompilationJobListResult Uses

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 Uses

func (dcjlr DscCompilationJobListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscCompilationJobListResultIterator Uses

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

DscCompilationJobListResultIterator provides access to a complete listing of DscCompilationJob values.

func NewDscCompilationJobListResultIterator Uses

func NewDscCompilationJobListResultIterator(page DscCompilationJobListResultPage) DscCompilationJobListResultIterator

Creates a new instance of the DscCompilationJobListResultIterator type.

func (*DscCompilationJobListResultIterator) Next Uses

func (iter *DscCompilationJobListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DscCompilationJobListResultIterator) NextWithContext Uses

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 Uses

func (iter DscCompilationJobListResultIterator) NotDone() bool

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

func (DscCompilationJobListResultIterator) Response Uses

func (iter DscCompilationJobListResultIterator) Response() DscCompilationJobListResult

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

func (DscCompilationJobListResultIterator) Value Uses

func (iter DscCompilationJobListResultIterator) Value() DscCompilationJob

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

type DscCompilationJobListResultPage Uses

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

DscCompilationJobListResultPage contains a page of DscCompilationJob values.

func NewDscCompilationJobListResultPage Uses

func NewDscCompilationJobListResultPage(getNextPage func(context.Context, DscCompilationJobListResult) (DscCompilationJobListResult, error)) DscCompilationJobListResultPage

Creates a new instance of the DscCompilationJobListResultPage type.

func (*DscCompilationJobListResultPage) Next Uses

func (page *DscCompilationJobListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DscCompilationJobListResultPage) NextWithContext Uses

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 Uses

func (page DscCompilationJobListResultPage) NotDone() bool

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

func (DscCompilationJobListResultPage) Response Uses

func (page DscCompilationJobListResultPage) Response() DscCompilationJobListResult

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

func (DscCompilationJobListResultPage) Values Uses

func (page DscCompilationJobListResultPage) Values() []DscCompilationJob

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

type DscCompilationJobProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscCompilationJobProperties.

type DscCompilationJobStreamClient Uses

type DscCompilationJobStreamClient struct {
    BaseClient
}

DscCompilationJobStreamClient is the automation Client

func NewDscCompilationJobStreamClient Uses

func NewDscCompilationJobStreamClient(subscriptionID string) DscCompilationJobStreamClient

NewDscCompilationJobStreamClient creates an instance of the DscCompilationJobStreamClient client.

func NewDscCompilationJobStreamClientWithBaseURI Uses

func NewDscCompilationJobStreamClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobStreamClient

NewDscCompilationJobStreamClientWithBaseURI creates an instance of the DscCompilationJobStreamClient client.

func (DscCompilationJobStreamClient) ListByJob Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscConfiguration.

func (*DscConfiguration) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DscConfiguration struct.

type DscConfigurationAssociationProperty Uses

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 Uses

type DscConfigurationClient struct {
    BaseClient
}

DscConfigurationClient is the automation Client

func NewDscConfigurationClient Uses

func NewDscConfigurationClient(subscriptionID string) DscConfigurationClient

NewDscConfigurationClient creates an instance of the DscConfigurationClient client.

func NewDscConfigurationClientWithBaseURI Uses

func NewDscConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscConfigurationClient

NewDscConfigurationClientWithBaseURI creates an instance of the DscConfigurationClient client.

func (DscConfigurationClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (DscConfigurationClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetContentPreparer prepares the GetContent request.

func (DscConfigurationClient) GetContentResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (DscConfigurationClient) GetResponder Uses

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 Uses

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 Uses

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 the number of rows to take. inlinecount - return total rows.

func (DscConfigurationClient) ListByAutomationAccountComplete Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscConfigurationCreateOrUpdateParameters.

func (*DscConfigurationCreateOrUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DscConfigurationCreateOrUpdateParameters struct.

type DscConfigurationCreateOrUpdateProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscConfigurationCreateOrUpdateProperties.

type DscConfigurationListResult Uses

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 Uses

func (dclr DscConfigurationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscConfigurationListResultIterator Uses

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

DscConfigurationListResultIterator provides access to a complete listing of DscConfiguration values.

func NewDscConfigurationListResultIterator Uses

func NewDscConfigurationListResultIterator(page DscConfigurationListResultPage) DscConfigurationListResultIterator

Creates a new instance of the DscConfigurationListResultIterator type.

func (*DscConfigurationListResultIterator) Next Uses

func (iter *DscConfigurationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DscConfigurationListResultIterator) NextWithContext Uses

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 Uses

func (iter DscConfigurationListResultIterator) NotDone() bool

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

func (DscConfigurationListResultIterator) Response Uses

func (iter DscConfigurationListResultIterator) Response() DscConfigurationListResult

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

func (DscConfigurationListResultIterator) Value Uses

func (iter DscConfigurationListResultIterator) Value() DscConfiguration

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

type DscConfigurationListResultPage Uses

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

DscConfigurationListResultPage contains a page of DscConfiguration values.

func NewDscConfigurationListResultPage Uses

func NewDscConfigurationListResultPage(getNextPage func(context.Context, DscConfigurationListResult) (DscConfigurationListResult, error)) DscConfigurationListResultPage

Creates a new instance of the DscConfigurationListResultPage type.

func (*DscConfigurationListResultPage) Next Uses

func (page *DscConfigurationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DscConfigurationListResultPage) NextWithContext Uses

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 Uses

func (page DscConfigurationListResultPage) NotDone() bool

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

func (DscConfigurationListResultPage) Response Uses

func (page DscConfigurationListResultPage) Response() DscConfigurationListResult

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

func (DscConfigurationListResultPage) Values Uses

func (page DscConfigurationListResultPage) Values() []DscConfiguration

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

type DscConfigurationParameter Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscConfigurationProperties.

type DscConfigurationProvisioningState Uses

type DscConfigurationProvisioningState string

DscConfigurationProvisioningState enumerates the values for dsc configuration provisioning state.

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

func PossibleDscConfigurationProvisioningStateValues Uses

func PossibleDscConfigurationProvisioningStateValues() []DscConfigurationProvisioningState

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

type DscConfigurationState Uses

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 Uses

func PossibleDscConfigurationStateValues() []DscConfigurationState

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

type DscConfigurationUpdateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for DscConfigurationUpdateParameters.

func (*DscConfigurationUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DscConfigurationUpdateParameters struct.

type DscMetaConfiguration Uses

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 Uses

type DscNode struct {
    autorest.Response `json:"-"`
    // DscNodeProperties - The properties of a DscNode.
    *DscNodeProperties `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"`
}

DscNode definition of a DscNode

func (DscNode) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DscNode.

func (*DscNode) UnmarshalJSON Uses

func (dn *DscNode) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscNode struct.

type DscNodeClient Uses

type DscNodeClient struct {
    BaseClient
}

DscNodeClient is the automation Client

func NewDscNodeClient Uses

func NewDscNodeClient(subscriptionID string) DscNodeClient

NewDscNodeClient creates an instance of the DscNodeClient client.

func NewDscNodeClientWithBaseURI Uses

func NewDscNodeClientWithBaseURI(baseURI string, subscriptionID string) DscNodeClient

NewDscNodeClientWithBaseURI creates an instance of the DscNodeClient client.

func (DscNodeClient) Delete Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (DscNodeClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (DscNodeClient) GetResponder Uses

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 Uses

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 Uses

func (client DscNodeClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string, skip *int32, top *int32, inlinecount 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. skip - the number of rows to skip. top - the the number of rows to take. inlinecount - return total rows.

func (DscNodeClient) ListByAutomationAccountComplete Uses

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

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

func (DscNodeClient) ListByAutomationAccountPreparer Uses

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

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 Uses

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 Uses

func (client DscNodeClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, nodeID string, dscNodeUpdateParameters 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. dscNodeUpdateParameters - parameters supplied to the update dsc node.

func (DscNodeClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (DscNodeClient) UpdateResponder Uses

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 Uses

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 Uses

type DscNodeConfiguration struct {
    autorest.Response `json:"-"`
    // DscNodeConfigurationProperties - Gets or sets the configuration properties.
    *DscNodeConfigurationProperties `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"`
}

DscNodeConfiguration definition of the dsc node configuration.

func (DscNodeConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DscNodeConfiguration.

func (*DscNodeConfiguration) UnmarshalJSON Uses

func (dnc *DscNodeConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscNodeConfiguration struct.

type DscNodeConfigurationAssociationProperty Uses

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 Uses

type DscNodeConfigurationClient struct {
    BaseClient
}

DscNodeConfigurationClient is the automation Client

func NewDscNodeConfigurationClient Uses

func NewDscNodeConfigurationClient(subscriptionID string) DscNodeConfigurationClient

NewDscNodeConfigurationClient creates an instance of the DscNodeConfigurationClient client.

func NewDscNodeConfigurationClientWithBaseURI Uses

func NewDscNodeConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscNodeConfigurationClient

NewDscNodeConfigurationClientWithBaseURI creates an instance of the DscNodeConfigurationClient client.

func (DscNodeConfigurationClient) CreateOrUpdate Uses

func (client DscNodeConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationAccountName string, nodeConfigurationName string, parameters DscNodeConfigurationCreateOrUpdateParameters) (result DscNodeConfigurationCreateOrUpdateFuture, 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 Dsc node configuration name. parameters - the create or update parameters for configuration.

func (DscNodeConfigurationClient) CreateOrUpdatePreparer Uses

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 Uses

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 Uses

func (client DscNodeConfigurationClient) CreateOrUpdateSender(req *http.Request) (future DscNodeConfigurationCreateOrUpdateFuture, err error)

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

func (DscNodeConfigurationClient) Delete Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (DscNodeConfigurationClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (DscNodeConfigurationClient) GetResponder Uses

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 Uses

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 Uses

func (client DscNodeConfigurationClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string, filter string, skip *int32, top *int32, inlinecount 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. skip - the number of rows to skip. top - the the number of rows to take. inlinecount - return total rows.

func (DscNodeConfigurationClient) ListByAutomationAccountComplete Uses

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

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

func (DscNodeConfigurationClient) ListByAutomationAccountPreparer Uses

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

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 Uses

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 DscNodeConfigurationCreateOrUpdateFuture Uses

type DscNodeConfigurationCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*DscNodeConfigurationCreateOrUpdateFuture) Result Uses

func (future *DscNodeConfigurationCreateOrUpdateFuture) Result(client DscNodeConfigurationClient) (dnc DscNodeConfiguration, err error)

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

type DscNodeConfigurationCreateOrUpdateParameters Uses

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

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

func (DscNodeConfigurationCreateOrUpdateParameters) MarshalJSON Uses

func (dnccoup DscNodeConfigurationCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscNodeConfigurationCreateOrUpdateParameters.

func (*DscNodeConfigurationCreateOrUpdateParameters) UnmarshalJSON Uses

func (dnccoup *DscNodeConfigurationCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscNodeConfigurationCreateOrUpdateParameters struct.

type DscNodeConfigurationCreateOrUpdateParametersProperties Uses

type DscNodeConfigurationCreateOrUpdateParametersProperties struct {
    // Source - Gets or sets the source.
    Source *ContentSource `json:"source,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"`
}

DscNodeConfigurationCreateOrUpdateParametersProperties the parameter properties supplied to the create or update node configuration operation.

type DscNodeConfigurationListResult Uses

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"`
    // TotalCount - Gets or sets the total rows in query.
    TotalCount *int32 `json:"totalCount,omitempty"`
}

DscNodeConfigurationListResult the response model for the list job operation.

func (DscNodeConfigurationListResult) IsEmpty Uses

func (dnclr DscNodeConfigurationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscNodeConfigurationListResultIterator Uses

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

DscNodeConfigurationListResultIterator provides access to a complete listing of DscNodeConfiguration values.

func NewDscNodeConfigurationListResultIterator Uses

func NewDscNodeConfigurationListResultIterator(page DscNodeConfigurationListResultPage) DscNodeConfigurationListResultIterator

Creates a new instance of the DscNodeConfigurationListResultIterator type.

func (*DscNodeConfigurationListResultIterator) Next Uses

func (iter *DscNodeConfigurationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DscNodeConfigurationListResultIterator) NextWithContext Uses

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 Uses

func (iter DscNodeConfigurationListResultIterator) NotDone() bool

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

func (DscNodeConfigurationListResultIterator) Response Uses

func (iter DscNodeConfigurationListResultIterator) Response() DscNodeConfigurationListResult

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

func (DscNodeConfigurationListResultIterator) Value Uses

func (iter DscNodeConfigurationListResultIterator) Value() DscNodeConfiguration

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

type DscNodeConfigurationListResultPage Uses

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

DscNodeConfigurationListResultPage contains a page of DscNodeConfiguration values.

func NewDscNodeConfigurationListResultPage Uses

func NewDscNodeConfigurationListResultPage(getNextPage func(context.Context, DscNodeConfigurationListResult) (DscNodeConfigurationListResult, error)) DscNodeConfigurationListResultPage

Creates a new instance of the DscNodeConfigurationListResultPage type.

func (*DscNodeConfigurationListResultPage) Next Uses

func (page *DscNodeConfigurationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DscNodeConfigurationListResultPage) NextWithContext Uses

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 Uses

func (page DscNodeConfigurationListResultPage) NotDone() bool

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

func (DscNodeConfigurationListResultPage) Response Uses

func (page DscNodeConfigurationListResultPage) Response() DscNodeConfigurationListResult

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

func (DscNodeConfigurationListResultPage) Values Uses

func (page DscNodeConfigurationListResultPage) Values() []DscNodeConfiguration

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

type DscNodeConfigurationProperties Uses

type DscNodeConfigurationProperties struct {
    // 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"`
    // Source - Source of node configuration.
    Source *string `json:"source,omitempty"`
    // NodeCount - Number of nodes with this node configuration assigned
    NodeCount *int64 `json:"nodeCount,omitempty"`
    // IncrementNodeConfigurationBuild - If a new build version of NodeConfiguration is required.
    IncrementNodeConfigurationBuild *bool `json:"incrementNodeConfigurationBuild,omitempty"`
}

DscNodeConfigurationProperties properties for the DscNodeConfiguration

type DscNodeExtensionHandlerAssociationProperty Uses

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 Uses

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"`
    // TotalCount - Gets the total number of nodes matching filter criteria.
    TotalCount *int32 `json:"totalCount,omitempty"`
}

DscNodeListResult the response model for the list dsc nodes operation.

func (DscNodeListResult) IsEmpty Uses

func (dnlr DscNodeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscNodeListResultIterator Uses

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

DscNodeListResultIterator provides access to a complete listing of DscNode values.

func NewDscNodeListResultIterator Uses

func NewDscNodeListResultIterator(page DscNodeListResultPage) DscNodeListResultIterator

Creates a new instance of the DscNodeListResultIterator type.

func (*DscNodeListResultIterator) Next Uses

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 Uses

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 Uses

func (iter DscNodeListResultIterator) NotDone() bool

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

func (DscNodeListResultIterator) Response Uses

func (iter DscNodeListResultIterator) Response() DscNodeListResult

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

func (DscNodeListResultIterator) Value Uses

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 Uses

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

DscNodeListResultPage contains a page of DscNode values.

func NewDscNodeListResultPage Uses

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

Creates a new instance of the DscNodeListResultPage type.

func (*DscNodeListResultPage) Next Uses

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 Uses

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 Uses

func (page DscNodeListResultPage) NotDone() bool

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

func (DscNodeListResultPage) Response Uses

func (page DscNodeListResultPage) Response() DscNodeListResult

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

func (DscNodeListResultPage) Values Uses

func (page DscNodeListResultPage) Values() []DscNode

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

type DscNodeProperties Uses

type DscNodeProperties struct {
    // 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"`
    // DscNodeConfigurationAssociationProperty - Gets or sets the configuration of the node.
    *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"`
    // TotalCount - Gets the total number of records matching filter criteria.
    TotalCount *int32 `json:"totalCount,omitempty"`
    // ExtensionHandler - Gets or sets the list of extensionHandler properties for a Node.
    ExtensionHandler *[]DscNodeExtensionHandlerAssociationProperty `json:"extensionHandler,omitempty"`
}

DscNodeProperties the properties of a DscNode

func (DscNodeProperties) MarshalJSON Uses

func (dnp DscNodeProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscNodeProperties.

func (*DscNodeProperties) UnmarshalJSON Uses

func (dnp *DscNodeProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscNodeProperties struct.

type DscNodeReport Uses

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 Uses

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 Uses

func (dnrlr DscNodeReportListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DscNodeReportListResultIterator Uses

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

DscNodeReportListResultIterator provides access to a complete listing of DscNodeReport values.

func NewDscNodeReportListResultIterator Uses

func NewDscNodeReportListResultIterator(page DscNodeReportListResultPage) DscNodeReportListResultIterator

Creates a new instance of the DscNodeReportListResultIterator type.

func (*DscNodeReportListResultIterator) Next Uses

func (iter *DscNodeReportListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DscNodeReportListResultIterator) NextWithContext Uses

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 Uses

func (iter DscNodeReportListResultIterator) NotDone() bool

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

func (DscNodeReportListResultIterator) Response Uses

func (iter DscNodeReportListResultIterator) Response() DscNodeReportListResult

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

func (DscNodeReportListResultIterator) Value Uses

func (iter DscNodeReportListResultIterator) Value() DscNodeReport

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

type DscNodeReportListResultPage Uses

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

DscNodeReportListResultPage contains a page of DscNodeReport values.

func NewDscNodeReportListResultPage Uses

func NewDscNodeReportListResultPage(getNextPage func(context.Context, DscNodeReportListResult) (DscNodeReportListResult, error)) DscNodeReportListResultPage

Create