logic

package
v28.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package logic implements the Azure ARM Logic service API version 2015-02-01-preview.

REST API for Azure Logic Apps.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type BaseClient

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

BaseClient is the base client for Logic.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type ContentHash

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

ContentHash ...

type ContentLink struct {
	// URI - Gets or sets the content link URI.
	URI *string `json:"uri,omitempty"`
	// ContentVersion - Gets or sets the content version.
	ContentVersion *string `json:"contentVersion,omitempty"`
	// ContentSize - Gets or sets the content size.
	ContentSize *int64 `json:"contentSize,omitempty"`
	// ContentHash - Gets or sets the content hash.
	ContentHash *ContentHash `json:"contentHash,omitempty"`
	// Metadata - Gets or sets the metadata.
	Metadata interface{} `json:"metadata,omitempty"`
}

ContentLink ...

type KeyType

type KeyType string

KeyType enumerates the values for key type.

const (
	// NotSpecified ...
	NotSpecified KeyType = "NotSpecified"
	// Primary ...
	Primary KeyType = "Primary"
	// Secondary ...
	Secondary KeyType = "Secondary"
)

func PossibleKeyTypeValues

func PossibleKeyTypeValues() []KeyType

PossibleKeyTypeValues returns an array of possible values for the KeyType const type.

type ParameterType

type ParameterType string

ParameterType enumerates the values for parameter type.

const (
	// ParameterTypeArray ...
	ParameterTypeArray ParameterType = "Array"
	// ParameterTypeBool ...
	ParameterTypeBool ParameterType = "Bool"
	// ParameterTypeFloat ...
	ParameterTypeFloat ParameterType = "Float"
	// ParameterTypeInt ...
	ParameterTypeInt ParameterType = "Int"
	// ParameterTypeNotSpecified ...
	ParameterTypeNotSpecified ParameterType = "NotSpecified"
	// ParameterTypeObject ...
	ParameterTypeObject ParameterType = "Object"
	// ParameterTypeSecureObject ...
	ParameterTypeSecureObject ParameterType = "SecureObject"
	// ParameterTypeSecureString ...
	ParameterTypeSecureString ParameterType = "SecureString"
	// ParameterTypeString ...
	ParameterTypeString ParameterType = "String"
)

func PossibleParameterTypeValues

func PossibleParameterTypeValues() []ParameterType

PossibleParameterTypeValues returns an array of possible values for the ParameterType const type.

type RecurrenceFrequency

type RecurrenceFrequency string

RecurrenceFrequency enumerates the values for recurrence frequency.

const (
	// Day ...
	Day RecurrenceFrequency = "Day"
	// Hour ...
	Hour RecurrenceFrequency = "Hour"
	// Minute ...
	Minute RecurrenceFrequency = "Minute"
	// Month ...
	Month RecurrenceFrequency = "Month"
	// Second ...
	Second RecurrenceFrequency = "Second"
	// Week ...
	Week RecurrenceFrequency = "Week"
	// Year ...
	Year RecurrenceFrequency = "Year"
)

func PossibleRecurrenceFrequencyValues

func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency

PossibleRecurrenceFrequencyValues returns an array of possible values for the RecurrenceFrequency const type.

type RegenerateSecretKeyParameters

type RegenerateSecretKeyParameters struct {
	// KeyType - Gets or sets the key type. Possible values include: 'NotSpecified', 'Primary', 'Secondary'
	KeyType KeyType `json:"keyType,omitempty"`
}

RegenerateSecretKeyParameters ...

type Resource

type Resource struct {
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
	// Name - Gets the resource name.
	Name *string `json:"name,omitempty"`
	// Type - Gets the resource type.
	Type *string `json:"type,omitempty"`
	// Location - Gets or sets the resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the resource tags.
	Tags map[string]*string `json:"tags"`
}

Resource ...

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceReference

type ResourceReference struct {
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Gets the resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the resource type.
	Type *string `json:"type,omitempty"`
}

ResourceReference ...

type RunWorkflowParameters

type RunWorkflowParameters struct {
	// Name - Gets or sets the name of workflow run trigger.
	Name *string `json:"name,omitempty"`
	// Outputs - Gets or sets the outputs of workflow run trigger.
	Outputs interface{} `json:"outputs,omitempty"`
}

RunWorkflowParameters ...

type Sku

type Sku struct {
	// Name - Gets or sets the name. Possible values include: 'SkuNameNotSpecified', 'SkuNameFree', 'SkuNameShared', 'SkuNameBasic', 'SkuNameStandard', 'SkuNamePremium'
	Name SkuName `json:"name,omitempty"`
	// Plan - Gets or sets the reference to plan.
	Plan *ResourceReference `json:"plan,omitempty"`
}

Sku ...

type SkuName

type SkuName string

SkuName enumerates the values for sku name.

const (
	// SkuNameBasic ...
	SkuNameBasic SkuName = "Basic"
	// SkuNameFree ...
	SkuNameFree SkuName = "Free"
	// SkuNameNotSpecified ...
	SkuNameNotSpecified SkuName = "NotSpecified"
	// SkuNamePremium ...
	SkuNamePremium SkuName = "Premium"
	// SkuNameShared ...
	SkuNameShared SkuName = "Shared"
	// SkuNameStandard ...
	SkuNameStandard SkuName = "Standard"
)

func PossibleSkuNameValues

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type SubResource

type SubResource struct {
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
}

SubResource ...

type Workflow

type Workflow struct {
	autorest.Response `json:"-"`
	// WorkflowProperties - Gets or sets the workflow properties.
	*WorkflowProperties `json:"properties,omitempty"`
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
	// Name - Gets the resource name.
	Name *string `json:"name,omitempty"`
	// Type - Gets the resource type.
	Type *string `json:"type,omitempty"`
	// Location - Gets or sets the resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the resource tags.
	Tags map[string]*string `json:"tags"`
}

Workflow ...

func (Workflow) MarshalJSON

func (w Workflow) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Workflow.

func (*Workflow) UnmarshalJSON

func (w *Workflow) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Workflow struct.

type WorkflowAccessKey

type WorkflowAccessKey struct {
	autorest.Response `json:"-"`
	// WorkflowAccessKeyProperties - Gets or sets the workflow access key properties.
	*WorkflowAccessKeyProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Gets the workflow access key name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the workflow access key type.
	Type *string `json:"type,omitempty"`
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
}

WorkflowAccessKey ...

func (WorkflowAccessKey) MarshalJSON

func (wak WorkflowAccessKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowAccessKey.

func (*WorkflowAccessKey) UnmarshalJSON

func (wak *WorkflowAccessKey) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkflowAccessKey struct.

type WorkflowAccessKeyListResult

type WorkflowAccessKeyListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of workflow access keys.
	Value *[]WorkflowAccessKey `json:"value,omitempty"`
	// NextLink - Gets or sets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkflowAccessKeyListResult ...

func (WorkflowAccessKeyListResult) IsEmpty

func (waklr WorkflowAccessKeyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkflowAccessKeyListResultIterator

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

WorkflowAccessKeyListResultIterator provides access to a complete listing of WorkflowAccessKey values.

func NewWorkflowAccessKeyListResultIterator

func NewWorkflowAccessKeyListResultIterator(page WorkflowAccessKeyListResultPage) WorkflowAccessKeyListResultIterator

Creates a new instance of the WorkflowAccessKeyListResultIterator type.

func (*WorkflowAccessKeyListResultIterator) Next

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

func (*WorkflowAccessKeyListResultIterator) NextWithContext

func (iter *WorkflowAccessKeyListResultIterator) 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 (WorkflowAccessKeyListResultIterator) NotDone

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

func (WorkflowAccessKeyListResultIterator) Response

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

func (WorkflowAccessKeyListResultIterator) Value

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

type WorkflowAccessKeyListResultPage

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

WorkflowAccessKeyListResultPage contains a page of WorkflowAccessKey values.

func NewWorkflowAccessKeyListResultPage

func NewWorkflowAccessKeyListResultPage(getNextPage func(context.Context, WorkflowAccessKeyListResult) (WorkflowAccessKeyListResult, error)) WorkflowAccessKeyListResultPage

Creates a new instance of the WorkflowAccessKeyListResultPage type.

func (*WorkflowAccessKeyListResultPage) Next

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

func (*WorkflowAccessKeyListResultPage) NextWithContext

func (page *WorkflowAccessKeyListResultPage) 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 (WorkflowAccessKeyListResultPage) NotDone

func (page WorkflowAccessKeyListResultPage) NotDone() bool

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

func (WorkflowAccessKeyListResultPage) Response

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

func (WorkflowAccessKeyListResultPage) Values

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

type WorkflowAccessKeyProperties

type WorkflowAccessKeyProperties struct {
	// NotBefore - Gets or sets the not-before time.
	NotBefore *date.Time `json:"notBefore,omitempty"`
	// NotAfter - Gets or sets the not-after time.
	NotAfter *date.Time `json:"notAfter,omitempty"`
}

WorkflowAccessKeyProperties ...

type WorkflowAccessKeysClient

type WorkflowAccessKeysClient struct {
	BaseClient
}

WorkflowAccessKeysClient is the REST API for Azure Logic Apps.

func NewWorkflowAccessKeysClient

func NewWorkflowAccessKeysClient(subscriptionID string) WorkflowAccessKeysClient

NewWorkflowAccessKeysClient creates an instance of the WorkflowAccessKeysClient client.

func NewWorkflowAccessKeysClientWithBaseURI

func NewWorkflowAccessKeysClientWithBaseURI(baseURI string, subscriptionID string) WorkflowAccessKeysClient

NewWorkflowAccessKeysClientWithBaseURI creates an instance of the WorkflowAccessKeysClient client.

func (WorkflowAccessKeysClient) CreateOrUpdate

func (client WorkflowAccessKeysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string, workflowAccesskey WorkflowAccessKey) (result WorkflowAccessKey, err error)

CreateOrUpdate creates or updates a workflow access key. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. accessKeyName - the workflow access key name. workflowAccesskey - the workflow access key.

func (WorkflowAccessKeysClient) CreateOrUpdatePreparer

func (client WorkflowAccessKeysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string, workflowAccesskey WorkflowAccessKey) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkflowAccessKeysClient) CreateOrUpdateResponder

func (client WorkflowAccessKeysClient) CreateOrUpdateResponder(resp *http.Response) (result WorkflowAccessKey, err error)

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

func (WorkflowAccessKeysClient) CreateOrUpdateSender

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

func (client WorkflowAccessKeysClient) Delete(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string) (result autorest.Response, err error)

Delete deletes a workflow access key. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. accessKeyName - the workflow access key name.

func (WorkflowAccessKeysClient) DeletePreparer

func (client WorkflowAccessKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WorkflowAccessKeysClient) DeleteResponder

func (client WorkflowAccessKeysClient) 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 (WorkflowAccessKeysClient) DeleteSender

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

func (client WorkflowAccessKeysClient) Get(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string) (result WorkflowAccessKey, err error)

Get gets a workflow access key. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. accessKeyName - the workflow access key name.

func (WorkflowAccessKeysClient) GetPreparer

func (client WorkflowAccessKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkflowAccessKeysClient) GetResponder

func (client WorkflowAccessKeysClient) GetResponder(resp *http.Response) (result WorkflowAccessKey, err error)

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

func (WorkflowAccessKeysClient) GetSender

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

func (client WorkflowAccessKeysClient) List(ctx context.Context, resourceGroupName string, workflowName string, top *int32) (result WorkflowAccessKeyListResultPage, err error)

List gets a list of workflow access keys. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. top - the number of items to be included in the result.

func (WorkflowAccessKeysClient) ListComplete

func (client WorkflowAccessKeysClient) ListComplete(ctx context.Context, resourceGroupName string, workflowName string, top *int32) (result WorkflowAccessKeyListResultIterator, err error)

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

func (WorkflowAccessKeysClient) ListPreparer

func (client WorkflowAccessKeysClient) ListPreparer(ctx context.Context, resourceGroupName string, workflowName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkflowAccessKeysClient) ListResponder

func (client WorkflowAccessKeysClient) ListResponder(resp *http.Response) (result WorkflowAccessKeyListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkflowAccessKeysClient) ListSecretKeys

func (client WorkflowAccessKeysClient) ListSecretKeys(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string) (result WorkflowSecretKeys, err error)

ListSecretKeys lists secret keys. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. accessKeyName - the workflow access key name.

func (WorkflowAccessKeysClient) ListSecretKeysPreparer

func (client WorkflowAccessKeysClient) ListSecretKeysPreparer(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string) (*http.Request, error)

ListSecretKeysPreparer prepares the ListSecretKeys request.

func (WorkflowAccessKeysClient) ListSecretKeysResponder

func (client WorkflowAccessKeysClient) ListSecretKeysResponder(resp *http.Response) (result WorkflowSecretKeys, err error)

ListSecretKeysResponder handles the response to the ListSecretKeys request. The method always closes the http.Response Body.

func (WorkflowAccessKeysClient) ListSecretKeysSender

func (client WorkflowAccessKeysClient) ListSecretKeysSender(req *http.Request) (*http.Response, error)

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

func (WorkflowAccessKeysClient) ListSender

func (client WorkflowAccessKeysClient) 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 (WorkflowAccessKeysClient) RegenerateSecretKey

func (client WorkflowAccessKeysClient) RegenerateSecretKey(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string, parameters RegenerateSecretKeyParameters) (result WorkflowSecretKeys, err error)

RegenerateSecretKey regenerates secret key. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. accessKeyName - the workflow access key name. parameters - the parameters.

func (WorkflowAccessKeysClient) RegenerateSecretKeyPreparer

func (client WorkflowAccessKeysClient) RegenerateSecretKeyPreparer(ctx context.Context, resourceGroupName string, workflowName string, accessKeyName string, parameters RegenerateSecretKeyParameters) (*http.Request, error)

RegenerateSecretKeyPreparer prepares the RegenerateSecretKey request.

func (WorkflowAccessKeysClient) RegenerateSecretKeyResponder

func (client WorkflowAccessKeysClient) RegenerateSecretKeyResponder(resp *http.Response) (result WorkflowSecretKeys, err error)

RegenerateSecretKeyResponder handles the response to the RegenerateSecretKey request. The method always closes the http.Response Body.

func (WorkflowAccessKeysClient) RegenerateSecretKeySender

func (client WorkflowAccessKeysClient) RegenerateSecretKeySender(req *http.Request) (*http.Response, error)

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

type WorkflowFilter

type WorkflowFilter struct {
	// State - Gets or sets the state of workflows. Possible values include: 'WorkflowStateNotSpecified', 'WorkflowStateEnabled', 'WorkflowStateDisabled', 'WorkflowStateDeleted', 'WorkflowStateSuspended'
	State WorkflowState `json:"state,omitempty"`
}

WorkflowFilter ...

type WorkflowListResult

type WorkflowListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets the list of workflows.
	Value *[]Workflow `json:"value,omitempty"`
	// NextLink - Gets or sets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkflowListResult ...

func (WorkflowListResult) IsEmpty

func (wlr WorkflowListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkflowListResultIterator

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

WorkflowListResultIterator provides access to a complete listing of Workflow values.

func NewWorkflowListResultIterator

func NewWorkflowListResultIterator(page WorkflowListResultPage) WorkflowListResultIterator

Creates a new instance of the WorkflowListResultIterator type.

func (*WorkflowListResultIterator) Next

func (iter *WorkflowListResultIterator) 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 (*WorkflowListResultIterator) NextWithContext

func (iter *WorkflowListResultIterator) 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 (WorkflowListResultIterator) NotDone

func (iter WorkflowListResultIterator) NotDone() bool

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

func (WorkflowListResultIterator) Response

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

func (WorkflowListResultIterator) Value

func (iter WorkflowListResultIterator) Value() Workflow

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

type WorkflowListResultPage

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

WorkflowListResultPage contains a page of Workflow values.

func NewWorkflowListResultPage

func NewWorkflowListResultPage(getNextPage func(context.Context, WorkflowListResult) (WorkflowListResult, error)) WorkflowListResultPage

Creates a new instance of the WorkflowListResultPage type.

func (*WorkflowListResultPage) Next

func (page *WorkflowListResultPage) 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 (*WorkflowListResultPage) NextWithContext

func (page *WorkflowListResultPage) 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 (WorkflowListResultPage) NotDone

func (page WorkflowListResultPage) NotDone() bool

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

func (WorkflowListResultPage) Response

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

func (WorkflowListResultPage) Values

func (page WorkflowListResultPage) Values() []Workflow

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

type WorkflowOutputParameter

type WorkflowOutputParameter struct {
	// Error - READ-ONLY; Gets the error.
	Error interface{} `json:"error,omitempty"`
	// Type - Gets or sets the type. Possible values include: 'ParameterTypeNotSpecified', 'ParameterTypeString', 'ParameterTypeSecureString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeObject', 'ParameterTypeSecureObject'
	Type ParameterType `json:"type,omitempty"`
	// Value - Gets or sets the value.
	Value interface{} `json:"value,omitempty"`
	// Metadata - Gets or sets the metadata.
	Metadata interface{} `json:"metadata,omitempty"`
}

WorkflowOutputParameter ...

type WorkflowParameter

type WorkflowParameter struct {
	// Type - Gets or sets the type. Possible values include: 'ParameterTypeNotSpecified', 'ParameterTypeString', 'ParameterTypeSecureString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeObject', 'ParameterTypeSecureObject'
	Type ParameterType `json:"type,omitempty"`
	// Value - Gets or sets the value.
	Value interface{} `json:"value,omitempty"`
	// Metadata - Gets or sets the metadata.
	Metadata interface{} `json:"metadata,omitempty"`
}

WorkflowParameter ...

type WorkflowProperties

type WorkflowProperties struct {
	// ProvisioningState - READ-ONLY; Gets the provisioning state. Possible values include: 'WorkflowProvisioningStateNotSpecified', 'WorkflowProvisioningStateMoving', 'WorkflowProvisioningStateSucceeded'
	ProvisioningState WorkflowProvisioningState `json:"provisioningState,omitempty"`
	// CreatedTime - READ-ONLY; Gets the created time.
	CreatedTime *date.Time `json:"createdTime,omitempty"`
	// ChangedTime - READ-ONLY; Gets the changed time.
	ChangedTime *date.Time `json:"changedTime,omitempty"`
	// State - Gets or sets the state. Possible values include: 'WorkflowStateNotSpecified', 'WorkflowStateEnabled', 'WorkflowStateDisabled', 'WorkflowStateDeleted', 'WorkflowStateSuspended'
	State WorkflowState `json:"state,omitempty"`
	// Version - READ-ONLY; Gets the version.
	Version *string `json:"version,omitempty"`
	// AccessEndpoint - READ-ONLY; Gets the access endpoint.
	AccessEndpoint *string `json:"accessEndpoint,omitempty"`
	// Sku - Gets or sets the sku.
	Sku *Sku `json:"sku,omitempty"`
	// DefinitionLink - Gets or sets the link to definition.
	DefinitionLink *ContentLink `json:"definitionLink,omitempty"`
	// Definition - Gets or sets the definition.
	Definition interface{} `json:"definition,omitempty"`
	// ParametersLink - Gets or sets the link to parameters.
	ParametersLink *ContentLink `json:"parametersLink,omitempty"`
	// Parameters - Gets or sets the parameters.
	Parameters map[string]*WorkflowParameter `json:"parameters"`
}

WorkflowProperties ...

func (WorkflowProperties) MarshalJSON

func (wp WorkflowProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowProperties.

type WorkflowProvisioningState

type WorkflowProvisioningState string

WorkflowProvisioningState enumerates the values for workflow provisioning state.

const (
	// WorkflowProvisioningStateMoving ...
	WorkflowProvisioningStateMoving WorkflowProvisioningState = "Moving"
	// WorkflowProvisioningStateNotSpecified ...
	WorkflowProvisioningStateNotSpecified WorkflowProvisioningState = "NotSpecified"
	// WorkflowProvisioningStateSucceeded ...
	WorkflowProvisioningStateSucceeded WorkflowProvisioningState = "Succeeded"
)

func PossibleWorkflowProvisioningStateValues

func PossibleWorkflowProvisioningStateValues() []WorkflowProvisioningState

PossibleWorkflowProvisioningStateValues returns an array of possible values for the WorkflowProvisioningState const type.

type WorkflowRun

type WorkflowRun struct {
	autorest.Response `json:"-"`
	// WorkflowRunProperties - Gets or sets the workflow run properties.
	*WorkflowRunProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Gets the workflow run name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the workflow run type.
	Type *string `json:"type,omitempty"`
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
}

WorkflowRun ...

func (WorkflowRun) MarshalJSON

func (wr WorkflowRun) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowRun.

func (*WorkflowRun) UnmarshalJSON

func (wr *WorkflowRun) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkflowRun struct.

type WorkflowRunAction

type WorkflowRunAction struct {
	autorest.Response `json:"-"`
	// WorkflowRunActionProperties - Gets or sets the workflow run action properties.
	*WorkflowRunActionProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Gets the workflow run action name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the workflow run action type.
	Type *string `json:"type,omitempty"`
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
}

WorkflowRunAction ...

func (WorkflowRunAction) MarshalJSON

func (wra WorkflowRunAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowRunAction.

func (*WorkflowRunAction) UnmarshalJSON

func (wra *WorkflowRunAction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkflowRunAction struct.

type WorkflowRunActionFilter

type WorkflowRunActionFilter struct {
	// Status - Gets or sets the status of workflow run action. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
}

WorkflowRunActionFilter ...

type WorkflowRunActionListResult

type WorkflowRunActionListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of workflow run actions.
	Value *[]WorkflowRunAction `json:"value,omitempty"`
	// NextLink - Gets or sets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkflowRunActionListResult ...

func (WorkflowRunActionListResult) IsEmpty

func (wralr WorkflowRunActionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkflowRunActionListResultIterator

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

WorkflowRunActionListResultIterator provides access to a complete listing of WorkflowRunAction values.

func NewWorkflowRunActionListResultIterator

func NewWorkflowRunActionListResultIterator(page WorkflowRunActionListResultPage) WorkflowRunActionListResultIterator

Creates a new instance of the WorkflowRunActionListResultIterator type.

func (*WorkflowRunActionListResultIterator) Next

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

func (*WorkflowRunActionListResultIterator) NextWithContext

func (iter *WorkflowRunActionListResultIterator) 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 (WorkflowRunActionListResultIterator) NotDone

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

func (WorkflowRunActionListResultIterator) Response

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

func (WorkflowRunActionListResultIterator) Value

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

type WorkflowRunActionListResultPage

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

WorkflowRunActionListResultPage contains a page of WorkflowRunAction values.

func NewWorkflowRunActionListResultPage

func NewWorkflowRunActionListResultPage(getNextPage func(context.Context, WorkflowRunActionListResult) (WorkflowRunActionListResult, error)) WorkflowRunActionListResultPage

Creates a new instance of the WorkflowRunActionListResultPage type.

func (*WorkflowRunActionListResultPage) Next

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

func (*WorkflowRunActionListResultPage) NextWithContext

func (page *WorkflowRunActionListResultPage) 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 (WorkflowRunActionListResultPage) NotDone

func (page WorkflowRunActionListResultPage) NotDone() bool

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

func (WorkflowRunActionListResultPage) Response

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

func (WorkflowRunActionListResultPage) Values

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

type WorkflowRunActionProperties

type WorkflowRunActionProperties struct {
	// StartTime - READ-ONLY; Gets the start time.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; Gets the end time.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Status - READ-ONLY; Gets the status. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
	// Code - READ-ONLY; Gets the code.
	Code *string `json:"code,omitempty"`
	// Error - READ-ONLY; Gets the error.
	Error interface{} `json:"error,omitempty"`
	// TrackingID - READ-ONLY; Gets the trackingId.
	TrackingID *string `json:"trackingId,omitempty"`
	// InputsLink - READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink `json:"inputsLink,omitempty"`
	// OutputsLink - READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink `json:"outputsLink,omitempty"`
}

WorkflowRunActionProperties ...

type WorkflowRunActionsClient

type WorkflowRunActionsClient struct {
	BaseClient
}

WorkflowRunActionsClient is the REST API for Azure Logic Apps.

func NewWorkflowRunActionsClient

func NewWorkflowRunActionsClient(subscriptionID string) WorkflowRunActionsClient

NewWorkflowRunActionsClient creates an instance of the WorkflowRunActionsClient client.

func NewWorkflowRunActionsClientWithBaseURI

func NewWorkflowRunActionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionsClient

NewWorkflowRunActionsClientWithBaseURI creates an instance of the WorkflowRunActionsClient client.

func (WorkflowRunActionsClient) Get

func (client WorkflowRunActionsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, runName string, actionName string) (result WorkflowRunAction, err error)

Get gets a workflow run action. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. runName - the workflow run name. actionName - the workflow action name.

func (WorkflowRunActionsClient) GetPreparer

func (client WorkflowRunActionsClient) GetPreparer(ctx context.Context, resourceGroupName string, workflowName string, runName string, actionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkflowRunActionsClient) GetResponder

func (client WorkflowRunActionsClient) GetResponder(resp *http.Response) (result WorkflowRunAction, err error)

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

func (WorkflowRunActionsClient) GetSender

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

func (client WorkflowRunActionsClient) List(ctx context.Context, resourceGroupName string, workflowName string, runName string, top *int32, filter string) (result WorkflowRunActionListResultPage, err error)

List gets a list of workflow run actions. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. runName - the workflow run name. top - the number of items to be included in the result. filter - the filter to apply on the operation.

func (WorkflowRunActionsClient) ListComplete

func (client WorkflowRunActionsClient) ListComplete(ctx context.Context, resourceGroupName string, workflowName string, runName string, top *int32, filter string) (result WorkflowRunActionListResultIterator, err error)

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

func (WorkflowRunActionsClient) ListPreparer

func (client WorkflowRunActionsClient) ListPreparer(ctx context.Context, resourceGroupName string, workflowName string, runName string, top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkflowRunActionsClient) ListResponder

func (client WorkflowRunActionsClient) ListResponder(resp *http.Response) (result WorkflowRunActionListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkflowRunActionsClient) ListSender

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

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

type WorkflowRunFilter

type WorkflowRunFilter struct {
	// Status - Gets or sets the status of workflow run. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
}

WorkflowRunFilter ...

type WorkflowRunListResult

type WorkflowRunListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of workflow runs.
	Value *[]WorkflowRun `json:"value,omitempty"`
	// NextLink - Gets or sets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkflowRunListResult ...

func (WorkflowRunListResult) IsEmpty

func (wrlr WorkflowRunListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkflowRunListResultIterator

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

WorkflowRunListResultIterator provides access to a complete listing of WorkflowRun values.

func NewWorkflowRunListResultIterator

func NewWorkflowRunListResultIterator(page WorkflowRunListResultPage) WorkflowRunListResultIterator

Creates a new instance of the WorkflowRunListResultIterator type.

func (*WorkflowRunListResultIterator) Next

func (iter *WorkflowRunListResultIterator) 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 (*WorkflowRunListResultIterator) NextWithContext

func (iter *WorkflowRunListResultIterator) 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 (WorkflowRunListResultIterator) NotDone

func (iter WorkflowRunListResultIterator) NotDone() bool

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

func (WorkflowRunListResultIterator) Response

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

func (WorkflowRunListResultIterator) Value

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

type WorkflowRunListResultPage

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

WorkflowRunListResultPage contains a page of WorkflowRun values.

func NewWorkflowRunListResultPage

func NewWorkflowRunListResultPage(getNextPage func(context.Context, WorkflowRunListResult) (WorkflowRunListResult, error)) WorkflowRunListResultPage

Creates a new instance of the WorkflowRunListResultPage type.

func (*WorkflowRunListResultPage) Next

func (page *WorkflowRunListResultPage) 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 (*WorkflowRunListResultPage) NextWithContext

func (page *WorkflowRunListResultPage) 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 (WorkflowRunListResultPage) NotDone

func (page WorkflowRunListResultPage) NotDone() bool

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

func (WorkflowRunListResultPage) Response

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

func (WorkflowRunListResultPage) Values

func (page WorkflowRunListResultPage) Values() []WorkflowRun

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

type WorkflowRunProperties

type WorkflowRunProperties struct {
	// StartTime - READ-ONLY; Gets the start time.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; Gets the end time.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Status - READ-ONLY; Gets the status. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
	// Code - READ-ONLY; Gets the code.
	Code *string `json:"code,omitempty"`
	// Error - READ-ONLY; Gets the error.
	Error interface{} `json:"error,omitempty"`
	// CorrelationID - READ-ONLY; Gets the correlation id.
	CorrelationID *string `json:"correlationId,omitempty"`
	// Workflow - READ-ONLY; Gets the reference to workflow version.
	Workflow *ResourceReference `json:"workflow,omitempty"`
	// Trigger - READ-ONLY; Gets the fired trigger.
	Trigger *WorkflowRunTrigger `json:"trigger,omitempty"`
	// Outputs - READ-ONLY; Gets the outputs.
	Outputs map[string]*WorkflowOutputParameter `json:"outputs"`
}

WorkflowRunProperties ...

func (WorkflowRunProperties) MarshalJSON

func (wrp WorkflowRunProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowRunProperties.

type WorkflowRunTrigger

type WorkflowRunTrigger struct {
	// Name - READ-ONLY; Gets the name.
	Name *string `json:"name,omitempty"`
	// Inputs - READ-ONLY; Gets the inputs.
	Inputs interface{} `json:"inputs,omitempty"`
	// InputsLink - READ-ONLY; Gets the link to inputs.
	InputsLink *ContentLink `json:"inputsLink,omitempty"`
	// Outputs - READ-ONLY; Gets the outputs.
	Outputs interface{} `json:"outputs,omitempty"`
	// OutputsLink - READ-ONLY; Gets the link to outputs.
	OutputsLink *ContentLink `json:"outputsLink,omitempty"`
	// StartTime - READ-ONLY; Gets the start time.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; Gets the end time.
	EndTime *date.Time `json:"endTime,omitempty"`
	// TrackingID - READ-ONLY; Gets the trackingId.
	TrackingID *string `json:"trackingId,omitempty"`
	// Code - READ-ONLY; Gets the code.
	Code *string `json:"code,omitempty"`
	// Status - READ-ONLY; Gets the status. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
	// Error - READ-ONLY; Gets the error.
	Error interface{} `json:"error,omitempty"`
}

WorkflowRunTrigger ...

type WorkflowRunsClient

type WorkflowRunsClient struct {
	BaseClient
}

WorkflowRunsClient is the REST API for Azure Logic Apps.

func NewWorkflowRunsClient

func NewWorkflowRunsClient(subscriptionID string) WorkflowRunsClient

NewWorkflowRunsClient creates an instance of the WorkflowRunsClient client.

func NewWorkflowRunsClientWithBaseURI

func NewWorkflowRunsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunsClient

NewWorkflowRunsClientWithBaseURI creates an instance of the WorkflowRunsClient client.

func (WorkflowRunsClient) Cancel

func (client WorkflowRunsClient) Cancel(ctx context.Context, resourceGroupName string, workflowName string, runName string) (result autorest.Response, err error)

Cancel cancels a workflow run. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. runName - the workflow run name.

func (WorkflowRunsClient) CancelPreparer

func (client WorkflowRunsClient) CancelPreparer(ctx context.Context, resourceGroupName string, workflowName string, runName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (WorkflowRunsClient) CancelResponder

func (client WorkflowRunsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (WorkflowRunsClient) CancelSender

func (client WorkflowRunsClient) CancelSender(req *http.Request) (*http.Response, error)

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

func (WorkflowRunsClient) Get

func (client WorkflowRunsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, runName string) (result WorkflowRun, err error)

Get gets a workflow run. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. runName - the workflow run name.

func (WorkflowRunsClient) GetPreparer

func (client WorkflowRunsClient) GetPreparer(ctx context.Context, resourceGroupName string, workflowName string, runName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkflowRunsClient) GetResponder

func (client WorkflowRunsClient) GetResponder(resp *http.Response) (result WorkflowRun, err error)

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

func (WorkflowRunsClient) GetSender

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

func (client WorkflowRunsClient) List(ctx context.Context, resourceGroupName string, workflowName string, top *int32, filter string) (result WorkflowRunListResultPage, err error)

List gets a list of workflow runs. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. top - the number of items to be included in the result. filter - the filter to apply on the operation.

func (WorkflowRunsClient) ListComplete

func (client WorkflowRunsClient) ListComplete(ctx context.Context, resourceGroupName string, workflowName string, top *int32, filter string) (result WorkflowRunListResultIterator, err error)

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

func (WorkflowRunsClient) ListPreparer

func (client WorkflowRunsClient) ListPreparer(ctx context.Context, resourceGroupName string, workflowName string, top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkflowRunsClient) ListResponder

func (client WorkflowRunsClient) ListResponder(resp *http.Response) (result WorkflowRunListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkflowRunsClient) ListSender

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

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

type WorkflowSecretKeys

type WorkflowSecretKeys struct {
	autorest.Response `json:"-"`
	// PrimarySecretKey - READ-ONLY; Gets the primary secret key.
	PrimarySecretKey *string `json:"primarySecretKey,omitempty"`
	// SecondarySecretKey - READ-ONLY; Gets the secondary secret key.
	SecondarySecretKey *string `json:"secondarySecretKey,omitempty"`
}

WorkflowSecretKeys ...

type WorkflowState

type WorkflowState string

WorkflowState enumerates the values for workflow state.

const (
	// WorkflowStateDeleted ...
	WorkflowStateDeleted WorkflowState = "Deleted"
	// WorkflowStateDisabled ...
	WorkflowStateDisabled WorkflowState = "Disabled"
	// WorkflowStateEnabled ...
	WorkflowStateEnabled WorkflowState = "Enabled"
	// WorkflowStateNotSpecified ...
	WorkflowStateNotSpecified WorkflowState = "NotSpecified"
	// WorkflowStateSuspended ...
	WorkflowStateSuspended WorkflowState = "Suspended"
)

func PossibleWorkflowStateValues

func PossibleWorkflowStateValues() []WorkflowState

PossibleWorkflowStateValues returns an array of possible values for the WorkflowState const type.

type WorkflowStatus

type WorkflowStatus string

WorkflowStatus enumerates the values for workflow status.

const (
	// WorkflowStatusAborted ...
	WorkflowStatusAborted WorkflowStatus = "Aborted"
	// WorkflowStatusCancelled ...
	WorkflowStatusCancelled WorkflowStatus = "Cancelled"
	// WorkflowStatusFailed ...
	WorkflowStatusFailed WorkflowStatus = "Failed"
	// WorkflowStatusFaulted ...
	WorkflowStatusFaulted WorkflowStatus = "Faulted"
	// WorkflowStatusNotSpecified ...
	WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified"
	// WorkflowStatusPaused ...
	WorkflowStatusPaused WorkflowStatus = "Paused"
	// WorkflowStatusRunning ...
	WorkflowStatusRunning WorkflowStatus = "Running"
	// WorkflowStatusSkipped ...
	WorkflowStatusSkipped WorkflowStatus = "Skipped"
	// WorkflowStatusSucceeded ...
	WorkflowStatusSucceeded WorkflowStatus = "Succeeded"
	// WorkflowStatusSuspended ...
	WorkflowStatusSuspended WorkflowStatus = "Suspended"
	// WorkflowStatusTimedOut ...
	WorkflowStatusTimedOut WorkflowStatus = "TimedOut"
	// WorkflowStatusWaiting ...
	WorkflowStatusWaiting WorkflowStatus = "Waiting"
)

func PossibleWorkflowStatusValues

func PossibleWorkflowStatusValues() []WorkflowStatus

PossibleWorkflowStatusValues returns an array of possible values for the WorkflowStatus const type.

type WorkflowTrigger

type WorkflowTrigger struct {
	autorest.Response `json:"-"`
	// WorkflowTriggerProperties - Gets or sets the workflow trigger properties.
	*WorkflowTriggerProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Gets the workflow trigger name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the workflow trigger type.
	Type *string `json:"type,omitempty"`
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
}

WorkflowTrigger ...

func (WorkflowTrigger) MarshalJSON

func (wt WorkflowTrigger) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowTrigger.

func (*WorkflowTrigger) UnmarshalJSON

func (wt *WorkflowTrigger) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkflowTrigger struct.

type WorkflowTriggerFilter

type WorkflowTriggerFilter struct {
	// State - Gets or sets the state of workflow trigger. Possible values include: 'WorkflowStateNotSpecified', 'WorkflowStateEnabled', 'WorkflowStateDisabled', 'WorkflowStateDeleted', 'WorkflowStateSuspended'
	State WorkflowState `json:"state,omitempty"`
}

WorkflowTriggerFilter ...

type WorkflowTriggerHistoriesClient

type WorkflowTriggerHistoriesClient struct {
	BaseClient
}

WorkflowTriggerHistoriesClient is the REST API for Azure Logic Apps.

func NewWorkflowTriggerHistoriesClient

func NewWorkflowTriggerHistoriesClient(subscriptionID string) WorkflowTriggerHistoriesClient

NewWorkflowTriggerHistoriesClient creates an instance of the WorkflowTriggerHistoriesClient client.

func NewWorkflowTriggerHistoriesClientWithBaseURI

func NewWorkflowTriggerHistoriesClientWithBaseURI(baseURI string, subscriptionID string) WorkflowTriggerHistoriesClient

NewWorkflowTriggerHistoriesClientWithBaseURI creates an instance of the WorkflowTriggerHistoriesClient client.

func (WorkflowTriggerHistoriesClient) Get

func (client WorkflowTriggerHistoriesClient) Get(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, historyName string) (result WorkflowTriggerHistory, err error)

Get gets a workflow trigger history. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. triggerName - the workflow trigger name. historyName - the workflow trigger history name.

func (WorkflowTriggerHistoriesClient) GetPreparer

func (client WorkflowTriggerHistoriesClient) GetPreparer(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, historyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkflowTriggerHistoriesClient) GetResponder

func (client WorkflowTriggerHistoriesClient) GetResponder(resp *http.Response) (result WorkflowTriggerHistory, err error)

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

func (WorkflowTriggerHistoriesClient) GetSender

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

func (client WorkflowTriggerHistoriesClient) List(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, top *int32, filter string) (result WorkflowTriggerHistoryListResultPage, err error)

List gets a list of workflow trigger histories. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. triggerName - the workflow trigger name. top - the number of items to be included in the result. filter - the filter to apply on the operation.

func (WorkflowTriggerHistoriesClient) ListComplete

func (client WorkflowTriggerHistoriesClient) ListComplete(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, top *int32, filter string) (result WorkflowTriggerHistoryListResultIterator, err error)

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

func (WorkflowTriggerHistoriesClient) ListPreparer

func (client WorkflowTriggerHistoriesClient) ListPreparer(ctx context.Context, resourceGroupName string, workflowName string, triggerName string, top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkflowTriggerHistoriesClient) ListResponder

func (client WorkflowTriggerHistoriesClient) ListResponder(resp *http.Response) (result WorkflowTriggerHistoryListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkflowTriggerHistoriesClient) ListSender

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

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

type WorkflowTriggerHistory

type WorkflowTriggerHistory struct {
	autorest.Response `json:"-"`
	// WorkflowTriggerHistoryProperties - Gets the workflow trigger history properties.
	*WorkflowTriggerHistoryProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Gets the workflow trigger history name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the workflow trigger history type.
	Type *string `json:"type,omitempty"`
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
}

WorkflowTriggerHistory ...

func (WorkflowTriggerHistory) MarshalJSON

func (wth WorkflowTriggerHistory) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowTriggerHistory.

func (*WorkflowTriggerHistory) UnmarshalJSON

func (wth *WorkflowTriggerHistory) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkflowTriggerHistory struct.

type WorkflowTriggerHistoryFilter

type WorkflowTriggerHistoryFilter struct {
	// Status - Gets or sets the status of workflow trigger history. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
}

WorkflowTriggerHistoryFilter ...

type WorkflowTriggerHistoryListResult

type WorkflowTriggerHistoryListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of workflow trigger histories.
	Value *[]WorkflowTriggerHistory `json:"value,omitempty"`
	// NextLink - Gets or sets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkflowTriggerHistoryListResult ...

func (WorkflowTriggerHistoryListResult) IsEmpty

func (wthlr WorkflowTriggerHistoryListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkflowTriggerHistoryListResultIterator

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

WorkflowTriggerHistoryListResultIterator provides access to a complete listing of WorkflowTriggerHistory values.

func NewWorkflowTriggerHistoryListResultIterator

func NewWorkflowTriggerHistoryListResultIterator(page WorkflowTriggerHistoryListResultPage) WorkflowTriggerHistoryListResultIterator

Creates a new instance of the WorkflowTriggerHistoryListResultIterator type.

func (*WorkflowTriggerHistoryListResultIterator) Next

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

func (*WorkflowTriggerHistoryListResultIterator) NextWithContext

func (iter *WorkflowTriggerHistoryListResultIterator) 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 (WorkflowTriggerHistoryListResultIterator) NotDone

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

func (WorkflowTriggerHistoryListResultIterator) Response

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

func (WorkflowTriggerHistoryListResultIterator) Value

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

type WorkflowTriggerHistoryListResultPage

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

WorkflowTriggerHistoryListResultPage contains a page of WorkflowTriggerHistory values.

func NewWorkflowTriggerHistoryListResultPage

Creates a new instance of the WorkflowTriggerHistoryListResultPage type.

func (*WorkflowTriggerHistoryListResultPage) Next

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

func (*WorkflowTriggerHistoryListResultPage) NextWithContext

func (page *WorkflowTriggerHistoryListResultPage) 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 (WorkflowTriggerHistoryListResultPage) NotDone

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

func (WorkflowTriggerHistoryListResultPage) Response

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

func (WorkflowTriggerHistoryListResultPage) Values

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

type WorkflowTriggerHistoryProperties

type WorkflowTriggerHistoryProperties struct {
	// StartTime - READ-ONLY; Gets the start time.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; Gets the end time.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Status - READ-ONLY; Gets the status. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
	// Code - READ-ONLY; Gets the code.
	Code *string `json:"code,omitempty"`
	// Error - READ-ONLY; Gets the error.
	Error interface{} `json:"error,omitempty"`
	// TrackingID - READ-ONLY; Gets the tracking id.
	TrackingID *string `json:"trackingId,omitempty"`
	// InputsLink - READ-ONLY; Gets the link to input parameters.
	InputsLink *ContentLink `json:"inputsLink,omitempty"`
	// OutputsLink - READ-ONLY; Gets the link to output parameters.
	OutputsLink *ContentLink `json:"outputsLink,omitempty"`
	// Fired - READ-ONLY; Gets a value indicating whether trigger was fired.
	Fired *bool `json:"fired,omitempty"`
	// Run - READ-ONLY; Gets the reference to workflow run.
	Run *ResourceReference `json:"run,omitempty"`
}

WorkflowTriggerHistoryProperties ...

type WorkflowTriggerListResult

type WorkflowTriggerListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets a list of workflow triggers.
	Value *[]WorkflowTrigger `json:"value,omitempty"`
	// NextLink - Gets or sets the URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkflowTriggerListResult ...

func (WorkflowTriggerListResult) IsEmpty

func (wtlr WorkflowTriggerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkflowTriggerListResultIterator

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

WorkflowTriggerListResultIterator provides access to a complete listing of WorkflowTrigger values.

func NewWorkflowTriggerListResultIterator

func NewWorkflowTriggerListResultIterator(page WorkflowTriggerListResultPage) WorkflowTriggerListResultIterator

Creates a new instance of the WorkflowTriggerListResultIterator type.

func (*WorkflowTriggerListResultIterator) Next

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

func (*WorkflowTriggerListResultIterator) NextWithContext

func (iter *WorkflowTriggerListResultIterator) 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 (WorkflowTriggerListResultIterator) NotDone

func (iter WorkflowTriggerListResultIterator) NotDone() bool

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

func (WorkflowTriggerListResultIterator) Response

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

func (WorkflowTriggerListResultIterator) Value

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

type WorkflowTriggerListResultPage

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

WorkflowTriggerListResultPage contains a page of WorkflowTrigger values.

func NewWorkflowTriggerListResultPage

func NewWorkflowTriggerListResultPage(getNextPage func(context.Context, WorkflowTriggerListResult) (WorkflowTriggerListResult, error)) WorkflowTriggerListResultPage

Creates a new instance of the WorkflowTriggerListResultPage type.

func (*WorkflowTriggerListResultPage) Next

func (page *WorkflowTriggerListResultPage) 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 (*WorkflowTriggerListResultPage) NextWithContext

func (page *WorkflowTriggerListResultPage) 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 (WorkflowTriggerListResultPage) NotDone

func (page WorkflowTriggerListResultPage) NotDone() bool

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

func (WorkflowTriggerListResultPage) Response

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

func (WorkflowTriggerListResultPage) Values

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

type WorkflowTriggerProperties

type WorkflowTriggerProperties struct {
	// ProvisioningState - READ-ONLY; Gets the provisioning state. Possible values include: 'WorkflowTriggerProvisioningStateNotSpecified', 'WorkflowTriggerProvisioningStateCreating', 'WorkflowTriggerProvisioningStateSucceeded', 'WorkflowTriggerProvisioningStateUpdating'
	ProvisioningState WorkflowTriggerProvisioningState `json:"provisioningState,omitempty"`
	// CreatedTime - READ-ONLY; Gets the created time.
	CreatedTime *date.Time `json:"createdTime,omitempty"`
	// ChangedTime - READ-ONLY; Gets the changed time.
	ChangedTime *date.Time `json:"changedTime,omitempty"`
	// State - READ-ONLY; Gets the state. Possible values include: 'WorkflowStateNotSpecified', 'WorkflowStateEnabled', 'WorkflowStateDisabled', 'WorkflowStateDeleted', 'WorkflowStateSuspended'
	State WorkflowState `json:"state,omitempty"`
	// Status - READ-ONLY; Gets the status. Possible values include: 'WorkflowStatusNotSpecified', 'WorkflowStatusPaused', 'WorkflowStatusRunning', 'WorkflowStatusWaiting', 'WorkflowStatusSucceeded', 'WorkflowStatusSkipped', 'WorkflowStatusSuspended', 'WorkflowStatusCancelled', 'WorkflowStatusFailed', 'WorkflowStatusFaulted', 'WorkflowStatusTimedOut', 'WorkflowStatusAborted'
	Status WorkflowStatus `json:"status,omitempty"`
	// LastExecutionTime - READ-ONLY; Gets the last execution time.
	LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"`
	// NextExecutionTime - READ-ONLY; Gets the next execution time.
	NextExecutionTime *date.Time `json:"nextExecutionTime,omitempty"`
	// Recurrence - READ-ONLY; Gets the workflow trigger recurrence.
	Recurrence *WorkflowTriggerRecurrence `json:"recurrence,omitempty"`
	// Workflow - READ-ONLY; Gets the reference to workflow.
	Workflow *ResourceReference `json:"workflow,omitempty"`
}

WorkflowTriggerProperties ...

type WorkflowTriggerProvisioningState

type WorkflowTriggerProvisioningState string

WorkflowTriggerProvisioningState enumerates the values for workflow trigger provisioning state.

const (
	// WorkflowTriggerProvisioningStateCreating ...
	WorkflowTriggerProvisioningStateCreating WorkflowTriggerProvisioningState = "Creating"
	// WorkflowTriggerProvisioningStateNotSpecified ...
	WorkflowTriggerProvisioningStateNotSpecified WorkflowTriggerProvisioningState = "NotSpecified"
	// WorkflowTriggerProvisioningStateSucceeded ...
	WorkflowTriggerProvisioningStateSucceeded WorkflowTriggerProvisioningState = "Succeeded"
	// WorkflowTriggerProvisioningStateUpdating ...
	WorkflowTriggerProvisioningStateUpdating WorkflowTriggerProvisioningState = "Updating"
)

func PossibleWorkflowTriggerProvisioningStateValues

func PossibleWorkflowTriggerProvisioningStateValues() []WorkflowTriggerProvisioningState

PossibleWorkflowTriggerProvisioningStateValues returns an array of possible values for the WorkflowTriggerProvisioningState const type.

type WorkflowTriggerRecurrence

type WorkflowTriggerRecurrence struct {
	// Frequency - Gets or sets the frequency. Possible values include: 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'
	Frequency RecurrenceFrequency `json:"frequency,omitempty"`
	// Interval - Gets or sets the interval.
	Interval *int32 `json:"interval,omitempty"`
	// StartTime - Gets or sets the start time.
	StartTime *date.Time `json:"startTime,omitempty"`
	// TimeZone - Gets or sets the time zone.
	TimeZone *string `json:"timeZone,omitempty"`
}

WorkflowTriggerRecurrence ...

type WorkflowTriggersClient

type WorkflowTriggersClient struct {
	BaseClient
}

WorkflowTriggersClient is the REST API for Azure Logic Apps.

func NewWorkflowTriggersClient

func NewWorkflowTriggersClient(subscriptionID string) WorkflowTriggersClient

NewWorkflowTriggersClient creates an instance of the WorkflowTriggersClient client.

func NewWorkflowTriggersClientWithBaseURI

func NewWorkflowTriggersClientWithBaseURI(baseURI string, subscriptionID string) WorkflowTriggersClient

NewWorkflowTriggersClientWithBaseURI creates an instance of the WorkflowTriggersClient client.

func (WorkflowTriggersClient) Get

func (client WorkflowTriggersClient) Get(ctx context.Context, resourceGroupName string, workflowName string, triggerName string) (result WorkflowTrigger, err error)

Get gets a workflow trigger. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. triggerName - the workflow trigger name.

func (WorkflowTriggersClient) GetPreparer

func (client WorkflowTriggersClient) GetPreparer(ctx context.Context, resourceGroupName string, workflowName string, triggerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkflowTriggersClient) GetResponder

func (client WorkflowTriggersClient) GetResponder(resp *http.Response) (result WorkflowTrigger, err error)

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

func (WorkflowTriggersClient) GetSender

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

func (client WorkflowTriggersClient) List(ctx context.Context, resourceGroupName string, workflowName string, top *int32, filter string) (result WorkflowTriggerListResultPage, err error)

List gets a list of workflow triggers. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. top - the number of items to be included in the result. filter - the filter to apply on the operation.

func (WorkflowTriggersClient) ListComplete

func (client WorkflowTriggersClient) ListComplete(ctx context.Context, resourceGroupName string, workflowName string, top *int32, filter string) (result WorkflowTriggerListResultIterator, err error)

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

func (WorkflowTriggersClient) ListPreparer

func (client WorkflowTriggersClient) ListPreparer(ctx context.Context, resourceGroupName string, workflowName string, top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkflowTriggersClient) ListResponder

func (client WorkflowTriggersClient) ListResponder(resp *http.Response) (result WorkflowTriggerListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkflowTriggersClient) ListSender

func (client WorkflowTriggersClient) 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 (WorkflowTriggersClient) Run

func (client WorkflowTriggersClient) Run(ctx context.Context, resourceGroupName string, workflowName string, triggerName string) (result autorest.Response, err error)

Run runs a workflow trigger. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. triggerName - the workflow trigger name.

func (WorkflowTriggersClient) RunPreparer

func (client WorkflowTriggersClient) RunPreparer(ctx context.Context, resourceGroupName string, workflowName string, triggerName string) (*http.Request, error)

RunPreparer prepares the Run request.

func (WorkflowTriggersClient) RunResponder

func (client WorkflowTriggersClient) RunResponder(resp *http.Response) (result autorest.Response, err error)

RunResponder handles the response to the Run request. The method always closes the http.Response Body.

func (WorkflowTriggersClient) RunSender

func (client WorkflowTriggersClient) RunSender(req *http.Request) (*http.Response, error)

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

type WorkflowVersion

type WorkflowVersion struct {
	autorest.Response `json:"-"`
	// WorkflowVersionProperties - Gets or sets the workflow version properties.
	*WorkflowVersionProperties `json:"properties,omitempty"`
	// ID - Gets or sets the resource id.
	ID *string `json:"id,omitempty"`
	// Name - Gets the resource name.
	Name *string `json:"name,omitempty"`
	// Type - Gets the resource type.
	Type *string `json:"type,omitempty"`
	// Location - Gets or sets the resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Gets or sets the resource tags.
	Tags map[string]*string `json:"tags"`
}

WorkflowVersion ...

func (WorkflowVersion) MarshalJSON

func (wv WorkflowVersion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowVersion.

func (*WorkflowVersion) UnmarshalJSON

func (wv *WorkflowVersion) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkflowVersion struct.

type WorkflowVersionProperties

type WorkflowVersionProperties struct {
	// CreatedTime - READ-ONLY; Gets the created time.
	CreatedTime *date.Time `json:"createdTime,omitempty"`
	// ChangedTime - READ-ONLY; Gets the changed time.
	ChangedTime *date.Time `json:"changedTime,omitempty"`
	// State - Gets or sets the state. Possible values include: 'WorkflowStateNotSpecified', 'WorkflowStateEnabled', 'WorkflowStateDisabled', 'WorkflowStateDeleted', 'WorkflowStateSuspended'
	State WorkflowState `json:"state,omitempty"`
	// Version - READ-ONLY; Gets the version.
	Version *string `json:"version,omitempty"`
	// AccessEndpoint - READ-ONLY; Gets the access endpoint.
	AccessEndpoint *string `json:"accessEndpoint,omitempty"`
	// Sku - Gets or sets the sku.
	Sku *Sku `json:"sku,omitempty"`
	// DefinitionLink - Gets or sets the link to definition.
	DefinitionLink *ContentLink `json:"definitionLink,omitempty"`
	// Definition - Gets or sets the definition.
	Definition interface{} `json:"definition,omitempty"`
	// ParametersLink - Gets or sets the link to parameters.
	ParametersLink *ContentLink `json:"parametersLink,omitempty"`
	// Parameters - Gets or sets the parameters.
	Parameters map[string]*WorkflowParameter `json:"parameters"`
}

WorkflowVersionProperties ...

func (WorkflowVersionProperties) MarshalJSON

func (wvp WorkflowVersionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkflowVersionProperties.

type WorkflowVersionsClient

type WorkflowVersionsClient struct {
	BaseClient
}

WorkflowVersionsClient is the REST API for Azure Logic Apps.

func NewWorkflowVersionsClient

func NewWorkflowVersionsClient(subscriptionID string) WorkflowVersionsClient

NewWorkflowVersionsClient creates an instance of the WorkflowVersionsClient client.

func NewWorkflowVersionsClientWithBaseURI

func NewWorkflowVersionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowVersionsClient

NewWorkflowVersionsClientWithBaseURI creates an instance of the WorkflowVersionsClient client.

func (WorkflowVersionsClient) Get

func (client WorkflowVersionsClient) Get(ctx context.Context, resourceGroupName string, workflowName string, versionID string) (result WorkflowVersion, err error)

Get gets a workflow version. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. versionID - the workflow versionId.

func (WorkflowVersionsClient) GetPreparer

func (client WorkflowVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, workflowName string, versionID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkflowVersionsClient) GetResponder

func (client WorkflowVersionsClient) GetResponder(resp *http.Response) (result WorkflowVersion, err error)

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

func (WorkflowVersionsClient) GetSender

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

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

type WorkflowsClient

type WorkflowsClient struct {
	BaseClient
}

WorkflowsClient is the REST API for Azure Logic Apps.

func NewWorkflowsClient

func NewWorkflowsClient(subscriptionID string) WorkflowsClient

NewWorkflowsClient creates an instance of the WorkflowsClient client.

func NewWorkflowsClientWithBaseURI

func NewWorkflowsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowsClient

NewWorkflowsClientWithBaseURI creates an instance of the WorkflowsClient client.

func (WorkflowsClient) CreateOrUpdate

func (client WorkflowsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workflowName string, workflow Workflow) (result Workflow, err error)

CreateOrUpdate creates or updates a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. workflow - the workflow.

func (WorkflowsClient) CreateOrUpdatePreparer

func (client WorkflowsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workflowName string, workflow Workflow) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkflowsClient) CreateOrUpdateResponder

func (client WorkflowsClient) CreateOrUpdateResponder(resp *http.Response) (result Workflow, err error)

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

func (WorkflowsClient) CreateOrUpdateSender

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

func (client WorkflowsClient) Delete(ctx context.Context, resourceGroupName string, workflowName string) (result autorest.Response, err error)

Delete deletes a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name.

func (WorkflowsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (WorkflowsClient) DeleteResponder

func (client WorkflowsClient) 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 (WorkflowsClient) DeleteSender

func (client WorkflowsClient) 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 (WorkflowsClient) Disable

func (client WorkflowsClient) Disable(ctx context.Context, resourceGroupName string, workflowName string) (result autorest.Response, err error)

Disable disables a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name.

func (WorkflowsClient) DisablePreparer

func (client WorkflowsClient) DisablePreparer(ctx context.Context, resourceGroupName string, workflowName string) (*http.Request, error)

DisablePreparer prepares the Disable request.

func (WorkflowsClient) DisableResponder

func (client WorkflowsClient) DisableResponder(resp *http.Response) (result autorest.Response, err error)

DisableResponder handles the response to the Disable request. The method always closes the http.Response Body.

func (WorkflowsClient) DisableSender

func (client WorkflowsClient) DisableSender(req *http.Request) (*http.Response, error)

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

func (WorkflowsClient) Enable

func (client WorkflowsClient) Enable(ctx context.Context, resourceGroupName string, workflowName string) (result autorest.Response, err error)

Enable enables a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name.

func (WorkflowsClient) EnablePreparer

func (client WorkflowsClient) EnablePreparer(ctx context.Context, resourceGroupName string, workflowName string) (*http.Request, error)

EnablePreparer prepares the Enable request.

func (WorkflowsClient) EnableResponder

func (client WorkflowsClient) EnableResponder(resp *http.Response) (result autorest.Response, err error)

EnableResponder handles the response to the Enable request. The method always closes the http.Response Body.

func (WorkflowsClient) EnableSender

func (client WorkflowsClient) EnableSender(req *http.Request) (*http.Response, error)

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

func (WorkflowsClient) Get

func (client WorkflowsClient) Get(ctx context.Context, resourceGroupName string, workflowName string) (result Workflow, err error)

Get gets a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name.

func (WorkflowsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (WorkflowsClient) GetResponder

func (client WorkflowsClient) GetResponder(resp *http.Response) (result Workflow, err error)

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

func (WorkflowsClient) GetSender

func (client WorkflowsClient) 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 (WorkflowsClient) ListByResourceGroup

func (client WorkflowsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, top *int32, filter string) (result WorkflowListResultPage, err error)

ListByResourceGroup gets a list of workflows by resource group. Parameters: resourceGroupName - the resource group name. top - the number of items to be included in the result. filter - the filter to apply on the operation.

func (WorkflowsClient) ListByResourceGroupComplete

func (client WorkflowsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, top *int32, filter string) (result WorkflowListResultIterator, err error)

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

func (WorkflowsClient) ListByResourceGroupPreparer

func (client WorkflowsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, top *int32, filter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkflowsClient) ListByResourceGroupResponder

func (client WorkflowsClient) ListByResourceGroupResponder(resp *http.Response) (result WorkflowListResult, err error)

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

func (WorkflowsClient) ListByResourceGroupSender

func (client WorkflowsClient) 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 (WorkflowsClient) ListBySubscription

func (client WorkflowsClient) ListBySubscription(ctx context.Context, top *int32, filter string) (result WorkflowListResultPage, err error)

ListBySubscription gets a list of workflows by subscription. Parameters: top - the number of items to be included in the result. filter - the filter to apply on the operation.

func (WorkflowsClient) ListBySubscriptionComplete

func (client WorkflowsClient) ListBySubscriptionComplete(ctx context.Context, top *int32, filter string) (result WorkflowListResultIterator, err error)

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

func (WorkflowsClient) ListBySubscriptionPreparer

func (client WorkflowsClient) ListBySubscriptionPreparer(ctx context.Context, top *int32, filter string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (WorkflowsClient) ListBySubscriptionResponder

func (client WorkflowsClient) ListBySubscriptionResponder(resp *http.Response) (result WorkflowListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (WorkflowsClient) ListBySubscriptionSender

func (client WorkflowsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (WorkflowsClient) Run

func (client WorkflowsClient) Run(ctx context.Context, resourceGroupName string, workflowName string, parameters RunWorkflowParameters) (result WorkflowsRunFuture, err error)

Run runs a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. parameters - the parameters.

func (WorkflowsClient) RunPreparer

func (client WorkflowsClient) RunPreparer(ctx context.Context, resourceGroupName string, workflowName string, parameters RunWorkflowParameters) (*http.Request, error)

RunPreparer prepares the Run request.

func (WorkflowsClient) RunResponder

func (client WorkflowsClient) RunResponder(resp *http.Response) (result WorkflowRun, err error)

RunResponder handles the response to the Run request. The method always closes the http.Response Body.

func (WorkflowsClient) RunSender

func (client WorkflowsClient) RunSender(req *http.Request) (future WorkflowsRunFuture, err error)

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

func (WorkflowsClient) Update

func (client WorkflowsClient) Update(ctx context.Context, resourceGroupName string, workflowName string, workflow Workflow) (result Workflow, err error)

Update updates a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. workflow - the workflow.

func (WorkflowsClient) UpdatePreparer

func (client WorkflowsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workflowName string, workflow Workflow) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkflowsClient) UpdateResponder

func (client WorkflowsClient) UpdateResponder(resp *http.Response) (result Workflow, err error)

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

func (WorkflowsClient) UpdateSender

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

func (WorkflowsClient) Validate

func (client WorkflowsClient) Validate(ctx context.Context, resourceGroupName string, workflowName string, workflow Workflow) (result autorest.Response, err error)

Validate validates a workflow. Parameters: resourceGroupName - the resource group name. workflowName - the workflow name. workflow - the workflow.

func (WorkflowsClient) ValidatePreparer

func (client WorkflowsClient) ValidatePreparer(ctx context.Context, resourceGroupName string, workflowName string, workflow Workflow) (*http.Request, error)

ValidatePreparer prepares the Validate request.

func (WorkflowsClient) ValidateResponder

func (client WorkflowsClient) ValidateResponder(resp *http.Response) (result autorest.Response, err error)

ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.

func (WorkflowsClient) ValidateSender

func (client WorkflowsClient) ValidateSender(req *http.Request) (*http.Response, error)

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

type WorkflowsRunFuture

type WorkflowsRunFuture struct {
	azure.Future
}

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

func (*WorkflowsRunFuture) Result

func (future *WorkflowsRunFuture) Result(client WorkflowsClient) (wr WorkflowRun, err error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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