Documentation ¶
Index ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type Connection
- type ConnectionClient
- func (c ConnectionClient) CreateOrUpdate(ctx context.Context, id ConnectionId, input ConnectionCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c ConnectionClient) Delete(ctx context.Context, id ConnectionId) (result DeleteOperationResponse, err error)
- func (c ConnectionClient) Get(ctx context.Context, id ConnectionId) (result GetOperationResponse, err error)
- func (c ConnectionClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
- func (c ConnectionClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
- func (c ConnectionClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c ConnectionClient) Update(ctx context.Context, id ConnectionId, input ConnectionUpdateParameters) (result UpdateOperationResponse, err error)
- type ConnectionCreateOrUpdateParameters
- type ConnectionCreateOrUpdateProperties
- type ConnectionId
- type ConnectionOperationPredicate
- type ConnectionProperties
- type ConnectionTypeAssociationProperty
- type ConnectionUpdateParameters
- type ConnectionUpdateProperties
- type CreateOrUpdateOperationResponse
- 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 ValidateConnectionID ¶
ValidateConnectionID checks that 'input' can be parsed as a Connection 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) 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 Connection ¶
type Connection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ConnectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ConnectionClient ¶
type ConnectionClient struct {
Client *resourcemanager.Client
}
func NewConnectionClientWithBaseURI ¶
func NewConnectionClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectionClient, error)
func (ConnectionClient) CreateOrUpdate ¶
func (c ConnectionClient) CreateOrUpdate(ctx context.Context, id ConnectionId, input ConnectionCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ConnectionClient) Delete ¶
func (c ConnectionClient) Delete(ctx context.Context, id ConnectionId) (result DeleteOperationResponse, err error)
Delete ...
func (ConnectionClient) Get ¶
func (c ConnectionClient) Get(ctx context.Context, id ConnectionId) (result GetOperationResponse, err error)
Get ...
func (ConnectionClient) ListByAutomationAccount ¶
func (c ConnectionClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (ConnectionClient) ListByAutomationAccountComplete ¶
func (c ConnectionClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (ConnectionClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c ConnectionClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, predicate ConnectionOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ConnectionClient) Update ¶
func (c ConnectionClient) Update(ctx context.Context, id ConnectionId, input ConnectionUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type ConnectionCreateOrUpdateParameters ¶
type ConnectionCreateOrUpdateParameters struct { Name string `json:"name"` Properties ConnectionCreateOrUpdateProperties `json:"properties"` }
type ConnectionCreateOrUpdateProperties ¶
type ConnectionCreateOrUpdateProperties struct { ConnectionType ConnectionTypeAssociationProperty `json:"connectionType"` Description *string `json:"description,omitempty"` FieldDefinitionValues *map[string]string `json:"fieldDefinitionValues,omitempty"` }
type ConnectionId ¶
type ConnectionId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string ConnectionName string }
ConnectionId is a struct representing the Resource ID for a Connection
func NewConnectionID ¶
func NewConnectionID(subscriptionId string, resourceGroupName string, automationAccountName string, connectionName string) ConnectionId
NewConnectionID returns a new ConnectionId struct
func ParseConnectionID ¶
func ParseConnectionID(input string) (*ConnectionId, error)
ParseConnectionID parses 'input' into a ConnectionId
func ParseConnectionIDInsensitively ¶
func ParseConnectionIDInsensitively(input string) (*ConnectionId, error)
ParseConnectionIDInsensitively parses 'input' case-insensitively into a ConnectionId note: this method should only be used for API response data and not user input
func (ConnectionId) Segments ¶
func (id ConnectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Connection ID
func (ConnectionId) String ¶
func (id ConnectionId) String() string
String returns a human-readable description of this Connection ID
type ConnectionOperationPredicate ¶
func (ConnectionOperationPredicate) Matches ¶
func (p ConnectionOperationPredicate) Matches(input Connection) bool
type ConnectionProperties ¶
type ConnectionProperties struct { ConnectionType *ConnectionTypeAssociationProperty `json:"connectionType,omitempty"` CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` FieldDefinitionValues *map[string]string `json:"fieldDefinitionValues,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` }
func (*ConnectionProperties) GetCreationTimeAsTime ¶
func (o *ConnectionProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ConnectionProperties) GetLastModifiedTimeAsTime ¶
func (o *ConnectionProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*ConnectionProperties) SetCreationTimeAsTime ¶
func (o *ConnectionProperties) SetCreationTimeAsTime(input time.Time)
func (*ConnectionProperties) SetLastModifiedTimeAsTime ¶
func (o *ConnectionProperties) SetLastModifiedTimeAsTime(input time.Time)
type ConnectionTypeAssociationProperty ¶
type ConnectionTypeAssociationProperty struct {
Name *string `json:"name,omitempty"`
}
type ConnectionUpdateParameters ¶
type ConnectionUpdateParameters struct { Name *string `json:"name,omitempty"` Properties *ConnectionUpdateProperties `json:"properties,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Connection }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Connection }
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []Connection
}
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Connection }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Connection }
Source Files ¶
- client.go
- id_automationaccount.go
- id_connection.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_connection.go
- model_connectioncreateorupdateparameters.go
- model_connectioncreateorupdateproperties.go
- model_connectionproperties.go
- model_connectiontypeassociationproperty.go
- model_connectionupdateparameters.go
- model_connectionupdateproperties.go
- predicates.go
- version.go