Documentation ¶
Index ¶
- func PossibleValuesForListViewType() []string
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AssetContainer
- type ComponentContainerClient
- func (c ComponentContainerClient) CreateOrUpdate(ctx context.Context, id ComponentId, input ComponentContainerResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ComponentContainerClient) Delete(ctx context.Context, id ComponentId) (result DeleteOperationResponse, err error)
- func (c ComponentContainerClient) Get(ctx context.Context, id ComponentId) (result GetOperationResponse, err error)
- func (c ComponentContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ComponentContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ComponentContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type ComponentContainerResource
- type ComponentContainerResourceOperationPredicate
- type ComponentId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component 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 ComponentContainerClient ¶
type ComponentContainerClient struct {
Client *resourcemanager.Client
}
func NewComponentContainerClientWithBaseURI ¶
func NewComponentContainerClientWithBaseURI(api environments.Api) (*ComponentContainerClient, error)
func (ComponentContainerClient) CreateOrUpdate ¶
func (c ComponentContainerClient) CreateOrUpdate(ctx context.Context, id ComponentId, input ComponentContainerResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ComponentContainerClient) Delete ¶
func (c ComponentContainerClient) Delete(ctx context.Context, id ComponentId) (result DeleteOperationResponse, err error)
Delete ...
func (ComponentContainerClient) Get ¶
func (c ComponentContainerClient) Get(ctx context.Context, id ComponentId) (result GetOperationResponse, err error)
Get ...
func (ComponentContainerClient) List ¶
func (c ComponentContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ComponentContainerClient) ListComplete ¶
func (c ComponentContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ComponentContainerClient) ListCompleteMatchingPredicate ¶
func (c ComponentContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate ComponentContainerResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ComponentContainerResource ¶
type ComponentContainerResource 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 ComponentContainerResourceOperationPredicate ¶
func (ComponentContainerResourceOperationPredicate) Matches ¶
func (p ComponentContainerResourceOperationPredicate) Matches(input ComponentContainerResource) bool
type ComponentId ¶
type ComponentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ComponentName string }
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, workspaceName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComponentContainerResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComponentContainerResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ComponentContainerResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { ListViewType *ListViewType 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 *[]ComponentContainerResource }
type ListViewType ¶
type ListViewType string
const ( ListViewTypeActiveOnly ListViewType = "ActiveOnly" ListViewTypeAll ListViewType = "All" ListViewTypeArchivedOnly ListViewType = "ArchivedOnly" )
func (*ListViewType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ListViewType) UnmarshalJSON(bytes []byte) 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