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 RawWorkspaceConnectionPropertiesV2Impl
- 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, ...) (result WorkspaceConnectionsListOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceConnectionsListCompleteResult, error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result 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" )
func (*ConnectionAuthType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ConnectionAuthType) UnmarshalJSON(bytes []byte) error
type ConnectionCategory ¶
type ConnectionCategory string
const ( ConnectionCategoryContainerRegistry ConnectionCategory = "ContainerRegistry" ConnectionCategoryGit ConnectionCategory = "Git" ConnectionCategoryPythonFeed ConnectionCategory = "PythonFeed" )
func (*ConnectionCategory) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ConnectionCategory) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ConnectionId) FromParseResult(input resourceids.ParseResult) error
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,omitempty"` // 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,omitempty"` // 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 RawWorkspaceConnectionPropertiesV2Impl ¶ added in v0.20230807.1063129
RawWorkspaceConnectionPropertiesV2Impl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SASAuthTypeWorkspaceConnectionProperties ¶
type SASAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionSharedAccessSignature `json:"credentials,omitempty"` // 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,omitempty"` // 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 *resourcemanager.Client
}
func NewV2WorkspaceConnectionResourceClientWithBaseURI ¶
func NewV2WorkspaceConnectionResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*V2WorkspaceConnectionResourceClient, error)
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) (result WorkspaceConnectionsListOperationResponse, err error)
WorkspaceConnectionsList ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions) (WorkspaceConnectionsListCompleteResult, error)
WorkspaceConnectionsListComplete retrieves all the results into a single object
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions, predicate WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate) (result WorkspaceConnectionsListCompleteResult, err error)
WorkspaceConnectionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ValueFormat ¶
type ValueFormat string
const (
ValueFormatJSON ValueFormat = "JSON"
)
func (*ValueFormat) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ValueFormat) UnmarshalJSON(bytes []byte) error
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 OData *odata.OData Model *WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsGetOperationResponse ¶
type WorkspaceConnectionsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsListCompleteResult ¶
type WorkspaceConnectionsListCompleteResult struct { LatestHttpResponse *http.Response Items []WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsListOperationOptions ¶
func DefaultWorkspaceConnectionsListOperationOptions ¶
func DefaultWorkspaceConnectionsListOperationOptions() WorkspaceConnectionsListOperationOptions
func (WorkspaceConnectionsListOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o WorkspaceConnectionsListOperationOptions) ToHeaders() *client.Headers
func (WorkspaceConnectionsListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o WorkspaceConnectionsListOperationOptions) ToOData() *odata.Query
func (WorkspaceConnectionsListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
func (o WorkspaceConnectionsListOperationOptions) ToQuery() *client.QueryParams
type WorkspaceConnectionsListOperationResponse ¶
type WorkspaceConnectionsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkspaceConnectionPropertiesV2BasicResource }
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_workspaceconnectionsdelete.go
- method_workspaceconnectionsget.go
- method_workspaceconnectionslist.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