Documentation ¶
Index ¶
- func PossibleValuesForLinkState() []string
- func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error)
- type ApiConnectionDefinition
- type ApiConnectionDefinitionCollection
- type ApiConnectionDefinitionProperties
- func (o *ApiConnectionDefinitionProperties) GetChangedTimeAsTime() (*time.Time, error)
- func (o *ApiConnectionDefinitionProperties) GetCreatedTimeAsTime() (*time.Time, error)
- func (o *ApiConnectionDefinitionProperties) SetChangedTimeAsTime(input time.Time)
- func (o *ApiConnectionDefinitionProperties) SetCreatedTimeAsTime(input time.Time)
- type ApiConnectionTestLink
- type ApiReference
- type ConfirmConsentCodeDefinition
- type ConfirmConsentCodeOperationResponse
- type ConnectionError
- type ConnectionErrorProperties
- type ConnectionId
- type ConnectionStatusDefinition
- type ConnectionsClient
- func (c ConnectionsClient) ConfirmConsentCode(ctx context.Context, id ConnectionId, input ConfirmConsentCodeDefinition) (result ConfirmConsentCodeOperationResponse, err error)
- func (c ConnectionsClient) CreateOrUpdate(ctx context.Context, id ConnectionId, input ApiConnectionDefinition) (result CreateOrUpdateOperationResponse, err error)
- func (c ConnectionsClient) Delete(ctx context.Context, id ConnectionId) (result DeleteOperationResponse, err error)
- func (c ConnectionsClient) Get(ctx context.Context, id ConnectionId) (result GetOperationResponse, err error)
- func (c ConnectionsClient) List(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListOperationResponse, err error)
- func (c ConnectionsClient) ListConsentLinks(ctx context.Context, id ConnectionId, input ListConsentLinksDefinition) (result ListConsentLinksOperationResponse, err error)
- func (c ConnectionsClient) Update(ctx context.Context, id ConnectionId, input ApiConnectionDefinition) (result UpdateOperationResponse, err error)
- type ConsentLinkCollection
- type ConsentLinkDefinition
- type ConsentLinkParameterDefinition
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type LinkState
- type ListConsentLinksDefinition
- type ListConsentLinksOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLinkState ¶
func PossibleValuesForLinkState() []string
func ValidateConnectionID ¶
ValidateConnectionID checks that 'input' can be parsed as a Connection ID
Types ¶
type ApiConnectionDefinition ¶
type ApiConnectionDefinition struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ApiConnectionDefinitionProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApiConnectionDefinitionCollection ¶
type ApiConnectionDefinitionCollection struct {
Value *[]ApiConnectionDefinition `json:"value,omitempty"`
}
type ApiConnectionDefinitionProperties ¶
type ApiConnectionDefinitionProperties struct { Api *ApiReference `json:"api,omitempty"` ChangedTime *string `json:"changedTime,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` CustomParameterValues *map[string]string `json:"customParameterValues,omitempty"` DisplayName *string `json:"displayName,omitempty"` NonSecretParameterValues *map[string]string `json:"nonSecretParameterValues,omitempty"` ParameterValues *map[string]string `json:"parameterValues,omitempty"` Statuses *[]ConnectionStatusDefinition `json:"statuses,omitempty"` TestLinks *[]ApiConnectionTestLink `json:"testLinks,omitempty"` }
func (*ApiConnectionDefinitionProperties) GetChangedTimeAsTime ¶
func (o *ApiConnectionDefinitionProperties) GetChangedTimeAsTime() (*time.Time, error)
func (*ApiConnectionDefinitionProperties) GetCreatedTimeAsTime ¶
func (o *ApiConnectionDefinitionProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*ApiConnectionDefinitionProperties) SetChangedTimeAsTime ¶
func (o *ApiConnectionDefinitionProperties) SetChangedTimeAsTime(input time.Time)
func (*ApiConnectionDefinitionProperties) SetCreatedTimeAsTime ¶
func (o *ApiConnectionDefinitionProperties) SetCreatedTimeAsTime(input time.Time)
type ApiConnectionTestLink ¶
type ApiReference ¶
type ApiReference struct { BrandColor *string `json:"brandColor,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IconUri *string `json:"iconUri,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Swagger *interface{} `json:"swagger,omitempty"` Type *string `json:"type,omitempty"` }
type ConfirmConsentCodeOperationResponse ¶
type ConfirmConsentCodeOperationResponse struct { HttpResponse *http.Response Model *ConfirmConsentCodeDefinition }
type ConnectionError ¶
type ConnectionError struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ConnectionErrorProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ConnectionId ¶
ConnectionId is a struct representing the Resource ID for a Connection
func NewConnectionID ¶
func NewConnectionID(subscriptionId string, resourceGroupName 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 ConnectionStatusDefinition ¶
type ConnectionStatusDefinition struct { Error *ConnectionError `json:"error,omitempty"` Status *string `json:"status,omitempty"` Target *string `json:"target,omitempty"` }
type ConnectionsClient ¶
func NewConnectionsClientWithBaseURI ¶
func NewConnectionsClientWithBaseURI(endpoint string) ConnectionsClient
func (ConnectionsClient) ConfirmConsentCode ¶
func (c ConnectionsClient) ConfirmConsentCode(ctx context.Context, id ConnectionId, input ConfirmConsentCodeDefinition) (result ConfirmConsentCodeOperationResponse, err error)
ConfirmConsentCode ...
func (ConnectionsClient) CreateOrUpdate ¶
func (c ConnectionsClient) CreateOrUpdate(ctx context.Context, id ConnectionId, input ApiConnectionDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ConnectionsClient) Delete ¶
func (c ConnectionsClient) Delete(ctx context.Context, id ConnectionId) (result DeleteOperationResponse, err error)
Delete ...
func (ConnectionsClient) Get ¶
func (c ConnectionsClient) Get(ctx context.Context, id ConnectionId) (result GetOperationResponse, err error)
Get ...
func (ConnectionsClient) List ¶
func (c ConnectionsClient) List(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ConnectionsClient) ListConsentLinks ¶
func (c ConnectionsClient) ListConsentLinks(ctx context.Context, id ConnectionId, input ListConsentLinksDefinition) (result ListConsentLinksOperationResponse, err error)
ListConsentLinks ...
func (ConnectionsClient) Update ¶
func (c ConnectionsClient) Update(ctx context.Context, id ConnectionId, input ApiConnectionDefinition) (result UpdateOperationResponse, err error)
Update ...
type ConsentLinkCollection ¶
type ConsentLinkCollection struct {
Value *[]ConsentLinkDefinition `json:"value,omitempty"`
}
type ConsentLinkDefinition ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ApiConnectionDefinition }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ApiConnectionDefinition }
type ListConsentLinksDefinition ¶
type ListConsentLinksDefinition struct {
Parameters *[]ConsentLinkParameterDefinition `json:"parameters,omitempty"`
}
type ListConsentLinksOperationResponse ¶
type ListConsentLinksOperationResponse struct { HttpResponse *http.Response Model *ConsentLinkCollection }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *ApiConnectionDefinitionCollection }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *ApiConnectionDefinition }
Source Files ¶
- client.go
- constants.go
- id_connection.go
- method_confirmconsentcode_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listconsentlinks_autorest.go
- method_update_autorest.go
- model_apiconnectiondefinition.go
- model_apiconnectiondefinitioncollection.go
- model_apiconnectiondefinitionproperties.go
- model_apiconnectiontestlink.go
- model_apireference.go
- model_confirmconsentcodedefinition.go
- model_connectionerror.go
- model_connectionerrorproperties.go
- model_connectionstatusdefinition.go
- model_consentlinkcollection.go
- model_consentlinkdefinition.go
- model_consentlinkparameterdefinition.go
- model_listconsentlinksdefinition.go
- version.go