Documentation ¶
Index ¶
- func PossibleValuesForSharedToValues() []string
- func ValidateImageID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ImageId
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type SharedGalleryIdentifier
- type SharedGalleryImageVersion
- type SharedGalleryImageVersionOperationPredicate
- type SharedGalleryImageVersionProperties
- func (o *SharedGalleryImageVersionProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
- func (o *SharedGalleryImageVersionProperties) GetPublishedDateAsTime() (*time.Time, error)
- func (o *SharedGalleryImageVersionProperties) SetEndOfLifeDateAsTime(input time.Time)
- func (o *SharedGalleryImageVersionProperties) SetPublishedDateAsTime(input time.Time)
- type SharedGalleryImageVersionsClient
- func (c SharedGalleryImageVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
- func (c SharedGalleryImageVersionsClient) List(ctx context.Context, id ImageId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c SharedGalleryImageVersionsClient) ListComplete(ctx context.Context, id ImageId, options ListOperationOptions) (ListCompleteResult, error)
- func (c SharedGalleryImageVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ImageId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type SharedToValues
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSharedToValues ¶
func PossibleValuesForSharedToValues() []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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SharedGalleryImageVersion }
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) FromParseResult ¶
func (id *ImageId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []SharedGalleryImageVersion }
type ListOperationOptions ¶
type ListOperationOptions struct {
}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 *[]SharedGalleryImageVersion }
type SharedGalleryIdentifier ¶
type SharedGalleryIdentifier struct {
}type SharedGalleryImageVersion ¶
type SharedGalleryImageVersion struct {}
type SharedGalleryImageVersionOperationPredicate ¶
type SharedGalleryImageVersionOperationPredicate struct {}
func (SharedGalleryImageVersionOperationPredicate) Matches ¶
func (p SharedGalleryImageVersionOperationPredicate) Matches(input SharedGalleryImageVersion) bool
type SharedGalleryImageVersionProperties ¶
type SharedGalleryImageVersionProperties struct {}
func (*SharedGalleryImageVersionProperties) GetEndOfLifeDateAsTime ¶
func (o *SharedGalleryImageVersionProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*SharedGalleryImageVersionProperties) GetPublishedDateAsTime ¶
func (o *SharedGalleryImageVersionProperties) GetPublishedDateAsTime() (*time.Time, error)
func (*SharedGalleryImageVersionProperties) SetEndOfLifeDateAsTime ¶
func (o *SharedGalleryImageVersionProperties) SetEndOfLifeDateAsTime(input time.Time)
func (*SharedGalleryImageVersionProperties) SetPublishedDateAsTime ¶
func (o *SharedGalleryImageVersionProperties) SetPublishedDateAsTime(input time.Time)
type SharedGalleryImageVersionsClient ¶
type SharedGalleryImageVersionsClient struct {
}func NewSharedGalleryImageVersionsClientWithBaseURI ¶
func NewSharedGalleryImageVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*SharedGalleryImageVersionsClient, error)
func (SharedGalleryImageVersionsClient) Get ¶
func (c SharedGalleryImageVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (SharedGalleryImageVersionsClient) List ¶
func (c SharedGalleryImageVersionsClient) List(ctx context.Context, id ImageId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (SharedGalleryImageVersionsClient) ListComplete ¶
func (c SharedGalleryImageVersionsClient) ListComplete(ctx context.Context, id ImageId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SharedGalleryImageVersionsClient) ListCompleteMatchingPredicate ¶
func (c SharedGalleryImageVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ImageId, options ListOperationOptions, predicate SharedGalleryImageVersionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SharedToValues ¶
type SharedToValues string
const (
)func (*SharedToValues) UnmarshalJSON ¶
func (s *SharedToValues) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *VersionId) FromParseResult(input resourceids.ParseResult) error
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID