Documentation ¶
Index ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVariableID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationResponse
- type UpdateOperationResponse
- type Variable
- type VariableClient
- func (c VariableClient) CreateOrUpdate(ctx context.Context, id VariableId, input VariableCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c VariableClient) Delete(ctx context.Context, id VariableId) (result DeleteOperationResponse, err error)
- func (c VariableClient) Get(ctx context.Context, id VariableId) (result GetOperationResponse, err error)
- func (c VariableClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
- func (c VariableClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
- func (c VariableClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c VariableClient) Update(ctx context.Context, id VariableId, input VariableUpdateParameters) (result UpdateOperationResponse, err error)
- type VariableCreateOrUpdateParameters
- type VariableCreateOrUpdateProperties
- type VariableId
- type VariableOperationPredicate
- type VariableProperties
- type VariableUpdateParameters
- type VariableUpdateProperties
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 ValidateVariableID ¶
ValidateVariableID checks that 'input' can be parsed as a Variable 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 ¶
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type UpdateOperationResponse ¶
type Variable ¶
type Variable struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VariableProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VariableClient ¶
type VariableClient struct {
Client *resourcemanager.Client
}
func NewVariableClientWithBaseURI ¶
func NewVariableClientWithBaseURI(sdkApi sdkEnv.Api) (*VariableClient, error)
func (VariableClient) CreateOrUpdate ¶
func (c VariableClient) CreateOrUpdate(ctx context.Context, id VariableId, input VariableCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VariableClient) Delete ¶
func (c VariableClient) Delete(ctx context.Context, id VariableId) (result DeleteOperationResponse, err error)
Delete ...
func (VariableClient) Get ¶
func (c VariableClient) Get(ctx context.Context, id VariableId) (result GetOperationResponse, err error)
Get ...
func (VariableClient) ListByAutomationAccount ¶
func (c VariableClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (VariableClient) ListByAutomationAccountComplete ¶
func (c VariableClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (VariableClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c VariableClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, predicate VariableOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VariableClient) Update ¶
func (c VariableClient) Update(ctx context.Context, id VariableId, input VariableUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type VariableCreateOrUpdateParameters ¶
type VariableCreateOrUpdateParameters struct { Name string `json:"name"` Properties VariableCreateOrUpdateProperties `json:"properties"` }
type VariableId ¶
type VariableId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string VariableName string }
VariableId is a struct representing the Resource ID for a Variable
func NewVariableID ¶
func NewVariableID(subscriptionId string, resourceGroupName string, automationAccountName string, variableName string) VariableId
NewVariableID returns a new VariableId struct
func ParseVariableID ¶
func ParseVariableID(input string) (*VariableId, error)
ParseVariableID parses 'input' into a VariableId
func ParseVariableIDInsensitively ¶
func ParseVariableIDInsensitively(input string) (*VariableId, error)
ParseVariableIDInsensitively parses 'input' case-insensitively into a VariableId note: this method should only be used for API response data and not user input
func (*VariableId) FromParseResult ¶
func (id *VariableId) FromParseResult(input resourceids.ParseResult) error
func (VariableId) Segments ¶
func (id VariableId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Variable ID
func (VariableId) String ¶
func (id VariableId) String() string
String returns a human-readable description of this Variable ID
type VariableOperationPredicate ¶
func (VariableOperationPredicate) Matches ¶
func (p VariableOperationPredicate) Matches(input Variable) bool
type VariableProperties ¶
type VariableProperties struct { CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` IsEncrypted *bool `json:"isEncrypted,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` Value *string `json:"value,omitempty"` }
func (*VariableProperties) GetCreationTimeAsTime ¶
func (o *VariableProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*VariableProperties) GetLastModifiedTimeAsTime ¶
func (o *VariableProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*VariableProperties) SetCreationTimeAsTime ¶
func (o *VariableProperties) SetCreationTimeAsTime(input time.Time)
func (*VariableProperties) SetLastModifiedTimeAsTime ¶
func (o *VariableProperties) SetLastModifiedTimeAsTime(input time.Time)
type VariableUpdateParameters ¶
type VariableUpdateParameters struct { Name *string `json:"name,omitempty"` Properties *VariableUpdateProperties `json:"properties,omitempty"` }
Source Files ¶
- client.go
- id_automationaccount.go
- id_variable.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_variable.go
- model_variablecreateorupdateparameters.go
- model_variablecreateorupdateproperties.go
- model_variableproperties.go
- model_variableupdateparameters.go
- model_variableupdateproperties.go
- predicates.go
- version.go