Documentation ¶
Index ¶
- func PossibleValuesForAutomationAccountState() []string
- func PossibleValuesForSkuNameEnum() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccount
- type AutomationAccountClient
- func (c AutomationAccountClient) CreateOrUpdate(ctx context.Context, id AutomationAccountId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AutomationAccountClient) Delete(ctx context.Context, id AutomationAccountId) (result DeleteOperationResponse, err error)
- func (c AutomationAccountClient) Get(ctx context.Context, id AutomationAccountId) (result GetOperationResponse, err error)
- func (c AutomationAccountClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c AutomationAccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c AutomationAccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AutomationAccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c AutomationAccountClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c AutomationAccountClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c AutomationAccountClient) Update(ctx context.Context, id AutomationAccountId, ...) (result UpdateOperationResponse, err error)
- type AutomationAccountCreateOrUpdateParameters
- type AutomationAccountCreateOrUpdateProperties
- type AutomationAccountId
- type AutomationAccountOperationPredicate
- type AutomationAccountProperties
- func (o *AutomationAccountProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *AutomationAccountProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *AutomationAccountProperties) SetCreationTimeAsTime(input time.Time)
- func (o *AutomationAccountProperties) SetLastModifiedTimeAsTime(input time.Time)
- type AutomationAccountState
- type AutomationAccountUpdateParameters
- type AutomationAccountUpdateProperties
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type Sku
- type SkuNameEnum
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutomationAccountState ¶
func PossibleValuesForAutomationAccountState() []string
func PossibleValuesForSkuNameEnum ¶
func PossibleValuesForSkuNameEnum() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
Types ¶
type AutomationAccount ¶
type AutomationAccount struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AutomationAccountProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AutomationAccountClient ¶
type AutomationAccountClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAutomationAccountClientWithBaseURI ¶
func NewAutomationAccountClientWithBaseURI(endpoint string) AutomationAccountClient
func (AutomationAccountClient) CreateOrUpdate ¶
func (c AutomationAccountClient) CreateOrUpdate(ctx context.Context, id AutomationAccountId, input AutomationAccountCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AutomationAccountClient) Delete ¶
func (c AutomationAccountClient) Delete(ctx context.Context, id AutomationAccountId) (result DeleteOperationResponse, err error)
Delete ...
func (AutomationAccountClient) Get ¶
func (c AutomationAccountClient) Get(ctx context.Context, id AutomationAccountId) (result GetOperationResponse, err error)
Get ...
func (AutomationAccountClient) List ¶
func (c AutomationAccountClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (AutomationAccountClient) ListByResourceGroup ¶
func (c AutomationAccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AutomationAccountClient) ListByResourceGroupComplete ¶
func (c AutomationAccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (AutomationAccountClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AutomationAccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AutomationAccountOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AutomationAccountClient) ListComplete ¶
func (c AutomationAccountClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AutomationAccountClient) ListCompleteMatchingPredicate ¶
func (c AutomationAccountClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AutomationAccountOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AutomationAccountClient) Update ¶
func (c AutomationAccountClient) Update(ctx context.Context, id AutomationAccountId, input AutomationAccountUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type AutomationAccountCreateOrUpdateParameters ¶
type AutomationAccountCreateOrUpdateParameters struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AutomationAccountCreateOrUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AutomationAccountCreateOrUpdateProperties ¶
type AutomationAccountCreateOrUpdateProperties struct {
Sku *Sku `json:"sku,omitempty"`
}
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 AutomationAccountOperationPredicate ¶
type AutomationAccountOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (AutomationAccountOperationPredicate) Matches ¶
func (p AutomationAccountOperationPredicate) Matches(input AutomationAccount) bool
type AutomationAccountProperties ¶
type AutomationAccountProperties struct { CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` Sku *Sku `json:"sku,omitempty"` State *AutomationAccountState `json:"state,omitempty"` }
func (*AutomationAccountProperties) GetCreationTimeAsTime ¶
func (o *AutomationAccountProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*AutomationAccountProperties) GetLastModifiedTimeAsTime ¶
func (o *AutomationAccountProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*AutomationAccountProperties) SetCreationTimeAsTime ¶
func (o *AutomationAccountProperties) SetCreationTimeAsTime(input time.Time)
func (*AutomationAccountProperties) SetLastModifiedTimeAsTime ¶
func (o *AutomationAccountProperties) SetLastModifiedTimeAsTime(input time.Time)
type AutomationAccountState ¶
type AutomationAccountState string
const ( AutomationAccountStateOk AutomationAccountState = "Ok" AutomationAccountStateSuspended AutomationAccountState = "Suspended" )
type AutomationAccountUpdateParameters ¶
type AutomationAccountUpdateParameters struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AutomationAccountUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AutomationAccountUpdateProperties ¶
type AutomationAccountUpdateProperties struct {
Sku *Sku `json:"sku,omitempty"`
}
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *AutomationAccount }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *AutomationAccount }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []AutomationAccount
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]AutomationAccount // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []AutomationAccount
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]AutomationAccount // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Sku ¶
type Sku struct { Capacity *int64 `json:"capacity,omitempty"` Family *string `json:"family,omitempty"` Name SkuNameEnum `json:"name"` }
type SkuNameEnum ¶
type SkuNameEnum string
const ( SkuNameEnumBasic SkuNameEnum = "Basic" SkuNameEnumFree SkuNameEnum = "Free" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *AutomationAccount }
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_update_autorest.go
- model_automationaccount.go
- model_automationaccountcreateorupdateparameters.go
- model_automationaccountcreateorupdateproperties.go
- model_automationaccountproperties.go
- model_automationaccountupdateparameters.go
- model_automationaccountupdateproperties.go
- model_sku.go
- predicates.go
- version.go