Documentation ¶
Index ¶
- func ValidateLibraryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type LibrariesClient
- func (c LibrariesClient) LibraryGet(ctx context.Context, id LibraryId) (result LibraryGetOperationResponse, err error)
- func (c LibrariesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
- func (c LibrariesClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (ListByWorkspaceCompleteResult, error)
- func (c LibrariesClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result ListByWorkspaceCompleteResult, err error)
- type LibraryGetOperationResponse
- type LibraryId
- type LibraryInfo
- type LibraryResource
- type LibraryResourceOperationPredicate
- type ListByWorkspaceCompleteResult
- type ListByWorkspaceOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLibraryID ¶
ValidateLibraryID checks that 'input' can be parsed as a Library ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type LibrariesClient ¶
type LibrariesClient struct {
Client *resourcemanager.Client
}
func NewLibrariesClientWithBaseURI ¶
func NewLibrariesClientWithBaseURI(sdkApi sdkEnv.Api) (*LibrariesClient, error)
func (LibrariesClient) LibraryGet ¶
func (c LibrariesClient) LibraryGet(ctx context.Context, id LibraryId) (result LibraryGetOperationResponse, err error)
LibraryGet ...
func (LibrariesClient) ListByWorkspace ¶
func (c LibrariesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...
func (LibrariesClient) ListByWorkspaceComplete ¶
func (c LibrariesClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (ListByWorkspaceCompleteResult, error)
ListByWorkspaceComplete retrieves all the results into a single object
func (LibrariesClient) ListByWorkspaceCompleteMatchingPredicate ¶
func (c LibrariesClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate LibraryResourceOperationPredicate) (result ListByWorkspaceCompleteResult, err error)
ListByWorkspaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type LibraryGetOperationResponse ¶
type LibraryGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LibraryResource }
type LibraryId ¶
type LibraryId struct { SubscriptionId string ResourceGroupName string WorkspaceName string LibraryName string }
LibraryId is a struct representing the Resource ID for a Library
func NewLibraryID ¶
func NewLibraryID(subscriptionId string, resourceGroupName string, workspaceName string, libraryName string) LibraryId
NewLibraryID returns a new LibraryId struct
func ParseLibraryID ¶
ParseLibraryID parses 'input' into a LibraryId
func ParseLibraryIDInsensitively ¶
ParseLibraryIDInsensitively parses 'input' case-insensitively into a LibraryId note: this method should only be used for API response data and not user input
func (*LibraryId) FromParseResult ¶
func (id *LibraryId) FromParseResult(input resourceids.ParseResult) error
func (LibraryId) Segments ¶
func (id LibraryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Library ID
type LibraryInfo ¶
type LibraryInfo struct { ContainerName *string `json:"containerName,omitempty"` CreatorId *string `json:"creatorId,omitempty"` Name *string `json:"name,omitempty"` Path *string `json:"path,omitempty"` ProvisioningStatus *string `json:"provisioningStatus,omitempty"` Type *string `json:"type,omitempty"` UploadedTimestamp *string `json:"uploadedTimestamp,omitempty"` }
func (*LibraryInfo) GetUploadedTimestampAsTime ¶
func (o *LibraryInfo) GetUploadedTimestampAsTime() (*time.Time, error)
func (*LibraryInfo) SetUploadedTimestampAsTime ¶
func (o *LibraryInfo) SetUploadedTimestampAsTime(input time.Time)
type LibraryResource ¶
type LibraryResource struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties LibraryInfo `json:"properties"` Type *string `json:"type,omitempty"` }
type LibraryResourceOperationPredicate ¶
func (LibraryResourceOperationPredicate) Matches ¶
func (p LibraryResourceOperationPredicate) Matches(input LibraryResource) bool
type ListByWorkspaceCompleteResult ¶
type ListByWorkspaceCompleteResult struct { LatestHttpResponse *http.Response Items []LibraryResource }
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LibraryResource }
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 ¶
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