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 PossibleValuesForSourceType() []string + func PossibleValuesForTokenType() []string + func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateSourceControlID(input interface{}, key string) (warnings []string, errors []error) + type AutomationAccountId struct + AutomationAccountName string + ResourceGroupName string + SubscriptionId string + func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId + func ParseAutomationAccountID(input string) (*AutomationAccountId, error) + func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error) + func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error + func (id AutomationAccountId) ID() string + func (id AutomationAccountId) Segments() []resourceids.Segment + func (id AutomationAccountId) String() string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *SourceControl + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *SourceControl + OData *odata.OData + type ListByAutomationAccountCompleteResult struct + Items []SourceControl + LatestHttpResponse *http.Response + type ListByAutomationAccountCustomPager struct + NextLink *odata.Link + func (p *ListByAutomationAccountCustomPager) NextPageLink() *odata.Link + type ListByAutomationAccountOperationOptions struct + Filter *string + func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions + func (o ListByAutomationAccountOperationOptions) ToHeaders() *client.Headers + func (o ListByAutomationAccountOperationOptions) ToOData() *odata.Query + func (o ListByAutomationAccountOperationOptions) ToQuery() *client.QueryParams + type ListByAutomationAccountOperationResponse struct + HttpResponse *http.Response + Model *[]SourceControl + OData *odata.OData + type SourceControl struct + Id *string + Name *string + Properties *SourceControlProperties + Type *string + type SourceControlClient struct + Client *resourcemanager.Client + func NewSourceControlClientWithBaseURI(sdkApi sdkEnv.Api) (*SourceControlClient, error) + func (c SourceControlClient) CreateOrUpdate(ctx context.Context, id SourceControlId, ...) (result CreateOrUpdateOperationResponse, err error) + func (c SourceControlClient) Delete(ctx context.Context, id SourceControlId) (result DeleteOperationResponse, err error) + func (c SourceControlClient) Get(ctx context.Context, id SourceControlId) (result GetOperationResponse, err error) + func (c SourceControlClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountOperationResponse, err error) + func (c SourceControlClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error) + func (c SourceControlClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error) + func (c SourceControlClient) Update(ctx context.Context, id SourceControlId, input SourceControlUpdateParameters) (result UpdateOperationResponse, err error) + type SourceControlCreateOrUpdateParameters struct + Properties SourceControlCreateOrUpdateProperties + type SourceControlCreateOrUpdateProperties struct + AutoSync *bool + Branch *string + Description *string + FolderPath *string + PublishRunbook *bool + RepoURL *string + SecurityToken *SourceControlSecurityTokenProperties + SourceType *SourceType + type SourceControlId struct + AutomationAccountName string + ResourceGroupName string + SourceControlName string + SubscriptionId string + func NewSourceControlID(subscriptionId string, resourceGroupName string, automationAccountName string, ...) SourceControlId + func ParseSourceControlID(input string) (*SourceControlId, error) + func ParseSourceControlIDInsensitively(input string) (*SourceControlId, error) + func (id *SourceControlId) FromParseResult(input resourceids.ParseResult) error + func (id SourceControlId) ID() string + func (id SourceControlId) Segments() []resourceids.Segment + func (id SourceControlId) String() string + type SourceControlOperationPredicate struct + Id *string + Name *string + Type *string + func (p SourceControlOperationPredicate) Matches(input SourceControl) bool + type SourceControlProperties struct + AutoSync *bool + Branch *string + CreationTime *string + Description *string + FolderPath *string + LastModifiedTime *string + PublishRunbook *bool + RepoURL *string + SourceType *SourceType + func (o *SourceControlProperties) GetCreationTimeAsTime() (*time.Time, error) + func (o *SourceControlProperties) GetLastModifiedTimeAsTime() (*time.Time, error) + func (o *SourceControlProperties) SetCreationTimeAsTime(input time.Time) + func (o *SourceControlProperties) SetLastModifiedTimeAsTime(input time.Time) + type SourceControlSecurityTokenProperties struct + AccessToken *string + RefreshToken *string + TokenType *TokenType + type SourceControlUpdateParameters struct + Properties *SourceControlUpdateProperties + type SourceControlUpdateProperties struct + AutoSync *bool + Branch *string + Description *string + FolderPath *string + PublishRunbook *bool + SecurityToken *SourceControlSecurityTokenProperties + type SourceType string + const SourceTypeGitHub + const SourceTypeVsoGit + const SourceTypeVsoTfvc + func (s *SourceType) UnmarshalJSON(bytes []byte) error + type TokenType string + const TokenTypeOauth + const TokenTypePersonalAccessToken + func (s *TokenType) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *SourceControl + OData *odata.OData