Documentation ¶
Index ¶
- func PossibleValuesForHibernateSupport() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateDevCenterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGalleryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateImageID(input interface{}, key string) (warnings []string, errors []error)
- type DevCenterId
- type GalleryId
- type GetOperationResponse
- type HibernateSupport
- type Image
- type ImageId
- type ImageOperationPredicate
- type ImageProperties
- type ImagesClient
- func (c ImagesClient) Get(ctx context.Context, id ImageId) (result GetOperationResponse, err error)
- func (c ImagesClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
- func (c ImagesClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
- func (c ImagesClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, ...) (result ListByDevCenterCompleteResult, err error)
- func (c ImagesClient) ListByGallery(ctx context.Context, id GalleryId, options ListByGalleryOperationOptions) (result ListByGalleryOperationResponse, err error)
- func (c ImagesClient) ListByGalleryComplete(ctx context.Context, id GalleryId, options ListByGalleryOperationOptions) (ListByGalleryCompleteResult, error)
- func (c ImagesClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id GalleryId, options ListByGalleryOperationOptions, ...) (result ListByGalleryCompleteResult, err error)
- type ListByDevCenterCompleteResult
- type ListByDevCenterOperationOptions
- type ListByDevCenterOperationResponse
- type ListByGalleryCompleteResult
- type ListByGalleryOperationOptions
- type ListByGalleryOperationResponse
- type ProvisioningState
- type RecommendedMachineConfiguration
- type ResourceRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHibernateSupport ¶
func PossibleValuesForHibernateSupport() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDevCenterID ¶
ValidateDevCenterID checks that 'input' can be parsed as a Dev Center ID
func ValidateGalleryID ¶
ValidateGalleryID checks that 'input' can be parsed as a Gallery ID
func ValidateImageID ¶
ValidateImageID checks that 'input' can be parsed as a Image ID
Types ¶
type DevCenterId ¶
DevCenterId is a struct representing the Resource ID for a Dev Center
func NewDevCenterID ¶
func NewDevCenterID(subscriptionId string, resourceGroupName string, devCenterName string) DevCenterId
NewDevCenterID returns a new DevCenterId struct
func ParseDevCenterID ¶
func ParseDevCenterID(input string) (*DevCenterId, error)
ParseDevCenterID parses 'input' into a DevCenterId
func ParseDevCenterIDInsensitively ¶
func ParseDevCenterIDInsensitively(input string) (*DevCenterId, error)
ParseDevCenterIDInsensitively parses 'input' case-insensitively into a DevCenterId note: this method should only be used for API response data and not user input
func (*DevCenterId) FromParseResult ¶
func (id *DevCenterId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterId) Segments ¶
func (id DevCenterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center ID
func (DevCenterId) String ¶
func (id DevCenterId) String() string
String returns a human-readable description of this Dev Center ID
type GalleryId ¶
type GalleryId struct { SubscriptionId string ResourceGroupName string DevCenterName string GalleryName string }
GalleryId is a struct representing the Resource ID for a Gallery
func NewGalleryID ¶
func NewGalleryID(subscriptionId string, resourceGroupName string, devCenterName string, galleryName string) GalleryId
NewGalleryID returns a new GalleryId struct
func ParseGalleryID ¶
ParseGalleryID parses 'input' into a GalleryId
func ParseGalleryIDInsensitively ¶
ParseGalleryIDInsensitively parses 'input' case-insensitively into a GalleryId note: this method should only be used for API response data and not user input
func (*GalleryId) FromParseResult ¶
func (id *GalleryId) FromParseResult(input resourceids.ParseResult) error
func (GalleryId) Segments ¶
func (id GalleryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gallery ID
type GetOperationResponse ¶
type HibernateSupport ¶
type HibernateSupport string
const ( HibernateSupportDisabled HibernateSupport = "Disabled" HibernateSupportEnabled HibernateSupport = "Enabled" )
func (*HibernateSupport) UnmarshalJSON ¶
func (s *HibernateSupport) UnmarshalJSON(bytes []byte) error
type Image ¶
type Image struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ImageProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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 ¶
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 ImageOperationPredicate ¶
func (ImageOperationPredicate) Matches ¶
func (p ImageOperationPredicate) Matches(input Image) bool
type ImageProperties ¶
type ImageProperties struct { Description *string `json:"description,omitempty"` HibernateSupport *HibernateSupport `json:"hibernateSupport,omitempty"` Offer *string `json:"offer,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Publisher *string `json:"publisher,omitempty"` RecommendedMachineConfiguration *RecommendedMachineConfiguration `json:"recommendedMachineConfiguration,omitempty"` Sku *string `json:"sku,omitempty"` }
type ImagesClient ¶
type ImagesClient struct {
Client *resourcemanager.Client
}
func NewImagesClientWithBaseURI ¶
func NewImagesClientWithBaseURI(sdkApi sdkEnv.Api) (*ImagesClient, error)
func (ImagesClient) Get ¶
func (c ImagesClient) Get(ctx context.Context, id ImageId) (result GetOperationResponse, err error)
Get ...
func (ImagesClient) ListByDevCenter ¶
func (c ImagesClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
ListByDevCenter ...
func (ImagesClient) ListByDevCenterComplete ¶
func (c ImagesClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
ListByDevCenterComplete retrieves all the results into a single object
func (ImagesClient) ListByDevCenterCompleteMatchingPredicate ¶
func (c ImagesClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, predicate ImageOperationPredicate) (result ListByDevCenterCompleteResult, err error)
ListByDevCenterCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ImagesClient) ListByGallery ¶
func (c ImagesClient) ListByGallery(ctx context.Context, id GalleryId, options ListByGalleryOperationOptions) (result ListByGalleryOperationResponse, err error)
ListByGallery ...
func (ImagesClient) ListByGalleryComplete ¶
func (c ImagesClient) ListByGalleryComplete(ctx context.Context, id GalleryId, options ListByGalleryOperationOptions) (ListByGalleryCompleteResult, error)
ListByGalleryComplete retrieves all the results into a single object
func (ImagesClient) ListByGalleryCompleteMatchingPredicate ¶
func (c ImagesClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id GalleryId, options ListByGalleryOperationOptions, predicate ImageOperationPredicate) (result ListByGalleryCompleteResult, err error)
ListByGalleryCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByDevCenterOperationOptions ¶
type ListByDevCenterOperationOptions struct {
Top *int64
}
func DefaultListByDevCenterOperationOptions ¶
func DefaultListByDevCenterOperationOptions() ListByDevCenterOperationOptions
func (ListByDevCenterOperationOptions) ToHeaders ¶
func (o ListByDevCenterOperationOptions) ToHeaders() *client.Headers
func (ListByDevCenterOperationOptions) ToOData ¶
func (o ListByDevCenterOperationOptions) ToOData() *odata.Query
func (ListByDevCenterOperationOptions) ToQuery ¶
func (o ListByDevCenterOperationOptions) ToQuery() *client.QueryParams
type ListByGalleryOperationOptions ¶
type ListByGalleryOperationOptions struct {
Top *int64
}
func DefaultListByGalleryOperationOptions ¶
func DefaultListByGalleryOperationOptions() ListByGalleryOperationOptions
func (ListByGalleryOperationOptions) ToHeaders ¶
func (o ListByGalleryOperationOptions) ToHeaders() *client.Headers
func (ListByGalleryOperationOptions) ToOData ¶
func (o ListByGalleryOperationOptions) ToOData() *odata.Query
func (ListByGalleryOperationOptions) ToQuery ¶
func (o ListByGalleryOperationOptions) ToQuery() *client.QueryParams
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 RecommendedMachineConfiguration ¶
type RecommendedMachineConfiguration struct { Memory *ResourceRange `json:"memory,omitempty"` VCPUs *ResourceRange `json:"vCPUs,omitempty"` }