Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSyncType() []string
- func ValidateSourceControlID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSourceControlSyncJobID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationOptions
- type ListByAutomationAccountOperationResponse
- type ProvisioningState
- type SourceControlId
- type SourceControlSyncJob
- type SourceControlSyncJobById
- type SourceControlSyncJobByIdProperties
- func (o *SourceControlSyncJobByIdProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *SourceControlSyncJobByIdProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *SourceControlSyncJobByIdProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *SourceControlSyncJobByIdProperties) SetCreationTimeAsTime(input time.Time)
- func (o *SourceControlSyncJobByIdProperties) SetEndTimeAsTime(input time.Time)
- func (o *SourceControlSyncJobByIdProperties) SetStartTimeAsTime(input time.Time)
- type SourceControlSyncJobClient
- func (c SourceControlSyncJobClient) Create(ctx context.Context, id SourceControlSyncJobId, ...) (result CreateOperationResponse, err error)
- func (c SourceControlSyncJobClient) Get(ctx context.Context, id SourceControlSyncJobId) (result GetOperationResponse, err error)
- func (c SourceControlSyncJobClient) ListByAutomationAccount(ctx context.Context, id SourceControlId, ...) (result ListByAutomationAccountOperationResponse, err error)
- func (c SourceControlSyncJobClient) ListByAutomationAccountComplete(ctx context.Context, id SourceControlId, ...) (ListByAutomationAccountCompleteResult, error)
- func (c SourceControlSyncJobClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id SourceControlId, ...) (result ListByAutomationAccountCompleteResult, err error)
- type SourceControlSyncJobCreateParameters
- type SourceControlSyncJobCreateProperties
- type SourceControlSyncJobId
- func NewSourceControlSyncJobID(subscriptionId string, resourceGroupName string, automationAccountName string, ...) SourceControlSyncJobId
- func ParseSourceControlSyncJobID(input string) (*SourceControlSyncJobId, error)
- func ParseSourceControlSyncJobIDInsensitively(input string) (*SourceControlSyncJobId, error)
- type SourceControlSyncJobOperationPredicate
- type SourceControlSyncJobProperties
- func (o *SourceControlSyncJobProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *SourceControlSyncJobProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *SourceControlSyncJobProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *SourceControlSyncJobProperties) SetCreationTimeAsTime(input time.Time)
- func (o *SourceControlSyncJobProperties) SetEndTimeAsTime(input time.Time)
- func (o *SourceControlSyncJobProperties) SetStartTimeAsTime(input time.Time)
- type SyncType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSyncType ¶
func PossibleValuesForSyncType() []string
func ValidateSourceControlID ¶
ValidateSourceControlID checks that 'input' can be parsed as a Source Control ID
func ValidateSourceControlSyncJobID ¶
func ValidateSourceControlSyncJobID(input interface{}, key string) (warnings []string, errors []error)
ValidateSourceControlSyncJobID checks that 'input' can be parsed as a Source Control Sync Job ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SourceControlSyncJob }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SourceControlSyncJobById }
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct { LatestHttpResponse *http.Response Items []SourceControlSyncJob }
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct {
Filter *string
}
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
func (ListByAutomationAccountOperationOptions) ToHeaders ¶ added in v0.20240209.1164150
func (o ListByAutomationAccountOperationOptions) ToHeaders() *client.Headers
func (ListByAutomationAccountOperationOptions) ToOData ¶ added in v0.20240209.1164150
func (o ListByAutomationAccountOperationOptions) ToOData() *odata.Query
func (ListByAutomationAccountOperationOptions) ToQuery ¶ added in v0.20240209.1164150
func (o ListByAutomationAccountOperationOptions) ToQuery() *client.QueryParams
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SourceControlSyncJob }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCompleted ProvisioningState = "Completed" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateRunning ProvisioningState = "Running" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20240209.1164150
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SourceControlId ¶
type SourceControlId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string SourceControlName string }
SourceControlId is a struct representing the Resource ID for a Source Control
func NewSourceControlID ¶
func NewSourceControlID(subscriptionId string, resourceGroupName string, automationAccountName string, sourceControlName string) SourceControlId
NewSourceControlID returns a new SourceControlId struct
func ParseSourceControlID ¶
func ParseSourceControlID(input string) (*SourceControlId, error)
ParseSourceControlID parses 'input' into a SourceControlId
func ParseSourceControlIDInsensitively ¶
func ParseSourceControlIDInsensitively(input string) (*SourceControlId, error)
ParseSourceControlIDInsensitively parses 'input' case-insensitively into a SourceControlId note: this method should only be used for API response data and not user input
func (*SourceControlId) FromParseResult ¶
func (id *SourceControlId) FromParseResult(input resourceids.ParseResult) error
func (SourceControlId) ID ¶
func (id SourceControlId) ID() string
ID returns the formatted Source Control ID
func (SourceControlId) Segments ¶
func (id SourceControlId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Source Control ID
func (SourceControlId) String ¶
func (id SourceControlId) String() string
String returns a human-readable description of this Source Control ID
type SourceControlSyncJob ¶
type SourceControlSyncJob struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SourceControlSyncJobProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SourceControlSyncJobById ¶
type SourceControlSyncJobById struct { Id *string `json:"id,omitempty"` Properties *SourceControlSyncJobByIdProperties `json:"properties,omitempty"` }
type SourceControlSyncJobByIdProperties ¶
type SourceControlSyncJobByIdProperties struct { CreationTime *string `json:"creationTime,omitempty"` EndTime *string `json:"endTime,omitempty"` Exception *string `json:"exception,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SourceControlSyncJobId *string `json:"sourceControlSyncJobId,omitempty"` StartTime *string `json:"startTime,omitempty"` SyncType *SyncType `json:"syncType,omitempty"` }
func (*SourceControlSyncJobByIdProperties) GetCreationTimeAsTime ¶
func (o *SourceControlSyncJobByIdProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*SourceControlSyncJobByIdProperties) GetEndTimeAsTime ¶
func (o *SourceControlSyncJobByIdProperties) GetEndTimeAsTime() (*time.Time, error)
func (*SourceControlSyncJobByIdProperties) GetStartTimeAsTime ¶
func (o *SourceControlSyncJobByIdProperties) GetStartTimeAsTime() (*time.Time, error)
func (*SourceControlSyncJobByIdProperties) SetCreationTimeAsTime ¶
func (o *SourceControlSyncJobByIdProperties) SetCreationTimeAsTime(input time.Time)
func (*SourceControlSyncJobByIdProperties) SetEndTimeAsTime ¶
func (o *SourceControlSyncJobByIdProperties) SetEndTimeAsTime(input time.Time)
func (*SourceControlSyncJobByIdProperties) SetStartTimeAsTime ¶
func (o *SourceControlSyncJobByIdProperties) SetStartTimeAsTime(input time.Time)
type SourceControlSyncJobClient ¶
type SourceControlSyncJobClient struct {
Client *resourcemanager.Client
}
func NewSourceControlSyncJobClientWithBaseURI ¶
func NewSourceControlSyncJobClientWithBaseURI(sdkApi sdkEnv.Api) (*SourceControlSyncJobClient, error)
func (SourceControlSyncJobClient) Create ¶
func (c SourceControlSyncJobClient) Create(ctx context.Context, id SourceControlSyncJobId, input SourceControlSyncJobCreateParameters) (result CreateOperationResponse, err error)
Create ...
func (SourceControlSyncJobClient) Get ¶
func (c SourceControlSyncJobClient) Get(ctx context.Context, id SourceControlSyncJobId) (result GetOperationResponse, err error)
Get ...
func (SourceControlSyncJobClient) ListByAutomationAccount ¶
func (c SourceControlSyncJobClient) ListByAutomationAccount(ctx context.Context, id SourceControlId, options ListByAutomationAccountOperationOptions) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (SourceControlSyncJobClient) ListByAutomationAccountComplete ¶
func (c SourceControlSyncJobClient) ListByAutomationAccountComplete(ctx context.Context, id SourceControlId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (SourceControlSyncJobClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c SourceControlSyncJobClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id SourceControlId, options ListByAutomationAccountOperationOptions, predicate SourceControlSyncJobOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SourceControlSyncJobCreateParameters ¶
type SourceControlSyncJobCreateParameters struct {
Properties SourceControlSyncJobCreateProperties `json:"properties"`
}
type SourceControlSyncJobCreateProperties ¶
type SourceControlSyncJobCreateProperties struct {
CommitId string `json:"commitId"`
}
type SourceControlSyncJobId ¶
type SourceControlSyncJobId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string SourceControlName string SourceControlSyncJobId string }
SourceControlSyncJobId is a struct representing the Resource ID for a Source Control Sync Job
func NewSourceControlSyncJobID ¶
func NewSourceControlSyncJobID(subscriptionId string, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobId string) SourceControlSyncJobId
NewSourceControlSyncJobID returns a new SourceControlSyncJobId struct
func ParseSourceControlSyncJobID ¶
func ParseSourceControlSyncJobID(input string) (*SourceControlSyncJobId, error)
ParseSourceControlSyncJobID parses 'input' into a SourceControlSyncJobId
func ParseSourceControlSyncJobIDInsensitively ¶
func ParseSourceControlSyncJobIDInsensitively(input string) (*SourceControlSyncJobId, error)
ParseSourceControlSyncJobIDInsensitively parses 'input' case-insensitively into a SourceControlSyncJobId note: this method should only be used for API response data and not user input
func (*SourceControlSyncJobId) FromParseResult ¶
func (id *SourceControlSyncJobId) FromParseResult(input resourceids.ParseResult) error
func (SourceControlSyncJobId) ID ¶
func (id SourceControlSyncJobId) ID() string
ID returns the formatted Source Control Sync Job ID
func (SourceControlSyncJobId) Segments ¶
func (id SourceControlSyncJobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Source Control Sync Job ID
func (SourceControlSyncJobId) String ¶
func (id SourceControlSyncJobId) String() string
String returns a human-readable description of this Source Control Sync Job ID
type SourceControlSyncJobOperationPredicate ¶
func (SourceControlSyncJobOperationPredicate) Matches ¶
func (p SourceControlSyncJobOperationPredicate) Matches(input SourceControlSyncJob) bool
type SourceControlSyncJobProperties ¶
type SourceControlSyncJobProperties struct { CreationTime *string `json:"creationTime,omitempty"` EndTime *string `json:"endTime,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SourceControlSyncJobId *string `json:"sourceControlSyncJobId,omitempty"` StartTime *string `json:"startTime,omitempty"` SyncType *SyncType `json:"syncType,omitempty"` }
func (*SourceControlSyncJobProperties) GetCreationTimeAsTime ¶
func (o *SourceControlSyncJobProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*SourceControlSyncJobProperties) GetEndTimeAsTime ¶
func (o *SourceControlSyncJobProperties) GetEndTimeAsTime() (*time.Time, error)
func (*SourceControlSyncJobProperties) GetStartTimeAsTime ¶
func (o *SourceControlSyncJobProperties) GetStartTimeAsTime() (*time.Time, error)
func (*SourceControlSyncJobProperties) SetCreationTimeAsTime ¶
func (o *SourceControlSyncJobProperties) SetCreationTimeAsTime(input time.Time)
func (*SourceControlSyncJobProperties) SetEndTimeAsTime ¶
func (o *SourceControlSyncJobProperties) SetEndTimeAsTime(input time.Time)
func (*SourceControlSyncJobProperties) SetStartTimeAsTime ¶
func (o *SourceControlSyncJobProperties) SetStartTimeAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_sourcecontrol.go
- id_sourcecontrolsyncjob.go
- method_create.go
- method_get.go
- method_listbyautomationaccount.go
- model_sourcecontrolsyncjob.go
- model_sourcecontrolsyncjobbyid.go
- model_sourcecontrolsyncjobbyidproperties.go
- model_sourcecontrolsyncjobcreateparameters.go
- model_sourcecontrolsyncjobcreateproperties.go
- model_sourcecontrolsyncjobproperties.go
- predicates.go
- version.go