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) (result ListOperationResponse, err error)
- func (c AutomationAccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result 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, ...) (result 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, ...) (result 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 *resourcemanager.Client
}
func NewAutomationAccountClientWithBaseURI ¶
func NewAutomationAccountClientWithBaseURI(sdkApi sdkEnv.Api) (*AutomationAccountClient, error)
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) (result ListOperationResponse, err error)
List ...
func (AutomationAccountClient) ListByResourceGroup ¶
func (c AutomationAccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AutomationAccountClient) ListByResourceGroupComplete ¶
func (c AutomationAccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AutomationAccountClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AutomationAccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AutomationAccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AutomationAccountClient) ListComplete ¶
func (c AutomationAccountClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AutomationAccountClient) ListCompleteMatchingPredicate ¶
func (c AutomationAccountClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AutomationAccountOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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 ¶
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" )
func (*AutomationAccountState) UnmarshalJSON ¶ added in v0.20240209.1164150
func (s *AutomationAccountState) UnmarshalJSON(bytes []byte) error
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 OData *odata.OData Model *AutomationAccount }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutomationAccount }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []AutomationAccount }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AutomationAccount }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []AutomationAccount }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AutomationAccount }
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" )
func (*SkuNameEnum) UnmarshalJSON ¶ added in v0.20240209.1164150
func (s *SkuNameEnum) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutomationAccount }
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.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