Documentation ¶
Index ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCredentialID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type CreateOrUpdateOperationResponse
- type Credential
- type CredentialClient
- func (c CredentialClient) CreateOrUpdate(ctx context.Context, id CredentialId, input CredentialCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c CredentialClient) Delete(ctx context.Context, id CredentialId) (result DeleteOperationResponse, err error)
- func (c CredentialClient) Get(ctx context.Context, id CredentialId) (result GetOperationResponse, err error)
- func (c CredentialClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
- func (c CredentialClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
- func (c CredentialClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c CredentialClient) Update(ctx context.Context, id CredentialId, input CredentialUpdateParameters) (result UpdateOperationResponse, err error)
- type CredentialCreateOrUpdateParameters
- type CredentialCreateOrUpdateProperties
- type CredentialId
- type CredentialOperationPredicate
- type CredentialProperties
- type CredentialUpdateParameters
- type CredentialUpdateProperties
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateCredentialID ¶
ValidateCredentialID checks that 'input' can be parsed as a Credential 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error
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 *Credential }
type Credential ¶
type Credential struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CredentialProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CredentialClient ¶
type CredentialClient struct {
Client *resourcemanager.Client
}
func NewCredentialClientWithBaseURI ¶
func NewCredentialClientWithBaseURI(sdkApi sdkEnv.Api) (*CredentialClient, error)
func (CredentialClient) CreateOrUpdate ¶
func (c CredentialClient) CreateOrUpdate(ctx context.Context, id CredentialId, input CredentialCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CredentialClient) Delete ¶
func (c CredentialClient) Delete(ctx context.Context, id CredentialId) (result DeleteOperationResponse, err error)
Delete ...
func (CredentialClient) Get ¶
func (c CredentialClient) Get(ctx context.Context, id CredentialId) (result GetOperationResponse, err error)
Get ...
func (CredentialClient) ListByAutomationAccount ¶
func (c CredentialClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (CredentialClient) ListByAutomationAccountComplete ¶
func (c CredentialClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (CredentialClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c CredentialClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, predicate CredentialOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CredentialClient) Update ¶
func (c CredentialClient) Update(ctx context.Context, id CredentialId, input CredentialUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type CredentialCreateOrUpdateParameters ¶
type CredentialCreateOrUpdateParameters struct { Name string `json:"name"` Properties CredentialCreateOrUpdateProperties `json:"properties"` }
type CredentialId ¶
type CredentialId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string CredentialName string }
CredentialId is a struct representing the Resource ID for a Credential
func NewCredentialID ¶
func NewCredentialID(subscriptionId string, resourceGroupName string, automationAccountName string, credentialName string) CredentialId
NewCredentialID returns a new CredentialId struct
func ParseCredentialID ¶
func ParseCredentialID(input string) (*CredentialId, error)
ParseCredentialID parses 'input' into a CredentialId
func ParseCredentialIDInsensitively ¶
func ParseCredentialIDInsensitively(input string) (*CredentialId, error)
ParseCredentialIDInsensitively parses 'input' case-insensitively into a CredentialId note: this method should only be used for API response data and not user input
func (*CredentialId) FromParseResult ¶ added in v0.20231127.1171502
func (id *CredentialId) FromParseResult(input resourceids.ParseResult) error
func (CredentialId) Segments ¶
func (id CredentialId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Credential ID
func (CredentialId) String ¶
func (id CredentialId) String() string
String returns a human-readable description of this Credential ID
type CredentialOperationPredicate ¶
func (CredentialOperationPredicate) Matches ¶
func (p CredentialOperationPredicate) Matches(input Credential) bool
type CredentialProperties ¶
type CredentialProperties struct { CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` UserName *string `json:"userName,omitempty"` }
func (*CredentialProperties) GetCreationTimeAsTime ¶
func (o *CredentialProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*CredentialProperties) GetLastModifiedTimeAsTime ¶
func (o *CredentialProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*CredentialProperties) SetCreationTimeAsTime ¶
func (o *CredentialProperties) SetCreationTimeAsTime(input time.Time)
func (*CredentialProperties) SetLastModifiedTimeAsTime ¶
func (o *CredentialProperties) SetLastModifiedTimeAsTime(input time.Time)
type CredentialUpdateParameters ¶
type CredentialUpdateParameters struct { Name *string `json:"name,omitempty"` Properties *CredentialUpdateProperties `json:"properties,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Credential }
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []Credential
}
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Credential }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Credential }
Source Files ¶
- client.go
- id_automationaccount.go
- id_credential.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_credential.go
- model_credentialcreateorupdateparameters.go
- model_credentialcreateorupdateproperties.go
- model_credentialproperties.go
- model_credentialupdateparameters.go
- model_credentialupdateproperties.go
- predicates.go
- version.go