Documentation ¶
Index ¶
- func PossibleValuesForSharedGalleryHostCaching() []string
- func ValidateImageID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type CommunityGalleryIdentifier
- type CommunityGalleryImageVersion
- type CommunityGalleryImageVersionOperationPredicate
- type CommunityGalleryImageVersionProperties
- func (o *CommunityGalleryImageVersionProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
- func (o *CommunityGalleryImageVersionProperties) GetPublishedDateAsTime() (*time.Time, error)
- func (o *CommunityGalleryImageVersionProperties) SetEndOfLifeDateAsTime(input time.Time)
- func (o *CommunityGalleryImageVersionProperties) SetPublishedDateAsTime(input time.Time)
- type CommunityGalleryImageVersionsClient
- func (c CommunityGalleryImageVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
- func (c CommunityGalleryImageVersionsClient) List(ctx context.Context, id ImageId) (resp ListOperationResponse, err error)
- func (c CommunityGalleryImageVersionsClient) ListComplete(ctx context.Context, id ImageId) (ListCompleteResult, error)
- func (c CommunityGalleryImageVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ImageId, ...) (resp ListCompleteResult, err error)
- type GetOperationResponse
- type ImageId
- type ListCompleteResult
- type ListOperationResponse
- type SharedGalleryDataDiskImage
- type SharedGalleryDiskImage
- type SharedGalleryHostCaching
- type SharedGalleryImageVersionStorageProfile
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSharedGalleryHostCaching ¶
func PossibleValuesForSharedGalleryHostCaching() []string
func ValidateImageID ¶
ValidateImageID checks that 'input' can be parsed as a Image ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type CommunityGalleryIdentifier ¶
type CommunityGalleryIdentifier struct {
UniqueId *string `json:"uniqueId,omitempty"`
}
type CommunityGalleryImageVersion ¶
type CommunityGalleryImageVersion struct { Identifier *CommunityGalleryIdentifier `json:"identifier,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *CommunityGalleryImageVersionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CommunityGalleryImageVersionOperationPredicate ¶
type CommunityGalleryImageVersionOperationPredicate struct { Location *string Name *string Type *string }
func (CommunityGalleryImageVersionOperationPredicate) Matches ¶
func (p CommunityGalleryImageVersionOperationPredicate) Matches(input CommunityGalleryImageVersion) bool
type CommunityGalleryImageVersionProperties ¶
type CommunityGalleryImageVersionProperties struct { EndOfLifeDate *string `json:"endOfLifeDate,omitempty"` ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"` PublishedDate *string `json:"publishedDate,omitempty"` StorageProfile *SharedGalleryImageVersionStorageProfile `json:"storageProfile,omitempty"` }
func (*CommunityGalleryImageVersionProperties) GetEndOfLifeDateAsTime ¶
func (o *CommunityGalleryImageVersionProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*CommunityGalleryImageVersionProperties) GetPublishedDateAsTime ¶
func (o *CommunityGalleryImageVersionProperties) GetPublishedDateAsTime() (*time.Time, error)
func (*CommunityGalleryImageVersionProperties) SetEndOfLifeDateAsTime ¶
func (o *CommunityGalleryImageVersionProperties) SetEndOfLifeDateAsTime(input time.Time)
func (*CommunityGalleryImageVersionProperties) SetPublishedDateAsTime ¶
func (o *CommunityGalleryImageVersionProperties) SetPublishedDateAsTime(input time.Time)
type CommunityGalleryImageVersionsClient ¶
type CommunityGalleryImageVersionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewCommunityGalleryImageVersionsClientWithBaseURI ¶
func NewCommunityGalleryImageVersionsClientWithBaseURI(endpoint string) CommunityGalleryImageVersionsClient
func (CommunityGalleryImageVersionsClient) Get ¶
func (c CommunityGalleryImageVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (CommunityGalleryImageVersionsClient) List ¶
func (c CommunityGalleryImageVersionsClient) List(ctx context.Context, id ImageId) (resp ListOperationResponse, err error)
List ...
func (CommunityGalleryImageVersionsClient) ListComplete ¶
func (c CommunityGalleryImageVersionsClient) ListComplete(ctx context.Context, id ImageId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (CommunityGalleryImageVersionsClient) ListCompleteMatchingPredicate ¶
func (c CommunityGalleryImageVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ImageId, predicate CommunityGalleryImageVersionOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *CommunityGalleryImageVersion }
type ImageId ¶
ImageId is a struct representing the Resource ID for a Image
func NewImageID ¶
func NewImageID(subscriptionId string, locationName string, sharedGalleryName string, imageName string) ImageId
NewImageID returns a new ImageId struct
func ParseImageID ¶
ParseImageID parses 'input' into a ImageId
func ParseImageIDInsensitively ¶
ParseImageIDInsensitively parses 'input' case-insensitively into a ImageId note: this method should only be used for API response data and not user input
func (ImageId) Segments ¶
func (id ImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Image ID
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []CommunityGalleryImageVersion
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]CommunityGalleryImageVersion // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type SharedGalleryDataDiskImage ¶
type SharedGalleryDataDiskImage struct {}
type SharedGalleryDiskImage ¶
type SharedGalleryDiskImage struct {}
type SharedGalleryImageVersionStorageProfile ¶
type SharedGalleryImageVersionStorageProfile struct {}
type VersionId ¶
type VersionId struct { SubscriptionId string LocationName string ImageName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, locationName string, sharedGalleryName string, imageName string, versionName string) VersionId
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID
Source Files ¶
- client.go
- constants.go
- id_image.go
- id_version.go
- method_get_autorest.go
- method_list_autorest.go
- model_communitygalleryidentifier.go
- model_communitygalleryimageversion.go
- model_communitygalleryimageversionproperties.go
- model_sharedgallerydatadiskimage.go
- model_sharedgallerydiskimage.go
- model_sharedgalleryimageversionstorageprofile.go
- predicates.go
- version.go