Documentation ¶
Index ¶
- func PossibleValuesForGalleryApplicationCustomActionParameterType() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GalleryApplication
- type GalleryApplicationCustomAction
- type GalleryApplicationCustomActionParameter
- type GalleryApplicationCustomActionParameterType
- 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 commonids.SharedImageGalleryId) (result ListByGalleryOperationResponse, err error)
- func (c GalleryApplicationsClient) ListByGalleryComplete(ctx context.Context, id commonids.SharedImageGalleryId) (ListByGalleryCompleteResult, error)
- func (c GalleryApplicationsClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id commonids.SharedImageGalleryId, ...) (result 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 GetOperationResponse
- type ListByGalleryCompleteResult
- type ListByGalleryOperationResponse
- type OperatingSystemTypes
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGalleryApplicationCustomActionParameterType ¶
func PossibleValuesForGalleryApplicationCustomActionParameterType() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
Types ¶
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string GalleryName string ApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, galleryName string, applicationName 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) FromParseResult ¶
func (id *ApplicationId) FromParseResult(input resourceids.ParseResult) error
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 DeleteOperationResponse ¶
type GalleryApplication ¶
type GalleryApplicationCustomAction ¶
type GalleryApplicationCustomAction struct { Description *string `json:"description,omitempty"` Name string `json:"name"` Parameters *[]GalleryApplicationCustomActionParameter `json:"parameters,omitempty"` Script string `json:"script"` }
type GalleryApplicationCustomActionParameter ¶
type GalleryApplicationCustomActionParameter struct { DefaultValue *string `json:"defaultValue,omitempty"` Description *string `json:"description,omitempty"` Name string `json:"name"` Required *bool `json:"required,omitempty"` Type *GalleryApplicationCustomActionParameterType `json:"type,omitempty"` }
type GalleryApplicationCustomActionParameterType ¶
type GalleryApplicationCustomActionParameterType string
const ( GalleryApplicationCustomActionParameterTypeConfigurationDataBlob GalleryApplicationCustomActionParameterType = "ConfigurationDataBlob" GalleryApplicationCustomActionParameterTypeLogOutputBlob GalleryApplicationCustomActionParameterType = "LogOutputBlob" GalleryApplicationCustomActionParameterTypeString GalleryApplicationCustomActionParameterType = "String" )
func (*GalleryApplicationCustomActionParameterType) UnmarshalJSON ¶
func (s *GalleryApplicationCustomActionParameterType) UnmarshalJSON(bytes []byte) error
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 { CustomActions *[]GalleryApplicationCustomAction `json:"customActions,omitempty"` 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 *resourcemanager.Client
}
func NewGalleryApplicationsClientWithBaseURI ¶
func NewGalleryApplicationsClientWithBaseURI(sdkApi sdkEnv.Api) (*GalleryApplicationsClient, error)
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 commonids.SharedImageGalleryId) (result ListByGalleryOperationResponse, err error)
ListByGallery ...
func (GalleryApplicationsClient) ListByGalleryComplete ¶
func (c GalleryApplicationsClient) ListByGalleryComplete(ctx context.Context, id commonids.SharedImageGalleryId) (ListByGalleryCompleteResult, error)
ListByGalleryComplete retrieves all the results into a single object
func (GalleryApplicationsClient) ListByGalleryCompleteMatchingPredicate ¶
func (c GalleryApplicationsClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id commonids.SharedImageGalleryId, predicate GalleryApplicationOperationPredicate) (result ListByGalleryCompleteResult, err error)
ListByGalleryCompleteMatchingPredicate retrieves all the results and then applies 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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GalleryApplication }
type ListByGalleryCompleteResult ¶
type ListByGalleryCompleteResult struct { LatestHttpResponse *http.Response Items []GalleryApplication }
type ListByGalleryOperationResponse ¶
type ListByGalleryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GalleryApplication }
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_application.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbygallery.go
- method_update.go
- model_galleryapplication.go
- model_galleryapplicationcustomaction.go
- model_galleryapplicationcustomactionparameter.go
- model_galleryapplicationproperties.go
- model_galleryapplicationupdate.go
- predicates.go
- version.go