Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForArchitecture() []string + func PossibleValuesForOS() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForRunStatus() []string + func PossibleValuesForRunType() []string + func PossibleValuesForSecretObjectType() []string + func PossibleValuesForSourceRegistryLoginMode() []string + func PossibleValuesForVariant() []string + func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error) + type AgentProperties struct + Cpu *int64 + type Architecture string + const ArchitectureAmdSixFour + const ArchitectureArm + const ArchitectureArmSixFour + const ArchitectureThreeEightSix + const ArchitectureXEightSix + func (s *Architecture) UnmarshalJSON(bytes []byte) error + type Argument struct + IsSecret *bool + Name string + Value string + type BaseRunRequestImpl struct + AgentPoolName *string + IsArchiveEnabled *bool + LogTemplate *string + Type string + func (s BaseRunRequestImpl) RunRequest() BaseRunRequestImpl + type Credentials struct + CustomRegistries *map[string]CustomRegistryCredentials + SourceRegistry *SourceRegistryCredentials + type CustomRegistryCredentials struct + Identity *string + Password *SecretObject + UserName *SecretObject + type DockerBuildRequest struct + AgentConfiguration *AgentProperties + AgentPoolName *string + Arguments *[]Argument + Credentials *Credentials + DockerFilePath string + ImageNames *[]string + IsArchiveEnabled *bool + IsPushEnabled *bool + LogTemplate *string + NoCache *bool + Platform PlatformProperties + SourceLocation *string + Target *string + Timeout *int64 + Type string + func (s DockerBuildRequest) MarshalJSON() ([]byte, error) + func (s DockerBuildRequest) RunRequest() BaseRunRequestImpl + type EncodedTaskRunRequest struct + AgentConfiguration *AgentProperties + AgentPoolName *string + Credentials *Credentials + EncodedTaskContent string + EncodedValuesContent *string + IsArchiveEnabled *bool + LogTemplate *string + Platform PlatformProperties + SourceLocation *string + Timeout *int64 + Type string + Values *[]SetValue + func (s EncodedTaskRunRequest) MarshalJSON() ([]byte, error) + func (s EncodedTaskRunRequest) RunRequest() BaseRunRequestImpl + type FileTaskRunRequest struct + AgentConfiguration *AgentProperties + AgentPoolName *string + Credentials *Credentials + IsArchiveEnabled *bool + LogTemplate *string + Platform PlatformProperties + SourceLocation *string + TaskFilePath string + Timeout *int64 + Type string + Values *[]SetValue + ValuesFilePath *string + func (s FileTaskRunRequest) MarshalJSON() ([]byte, error) + func (s FileTaskRunRequest) RunRequest() BaseRunRequestImpl + type GetBuildSourceUploadURLOperationResponse struct + HttpResponse *http.Response + Model *SourceUploadDefinition + OData *odata.OData + type ImageDescriptor struct + Digest *string + Registry *string + Repository *string + Tag *string + type ImageUpdateTrigger struct + Id *string + Images *[]ImageDescriptor + Timestamp *string + func (o *ImageUpdateTrigger) GetTimestampAsTime() (*time.Time, error) + func (o *ImageUpdateTrigger) SetTimestampAsTime(input time.Time) + type OS string + const OSLinux + const OSWindows + func (s *OS) UnmarshalJSON(bytes []byte) error + type OverrideTaskStepProperties struct + Arguments *[]Argument + ContextPath *string + File *string + Target *string + UpdateTriggerToken *string + Values *[]SetValue + type PlatformProperties struct + Architecture *Architecture + Os OS + Variant *Variant + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RawRunRequestImpl struct + Type string + Values map[string]interface{} + func (s RawRunRequestImpl) RunRequest() BaseRunRequestImpl + type RegistriesClient struct + Client *resourcemanager.Client + func NewRegistriesClientWithBaseURI(sdkApi sdkEnv.Api) (*RegistriesClient, error) + func (c RegistriesClient) GetBuildSourceUploadURL(ctx context.Context, id RegistryId) (result GetBuildSourceUploadURLOperationResponse, err error) + func (c RegistriesClient) ScheduleRun(ctx context.Context, id RegistryId, input RunRequest) (result ScheduleRunOperationResponse, err error) + func (c RegistriesClient) ScheduleRunThenPoll(ctx context.Context, id RegistryId, input RunRequest) error + type RegistryId struct + RegistryName string + ResourceGroupName string + SubscriptionId string + func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId + func ParseRegistryID(input string) (*RegistryId, error) + func ParseRegistryIDInsensitively(input string) (*RegistryId, error) + func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error + func (id RegistryId) ID() string + func (id RegistryId) Segments() []resourceids.Segment + func (id RegistryId) String() string + type Run struct + Id *string + Name *string + Properties *RunProperties + SystemData *systemdata.SystemData + Type *string + type RunProperties struct + AgentConfiguration *AgentProperties + AgentPoolName *string + CreateTime *string + CustomRegistries *[]string + FinishTime *string + ImageUpdateTrigger *ImageUpdateTrigger + IsArchiveEnabled *bool + LastUpdatedTime *string + LogArtifact *ImageDescriptor + OutputImages *[]ImageDescriptor + Platform *PlatformProperties + ProvisioningState *ProvisioningState + RunErrorMessage *string + RunId *string + RunType *RunType + SourceRegistryAuth *string + SourceTrigger *SourceTriggerDescriptor + StartTime *string + Status *RunStatus + Task *string + TimerTrigger *TimerTriggerDescriptor + UpdateTriggerToken *string + func (o *RunProperties) GetCreateTimeAsTime() (*time.Time, error) + func (o *RunProperties) GetFinishTimeAsTime() (*time.Time, error) + func (o *RunProperties) GetLastUpdatedTimeAsTime() (*time.Time, error) + func (o *RunProperties) GetStartTimeAsTime() (*time.Time, error) + func (o *RunProperties) SetCreateTimeAsTime(input time.Time) + func (o *RunProperties) SetFinishTimeAsTime(input time.Time) + func (o *RunProperties) SetLastUpdatedTimeAsTime(input time.Time) + func (o *RunProperties) SetStartTimeAsTime(input time.Time) + type RunRequest interface + RunRequest func() BaseRunRequestImpl + func UnmarshalRunRequestImplementation(input []byte) (RunRequest, error) + type RunStatus string + const RunStatusCanceled + const RunStatusError + const RunStatusFailed + const RunStatusQueued + const RunStatusRunning + const RunStatusStarted + const RunStatusSucceeded + const RunStatusTimeout + func (s *RunStatus) UnmarshalJSON(bytes []byte) error + type RunType string + const RunTypeAutoBuild + const RunTypeAutoRun + const RunTypeQuickBuild + const RunTypeQuickRun + func (s *RunType) UnmarshalJSON(bytes []byte) error + type ScheduleRunOperationResponse struct + HttpResponse *http.Response + Model *Run + OData *odata.OData + Poller pollers.Poller + type SecretObject struct + Type *SecretObjectType + Value *string + type SecretObjectType string + const SecretObjectTypeOpaque + const SecretObjectTypeVaultsecret + func (s *SecretObjectType) UnmarshalJSON(bytes []byte) error + type SetValue struct + IsSecret *bool + Name string + Value string + type SourceRegistryCredentials struct + LoginMode *SourceRegistryLoginMode + type SourceRegistryLoginMode string + const SourceRegistryLoginModeDefault + const SourceRegistryLoginModeNone + func (s *SourceRegistryLoginMode) UnmarshalJSON(bytes []byte) error + type SourceTriggerDescriptor struct + BranchName *string + CommitId *string + EventType *string + Id *string + ProviderType *string + PullRequestId *string + RepositoryURL *string + type SourceUploadDefinition struct + RelativePath *string + UploadURL *string + type TaskRunRequest struct + AgentPoolName *string + IsArchiveEnabled *bool + LogTemplate *string + OverrideTaskStepProperties *OverrideTaskStepProperties + TaskId string + Type string + func (s TaskRunRequest) MarshalJSON() ([]byte, error) + func (s TaskRunRequest) RunRequest() BaseRunRequestImpl + type TimerTriggerDescriptor struct + ScheduleOccurrence *string + TimerTriggerName *string + type Variant string + const VariantVEight + const VariantVSeven + const VariantVSix + func (s *Variant) UnmarshalJSON(bytes []byte) error