Documentation ¶
Index ¶
- func PossibleValuesForConnectionAuthType() []string
- func PossibleValuesForConnectionCategory() []string
- func PossibleValuesForValueFormat() []string
- func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type ConnectionAuthType
- type ConnectionCategory
- type ConnectionId
- type ManagedIdentityAuthTypeWorkspaceConnectionProperties
- type NoneAuthTypeWorkspaceConnectionProperties
- type PATAuthTypeWorkspaceConnectionProperties
- type SASAuthTypeWorkspaceConnectionProperties
- type UsernamePasswordAuthTypeWorkspaceConnectionProperties
- type V2WorkspaceConnectionResourceClient
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsCreate(ctx context.Context, id ConnectionId, ...) (result WorkspaceConnectionsCreateOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsDelete(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsDeleteOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsGet(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsGetOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsList(ctx context.Context, id WorkspaceId, ...) (resp WorkspaceConnectionsListOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceConnectionsListCompleteResult, error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (resp WorkspaceConnectionsListCompleteResult, err error)
- type ValueFormat
- type WorkspaceConnectionManagedIdentity
- type WorkspaceConnectionPersonalAccessToken
- type WorkspaceConnectionPropertiesV2
- type WorkspaceConnectionPropertiesV2BasicResource
- type WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate
- type WorkspaceConnectionSharedAccessSignature
- type WorkspaceConnectionUsernamePassword
- type WorkspaceConnectionsCreateOperationResponse
- type WorkspaceConnectionsDeleteOperationResponse
- type WorkspaceConnectionsGetOperationResponse
- type WorkspaceConnectionsListCompleteResult
- type WorkspaceConnectionsListOperationOptions
- type WorkspaceConnectionsListOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConnectionAuthType ¶
func PossibleValuesForConnectionAuthType() []string
func PossibleValuesForConnectionCategory ¶
func PossibleValuesForConnectionCategory() []string
func PossibleValuesForValueFormat ¶
func PossibleValuesForValueFormat() []string
func ValidateConnectionID ¶
ValidateConnectionID checks that 'input' can be parsed as a Connection ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type ConnectionAuthType ¶
type ConnectionAuthType string
const ( ConnectionAuthTypeManagedIdentity ConnectionAuthType = "ManagedIdentity" ConnectionAuthTypeNone ConnectionAuthType = "None" ConnectionAuthTypePAT ConnectionAuthType = "PAT" ConnectionAuthTypeSAS ConnectionAuthType = "SAS" ConnectionAuthTypeUsernamePassword ConnectionAuthType = "UsernamePassword" )
type ConnectionCategory ¶
type ConnectionCategory string
const ( ConnectionCategoryContainerRegistry ConnectionCategory = "ContainerRegistry" ConnectionCategoryGit ConnectionCategory = "Git" ConnectionCategoryPythonFeed ConnectionCategory = "PythonFeed" )
type ConnectionId ¶
type ConnectionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ConnectionName string }
ConnectionId is a struct representing the Resource ID for a Connection
func NewConnectionID ¶
func NewConnectionID(subscriptionId string, resourceGroupName string, workspaceName 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 ManagedIdentityAuthTypeWorkspaceConnectionProperties ¶
type ManagedIdentityAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionManagedIdentity `json:"credentials"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (ManagedIdentityAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s ManagedIdentityAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
type NoneAuthTypeWorkspaceConnectionProperties ¶
type NoneAuthTypeWorkspaceConnectionProperties struct { // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (NoneAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s NoneAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
type PATAuthTypeWorkspaceConnectionProperties ¶
type PATAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionPersonalAccessToken `json:"credentials"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (PATAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s PATAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
type SASAuthTypeWorkspaceConnectionProperties ¶
type SASAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionSharedAccessSignature `json:"credentials"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (SASAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s SASAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
type UsernamePasswordAuthTypeWorkspaceConnectionProperties ¶
type UsernamePasswordAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionUsernamePassword `json:"credentials"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (UsernamePasswordAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s UsernamePasswordAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
type V2WorkspaceConnectionResourceClient ¶
type V2WorkspaceConnectionResourceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewV2WorkspaceConnectionResourceClientWithBaseURI ¶
func NewV2WorkspaceConnectionResourceClientWithBaseURI(endpoint string) V2WorkspaceConnectionResourceClient
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsCreate ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsCreate(ctx context.Context, id ConnectionId, input WorkspaceConnectionPropertiesV2BasicResource) (result WorkspaceConnectionsCreateOperationResponse, err error)
WorkspaceConnectionsCreate ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsDelete ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsDelete(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsDeleteOperationResponse, err error)
WorkspaceConnectionsDelete ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsGet ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsGet(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsGetOperationResponse, err error)
WorkspaceConnectionsGet ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsList ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsList(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions) (resp WorkspaceConnectionsListOperationResponse, err error)
WorkspaceConnectionsList ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions) (WorkspaceConnectionsListCompleteResult, error)
WorkspaceConnectionsListComplete retrieves all of the results into a single object
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions, predicate WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate) (resp WorkspaceConnectionsListCompleteResult, err error)
WorkspaceConnectionsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type WorkspaceConnectionPersonalAccessToken ¶
type WorkspaceConnectionPersonalAccessToken struct {
Pat *string `json:"pat,omitempty"`
}
type WorkspaceConnectionPropertiesV2 ¶
type WorkspaceConnectionPropertiesV2 interface { }
type WorkspaceConnectionPropertiesV2BasicResource ¶
type WorkspaceConnectionPropertiesV2BasicResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties WorkspaceConnectionPropertiesV2 `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*WorkspaceConnectionPropertiesV2BasicResource) UnmarshalJSON ¶
func (s *WorkspaceConnectionPropertiesV2BasicResource) UnmarshalJSON(bytes []byte) error
type WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate ¶
type WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate struct { Id *string Name *string Type *string }
type WorkspaceConnectionSharedAccessSignature ¶
type WorkspaceConnectionSharedAccessSignature struct {
}type WorkspaceConnectionsCreateOperationResponse ¶
type WorkspaceConnectionsCreateOperationResponse struct { HttpResponse *http.Response Model *WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsGetOperationResponse ¶
type WorkspaceConnectionsGetOperationResponse struct { HttpResponse *http.Response Model *WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsListCompleteResult ¶
type WorkspaceConnectionsListCompleteResult struct {
Items []WorkspaceConnectionPropertiesV2BasicResource
}
type WorkspaceConnectionsListOperationOptions ¶
func DefaultWorkspaceConnectionsListOperationOptions ¶
func DefaultWorkspaceConnectionsListOperationOptions() WorkspaceConnectionsListOperationOptions
type WorkspaceConnectionsListOperationResponse ¶
type WorkspaceConnectionsListOperationResponse struct { HttpResponse *http.Response Model *[]WorkspaceConnectionPropertiesV2BasicResource // contains filtered or unexported fields }
func (WorkspaceConnectionsListOperationResponse) HasMore ¶
func (r WorkspaceConnectionsListOperationResponse) HasMore() bool
func (WorkspaceConnectionsListOperationResponse) LoadMore ¶
func (r WorkspaceConnectionsListOperationResponse) LoadMore(ctx context.Context) (resp WorkspaceConnectionsListOperationResponse, err error)
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_connection.go
- id_workspace.go
- method_workspaceconnectionscreate_autorest.go
- method_workspaceconnectionsdelete_autorest.go
- method_workspaceconnectionsget_autorest.go
- method_workspaceconnectionslist_autorest.go
- model_managedidentityauthtypeworkspaceconnectionproperties.go
- model_noneauthtypeworkspaceconnectionproperties.go
- model_patauthtypeworkspaceconnectionproperties.go
- model_sasauthtypeworkspaceconnectionproperties.go
- model_usernamepasswordauthtypeworkspaceconnectionproperties.go
- model_workspaceconnectionmanagedidentity.go
- model_workspaceconnectionpersonalaccesstoken.go
- model_workspaceconnectionpropertiesv2.go
- model_workspaceconnectionpropertiesv2basicresource.go
- model_workspaceconnectionsharedaccesssignature.go
- model_workspaceconnectionusernamepassword.go
- predicates.go
- version.go