Documentation ¶
Index ¶
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type CommunityGalleryIdentifier
- type CommunityGalleryImageVersion
- 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
- type GetOperationResponse
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 CommunityGalleryImageVersionProperties ¶
type CommunityGalleryImageVersionProperties struct { EndOfLifeDate *string `json:"endOfLifeDate,omitempty"` PublishedDate *string `json:"publishedDate,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 ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *CommunityGalleryImageVersion }
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
Click to show internal directories.
Click to hide internal directories.