Documentation ¶
Index ¶
- func ValidateCodeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AssetContainer
- type CodeContainerClient
- func (c CodeContainerClient) CreateOrUpdate(ctx context.Context, id CodeId, input CodeContainerResource) (result CreateOrUpdateOperationResponse, err error)
- func (c CodeContainerClient) Delete(ctx context.Context, id CodeId) (result DeleteOperationResponse, err error)
- func (c CodeContainerClient) Get(ctx context.Context, id CodeId) (result GetOperationResponse, err error)
- func (c CodeContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c CodeContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c CodeContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type CodeContainerResource
- type CodeContainerResourceOperationPredicate
- type CodeId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCodeID ¶
ValidateCodeID checks that 'input' can be parsed as a Code ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type AssetContainer ¶
type AssetContainer struct { Description *string `json:"description,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` LatestVersion *string `json:"latestVersion,omitempty"` NextVersion *string `json:"nextVersion,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type CodeContainerClient ¶
type CodeContainerClient struct {
Client *resourcemanager.Client
}
func NewCodeContainerClientWithBaseURI ¶
func NewCodeContainerClientWithBaseURI(api environments.Api) (*CodeContainerClient, error)
func (CodeContainerClient) CreateOrUpdate ¶
func (c CodeContainerClient) CreateOrUpdate(ctx context.Context, id CodeId, input CodeContainerResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CodeContainerClient) Delete ¶
func (c CodeContainerClient) Delete(ctx context.Context, id CodeId) (result DeleteOperationResponse, err error)
Delete ...
func (CodeContainerClient) Get ¶
func (c CodeContainerClient) Get(ctx context.Context, id CodeId) (result GetOperationResponse, err error)
Get ...
func (CodeContainerClient) List ¶
func (c CodeContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (CodeContainerClient) ListComplete ¶
func (c CodeContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CodeContainerClient) ListCompleteMatchingPredicate ¶
func (c CodeContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate CodeContainerResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CodeContainerResource ¶
type CodeContainerResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AssetContainer `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CodeContainerResourceOperationPredicate ¶
func (CodeContainerResourceOperationPredicate) Matches ¶
func (p CodeContainerResourceOperationPredicate) Matches(input CodeContainerResource) bool
type CodeId ¶
type CodeId struct { SubscriptionId string ResourceGroupName string WorkspaceName string CodeName string }
CodeId is a struct representing the Resource ID for a Code
func NewCodeID ¶
func NewCodeID(subscriptionId string, resourceGroupName string, workspaceName string, codeName string) CodeId
NewCodeID returns a new CodeId struct
func ParseCodeID ¶
ParseCodeID parses 'input' into a CodeId
func ParseCodeIDInsensitively ¶
ParseCodeIDInsensitively parses 'input' case-insensitively into a CodeId note: this method should only be used for API response data and not user input
func (CodeId) Segments ¶
func (id CodeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Code ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeContainerResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeContainerResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []CodeContainerResource
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Skip *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CodeContainerResource }
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