Documentation ¶
Index ¶
- func PossibleValuesForAutomationAccountState() []string
- func PossibleValuesForEncryptionKeySourceType() []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 EncryptionKeySourceType
- type EncryptionProperties
- type EncryptionPropertiesIdentity
- type GetOperationResponse
- type KeyVaultProperties
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointProperty
- type PrivateLinkServiceConnectionStateProperty
- type Sku
- type SkuNameEnum
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutomationAccountState ¶
func PossibleValuesForAutomationAccountState() []string
func PossibleValuesForEncryptionKeySourceType ¶
func PossibleValuesForEncryptionKeySourceType() []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"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AutomationAccountProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,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(api environments.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 { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` 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 { DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` Encryption *EncryptionProperties `json:"encryption,omitempty"` PublicNetworkAccess *bool `json:"publicNetworkAccess,omitempty"` 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) 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 { AutomationHybridServiceUrl *string `json:"automationHybridServiceUrl,omitempty"` CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` Encryption *EncryptionProperties `json:"encryption,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` PublicNetworkAccess *bool `json:"publicNetworkAccess,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 { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` 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 { DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` Encryption *EncryptionProperties `json:"encryption,omitempty"` PublicNetworkAccess *bool `json:"publicNetworkAccess,omitempty"` Sku *Sku `json:"sku,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutomationAccount }
type DeleteOperationResponse ¶
type EncryptionKeySourceType ¶
type EncryptionKeySourceType string
const ( EncryptionKeySourceTypeMicrosoftPointAutomation EncryptionKeySourceType = "Microsoft.Automation" EncryptionKeySourceTypeMicrosoftPointKeyvault EncryptionKeySourceType = "Microsoft.Keyvault" )
type EncryptionProperties ¶
type EncryptionProperties struct { Identity *EncryptionPropertiesIdentity `json:"identity,omitempty"` KeySource *EncryptionKeySourceType `json:"keySource,omitempty"` KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` }
type EncryptionPropertiesIdentity ¶
type EncryptionPropertiesIdentity struct {
UserAssignedIdentity *interface{} `json:"userAssignedIdentity,omitempty"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutomationAccount }
type KeyVaultProperties ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []AutomationAccount
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AutomationAccount }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []AutomationAccount
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AutomationAccount }
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` }
type PrivateEndpointProperty ¶
type PrivateEndpointProperty struct {
Id *string `json:"id,omitempty"`
}
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 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_encryptionproperties.go
- model_encryptionpropertiesidentity.go
- model_keyvaultproperties.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privateendpointproperty.go
- model_privatelinkserviceconnectionstateproperty.go
- model_sku.go
- predicates.go
- version.go