Documentation ¶
Index ¶
- func ValidateLabID(input interface{}, key string) (warnings []string, errors []error)
- type GalleryImage
- type GalleryImageOperationPredicate
- type GalleryImageProperties
- type GalleryImageReference
- type GalleryImagesClient
- func (c GalleryImagesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c GalleryImagesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
- func (c GalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type LabId
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLabID ¶
ValidateLabID checks that 'input' can be parsed as a Lab ID
Types ¶
type GalleryImage ¶
type GalleryImageOperationPredicate ¶
type GalleryImageOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (GalleryImageOperationPredicate) Matches ¶
func (p GalleryImageOperationPredicate) Matches(input GalleryImage) bool
type GalleryImageProperties ¶
type GalleryImageProperties struct { Author *string `json:"author,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Description *string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` Icon *string `json:"icon,omitempty"` ImageReference *GalleryImageReference `json:"imageReference,omitempty"` IsPlanAuthorized *bool `json:"isPlanAuthorized,omitempty"` PlanId *string `json:"planId,omitempty"` }
func (*GalleryImageProperties) GetCreatedDateAsTime ¶
func (o *GalleryImageProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*GalleryImageProperties) SetCreatedDateAsTime ¶
func (o *GalleryImageProperties) SetCreatedDateAsTime(input time.Time)
type GalleryImageReference ¶
type GalleryImagesClient ¶
type GalleryImagesClient struct {
Client *resourcemanager.Client
}
func NewGalleryImagesClientWithBaseURI ¶
func NewGalleryImagesClientWithBaseURI(sdkApi sdkEnv.Api) (*GalleryImagesClient, error)
func (GalleryImagesClient) List ¶
func (c GalleryImagesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (GalleryImagesClient) ListComplete ¶
func (c GalleryImagesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GalleryImagesClient) ListCompleteMatchingPredicate ¶
func (c GalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, predicate GalleryImageOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type LabId ¶
LabId is a struct representing the Resource ID for a Lab
func ParseLabID ¶
ParseLabID parses 'input' into a LabId
func ParseLabIDInsensitively ¶
ParseLabIDInsensitively parses 'input' case-insensitively into a LabId note: this method should only be used for API response data and not user input
func (*LabId) FromParseResult ¶
func (id *LabId) FromParseResult(input resourceids.ParseResult) error
func (LabId) Segments ¶
func (id LabId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lab ID
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GalleryImage }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GalleryImage }
Click to show internal directories.
Click to hide internal directories.