Documentation ¶
Index ¶
- func PossibleValuesForOperatingSystemTypes() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGalleryID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GalleryApplication
- type GalleryApplicationOperationPredicate
- type GalleryApplicationProperties
- type GalleryApplicationUpdate
- type GalleryApplicationsClient
- func (c GalleryApplicationsClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input GalleryApplication) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleryApplicationsClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationId, input GalleryApplication) error
- func (c GalleryApplicationsClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
- func (c GalleryApplicationsClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
- func (c GalleryApplicationsClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
- func (c GalleryApplicationsClient) ListByGallery(ctx context.Context, id GalleryId) (resp ListByGalleryOperationResponse, err error)
- func (c GalleryApplicationsClient) ListByGalleryComplete(ctx context.Context, id GalleryId) (ListByGalleryCompleteResult, error)
- func (c GalleryApplicationsClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id GalleryId, ...) (resp ListByGalleryCompleteResult, err error)
- func (c GalleryApplicationsClient) Update(ctx context.Context, id ApplicationId, input GalleryApplicationUpdate) (result UpdateOperationResponse, err error)
- func (c GalleryApplicationsClient) UpdateThenPoll(ctx context.Context, id ApplicationId, input GalleryApplicationUpdate) error
- type GalleryId
- type GetOperationResponse
- type ListByGalleryCompleteResult
- type ListByGalleryOperationResponse
- type OperatingSystemTypes
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
func ValidateGalleryID ¶
ValidateGalleryID checks that 'input' can be parsed as a Gallery ID
Types ¶
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string GalleryName string GalleryApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, galleryName string, galleryApplicationName string) ApplicationId
NewApplicationID returns a new ApplicationId struct
func ParseApplicationID ¶
func ParseApplicationID(input string) (*ApplicationId, error)
ParseApplicationID parses 'input' into a ApplicationId
func ParseApplicationIDInsensitively ¶
func ParseApplicationIDInsensitively(input string) (*ApplicationId, error)
ParseApplicationIDInsensitively parses 'input' case-insensitively into a ApplicationId note: this method should only be used for API response data and not user input
func (ApplicationId) ID ¶
func (id ApplicationId) ID() string
ID returns the formatted Application ID
func (ApplicationId) Segments ¶
func (id ApplicationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application ID
func (ApplicationId) String ¶
func (id ApplicationId) String() string
String returns a human-readable description of this Application ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GalleryApplication ¶
type GalleryApplicationOperationPredicate ¶
type GalleryApplicationOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (GalleryApplicationOperationPredicate) Matches ¶
func (p GalleryApplicationOperationPredicate) Matches(input GalleryApplication) bool
type GalleryApplicationProperties ¶
type GalleryApplicationProperties struct { Description *string `json:"description,omitempty"` EndOfLifeDate *string `json:"endOfLifeDate,omitempty"` Eula *string `json:"eula,omitempty"` PrivacyStatementUri *string `json:"privacyStatementUri,omitempty"` ReleaseNoteUri *string `json:"releaseNoteUri,omitempty"` SupportedOSType OperatingSystemTypes `json:"supportedOSType"` }
func (*GalleryApplicationProperties) GetEndOfLifeDateAsTime ¶
func (o *GalleryApplicationProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*GalleryApplicationProperties) SetEndOfLifeDateAsTime ¶
func (o *GalleryApplicationProperties) SetEndOfLifeDateAsTime(input time.Time)
type GalleryApplicationsClient ¶
type GalleryApplicationsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewGalleryApplicationsClientWithBaseURI ¶
func NewGalleryApplicationsClientWithBaseURI(endpoint string) GalleryApplicationsClient
func (GalleryApplicationsClient) CreateOrUpdate ¶
func (c GalleryApplicationsClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input GalleryApplication) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleryApplicationsClient) CreateOrUpdateThenPoll ¶
func (c GalleryApplicationsClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationId, input GalleryApplication) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleryApplicationsClient) Delete ¶
func (c GalleryApplicationsClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleryApplicationsClient) DeleteThenPoll ¶
func (c GalleryApplicationsClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleryApplicationsClient) Get ¶
func (c GalleryApplicationsClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
Get ...
func (GalleryApplicationsClient) ListByGallery ¶
func (c GalleryApplicationsClient) ListByGallery(ctx context.Context, id GalleryId) (resp ListByGalleryOperationResponse, err error)
ListByGallery ...
func (GalleryApplicationsClient) ListByGalleryComplete ¶
func (c GalleryApplicationsClient) ListByGalleryComplete(ctx context.Context, id GalleryId) (ListByGalleryCompleteResult, error)
ListByGalleryComplete retrieves all of the results into a single object
func (GalleryApplicationsClient) ListByGalleryCompleteMatchingPredicate ¶
func (c GalleryApplicationsClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id GalleryId, predicate GalleryApplicationOperationPredicate) (resp ListByGalleryCompleteResult, err error)
ListByGalleryCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GalleryApplicationsClient) Update ¶
func (c GalleryApplicationsClient) Update(ctx context.Context, id ApplicationId, input GalleryApplicationUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleryApplicationsClient) UpdateThenPoll ¶
func (c GalleryApplicationsClient) UpdateThenPoll(ctx context.Context, id ApplicationId, input GalleryApplicationUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GalleryId ¶
GalleryId is a struct representing the Resource ID for a Gallery
func NewGalleryID ¶
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) Segments ¶
func (id GalleryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gallery ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *GalleryApplication }
type ListByGalleryCompleteResult ¶
type ListByGalleryCompleteResult struct {
Items []GalleryApplication
}
type ListByGalleryOperationResponse ¶
type ListByGalleryOperationResponse struct { HttpResponse *http.Response Model *[]GalleryApplication // contains filtered or unexported fields }
func (ListByGalleryOperationResponse) HasMore ¶
func (r ListByGalleryOperationResponse) HasMore() bool
func (ListByGalleryOperationResponse) LoadMore ¶
func (r ListByGalleryOperationResponse) LoadMore(ctx context.Context) (resp ListByGalleryOperationResponse, err error)
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_application.go
- id_gallery.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbygallery_autorest.go
- method_update_autorest.go
- model_galleryapplication.go
- model_galleryapplicationproperties.go
- model_galleryapplicationupdate.go
- predicates.go
- version.go