Documentation ¶
Index ¶
- func PossibleValuesForArchitecture() []string
- func PossibleValuesForBaseImageDependencyType() []string
- func PossibleValuesForBaseImageTriggerType() []string
- func PossibleValuesForOS() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSecretObjectType() []string
- func PossibleValuesForSourceControlType() []string
- func PossibleValuesForSourceRegistryLoginMode() []string
- func PossibleValuesForSourceTriggerEvent() []string
- func PossibleValuesForStepType() []string
- func PossibleValuesForTaskStatus() []string
- func PossibleValuesForTokenType() []string
- func PossibleValuesForTriggerStatus() []string
- func PossibleValuesForUpdateTriggerPayloadType() []string
- func PossibleValuesForVariant() []string
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTaskID(input interface{}, key string) (warnings []string, errors []error)
- type AgentProperties
- type Architecture
- type Argument
- type AuthInfo
- type AuthInfoUpdateParameters
- type BaseImageDependency
- type BaseImageDependencyType
- type BaseImageTrigger
- type BaseImageTriggerType
- type BaseImageTriggerUpdateParameters
- type CreateOperationResponse
- type Credentials
- type CustomRegistryCredentials
- type DeleteOperationResponse
- type DockerBuildStep
- type DockerBuildStepUpdateParameters
- type EncodedTaskStep
- type EncodedTaskStepUpdateParameters
- type FileTaskStep
- type FileTaskStepUpdateParameters
- type GetDetailsOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type OS
- type PlatformProperties
- type PlatformUpdateParameters
- type ProvisioningState
- type RawTaskStepPropertiesImpl
- type RawTaskStepUpdateParametersImpl
- type RegistryId
- type SecretObject
- type SecretObjectType
- type SetValue
- type SourceControlType
- type SourceProperties
- type SourceRegistryCredentials
- type SourceRegistryLoginMode
- type SourceTrigger
- type SourceTriggerEvent
- type SourceTriggerUpdateParameters
- type SourceUpdateParameters
- type StepType
- type Task
- type TaskId
- type TaskOperationPredicate
- type TaskProperties
- type TaskPropertiesUpdateParameters
- type TaskStatus
- type TaskStepProperties
- type TaskStepUpdateParameters
- type TaskUpdateParameters
- type TasksClient
- func (c TasksClient) Create(ctx context.Context, id TaskId, input Task) (result CreateOperationResponse, err error)
- func (c TasksClient) CreateThenPoll(ctx context.Context, id TaskId, input Task) error
- func (c TasksClient) Delete(ctx context.Context, id TaskId) (result DeleteOperationResponse, err error)
- func (c TasksClient) DeleteThenPoll(ctx context.Context, id TaskId) error
- func (c TasksClient) Get(ctx context.Context, id TaskId) (result GetOperationResponse, err error)
- func (c TasksClient) GetDetails(ctx context.Context, id TaskId) (result GetDetailsOperationResponse, err error)
- func (c TasksClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
- func (c TasksClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
- func (c TasksClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate TaskOperationPredicate) (result ListCompleteResult, err error)
- func (c TasksClient) Update(ctx context.Context, id TaskId, input TaskUpdateParameters) (result UpdateOperationResponse, err error)
- func (c TasksClient) UpdateThenPoll(ctx context.Context, id TaskId, input TaskUpdateParameters) error
- type TimerTrigger
- type TimerTriggerUpdateParameters
- type TokenType
- type TriggerProperties
- type TriggerStatus
- type TriggerUpdateParameters
- type UpdateOperationResponse
- type UpdateTriggerPayloadType
- type Variant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForArchitecture ¶
func PossibleValuesForArchitecture() []string
func PossibleValuesForBaseImageDependencyType ¶
func PossibleValuesForBaseImageDependencyType() []string
func PossibleValuesForBaseImageTriggerType ¶
func PossibleValuesForBaseImageTriggerType() []string
func PossibleValuesForOS ¶
func PossibleValuesForOS() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSecretObjectType ¶
func PossibleValuesForSecretObjectType() []string
func PossibleValuesForSourceControlType ¶
func PossibleValuesForSourceControlType() []string
func PossibleValuesForSourceRegistryLoginMode ¶
func PossibleValuesForSourceRegistryLoginMode() []string
func PossibleValuesForSourceTriggerEvent ¶
func PossibleValuesForSourceTriggerEvent() []string
func PossibleValuesForStepType ¶
func PossibleValuesForStepType() []string
func PossibleValuesForTaskStatus ¶
func PossibleValuesForTaskStatus() []string
func PossibleValuesForTokenType ¶
func PossibleValuesForTokenType() []string
func PossibleValuesForTriggerStatus ¶
func PossibleValuesForTriggerStatus() []string
func PossibleValuesForUpdateTriggerPayloadType ¶
func PossibleValuesForUpdateTriggerPayloadType() []string
func PossibleValuesForVariant ¶
func PossibleValuesForVariant() []string
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
func ValidateTaskID ¶
ValidateTaskID checks that 'input' can be parsed as a Task ID
Types ¶
type AgentProperties ¶
type AgentProperties struct {
Cpu *int64 `json:"cpu,omitempty"`
}
type Architecture ¶
type Architecture string
const ( ArchitectureAmdSixFour Architecture = "amd64" ArchitectureArm Architecture = "arm" ArchitectureArmSixFour Architecture = "arm64" ArchitectureThreeEightSix Architecture = "386" ArchitectureXEightSix Architecture = "x86" )
func (*Architecture) UnmarshalJSON ¶
func (s *Architecture) UnmarshalJSON(bytes []byte) error
type BaseImageDependency ¶
type BaseImageDependency struct { Digest *string `json:"digest,omitempty"` Registry *string `json:"registry,omitempty"` Repository *string `json:"repository,omitempty"` Tag *string `json:"tag,omitempty"` Type *BaseImageDependencyType `json:"type,omitempty"` }
type BaseImageDependencyType ¶
type BaseImageDependencyType string
const ( BaseImageDependencyTypeBuildTime BaseImageDependencyType = "BuildTime" BaseImageDependencyTypeRunTime BaseImageDependencyType = "RunTime" )
func (*BaseImageDependencyType) UnmarshalJSON ¶
func (s *BaseImageDependencyType) UnmarshalJSON(bytes []byte) error
type BaseImageTrigger ¶
type BaseImageTrigger struct { BaseImageTriggerType BaseImageTriggerType `json:"baseImageTriggerType"` Name string `json:"name"` Status *TriggerStatus `json:"status,omitempty"` UpdateTriggerEndpoint *string `json:"updateTriggerEndpoint,omitempty"` UpdateTriggerPayloadType *UpdateTriggerPayloadType `json:"updateTriggerPayloadType,omitempty"` }
type BaseImageTriggerType ¶
type BaseImageTriggerType string
const ( BaseImageTriggerTypeAll BaseImageTriggerType = "All" BaseImageTriggerTypeRuntime BaseImageTriggerType = "Runtime" )
func (*BaseImageTriggerType) UnmarshalJSON ¶
func (s *BaseImageTriggerType) UnmarshalJSON(bytes []byte) error
type BaseImageTriggerUpdateParameters ¶
type BaseImageTriggerUpdateParameters struct { BaseImageTriggerType *BaseImageTriggerType `json:"baseImageTriggerType,omitempty"` Name string `json:"name"` Status *TriggerStatus `json:"status,omitempty"` UpdateTriggerEndpoint *string `json:"updateTriggerEndpoint,omitempty"` UpdateTriggerPayloadType *UpdateTriggerPayloadType `json:"updateTriggerPayloadType,omitempty"` }
type CreateOperationResponse ¶
type Credentials ¶
type Credentials struct { CustomRegistries *map[string]CustomRegistryCredentials `json:"customRegistries,omitempty"` SourceRegistry *SourceRegistryCredentials `json:"sourceRegistry,omitempty"` }
type CustomRegistryCredentials ¶
type CustomRegistryCredentials struct { Identity *string `json:"identity,omitempty"` Password *SecretObject `json:"password,omitempty"` UserName *SecretObject `json:"userName,omitempty"` }
type DeleteOperationResponse ¶
type DockerBuildStep ¶
type DockerBuildStep struct { Arguments *[]Argument `json:"arguments,omitempty"` DockerFilePath string `json:"dockerFilePath"` ImageNames *[]string `json:"imageNames,omitempty"` IsPushEnabled *bool `json:"isPushEnabled,omitempty"` NoCache *bool `json:"noCache,omitempty"` Target *string `json:"target,omitempty"` // Fields inherited from TaskStepProperties BaseImageDependencies *[]BaseImageDependency `json:"baseImageDependencies,omitempty"` ContextAccessToken *string `json:"contextAccessToken,omitempty"` ContextPath *string `json:"contextPath,omitempty"` }
func (DockerBuildStep) MarshalJSON ¶
func (s DockerBuildStep) MarshalJSON() ([]byte, error)
type DockerBuildStepUpdateParameters ¶
type DockerBuildStepUpdateParameters struct { Arguments *[]Argument `json:"arguments,omitempty"` DockerFilePath *string `json:"dockerFilePath,omitempty"` ImageNames *[]string `json:"imageNames,omitempty"` IsPushEnabled *bool `json:"isPushEnabled,omitempty"` NoCache *bool `json:"noCache,omitempty"` Target *string `json:"target,omitempty"` // Fields inherited from TaskStepUpdateParameters ContextAccessToken *string `json:"contextAccessToken,omitempty"` ContextPath *string `json:"contextPath,omitempty"` }
func (DockerBuildStepUpdateParameters) MarshalJSON ¶
func (s DockerBuildStepUpdateParameters) MarshalJSON() ([]byte, error)
type EncodedTaskStep ¶
type EncodedTaskStep struct { EncodedTaskContent string `json:"encodedTaskContent"` EncodedValuesContent *string `json:"encodedValuesContent,omitempty"` Values *[]SetValue `json:"values,omitempty"` // Fields inherited from TaskStepProperties BaseImageDependencies *[]BaseImageDependency `json:"baseImageDependencies,omitempty"` ContextAccessToken *string `json:"contextAccessToken,omitempty"` ContextPath *string `json:"contextPath,omitempty"` }
func (EncodedTaskStep) MarshalJSON ¶
func (s EncodedTaskStep) MarshalJSON() ([]byte, error)
type EncodedTaskStepUpdateParameters ¶
type EncodedTaskStepUpdateParameters struct { EncodedTaskContent *string `json:"encodedTaskContent,omitempty"` EncodedValuesContent *string `json:"encodedValuesContent,omitempty"` Values *[]SetValue `json:"values,omitempty"` // Fields inherited from TaskStepUpdateParameters ContextAccessToken *string `json:"contextAccessToken,omitempty"` ContextPath *string `json:"contextPath,omitempty"` }
func (EncodedTaskStepUpdateParameters) MarshalJSON ¶
func (s EncodedTaskStepUpdateParameters) MarshalJSON() ([]byte, error)
type FileTaskStep ¶
type FileTaskStep struct { TaskFilePath string `json:"taskFilePath"` Values *[]SetValue `json:"values,omitempty"` ValuesFilePath *string `json:"valuesFilePath,omitempty"` // Fields inherited from TaskStepProperties BaseImageDependencies *[]BaseImageDependency `json:"baseImageDependencies,omitempty"` ContextAccessToken *string `json:"contextAccessToken,omitempty"` ContextPath *string `json:"contextPath,omitempty"` }
func (FileTaskStep) MarshalJSON ¶
func (s FileTaskStep) MarshalJSON() ([]byte, error)
type FileTaskStepUpdateParameters ¶
type FileTaskStepUpdateParameters struct { TaskFilePath *string `json:"taskFilePath,omitempty"` Values *[]SetValue `json:"values,omitempty"` ValuesFilePath *string `json:"valuesFilePath,omitempty"` // Fields inherited from TaskStepUpdateParameters ContextAccessToken *string `json:"contextAccessToken,omitempty"` ContextPath *string `json:"contextPath,omitempty"` }
func (FileTaskStepUpdateParameters) MarshalJSON ¶
func (s FileTaskStepUpdateParameters) MarshalJSON() ([]byte, error)
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type PlatformProperties ¶
type PlatformProperties struct { Architecture *Architecture `json:"architecture,omitempty"` Os OS `json:"os"` Variant *Variant `json:"variant,omitempty"` }
type PlatformUpdateParameters ¶
type PlatformUpdateParameters struct { Architecture *Architecture `json:"architecture,omitempty"` Os *OS `json:"os,omitempty"` Variant *Variant `json:"variant,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RawTaskStepPropertiesImpl ¶
RawTaskStepPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawTaskStepUpdateParametersImpl ¶
RawTaskStepUpdateParametersImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (*RegistryId) FromParseResult ¶
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID
type SecretObject ¶
type SecretObject struct { Type *SecretObjectType `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
type SecretObjectType ¶
type SecretObjectType string
const ( SecretObjectTypeOpaque SecretObjectType = "Opaque" SecretObjectTypeVaultsecret SecretObjectType = "Vaultsecret" )
func (*SecretObjectType) UnmarshalJSON ¶
func (s *SecretObjectType) UnmarshalJSON(bytes []byte) error
type SourceControlType ¶
type SourceControlType string
const ( SourceControlTypeGithub SourceControlType = "Github" SourceControlTypeVisualStudioTeamService SourceControlType = "VisualStudioTeamService" )
func (*SourceControlType) UnmarshalJSON ¶
func (s *SourceControlType) UnmarshalJSON(bytes []byte) error
type SourceProperties ¶
type SourceProperties struct { Branch *string `json:"branch,omitempty"` RepositoryUrl string `json:"repositoryUrl"` SourceControlAuthProperties *AuthInfo `json:"sourceControlAuthProperties,omitempty"` SourceControlType SourceControlType `json:"sourceControlType"` }
type SourceRegistryCredentials ¶
type SourceRegistryCredentials struct {
LoginMode *SourceRegistryLoginMode `json:"loginMode,omitempty"`
}
type SourceRegistryLoginMode ¶
type SourceRegistryLoginMode string
const ( SourceRegistryLoginModeDefault SourceRegistryLoginMode = "Default" SourceRegistryLoginModeNone SourceRegistryLoginMode = "None" )
func (*SourceRegistryLoginMode) UnmarshalJSON ¶
func (s *SourceRegistryLoginMode) UnmarshalJSON(bytes []byte) error
type SourceTrigger ¶
type SourceTrigger struct { Name string `json:"name"` SourceRepository SourceProperties `json:"sourceRepository"` SourceTriggerEvents []SourceTriggerEvent `json:"sourceTriggerEvents"` Status *TriggerStatus `json:"status,omitempty"` }
type SourceTriggerEvent ¶
type SourceTriggerEvent string
const ( SourceTriggerEventCommit SourceTriggerEvent = "commit" SourceTriggerEventPullrequest SourceTriggerEvent = "pullrequest" )
func (*SourceTriggerEvent) UnmarshalJSON ¶
func (s *SourceTriggerEvent) UnmarshalJSON(bytes []byte) error
type SourceTriggerUpdateParameters ¶
type SourceTriggerUpdateParameters struct { Name string `json:"name"` SourceRepository *SourceUpdateParameters `json:"sourceRepository,omitempty"` SourceTriggerEvents *[]SourceTriggerEvent `json:"sourceTriggerEvents,omitempty"` Status *TriggerStatus `json:"status,omitempty"` }
type SourceUpdateParameters ¶
type SourceUpdateParameters struct { Branch *string `json:"branch,omitempty"` RepositoryUrl *string `json:"repositoryUrl,omitempty"` SourceControlAuthProperties *AuthInfoUpdateParameters `json:"sourceControlAuthProperties,omitempty"` SourceControlType *SourceControlType `json:"sourceControlType,omitempty"` }
type Task ¶
type Task struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *TaskProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type TaskId ¶
type TaskId struct { SubscriptionId string ResourceGroupName string RegistryName string TaskName string }
TaskId is a struct representing the Resource ID for a Task
func NewTaskID ¶
func NewTaskID(subscriptionId string, resourceGroupName string, registryName string, taskName string) TaskId
NewTaskID returns a new TaskId struct
func ParseTaskID ¶
ParseTaskID parses 'input' into a TaskId
func ParseTaskIDInsensitively ¶
ParseTaskIDInsensitively parses 'input' case-insensitively into a TaskId note: this method should only be used for API response data and not user input
func (*TaskId) FromParseResult ¶
func (id *TaskId) FromParseResult(input resourceids.ParseResult) error
func (TaskId) Segments ¶
func (id TaskId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Task ID
type TaskOperationPredicate ¶
func (TaskOperationPredicate) Matches ¶
func (p TaskOperationPredicate) Matches(input Task) bool
type TaskProperties ¶
type TaskProperties struct { AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` AgentPoolName *string `json:"agentPoolName,omitempty"` CreationDate *string `json:"creationDate,omitempty"` Credentials *Credentials `json:"credentials,omitempty"` IsSystemTask *bool `json:"isSystemTask,omitempty"` LogTemplate *string `json:"logTemplate,omitempty"` Platform *PlatformProperties `json:"platform,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Status *TaskStatus `json:"status,omitempty"` Step TaskStepProperties `json:"step"` Timeout *int64 `json:"timeout,omitempty"` Trigger *TriggerProperties `json:"trigger,omitempty"` }
func (*TaskProperties) GetCreationDateAsTime ¶
func (o *TaskProperties) GetCreationDateAsTime() (*time.Time, error)
func (*TaskProperties) SetCreationDateAsTime ¶
func (o *TaskProperties) SetCreationDateAsTime(input time.Time)
func (*TaskProperties) UnmarshalJSON ¶
func (s *TaskProperties) UnmarshalJSON(bytes []byte) error
type TaskPropertiesUpdateParameters ¶
type TaskPropertiesUpdateParameters struct { AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` AgentPoolName *string `json:"agentPoolName,omitempty"` Credentials *Credentials `json:"credentials,omitempty"` LogTemplate *string `json:"logTemplate,omitempty"` Platform *PlatformUpdateParameters `json:"platform,omitempty"` Status *TaskStatus `json:"status,omitempty"` Step TaskStepUpdateParameters `json:"step"` Timeout *int64 `json:"timeout,omitempty"` Trigger *TriggerUpdateParameters `json:"trigger,omitempty"` }
func (*TaskPropertiesUpdateParameters) UnmarshalJSON ¶
func (s *TaskPropertiesUpdateParameters) UnmarshalJSON(bytes []byte) error
type TaskStatus ¶
type TaskStatus string
const ( TaskStatusDisabled TaskStatus = "Disabled" TaskStatusEnabled TaskStatus = "Enabled" )
func (*TaskStatus) UnmarshalJSON ¶
func (s *TaskStatus) UnmarshalJSON(bytes []byte) error
type TaskStepProperties ¶
type TaskStepProperties interface { }
type TaskStepUpdateParameters ¶
type TaskStepUpdateParameters interface { }
type TaskUpdateParameters ¶
type TaskUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Properties *TaskPropertiesUpdateParameters `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type TasksClient ¶
type TasksClient struct {
Client *resourcemanager.Client
}
func NewTasksClientWithBaseURI ¶
func NewTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*TasksClient, error)
func (TasksClient) Create ¶
func (c TasksClient) Create(ctx context.Context, id TaskId, input Task) (result CreateOperationResponse, err error)
Create ...
func (TasksClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (TasksClient) Delete ¶
func (c TasksClient) Delete(ctx context.Context, id TaskId) (result DeleteOperationResponse, err error)
Delete ...
func (TasksClient) DeleteThenPoll ¶
func (c TasksClient) DeleteThenPoll(ctx context.Context, id TaskId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TasksClient) Get ¶
func (c TasksClient) Get(ctx context.Context, id TaskId) (result GetOperationResponse, err error)
Get ...
func (TasksClient) GetDetails ¶
func (c TasksClient) GetDetails(ctx context.Context, id TaskId) (result GetDetailsOperationResponse, err error)
GetDetails ...
func (TasksClient) List ¶
func (c TasksClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
List ...
func (TasksClient) ListComplete ¶
func (c TasksClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TasksClient) ListCompleteMatchingPredicate ¶
func (c TasksClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate TaskOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TasksClient) Update ¶
func (c TasksClient) Update(ctx context.Context, id TaskId, input TaskUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (TasksClient) UpdateThenPoll ¶
func (c TasksClient) UpdateThenPoll(ctx context.Context, id TaskId, input TaskUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type TimerTrigger ¶
type TimerTrigger struct { Name string `json:"name"` Schedule string `json:"schedule"` Status *TriggerStatus `json:"status,omitempty"` }
type TimerTriggerUpdateParameters ¶
type TimerTriggerUpdateParameters struct { Name string `json:"name"` Schedule *string `json:"schedule,omitempty"` Status *TriggerStatus `json:"status,omitempty"` }
type TriggerProperties ¶
type TriggerProperties struct { BaseImageTrigger *BaseImageTrigger `json:"baseImageTrigger,omitempty"` SourceTriggers *[]SourceTrigger `json:"sourceTriggers,omitempty"` TimerTriggers *[]TimerTrigger `json:"timerTriggers,omitempty"` }
type TriggerStatus ¶
type TriggerStatus string
const ( TriggerStatusDisabled TriggerStatus = "Disabled" TriggerStatusEnabled TriggerStatus = "Enabled" )
func (*TriggerStatus) UnmarshalJSON ¶
func (s *TriggerStatus) UnmarshalJSON(bytes []byte) error
type TriggerUpdateParameters ¶
type TriggerUpdateParameters struct { BaseImageTrigger *BaseImageTriggerUpdateParameters `json:"baseImageTrigger,omitempty"` SourceTriggers *[]SourceTriggerUpdateParameters `json:"sourceTriggers,omitempty"` TimerTriggers *[]TimerTriggerUpdateParameters `json:"timerTriggers,omitempty"` }
type UpdateOperationResponse ¶
type UpdateTriggerPayloadType ¶
type UpdateTriggerPayloadType string
const ( UpdateTriggerPayloadTypeDefault UpdateTriggerPayloadType = "Default" UpdateTriggerPayloadTypeToken UpdateTriggerPayloadType = "Token" )
func (*UpdateTriggerPayloadType) UnmarshalJSON ¶
func (s *UpdateTriggerPayloadType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_registry.go
- id_task.go
- method_create.go
- method_delete.go
- method_get.go
- method_getdetails.go
- method_list.go
- method_update.go
- model_agentproperties.go
- model_argument.go
- model_authinfo.go
- model_authinfoupdateparameters.go
- model_baseimagedependency.go
- model_baseimagetrigger.go
- model_baseimagetriggerupdateparameters.go
- model_credentials.go
- model_customregistrycredentials.go
- model_dockerbuildstep.go
- model_dockerbuildstepupdateparameters.go
- model_encodedtaskstep.go
- model_encodedtaskstepupdateparameters.go
- model_filetaskstep.go
- model_filetaskstepupdateparameters.go
- model_platformproperties.go
- model_platformupdateparameters.go
- model_secretobject.go
- model_setvalue.go
- model_sourceproperties.go
- model_sourceregistrycredentials.go
- model_sourcetrigger.go
- model_sourcetriggerupdateparameters.go
- model_sourceupdateparameters.go
- model_task.go
- model_taskproperties.go
- model_taskpropertiesupdateparameters.go
- model_taskstepproperties.go
- model_taskstepupdateparameters.go
- model_taskupdateparameters.go
- model_timertrigger.go
- model_timertriggerupdateparameters.go
- model_triggerproperties.go
- model_triggerupdateparameters.go
- predicates.go
- version.go