logic

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2015 License: MIT, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiVersion     = "2015-02-01-preview"
	DefaultBaseUri = "https://management.azure.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyType

type KeyType string
const (
	KeyTypeNotSpecified KeyType = "NotSpecified"
	KeyTypePrimary      KeyType = "Primary"
	KeyTypeSecondary    KeyType = "Secondary"
)

type LogicManagementClient

type LogicManagementClient struct {
	autorest.Client
	BaseUri        string
	SubscriptionId string
}

func New

func New(subscriptionId string) LogicManagementClient

func NewWithBaseUri

func NewWithBaseUri(baseUri string, subscriptionId string) LogicManagementClient

type ParameterType

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

type RecurrenceFrequency

type RecurrenceFrequency string
const (
	Day    RecurrenceFrequency = "Day"
	Hour   RecurrenceFrequency = "Hour"
	Minute RecurrenceFrequency = "Minute"
	Month  RecurrenceFrequency = "Month"
	Second RecurrenceFrequency = "Second"
	Week   RecurrenceFrequency = "Week"
	Year   RecurrenceFrequency = "Year"
)

type RegenerateSecretKeyParameters

type RegenerateSecretKeyParameters struct {
	KeyType KeyType `json:"keyType,omitempty"`
}

type RunWorkflowParameters

type RunWorkflowParameters struct {
	Name    string            `json:"name,omitempty"`
	Outputs map[string]string `json:"outputs,omitempty"`
}

type SkuName

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

type Workflow

type Workflow struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		CreatedTime    date.Time     `json:"createdTime,omitempty"`
		ChangedTime    date.Time     `json:"changedTime,omitempty"`
		State          WorkflowState `json:"state,omitempty"`
		Version        string        `json:"version,omitempty"`
		AccessEndpoint string        `json:"accessEndpoint,omitempty"`
		Sku            struct {
			Name SkuName `json:"name,omitempty"`
			Plan struct {
				Id   string `json:"id,omitempty"`
				Name string `json:"name,omitempty"`
				Type string `json:"type,omitempty"`
			} `json:"plan,omitempty"`
		} `json:"sku,omitempty"`
		DefinitionLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"definitionLink,omitempty"`
		Definition     map[string]string `json:"definition,omitempty"`
		ParametersLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"parametersLink,omitempty"`
		Parameters map[string]WorkflowParameter `json:"parameters,omitempty"`
	} `json:"properties,omitempty"`
}

type WorkflowAccessKey

type WorkflowAccessKey struct {
	autorest.Response `json:"-"`
	Id                string `json:"id,omitempty"`
	Properties        struct {
		NotBefore date.Time `json:"notBefore,omitempty"`
		NotAfter  date.Time `json:"notAfter,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type WorkflowAccessKeyListResult

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

type WorkflowAccessKeysClient

type WorkflowAccessKeysClient struct {
	LogicManagementClient
}

WorkflowAccessKeys Client

func NewWorkflowAccessKeysClient

func NewWorkflowAccessKeysClient(subscriptionId string) WorkflowAccessKeysClient

func NewWorkflowAccessKeysClientWithBaseUri

func NewWorkflowAccessKeysClientWithBaseUri(baseUri string, subscriptionId string) WorkflowAccessKeysClient

func (WorkflowAccessKeysClient) CreateOrUpdate

func (client WorkflowAccessKeysClient) CreateOrUpdate(resourceGroupName string, workflowName string, accessKeyName string, workflowAccesskey WorkflowAccessKey) (result WorkflowAccessKey, ae autorest.Error)

CreateOrUpdate creates or updates a workflow access key.

resourceGroupName is the resource group name. workflowName is the workflow name. accessKeyName is the workflow access key name. workflowAccesskey is the workflow access key.

func (WorkflowAccessKeysClient) CreateOrUpdateRequestPreparer

func (client WorkflowAccessKeysClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (WorkflowAccessKeysClient) Delete

func (client WorkflowAccessKeysClient) Delete(resourceGroupName string, workflowName string, accessKeyName string) (result autorest.Response, ae autorest.Error)

Delete deletes a workflow access key.

resourceGroupName is the resource group name. workflowName is the workflow name. accessKeyName is the workflow access key name.

func (WorkflowAccessKeysClient) DeleteRequestPreparer

func (client WorkflowAccessKeysClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (WorkflowAccessKeysClient) Get

func (client WorkflowAccessKeysClient) Get(resourceGroupName string, workflowName string, accessKeyName string) (result WorkflowAccessKey, ae autorest.Error)

Get gets a workflow access key.

resourceGroupName is the resource group name. workflowName is the workflow name. accessKeyName is the workflow access key name.

func (WorkflowAccessKeysClient) GetRequestPreparer

func (client WorkflowAccessKeysClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (WorkflowAccessKeysClient) List

func (client WorkflowAccessKeysClient) List(resourceGroupName string, workflowName string, top int) (result WorkflowAccessKeyListResult, ae autorest.Error)

List gets a list of workflow access keys.

resourceGroupName is the resource group name. workflowName is the workflow name. top is the number of items to be included in the result.

func (WorkflowAccessKeysClient) ListRequestPreparer

func (client WorkflowAccessKeysClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (WorkflowAccessKeysClient) ListSecretKeys

func (client WorkflowAccessKeysClient) ListSecretKeys(resourceGroupName string, workflowName string, accessKeyName string) (result WorkflowSecretKeys, ae autorest.Error)

ListSecretKeys lists secret keys.

resourceGroupName is the resource group name. workflowName is the workflow name. accessKeyName is the workflow access key name.

func (WorkflowAccessKeysClient) ListSecretKeysRequestPreparer

func (client WorkflowAccessKeysClient) ListSecretKeysRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListSecretKeys request.

func (WorkflowAccessKeysClient) NewCreateOrUpdateRequest

func (client WorkflowAccessKeysClient) NewCreateOrUpdateRequest(resourceGroupName string, workflowName string, accessKeyName string, workflowAccesskey WorkflowAccessKey) (*http.Request, error)

Create the CreateOrUpdate request.

func (WorkflowAccessKeysClient) NewDeleteRequest

func (client WorkflowAccessKeysClient) NewDeleteRequest(resourceGroupName string, workflowName string, accessKeyName string) (*http.Request, error)

Create the Delete request.

func (WorkflowAccessKeysClient) NewGetRequest

func (client WorkflowAccessKeysClient) NewGetRequest(resourceGroupName string, workflowName string, accessKeyName string) (*http.Request, error)

Create the Get request.

func (WorkflowAccessKeysClient) NewListRequest

func (client WorkflowAccessKeysClient) NewListRequest(resourceGroupName string, workflowName string, top int) (*http.Request, error)

Create the List request.

func (WorkflowAccessKeysClient) NewListSecretKeysRequest

func (client WorkflowAccessKeysClient) NewListSecretKeysRequest(resourceGroupName string, workflowName string, accessKeyName string) (*http.Request, error)

Create the ListSecretKeys request.

func (WorkflowAccessKeysClient) NewRegenerateSecretKeyRequest

func (client WorkflowAccessKeysClient) NewRegenerateSecretKeyRequest(resourceGroupName string, workflowName string, accessKeyName string, parameters RegenerateSecretKeyParameters) (*http.Request, error)

Create the RegenerateSecretKey request.

func (WorkflowAccessKeysClient) RegenerateSecretKey

func (client WorkflowAccessKeysClient) RegenerateSecretKey(resourceGroupName string, workflowName string, accessKeyName string, parameters RegenerateSecretKeyParameters) (result WorkflowSecretKeys, ae autorest.Error)

RegenerateSecretKey regenerates secret key.

resourceGroupName is the resource group name. workflowName is the workflow name. accessKeyName is the workflow access key name. parameters is the parameters.

func (WorkflowAccessKeysClient) RegenerateSecretKeyRequestPreparer

func (client WorkflowAccessKeysClient) RegenerateSecretKeyRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the RegenerateSecretKey request.

type WorkflowListResult

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

type WorkflowParameter

type WorkflowParameter struct {
	Type     ParameterType     `json:"type,omitempty"`
	Value    map[string]string `json:"value,omitempty"`
	Metadata map[string]string `json:"metadata,omitempty"`
}

type WorkflowRun

type WorkflowRun struct {
	autorest.Response `json:"-"`
	Id                string `json:"id,omitempty"`
	Properties        struct {
		StartTime     date.Time      `json:"startTime,omitempty"`
		EndTime       date.Time      `json:"endTime,omitempty"`
		Status        WorkflowStatus `json:"status,omitempty"`
		CorrelationId string         `json:"correlationId,omitempty"`
		Workflow      struct {
			Id   string `json:"id,omitempty"`
			Name string `json:"name,omitempty"`
			Type string `json:"type,omitempty"`
		} `json:"workflow,omitempty"`
		Trigger struct {
			Name       string            `json:"name,omitempty"`
			Inputs     map[string]string `json:"inputs,omitempty"`
			InputsLink struct {
				Uri            string `json:"uri,omitempty"`
				ContentVersion string `json:"contentVersion,omitempty"`
				ContentSize    int32  `json:"contentSize,omitempty"`
				ContentHash    struct {
					Algorithm string `json:"algorithm,omitempty"`
					Value     string `json:"value,omitempty"`
				} `json:"contentHash,omitempty"`
				Metadata map[string]string `json:"metadata,omitempty"`
			} `json:"inputsLink,omitempty"`
			Outputs     map[string]string `json:"outputs,omitempty"`
			OutputsLink struct {
				Uri            string `json:"uri,omitempty"`
				ContentVersion string `json:"contentVersion,omitempty"`
				ContentSize    int32  `json:"contentSize,omitempty"`
				ContentHash    struct {
					Algorithm string `json:"algorithm,omitempty"`
					Value     string `json:"value,omitempty"`
				} `json:"contentHash,omitempty"`
				Metadata map[string]string `json:"metadata,omitempty"`
			} `json:"outputsLink,omitempty"`
			StartTime  date.Time         `json:"startTime,omitempty"`
			EndTime    date.Time         `json:"endTime,omitempty"`
			TrackingId string            `json:"trackingId,omitempty"`
			Code       string            `json:"code,omitempty"`
			Status     WorkflowStatus    `json:"status,omitempty"`
			Error      map[string]string `json:"error,omitempty"`
		} `json:"trigger,omitempty"`
		Outputs map[string]WorkflowParameter `json:"outputs,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type WorkflowRunAction

type WorkflowRunAction struct {
	autorest.Response `json:"-"`
	Id                string `json:"id,omitempty"`
	Properties        struct {
		StartTime  date.Time         `json:"startTime,omitempty"`
		EndTime    date.Time         `json:"endTime,omitempty"`
		Status     WorkflowStatus    `json:"status,omitempty"`
		Code       string            `json:"code,omitempty"`
		Error      map[string]string `json:"error,omitempty"`
		TrackingId string            `json:"trackingId,omitempty"`
		InputsLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"inputsLink,omitempty"`
		OutputsLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"outputsLink,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type WorkflowRunActionListResult

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

type WorkflowRunActionsClient

type WorkflowRunActionsClient struct {
	LogicManagementClient
}

WorkflowRunActions Client

func NewWorkflowRunActionsClient

func NewWorkflowRunActionsClient(subscriptionId string) WorkflowRunActionsClient

func NewWorkflowRunActionsClientWithBaseUri

func NewWorkflowRunActionsClientWithBaseUri(baseUri string, subscriptionId string) WorkflowRunActionsClient

func (WorkflowRunActionsClient) Get

func (client WorkflowRunActionsClient) Get(resourceGroupName string, workflowName string, runName string, actionName string) (result WorkflowRunAction, ae autorest.Error)

Get gets a workflow run action.

resourceGroupName is the resource group name. workflowName is the workflow name. runName is the workflow run name. actionName is the workflow action name.

func (WorkflowRunActionsClient) GetRequestPreparer

func (client WorkflowRunActionsClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (WorkflowRunActionsClient) List

func (client WorkflowRunActionsClient) List(resourceGroupName string, workflowName string, runName string, top int, filter string) (result WorkflowRunActionListResult, ae autorest.Error)

List gets a list of workflow run actions.

resourceGroupName is the resource group name. workflowName is the workflow name. runName is the workflow run name. top is the number of items to be included in the result. filter is the filter to apply on the operation.

func (WorkflowRunActionsClient) ListRequestPreparer

func (client WorkflowRunActionsClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (WorkflowRunActionsClient) NewGetRequest

func (client WorkflowRunActionsClient) NewGetRequest(resourceGroupName string, workflowName string, runName string, actionName string) (*http.Request, error)

Create the Get request.

func (WorkflowRunActionsClient) NewListRequest

func (client WorkflowRunActionsClient) NewListRequest(resourceGroupName string, workflowName string, runName string, top int, filter string) (*http.Request, error)

Create the List request.

type WorkflowRunListResult

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

type WorkflowRunsClient

type WorkflowRunsClient struct {
	LogicManagementClient
}

WorkflowRuns Client

func NewWorkflowRunsClient

func NewWorkflowRunsClient(subscriptionId string) WorkflowRunsClient

func NewWorkflowRunsClientWithBaseUri

func NewWorkflowRunsClientWithBaseUri(baseUri string, subscriptionId string) WorkflowRunsClient

func (WorkflowRunsClient) Cancel

func (client WorkflowRunsClient) Cancel(resourceGroupName string, workflowName string, runName string) (result autorest.Response, ae autorest.Error)

Cancel cancels a workflow run.

resourceGroupName is the resource group name. workflowName is the workflow name. runName is the workflow run name.

func (WorkflowRunsClient) CancelRequestPreparer

func (client WorkflowRunsClient) CancelRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Cancel request.

func (WorkflowRunsClient) Get

func (client WorkflowRunsClient) Get(resourceGroupName string, workflowName string, runName string) (result WorkflowRun, ae autorest.Error)

Get gets a workflow run.

resourceGroupName is the resource group name. workflowName is the workflow name. runName is the workflow run name.

func (WorkflowRunsClient) GetRequestPreparer

func (client WorkflowRunsClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (WorkflowRunsClient) List

func (client WorkflowRunsClient) List(resourceGroupName string, workflowName string, top int, filter string) (result WorkflowRunListResult, ae autorest.Error)

List gets a list of workflow runs.

resourceGroupName is the resource group name. workflowName is the workflow name. top is the number of items to be included in the result. filter is the filter to apply on the operation.

func (WorkflowRunsClient) ListRequestPreparer

func (client WorkflowRunsClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (WorkflowRunsClient) NewCancelRequest

func (client WorkflowRunsClient) NewCancelRequest(resourceGroupName string, workflowName string, runName string) (*http.Request, error)

Create the Cancel request.

func (WorkflowRunsClient) NewGetRequest

func (client WorkflowRunsClient) NewGetRequest(resourceGroupName string, workflowName string, runName string) (*http.Request, error)

Create the Get request.

func (WorkflowRunsClient) NewListRequest

func (client WorkflowRunsClient) NewListRequest(resourceGroupName string, workflowName string, top int, filter string) (*http.Request, error)

Create the List request.

type WorkflowSecretKeys

type WorkflowSecretKeys struct {
	autorest.Response  `json:"-"`
	PrimarySecretKey   string `json:"primarySecretKey,omitempty"`
	SecondarySecretKey string `json:"secondarySecretKey,omitempty"`
}

type WorkflowState

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

type WorkflowStatus

type WorkflowStatus string
const (
	WorkflowStatusCancelled    WorkflowStatus = "Cancelled"
	WorkflowStatusFailed       WorkflowStatus = "Failed"
	WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified"
	WorkflowStatusPaused       WorkflowStatus = "Paused"
	WorkflowStatusRunning      WorkflowStatus = "Running"
	WorkflowStatusSkipped      WorkflowStatus = "Skipped"
	WorkflowStatusSucceeded    WorkflowStatus = "Succeeded"
	WorkflowStatusSuspended    WorkflowStatus = "Suspended"
	WorkflowStatusWaiting      WorkflowStatus = "Waiting"
)

type WorkflowTrigger

type WorkflowTrigger struct {
	autorest.Response `json:"-"`
	Id                string `json:"id,omitempty"`
	Properties        struct {
		CreatedTime       date.Time      `json:"createdTime,omitempty"`
		ChangedTime       date.Time      `json:"changedTime,omitempty"`
		State             WorkflowState  `json:"state,omitempty"`
		Status            WorkflowStatus `json:"status,omitempty"`
		LastExecutionTime date.Time      `json:"lastExecutionTime,omitempty"`
		NextExecutionTime date.Time      `json:"nextExecutionTime,omitempty"`
		Recurrence        struct {
			Frequency RecurrenceFrequency `json:"frequency,omitempty"`
			Interval  int                 `json:"interval,omitempty"`
			StartTime date.Time           `json:"startTime,omitempty"`
			TimeZone  string              `json:"timeZone,omitempty"`
		} `json:"recurrence,omitempty"`
		Workflow struct {
			Id   string `json:"id,omitempty"`
			Name string `json:"name,omitempty"`
			Type string `json:"type,omitempty"`
		} `json:"workflow,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type WorkflowTriggerHistoriesClient

type WorkflowTriggerHistoriesClient struct {
	LogicManagementClient
}

WorkflowTriggerHistories Client

func NewWorkflowTriggerHistoriesClient

func NewWorkflowTriggerHistoriesClient(subscriptionId string) WorkflowTriggerHistoriesClient

func NewWorkflowTriggerHistoriesClientWithBaseUri

func NewWorkflowTriggerHistoriesClientWithBaseUri(baseUri string, subscriptionId string) WorkflowTriggerHistoriesClient

func (WorkflowTriggerHistoriesClient) Get

func (client WorkflowTriggerHistoriesClient) Get(resourceGroupName string, workflowName string, triggerName string, historyName string) (result WorkflowTriggerHistory, ae autorest.Error)

Get gets a workflow trigger history.

resourceGroupName is the resource group name. workflowName is the workflow name. triggerName is the workflow trigger name. historyName is the workflow trigger history name.

func (WorkflowTriggerHistoriesClient) GetRequestPreparer

func (client WorkflowTriggerHistoriesClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (WorkflowTriggerHistoriesClient) List

func (client WorkflowTriggerHistoriesClient) List(resourceGroupName string, workflowName string, triggerName string, top int) (result WorkflowTriggerHistoryListResult, ae autorest.Error)

List gets a list of workflow trigger histories.

resourceGroupName is the resource group name. workflowName is the workflow name. triggerName is the workflow trigger name. top is the number of items to be included in the result.

func (WorkflowTriggerHistoriesClient) ListRequestPreparer

func (client WorkflowTriggerHistoriesClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (WorkflowTriggerHistoriesClient) NewGetRequest

func (client WorkflowTriggerHistoriesClient) NewGetRequest(resourceGroupName string, workflowName string, triggerName string, historyName string) (*http.Request, error)

Create the Get request.

func (WorkflowTriggerHistoriesClient) NewListRequest

func (client WorkflowTriggerHistoriesClient) NewListRequest(resourceGroupName string, workflowName string, triggerName string, top int) (*http.Request, error)

Create the List request.

type WorkflowTriggerHistory

type WorkflowTriggerHistory struct {
	autorest.Response `json:"-"`
	Id                string `json:"id,omitempty"`
	Properties        struct {
		StartTime  date.Time         `json:"startTime,omitempty"`
		EndTime    date.Time         `json:"endTime,omitempty"`
		Status     WorkflowStatus    `json:"status,omitempty"`
		Code       string            `json:"code,omitempty"`
		Error      map[string]string `json:"error,omitempty"`
		TrackingId string            `json:"trackingId,omitempty"`
		InputsLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"inputsLink,omitempty"`
		OutputsLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"outputsLink,omitempty"`
		Fired bool `json:"fired,omitempty"`
		Run   struct {
			Id   string `json:"id,omitempty"`
			Name string `json:"name,omitempty"`
			Type string `json:"type,omitempty"`
		} `json:"run,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type WorkflowTriggerHistoryListResult

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

type WorkflowTriggerListResult

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

type WorkflowTriggersClient

type WorkflowTriggersClient struct {
	LogicManagementClient
}

WorkflowTriggers Client

func NewWorkflowTriggersClient

func NewWorkflowTriggersClient(subscriptionId string) WorkflowTriggersClient

func NewWorkflowTriggersClientWithBaseUri

func NewWorkflowTriggersClientWithBaseUri(baseUri string, subscriptionId string) WorkflowTriggersClient

func (WorkflowTriggersClient) Get

func (client WorkflowTriggersClient) Get(resourceGroupName string, workflowName string, triggerName string) (result WorkflowTrigger, ae autorest.Error)

Get gets a workflow trigger.

resourceGroupName is the resource group name. workflowName is the workflow name. triggerName is the workflow trigger name.

func (WorkflowTriggersClient) GetRequestPreparer

func (client WorkflowTriggersClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (WorkflowTriggersClient) List

func (client WorkflowTriggersClient) List(resourceGroupName string, workflowName string, top int, filter string) (result WorkflowTriggerListResult, ae autorest.Error)

List gets a list of workflow triggers.

resourceGroupName is the resource group name. workflowName is the workflow name. top is the number of items to be included in the result. filter is the filter to apply on the operation.

func (WorkflowTriggersClient) ListRequestPreparer

func (client WorkflowTriggersClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (WorkflowTriggersClient) NewGetRequest

func (client WorkflowTriggersClient) NewGetRequest(resourceGroupName string, workflowName string, triggerName string) (*http.Request, error)

Create the Get request.

func (WorkflowTriggersClient) NewListRequest

func (client WorkflowTriggersClient) NewListRequest(resourceGroupName string, workflowName string, top int, filter string) (*http.Request, error)

Create the List request.

func (WorkflowTriggersClient) NewRunRequest

func (client WorkflowTriggersClient) NewRunRequest(resourceGroupName string, workflowName string, triggerName string) (*http.Request, error)

Create the Run request.

func (WorkflowTriggersClient) Run

func (client WorkflowTriggersClient) Run(resourceGroupName string, workflowName string, triggerName string) (result autorest.Response, ae autorest.Error)

Run runs a workflow trigger.

resourceGroupName is the resource group name. workflowName is the workflow name. triggerName is the workflow trigger name.

func (WorkflowTriggersClient) RunRequestPreparer

func (client WorkflowTriggersClient) RunRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Run request.

type WorkflowVersion

type WorkflowVersion struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		CreatedTime    date.Time     `json:"createdTime,omitempty"`
		ChangedTime    date.Time     `json:"changedTime,omitempty"`
		State          WorkflowState `json:"state,omitempty"`
		Version        string        `json:"version,omitempty"`
		AccessEndpoint string        `json:"accessEndpoint,omitempty"`
		Sku            struct {
			Name SkuName `json:"name,omitempty"`
			Plan struct {
				Id   string `json:"id,omitempty"`
				Name string `json:"name,omitempty"`
				Type string `json:"type,omitempty"`
			} `json:"plan,omitempty"`
		} `json:"sku,omitempty"`
		DefinitionLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"definitionLink,omitempty"`
		Definition     map[string]string `json:"definition,omitempty"`
		ParametersLink struct {
			Uri            string `json:"uri,omitempty"`
			ContentVersion string `json:"contentVersion,omitempty"`
			ContentSize    int32  `json:"contentSize,omitempty"`
			ContentHash    struct {
				Algorithm string `json:"algorithm,omitempty"`
				Value     string `json:"value,omitempty"`
			} `json:"contentHash,omitempty"`
			Metadata map[string]string `json:"metadata,omitempty"`
		} `json:"parametersLink,omitempty"`
		Parameters map[string]WorkflowParameter `json:"parameters,omitempty"`
	} `json:"properties,omitempty"`
}

type WorkflowVersionsClient

type WorkflowVersionsClient struct {
	LogicManagementClient
}

WorkflowVersions Client

func NewWorkflowVersionsClient

func NewWorkflowVersionsClient(subscriptionId string) WorkflowVersionsClient

func NewWorkflowVersionsClientWithBaseUri

func NewWorkflowVersionsClientWithBaseUri(baseUri string, subscriptionId string) WorkflowVersionsClient

func (WorkflowVersionsClient) Get

func (client WorkflowVersionsClient) Get(resourceGroupName string, workflowName string, versionId string) (result WorkflowVersion, ae autorest.Error)

Get gets a workflow version.

resourceGroupName is the resource group name. workflowName is the workflow name. versionId is the workflow versionId.

func (WorkflowVersionsClient) GetRequestPreparer

func (client WorkflowVersionsClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (WorkflowVersionsClient) NewGetRequest

func (client WorkflowVersionsClient) NewGetRequest(resourceGroupName string, workflowName string, versionId string) (*http.Request, error)

Create the Get request.

type WorkflowsClient

type WorkflowsClient struct {
	LogicManagementClient
}

Workflows Client

func NewWorkflowsClient

func NewWorkflowsClient(subscriptionId string) WorkflowsClient

func NewWorkflowsClientWithBaseUri

func NewWorkflowsClientWithBaseUri(baseUri string, subscriptionId string) WorkflowsClient

func (WorkflowsClient) CreateOrUpdate

func (client WorkflowsClient) CreateOrUpdate(resourceGroupName string, workflowName string, workflow Workflow) (result Workflow, ae autorest.Error)

CreateOrUpdate creates or updates a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name. workflow is the workflow.

func (WorkflowsClient) CreateOrUpdateRequestPreparer

func (client WorkflowsClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (WorkflowsClient) Delete

func (client WorkflowsClient) Delete(resourceGroupName string, workflowName string) (result autorest.Response, ae autorest.Error)

Delete deletes a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name.

func (WorkflowsClient) DeleteRequestPreparer

func (client WorkflowsClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (WorkflowsClient) Disable

func (client WorkflowsClient) Disable(resourceGroupName string, workflowName string) (result autorest.Response, ae autorest.Error)

Disable disables a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name.

func (WorkflowsClient) DisableRequestPreparer

func (client WorkflowsClient) DisableRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Disable request.

func (WorkflowsClient) Enable

func (client WorkflowsClient) Enable(resourceGroupName string, workflowName string) (result autorest.Response, ae autorest.Error)

Enable enables a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name.

func (WorkflowsClient) EnableRequestPreparer

func (client WorkflowsClient) EnableRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Enable request.

func (WorkflowsClient) Get

func (client WorkflowsClient) Get(resourceGroupName string, workflowName string) (result Workflow, ae autorest.Error)

Get gets a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name.

func (WorkflowsClient) GetRequestPreparer

func (client WorkflowsClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (WorkflowsClient) ListByResourceGroup

func (client WorkflowsClient) ListByResourceGroup(resourceGroupName string, top int, filter string) (result WorkflowListResult, ae autorest.Error)

ListByResourceGroup gets a list of workflows by resource group.

resourceGroupName is the resource group name. top is the number of items to be included in the result. filter is the filter to apply on the operation.

func (WorkflowsClient) ListByResourceGroupRequestPreparer

func (client WorkflowsClient) ListByResourceGroupRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListByResourceGroup request.

func (WorkflowsClient) ListBySubscription

func (client WorkflowsClient) ListBySubscription(top int, filter string) (result WorkflowListResult, ae autorest.Error)

ListBySubscription gets a list of workflows by subscription.

top is the number of items to be included in the result. filter is the filter to apply on the operation.

func (WorkflowsClient) ListBySubscriptionRequestPreparer

func (client WorkflowsClient) ListBySubscriptionRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListBySubscription request.

func (WorkflowsClient) NewCreateOrUpdateRequest

func (client WorkflowsClient) NewCreateOrUpdateRequest(resourceGroupName string, workflowName string, workflow Workflow) (*http.Request, error)

Create the CreateOrUpdate request.

func (WorkflowsClient) NewDeleteRequest

func (client WorkflowsClient) NewDeleteRequest(resourceGroupName string, workflowName string) (*http.Request, error)

Create the Delete request.

func (WorkflowsClient) NewDisableRequest

func (client WorkflowsClient) NewDisableRequest(resourceGroupName string, workflowName string) (*http.Request, error)

Create the Disable request.

func (WorkflowsClient) NewEnableRequest

func (client WorkflowsClient) NewEnableRequest(resourceGroupName string, workflowName string) (*http.Request, error)

Create the Enable request.

func (WorkflowsClient) NewGetRequest

func (client WorkflowsClient) NewGetRequest(resourceGroupName string, workflowName string) (*http.Request, error)

Create the Get request.

func (WorkflowsClient) NewListByResourceGroupRequest

func (client WorkflowsClient) NewListByResourceGroupRequest(resourceGroupName string, top int, filter string) (*http.Request, error)

Create the ListByResourceGroup request.

func (WorkflowsClient) NewListBySubscriptionRequest

func (client WorkflowsClient) NewListBySubscriptionRequest(top int, filter string) (*http.Request, error)

Create the ListBySubscription request.

func (WorkflowsClient) NewRunRequest

func (client WorkflowsClient) NewRunRequest(resourceGroupName string, workflowName string, parameters RunWorkflowParameters) (*http.Request, error)

Create the Run request.

func (WorkflowsClient) NewUpdateRequest

func (client WorkflowsClient) NewUpdateRequest(resourceGroupName string, workflowName string, workflow Workflow) (*http.Request, error)

Create the Update request.

func (WorkflowsClient) NewValidateRequest

func (client WorkflowsClient) NewValidateRequest(resourceGroupName string, workflowName string, workflow Workflow) (*http.Request, error)

Create the Validate request.

func (WorkflowsClient) Run

func (client WorkflowsClient) Run(resourceGroupName string, workflowName string, parameters RunWorkflowParameters) (result WorkflowRun, ae autorest.Error)

Run runs a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name. parameters is the parameters.

func (WorkflowsClient) RunRequestPreparer

func (client WorkflowsClient) RunRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Run request.

func (WorkflowsClient) Update

func (client WorkflowsClient) Update(resourceGroupName string, workflowName string, workflow Workflow) (result Workflow, ae autorest.Error)

Update updates a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name. workflow is the workflow.

func (WorkflowsClient) UpdateRequestPreparer

func (client WorkflowsClient) UpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Update request.

func (WorkflowsClient) Validate

func (client WorkflowsClient) Validate(resourceGroupName string, workflowName string, workflow Workflow) (result autorest.Response, ae autorest.Error)

Validate validates a workflow.

resourceGroupName is the resource group name. workflowName is the workflow name. workflow is the workflow.

func (WorkflowsClient) ValidateRequestPreparer

func (client WorkflowsClient) ValidateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Validate request.

Jump to

Keyboard shortcuts

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