Documentation ¶
Index ¶
- 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
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationOptions
- type ListByAutomationAccountOperationResponse
- type SourceControl
- type SourceControlClient
- 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, ...) (resp ListByAutomationAccountOperationResponse, err error)
- func (c SourceControlClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error)
- func (c SourceControlClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (resp ListByAutomationAccountCompleteResult, err error)
- func (c SourceControlClient) Update(ctx context.Context, id SourceControlId, input SourceControlUpdateParameters) (result UpdateOperationResponse, err error)
- type SourceControlCreateOrUpdateParameters
- type SourceControlCreateOrUpdateProperties
- type SourceControlId
- type SourceControlOperationPredicate
- type SourceControlProperties
- 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
- type SourceControlUpdateParameters
- type SourceControlUpdateProperties
- type SourceType
- type TokenType
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSourceType ¶
func PossibleValuesForSourceType() []string
func PossibleValuesForTokenType ¶
func PossibleValuesForTokenType() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateSourceControlID ¶
ValidateSourceControlID checks that 'input' can be parsed as a Source Control ID
Types ¶
type AutomationAccountId ¶
type AutomationAccountId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string }
AutomationAccountId is a struct representing the Resource ID for a Automation Account
func NewAutomationAccountID ¶
func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId
NewAutomationAccountID returns a new AutomationAccountId struct
func ParseAutomationAccountID ¶
func ParseAutomationAccountID(input string) (*AutomationAccountId, error)
ParseAutomationAccountID parses 'input' into a AutomationAccountId
func ParseAutomationAccountIDInsensitively ¶
func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)
ParseAutomationAccountIDInsensitively parses 'input' case-insensitively into a AutomationAccountId note: this method should only be used for API response data and not user input
func (AutomationAccountId) ID ¶
func (id AutomationAccountId) ID() string
ID returns the formatted Automation Account ID
func (AutomationAccountId) Segments ¶
func (id AutomationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Account ID
func (AutomationAccountId) String ¶
func (id AutomationAccountId) String() string
String returns a human-readable description of this Automation Account ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *SourceControl }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SourceControl }
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []SourceControl
}
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct {
Filter *string
}
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response Model *[]SourceControl // contains filtered or unexported fields }
func (ListByAutomationAccountOperationResponse) HasMore ¶
func (r ListByAutomationAccountOperationResponse) HasMore() bool
func (ListByAutomationAccountOperationResponse) LoadMore ¶
func (r ListByAutomationAccountOperationResponse) LoadMore(ctx context.Context) (resp ListByAutomationAccountOperationResponse, err error)
type SourceControl ¶
type SourceControl struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SourceControlProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type SourceControlClient ¶
type SourceControlClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSourceControlClientWithBaseURI ¶
func NewSourceControlClientWithBaseURI(endpoint string) SourceControlClient
func (SourceControlClient) CreateOrUpdate ¶
func (c SourceControlClient) CreateOrUpdate(ctx context.Context, id SourceControlId, input SourceControlCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SourceControlClient) Delete ¶
func (c SourceControlClient) Delete(ctx context.Context, id SourceControlId) (result DeleteOperationResponse, err error)
Delete ...
func (SourceControlClient) Get ¶
func (c SourceControlClient) Get(ctx context.Context, id SourceControlId) (result GetOperationResponse, err error)
Get ...
func (SourceControlClient) ListByAutomationAccount ¶
func (c SourceControlClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (resp ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (SourceControlClient) ListByAutomationAccountComplete ¶
func (c SourceControlClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all of the results into a single object
func (SourceControlClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c SourceControlClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions, predicate SourceControlOperationPredicate) (resp ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SourceControlClient) Update ¶
func (c SourceControlClient) Update(ctx context.Context, id SourceControlId, input SourceControlUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type SourceControlCreateOrUpdateParameters ¶
type SourceControlCreateOrUpdateParameters struct {
Properties SourceControlCreateOrUpdateProperties `json:"properties"`
}
type SourceControlCreateOrUpdateProperties ¶
type SourceControlCreateOrUpdateProperties struct { AutoSync *bool `json:"autoSync,omitempty"` Branch *string `json:"branch,omitempty"` Description *string `json:"description,omitempty"` FolderPath *string `json:"folderPath,omitempty"` PublishRunbook *bool `json:"publishRunbook,omitempty"` RepoUrl *string `json:"repoUrl,omitempty"` SecurityToken *SourceControlSecurityTokenProperties `json:"securityToken"` SourceType *SourceType `json:"sourceType,omitempty"` }
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) 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 SourceControlOperationPredicate ¶
func (SourceControlOperationPredicate) Matches ¶
func (p SourceControlOperationPredicate) Matches(input SourceControl) bool
type SourceControlProperties ¶
type SourceControlProperties struct { AutoSync *bool `json:"autoSync,omitempty"` Branch *string `json:"branch,omitempty"` CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` FolderPath *string `json:"folderPath,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` PublishRunbook *bool `json:"publishRunbook,omitempty"` RepoUrl *string `json:"repoUrl,omitempty"` SourceType *SourceType `json:"sourceType,omitempty"` }
func (*SourceControlProperties) GetCreationTimeAsTime ¶
func (o *SourceControlProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*SourceControlProperties) GetLastModifiedTimeAsTime ¶
func (o *SourceControlProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*SourceControlProperties) SetCreationTimeAsTime ¶
func (o *SourceControlProperties) SetCreationTimeAsTime(input time.Time)
func (*SourceControlProperties) SetLastModifiedTimeAsTime ¶
func (o *SourceControlProperties) SetLastModifiedTimeAsTime(input time.Time)
type SourceControlUpdateParameters ¶
type SourceControlUpdateParameters struct {
Properties *SourceControlUpdateProperties `json:"properties"`
}
type SourceControlUpdateProperties ¶
type SourceControlUpdateProperties struct { AutoSync *bool `json:"autoSync,omitempty"` Branch *string `json:"branch,omitempty"` Description *string `json:"description,omitempty"` FolderPath *string `json:"folderPath,omitempty"` PublishRunbook *bool `json:"publishRunbook,omitempty"` SecurityToken *SourceControlSecurityTokenProperties `json:"securityToken"` }
type SourceType ¶
type SourceType string
const ( SourceTypeGitHub SourceType = "GitHub" SourceTypeVsoGit SourceType = "VsoGit" SourceTypeVsoTfvc SourceType = "VsoTfvc" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *SourceControl }
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- id_sourcecontrol.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyautomationaccount_autorest.go
- method_update_autorest.go
- model_sourcecontrol.go
- model_sourcecontrolcreateorupdateparameters.go
- model_sourcecontrolcreateorupdateproperties.go
- model_sourcecontrolproperties.go
- model_sourcecontrolsecuritytokenproperties.go
- model_sourcecontrolupdateparameters.go
- model_sourcecontrolupdateproperties.go
- predicates.go
- version.go