connections

package
v0.20220623.1111642 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForLinkState

func PossibleValuesForLinkState() []string

func ValidateConnectionID

func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error)

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 struct {
	Method     *string `json:"method,omitempty"`
	RequestUri *string `json:"requestUri,omitempty"`
}

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 ConfirmConsentCodeDefinition

type ConfirmConsentCodeDefinition struct {
	Code     *string `json:"code,omitempty"`
	ObjectId *string `json:"objectId,omitempty"`
	TenantId *string `json:"tenantId,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 ConnectionErrorProperties

type ConnectionErrorProperties struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

type ConnectionId

type ConnectionId struct {
	SubscriptionId    string
	ResourceGroupName string
	ConnectionName    string
}

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) ID

func (id ConnectionId) ID() string

ID returns the formatted Connection ID

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

type ConnectionsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewConnectionsClientWithBaseURI

func NewConnectionsClientWithBaseURI(endpoint string) ConnectionsClient

func (ConnectionsClient) ConfirmConsentCode

ConfirmConsentCode ...

func (ConnectionsClient) CreateOrUpdate

CreateOrUpdate ...

func (ConnectionsClient) Delete

Delete ...

func (ConnectionsClient) Get

Get ...

func (ConnectionsClient) List

List ...

ListConsentLinks ...

func (ConnectionsClient) Update

Update ...

type ConsentLinkCollection

type ConsentLinkCollection struct {
	Value *[]ConsentLinkDefinition `json:"value,omitempty"`
}

type ConsentLinkDefinition

type ConsentLinkDefinition struct {
	DisplayName        *string    `json:"displayName,omitempty"`
	FirstPartyLoginUri *string    `json:"firstPartyLoginUri,omitempty"`
	Link               *string    `json:"link,omitempty"`
	Status             *LinkState `json:"status,omitempty"`
}

type ConsentLinkParameterDefinition

type ConsentLinkParameterDefinition struct {
	ObjectId      *string `json:"objectId,omitempty"`
	ParameterName *string `json:"parameterName,omitempty"`
	RedirectUrl   *string `json:"redirectUrl,omitempty"`
	TenantId      *string `json:"tenantId,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *ApiConnectionDefinition
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ApiConnectionDefinition
}

type LinkState

type LinkState string
const (
	LinkStateAuthenticated   LinkState = "Authenticated"
	LinkStateError           LinkState = "Error"
	LinkStateUnauthenticated LinkState = "Unauthenticated"
)

type ListConsentLinksDefinition

type ListConsentLinksDefinition struct {
	Parameters *[]ConsentLinkParameterDefinition `json:"parameters,omitempty"`
}

type ListConsentLinksOperationResponse

type ListConsentLinksOperationResponse struct {
	HttpResponse *http.Response
	Model        *ConsentLinkCollection
}

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
	Top    *int64
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL