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, ...) (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
- 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 OData *odata.OData Model *SourceControl }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SourceControl }
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []SourceControl
}
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct {
Filter *string
}
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
func (ListByAutomationAccountOperationOptions) ToHeaders ¶ added in v0.20230216.1112329
func (o ListByAutomationAccountOperationOptions) ToHeaders() *client.Headers
func (ListByAutomationAccountOperationOptions) ToOData ¶ added in v0.20230216.1112329
func (o ListByAutomationAccountOperationOptions) ToOData() *odata.Query
func (ListByAutomationAccountOperationOptions) ToQuery ¶ added in v0.20230216.1112329
func (o ListByAutomationAccountOperationOptions) ToQuery() *client.QueryParams
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SourceControl }
type SourceControl ¶
type SourceControl struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SourceControlProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SourceControlClient ¶
type SourceControlClient struct {
Client *resourcemanager.Client
}
func NewSourceControlClientWithBaseURI ¶
func NewSourceControlClientWithBaseURI(api environments.Api) (*SourceControlClient, error)
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) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (SourceControlClient) ListByAutomationAccountComplete ¶
func (c SourceControlClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (SourceControlClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c SourceControlClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions, predicate SourceControlOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies 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,omitempty"` 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,omitempty"`
}
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,omitempty"` }
type SourceType ¶
type SourceType string
const ( SourceTypeGitHub SourceType = "GitHub" SourceTypeVsoGit SourceType = "VsoGit" SourceTypeVsoTfvc SourceType = "VsoTfvc" )
func (*SourceType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *SourceType) UnmarshalJSON(bytes []byte) error
type TokenType ¶
type TokenType string
func (*TokenType) UnmarshalJSON ¶ added in v0.20230406.1124617
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SourceControl }
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- id_sourcecontrol.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.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