workflows

package
v0.20240125.1170241 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MPL-2.0 Imports: 15 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/workflows Documentation

The workflows SDK allows for interaction with the Azure Resource Manager Service logic (API Version 2019-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/workflows"

Client Initialization

client := workflows.NewWorkflowsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: WorkflowsClient.CreateOrUpdate

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

payload := workflows.Workflow{
	// ...
}


read, err := client.CreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.Delete

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.Disable

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

read, err := client.Disable(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.Enable

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

read, err := client.Enable(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.GenerateUpgradedDefinition

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

payload := workflows.GenerateUpgradedDefinitionParameters{
	// ...
}


read, err := client.GenerateUpgradedDefinition(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.Get

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.ListByResourceGroup

ctx := context.TODO()
id := workflows.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id, workflows.DefaultListByResourceGroupOperationOptions())` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id, workflows.DefaultListByResourceGroupOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WorkflowsClient.ListBySubscription

ctx := context.TODO()
id := workflows.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id, workflows.DefaultListBySubscriptionOperationOptions())` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id, workflows.DefaultListBySubscriptionOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WorkflowsClient.ListCallbackUrl

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

payload := workflows.GetCallbackUrlParameters{
	// ...
}


read, err := client.ListCallbackUrl(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.ListSwagger

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

read, err := client.ListSwagger(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.Move

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

payload := workflows.WorkflowReference{
	// ...
}


if err := client.MoveThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WorkflowsClient.RegenerateAccessKey

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

payload := workflows.RegenerateActionParameter{
	// ...
}


read, err := client.RegenerateAccessKey(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.Update

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

read, err := client.Update(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.ValidateByLocation

ctx := context.TODO()
id := workflows.NewLocationWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "workflowValue")

payload := workflows.Workflow{
	// ...
}


read, err := client.ValidateByLocation(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowsClient.ValidateByResourceGroup

ctx := context.TODO()
id := workflows.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue")

payload := workflows.Workflow{
	// ...
}


read, err := client.ValidateByResourceGroup(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForKeyType

func PossibleValuesForKeyType() []string

func PossibleValuesForOpenAuthenticationProviderType

func PossibleValuesForOpenAuthenticationProviderType() []string

func PossibleValuesForParameterType

func PossibleValuesForParameterType() []string

func PossibleValuesForSkuName

func PossibleValuesForSkuName() []string

func PossibleValuesForWorkflowProvisioningState

func PossibleValuesForWorkflowProvisioningState() []string

func PossibleValuesForWorkflowState

func PossibleValuesForWorkflowState() []string

func ValidateLocationWorkflowID

func ValidateLocationWorkflowID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationWorkflowID checks that 'input' can be parsed as a Location Workflow ID

func ValidateWorkflowID

func ValidateWorkflowID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkflowID checks that 'input' can be parsed as a Workflow ID

Types

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Workflow
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DisableOperationResponse

type DisableOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type EnableOperationResponse

type EnableOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type FlowAccessControlConfiguration

type FlowAccessControlConfiguration struct {
	Actions            *FlowAccessControlConfigurationPolicy `json:"actions,omitempty"`
	Contents           *FlowAccessControlConfigurationPolicy `json:"contents,omitempty"`
	Triggers           *FlowAccessControlConfigurationPolicy `json:"triggers,omitempty"`
	WorkflowManagement *FlowAccessControlConfigurationPolicy `json:"workflowManagement,omitempty"`
}

type FlowAccessControlConfigurationPolicy

type FlowAccessControlConfigurationPolicy struct {
	AllowedCallerIPAddresses   *[]IPAddressRange                 `json:"allowedCallerIpAddresses,omitempty"`
	OpenAuthenticationPolicies *OpenAuthenticationAccessPolicies `json:"openAuthenticationPolicies,omitempty"`
}

type FlowEndpoints

type FlowEndpoints struct {
	AccessEndpointIPAddresses *[]IPAddress `json:"accessEndpointIpAddresses,omitempty"`
	OutgoingIPAddresses       *[]IPAddress `json:"outgoingIpAddresses,omitempty"`
}

type FlowEndpointsConfiguration

type FlowEndpointsConfiguration struct {
	Connector *FlowEndpoints `json:"connector,omitempty"`
	Workflow  *FlowEndpoints `json:"workflow,omitempty"`
}

type GenerateUpgradedDefinitionOperationResponse

type GenerateUpgradedDefinitionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *interface{}
}

type GenerateUpgradedDefinitionParameters

type GenerateUpgradedDefinitionParameters struct {
	TargetSchemaVersion *string `json:"targetSchemaVersion,omitempty"`
}

type GetCallbackUrlParameters

type GetCallbackUrlParameters struct {
	KeyType  *KeyType `json:"keyType,omitempty"`
	NotAfter *string  `json:"notAfter,omitempty"`
}

func (*GetCallbackUrlParameters) GetNotAfterAsTime

func (o *GetCallbackUrlParameters) GetNotAfterAsTime() (*time.Time, error)

func (*GetCallbackUrlParameters) SetNotAfterAsTime

func (o *GetCallbackUrlParameters) SetNotAfterAsTime(input time.Time)

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Workflow
}

type IPAddress

type IPAddress struct {
	Address *string `json:"address,omitempty"`
}

type IPAddressRange

type IPAddressRange struct {
	AddressRange *string `json:"addressRange,omitempty"`
}

type KeyType

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

func (*KeyType) UnmarshalJSON

func (s *KeyType) UnmarshalJSON(bytes []byte) error

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Workflow
}

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

func (ListByResourceGroupOperationOptions) ToHeaders

func (ListByResourceGroupOperationOptions) ToOData

func (ListByResourceGroupOperationOptions) ToQuery

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Workflow
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Workflow
}

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListBySubscriptionOperationOptions

func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions

func (ListBySubscriptionOperationOptions) ToHeaders

func (ListBySubscriptionOperationOptions) ToOData

func (ListBySubscriptionOperationOptions) ToQuery

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Workflow
}

type ListCallbackUrlOperationResponse

type ListCallbackUrlOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WorkflowTriggerCallbackUrl
}

type ListSwaggerOperationResponse

type ListSwaggerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *interface{}
}

type LocationWorkflowId

type LocationWorkflowId struct {
	SubscriptionId    string
	ResourceGroupName string
	LocationName      string
	WorkflowName      string
}

LocationWorkflowId is a struct representing the Resource ID for a Location Workflow

func NewLocationWorkflowID

func NewLocationWorkflowID(subscriptionId string, resourceGroupName string, locationName string, workflowName string) LocationWorkflowId

NewLocationWorkflowID returns a new LocationWorkflowId struct

func ParseLocationWorkflowID

func ParseLocationWorkflowID(input string) (*LocationWorkflowId, error)

ParseLocationWorkflowID parses 'input' into a LocationWorkflowId

func ParseLocationWorkflowIDInsensitively

func ParseLocationWorkflowIDInsensitively(input string) (*LocationWorkflowId, error)

ParseLocationWorkflowIDInsensitively parses 'input' case-insensitively into a LocationWorkflowId note: this method should only be used for API response data and not user input

func (*LocationWorkflowId) FromParseResult

func (id *LocationWorkflowId) FromParseResult(input resourceids.ParseResult) error

func (LocationWorkflowId) ID

func (id LocationWorkflowId) ID() string

ID returns the formatted Location Workflow ID

func (LocationWorkflowId) Segments

func (id LocationWorkflowId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location Workflow ID

func (LocationWorkflowId) String

func (id LocationWorkflowId) String() string

String returns a human-readable description of this Location Workflow ID

type MoveOperationResponse

type MoveOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type OpenAuthenticationAccessPolicies

type OpenAuthenticationAccessPolicies struct {
	Policies *map[string]OpenAuthenticationAccessPolicy `json:"policies,omitempty"`
}

type OpenAuthenticationAccessPolicy

type OpenAuthenticationAccessPolicy struct {
	Claims *[]OpenAuthenticationPolicyClaim `json:"claims,omitempty"`
	Type   *OpenAuthenticationProviderType  `json:"type,omitempty"`
}

type OpenAuthenticationPolicyClaim

type OpenAuthenticationPolicyClaim struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type OpenAuthenticationProviderType

type OpenAuthenticationProviderType string
const (
	OpenAuthenticationProviderTypeAAD OpenAuthenticationProviderType = "AAD"
)

func (*OpenAuthenticationProviderType) UnmarshalJSON

func (s *OpenAuthenticationProviderType) UnmarshalJSON(bytes []byte) error

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

func (*ParameterType) UnmarshalJSON

func (s *ParameterType) UnmarshalJSON(bytes []byte) error

type RegenerateAccessKeyOperationResponse

type RegenerateAccessKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RegenerateActionParameter

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

type ResourceReference

type ResourceReference struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type Sku

type Sku struct {
	Name SkuName            `json:"name"`
	Plan *ResourceReference `json:"plan,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"
)

func (*SkuName) UnmarshalJSON

func (s *SkuName) UnmarshalJSON(bytes []byte) error

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Workflow
}

type ValidateByLocationOperationResponse

type ValidateByLocationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ValidateByResourceGroupOperationResponse

type ValidateByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type Workflow

type Workflow struct {
	Id         *string                           `json:"id,omitempty"`
	Identity   *identity.SystemOrUserAssignedMap `json:"identity,omitempty"`
	Location   *string                           `json:"location,omitempty"`
	Name       *string                           `json:"name,omitempty"`
	Properties *WorkflowProperties               `json:"properties,omitempty"`
	Tags       *map[string]string                `json:"tags,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type WorkflowId

type WorkflowId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkflowName      string
}

WorkflowId is a struct representing the Resource ID for a Workflow

func NewWorkflowID

func NewWorkflowID(subscriptionId string, resourceGroupName string, workflowName string) WorkflowId

NewWorkflowID returns a new WorkflowId struct

func ParseWorkflowID

func ParseWorkflowID(input string) (*WorkflowId, error)

ParseWorkflowID parses 'input' into a WorkflowId

func ParseWorkflowIDInsensitively

func ParseWorkflowIDInsensitively(input string) (*WorkflowId, error)

ParseWorkflowIDInsensitively parses 'input' case-insensitively into a WorkflowId note: this method should only be used for API response data and not user input

func (*WorkflowId) FromParseResult

func (id *WorkflowId) FromParseResult(input resourceids.ParseResult) error

func (WorkflowId) ID

func (id WorkflowId) ID() string

ID returns the formatted Workflow ID

func (WorkflowId) Segments

func (id WorkflowId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Workflow ID

func (WorkflowId) String

func (id WorkflowId) String() string

String returns a human-readable description of this Workflow ID

type WorkflowOperationPredicate

type WorkflowOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (WorkflowOperationPredicate) Matches

func (p WorkflowOperationPredicate) Matches(input Workflow) bool

type WorkflowParameter

type WorkflowParameter struct {
	Description *string        `json:"description,omitempty"`
	Metadata    *interface{}   `json:"metadata,omitempty"`
	Type        *ParameterType `json:"type,omitempty"`
	Value       *interface{}   `json:"value,omitempty"`
}

type WorkflowProperties

type WorkflowProperties struct {
	AccessControl                 *FlowAccessControlConfiguration `json:"accessControl,omitempty"`
	AccessEndpoint                *string                         `json:"accessEndpoint,omitempty"`
	ChangedTime                   *string                         `json:"changedTime,omitempty"`
	CreatedTime                   *string                         `json:"createdTime,omitempty"`
	Definition                    *interface{}                    `json:"definition,omitempty"`
	EndpointsConfiguration        *FlowEndpointsConfiguration     `json:"endpointsConfiguration,omitempty"`
	IntegrationAccount            *ResourceReference              `json:"integrationAccount,omitempty"`
	IntegrationServiceEnvironment *ResourceReference              `json:"integrationServiceEnvironment,omitempty"`
	Parameters                    *map[string]WorkflowParameter   `json:"parameters,omitempty"`
	ProvisioningState             *WorkflowProvisioningState      `json:"provisioningState,omitempty"`
	Sku                           *Sku                            `json:"sku,omitempty"`
	State                         *WorkflowState                  `json:"state,omitempty"`
	Version                       *string                         `json:"version,omitempty"`
}

func (*WorkflowProperties) GetChangedTimeAsTime

func (o *WorkflowProperties) GetChangedTimeAsTime() (*time.Time, error)

func (*WorkflowProperties) GetCreatedTimeAsTime

func (o *WorkflowProperties) GetCreatedTimeAsTime() (*time.Time, error)

func (*WorkflowProperties) SetChangedTimeAsTime

func (o *WorkflowProperties) SetChangedTimeAsTime(input time.Time)

func (*WorkflowProperties) SetCreatedTimeAsTime

func (o *WorkflowProperties) SetCreatedTimeAsTime(input time.Time)

type WorkflowProvisioningState

type WorkflowProvisioningState string
const (
	WorkflowProvisioningStateAccepted      WorkflowProvisioningState = "Accepted"
	WorkflowProvisioningStateCanceled      WorkflowProvisioningState = "Canceled"
	WorkflowProvisioningStateCompleted     WorkflowProvisioningState = "Completed"
	WorkflowProvisioningStateCreated       WorkflowProvisioningState = "Created"
	WorkflowProvisioningStateCreating      WorkflowProvisioningState = "Creating"
	WorkflowProvisioningStateDeleted       WorkflowProvisioningState = "Deleted"
	WorkflowProvisioningStateDeleting      WorkflowProvisioningState = "Deleting"
	WorkflowProvisioningStateFailed        WorkflowProvisioningState = "Failed"
	WorkflowProvisioningStateInProgress    WorkflowProvisioningState = "InProgress"
	WorkflowProvisioningStateMoving        WorkflowProvisioningState = "Moving"
	WorkflowProvisioningStateNotSpecified  WorkflowProvisioningState = "NotSpecified"
	WorkflowProvisioningStatePending       WorkflowProvisioningState = "Pending"
	WorkflowProvisioningStateReady         WorkflowProvisioningState = "Ready"
	WorkflowProvisioningStateRegistered    WorkflowProvisioningState = "Registered"
	WorkflowProvisioningStateRegistering   WorkflowProvisioningState = "Registering"
	WorkflowProvisioningStateRenewing      WorkflowProvisioningState = "Renewing"
	WorkflowProvisioningStateRunning       WorkflowProvisioningState = "Running"
	WorkflowProvisioningStateSucceeded     WorkflowProvisioningState = "Succeeded"
	WorkflowProvisioningStateUnregistered  WorkflowProvisioningState = "Unregistered"
	WorkflowProvisioningStateUnregistering WorkflowProvisioningState = "Unregistering"
	WorkflowProvisioningStateUpdating      WorkflowProvisioningState = "Updating"
	WorkflowProvisioningStateWaiting       WorkflowProvisioningState = "Waiting"
)

func (*WorkflowProvisioningState) UnmarshalJSON

func (s *WorkflowProvisioningState) UnmarshalJSON(bytes []byte) error

type WorkflowReference

type WorkflowReference struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type WorkflowState

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

func (*WorkflowState) UnmarshalJSON

func (s *WorkflowState) UnmarshalJSON(bytes []byte) error

type WorkflowTriggerCallbackUrl

type WorkflowTriggerCallbackUrl struct {
	BasePath               *string                                `json:"basePath,omitempty"`
	Method                 *string                                `json:"method,omitempty"`
	Queries                *WorkflowTriggerListCallbackUrlQueries `json:"queries,omitempty"`
	RelativePath           *string                                `json:"relativePath,omitempty"`
	RelativePathParameters *[]string                              `json:"relativePathParameters,omitempty"`
	Value                  *string                                `json:"value,omitempty"`
}

type WorkflowTriggerListCallbackUrlQueries

type WorkflowTriggerListCallbackUrlQueries struct {
	ApiVersion *string `json:"api-version,omitempty"`
	Se         *string `json:"se,omitempty"`
	Sig        *string `json:"sig,omitempty"`
	Sp         *string `json:"sp,omitempty"`
	Sv         *string `json:"sv,omitempty"`
}

type WorkflowsClient

type WorkflowsClient struct {
	Client *resourcemanager.Client
}

func NewWorkflowsClientWithBaseURI

func NewWorkflowsClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkflowsClient, error)

func (WorkflowsClient) CreateOrUpdate

func (c WorkflowsClient) CreateOrUpdate(ctx context.Context, id WorkflowId, input Workflow) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (WorkflowsClient) Delete

func (c WorkflowsClient) Delete(ctx context.Context, id WorkflowId) (result DeleteOperationResponse, err error)

Delete ...

func (WorkflowsClient) Disable

func (c WorkflowsClient) Disable(ctx context.Context, id WorkflowId) (result DisableOperationResponse, err error)

Disable ...

func (WorkflowsClient) Enable

func (c WorkflowsClient) Enable(ctx context.Context, id WorkflowId) (result EnableOperationResponse, err error)

Enable ...

func (WorkflowsClient) GenerateUpgradedDefinition

GenerateUpgradedDefinition ...

func (WorkflowsClient) Get

func (c WorkflowsClient) Get(ctx context.Context, id WorkflowId) (result GetOperationResponse, err error)

Get ...

func (WorkflowsClient) ListByResourceGroup

ListByResourceGroup ...

func (WorkflowsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (WorkflowsClient) ListByResourceGroupCompleteMatchingPredicate

func (c WorkflowsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate WorkflowOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WorkflowsClient) ListBySubscription

ListBySubscription ...

func (WorkflowsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (WorkflowsClient) ListBySubscriptionCompleteMatchingPredicate

func (c WorkflowsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate WorkflowOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WorkflowsClient) ListCallbackUrl

ListCallbackUrl ...

func (WorkflowsClient) ListSwagger

func (c WorkflowsClient) ListSwagger(ctx context.Context, id WorkflowId) (result ListSwaggerOperationResponse, err error)

ListSwagger ...

func (WorkflowsClient) Move

Move ...

func (WorkflowsClient) MoveThenPoll

func (c WorkflowsClient) MoveThenPoll(ctx context.Context, id WorkflowId, input WorkflowReference) error

MoveThenPoll performs Move then polls until it's completed

func (WorkflowsClient) RegenerateAccessKey

RegenerateAccessKey ...

func (WorkflowsClient) Update

func (c WorkflowsClient) Update(ctx context.Context, id WorkflowId) (result UpdateOperationResponse, err error)

Update ...

func (WorkflowsClient) ValidateByLocation

func (c WorkflowsClient) ValidateByLocation(ctx context.Context, id LocationWorkflowId, input Workflow) (result ValidateByLocationOperationResponse, err error)

ValidateByLocation ...

func (WorkflowsClient) ValidateByResourceGroup

func (c WorkflowsClient) ValidateByResourceGroup(ctx context.Context, id WorkflowId, input Workflow) (result ValidateByResourceGroupOperationResponse, err error)

ValidateByResourceGroup ...

Jump to

Keyboard shortcuts

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