Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []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 ImageVersion
- type ImageVersionOperationPredicate
- type ImageVersionProperties
- type ImageVersionsClient
- func (c ImageVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
- func (c ImageVersionsClient) ListByImage(ctx context.Context, id ImageId) (result ListByImageOperationResponse, err error)
- func (c ImageVersionsClient) ListByImageComplete(ctx context.Context, id ImageId) (ListByImageCompleteResult, error)
- func (c ImageVersionsClient) ListByImageCompleteMatchingPredicate(ctx context.Context, id ImageId, predicate ImageVersionOperationPredicate) (result ListByImageCompleteResult, err error)
- type ListByImageCompleteResult
- type ListByImageOperationResponse
- type ProvisioningState
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []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 *ImageVersion }
type ImageId ¶
type ImageId struct { SubscriptionId string ResourceGroupName string DevCenterName string GalleryName string ImageName string }
ImageId is a struct representing the Resource ID for a Image
func NewImageID ¶
func NewImageID(subscriptionId string, resourceGroupName string, devCenterName string, galleryName 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 ¶ added in v0.20231127.1171502
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 ImageVersion ¶
type ImageVersion struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ImageVersionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ImageVersionOperationPredicate ¶
func (ImageVersionOperationPredicate) Matches ¶
func (p ImageVersionOperationPredicate) Matches(input ImageVersion) bool
type ImageVersionProperties ¶
type ImageVersionProperties struct { ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"` Name *string `json:"name,omitempty"` OsDiskImageSizeInGb *int64 `json:"osDiskImageSizeInGb,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublishedDate *string `json:"publishedDate,omitempty"` }
func (*ImageVersionProperties) GetPublishedDateAsTime ¶
func (o *ImageVersionProperties) GetPublishedDateAsTime() (*time.Time, error)
func (*ImageVersionProperties) SetPublishedDateAsTime ¶
func (o *ImageVersionProperties) SetPublishedDateAsTime(input time.Time)
type ImageVersionsClient ¶
type ImageVersionsClient struct {
Client *resourcemanager.Client
}
func NewImageVersionsClientWithBaseURI ¶
func NewImageVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ImageVersionsClient, error)
func (ImageVersionsClient) Get ¶
func (c ImageVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (ImageVersionsClient) ListByImage ¶
func (c ImageVersionsClient) ListByImage(ctx context.Context, id ImageId) (result ListByImageOperationResponse, err error)
ListByImage ...
func (ImageVersionsClient) ListByImageComplete ¶
func (c ImageVersionsClient) ListByImageComplete(ctx context.Context, id ImageId) (ListByImageCompleteResult, error)
ListByImageComplete retrieves all the results into a single object
func (ImageVersionsClient) ListByImageCompleteMatchingPredicate ¶
func (c ImageVersionsClient) ListByImageCompleteMatchingPredicate(ctx context.Context, id ImageId, predicate ImageVersionOperationPredicate) (result ListByImageCompleteResult, err error)
ListByImageCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByImageCompleteResult ¶
type ListByImageCompleteResult struct { LatestHttpResponse *http.Response Items []ImageVersion }
type ListByImageOperationResponse ¶
type ListByImageOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ImageVersion }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMovingResources ProvisioningState = "MovingResources" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateRolloutInProgress ProvisioningState = "RolloutInProgress" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateStorageProvisioningFailed ProvisioningState = "StorageProvisioningFailed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateTransientFailure ProvisioningState = "TransientFailure" ProvisioningStateUpdated ProvisioningState = "Updated" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type VersionId ¶
type VersionId struct { SubscriptionId string ResourceGroupName string DevCenterName string GalleryName string ImageName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, resourceGroupName string, devCenterName string, galleryName 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 ¶ added in v0.20231127.1171502
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