Documentation ¶
Index ¶
- func PossibleValuesForPackageState() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type ActivateApplicationPackageParameters
- type ActivateOperationResponse
- type ApplicationId
- type ApplicationPackage
- type ApplicationPackageClient
- func (c ApplicationPackageClient) Activate(ctx context.Context, id VersionId, input ActivateApplicationPackageParameters) (result ActivateOperationResponse, err error)
- func (c ApplicationPackageClient) Create(ctx context.Context, id VersionId, input ApplicationPackage) (result CreateOperationResponse, err error)
- func (c ApplicationPackageClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
- func (c ApplicationPackageClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
- func (c ApplicationPackageClient) List(ctx context.Context, id ApplicationId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ApplicationPackageClient) ListComplete(ctx context.Context, id ApplicationId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ApplicationPackageClient) ListCompleteMatchingPredicate(ctx context.Context, id ApplicationId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type ApplicationPackageOperationPredicate
- type ApplicationPackageProperties
- func (o *ApplicationPackageProperties) GetLastActivationTimeAsTime() (*time.Time, error)
- func (o *ApplicationPackageProperties) GetStorageUrlExpiryAsTime() (*time.Time, error)
- func (o *ApplicationPackageProperties) SetLastActivationTimeAsTime(input time.Time)
- func (o *ApplicationPackageProperties) SetStorageUrlExpiryAsTime(input time.Time)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type PackageState
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPackageState ¶
func PossibleValuesForPackageState() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type ActivateApplicationPackageParameters ¶
type ActivateApplicationPackageParameters struct {
Format string `json:"format"`
}
type ActivateOperationResponse ¶
type ActivateOperationResponse struct { HttpResponse *http.Response Model *ApplicationPackage }
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string AccountName string ApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, accountName 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) 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 ApplicationPackage ¶
type ApplicationPackage struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApplicationPackageProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationPackageClient ¶
type ApplicationPackageClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewApplicationPackageClientWithBaseURI ¶
func NewApplicationPackageClientWithBaseURI(endpoint string) ApplicationPackageClient
func (ApplicationPackageClient) Activate ¶
func (c ApplicationPackageClient) Activate(ctx context.Context, id VersionId, input ActivateApplicationPackageParameters) (result ActivateOperationResponse, err error)
Activate ...
func (ApplicationPackageClient) Create ¶
func (c ApplicationPackageClient) Create(ctx context.Context, id VersionId, input ApplicationPackage) (result CreateOperationResponse, err error)
Create ...
func (ApplicationPackageClient) Delete ¶
func (c ApplicationPackageClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
Delete ...
func (ApplicationPackageClient) Get ¶
func (c ApplicationPackageClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (ApplicationPackageClient) List ¶
func (c ApplicationPackageClient) List(ctx context.Context, id ApplicationId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ApplicationPackageClient) ListComplete ¶
func (c ApplicationPackageClient) ListComplete(ctx context.Context, id ApplicationId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ApplicationPackageClient) ListCompleteMatchingPredicate ¶
func (c ApplicationPackageClient) ListCompleteMatchingPredicate(ctx context.Context, id ApplicationId, options ListOperationOptions, predicate ApplicationPackageOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ApplicationPackageOperationPredicate ¶
type ApplicationPackageOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ApplicationPackageOperationPredicate) Matches ¶
func (p ApplicationPackageOperationPredicate) Matches(input ApplicationPackage) bool
type ApplicationPackageProperties ¶
type ApplicationPackageProperties struct { Format *string `json:"format,omitempty"` LastActivationTime *string `json:"lastActivationTime,omitempty"` State *PackageState `json:"state,omitempty"` StorageUrl *string `json:"storageUrl,omitempty"` StorageUrlExpiry *string `json:"storageUrlExpiry,omitempty"` }
func (*ApplicationPackageProperties) GetLastActivationTimeAsTime ¶
func (o *ApplicationPackageProperties) GetLastActivationTimeAsTime() (*time.Time, error)
func (*ApplicationPackageProperties) GetStorageUrlExpiryAsTime ¶
func (o *ApplicationPackageProperties) GetStorageUrlExpiryAsTime() (*time.Time, error)
func (*ApplicationPackageProperties) SetLastActivationTimeAsTime ¶
func (o *ApplicationPackageProperties) SetLastActivationTimeAsTime(input time.Time)
func (*ApplicationPackageProperties) SetStorageUrlExpiryAsTime ¶
func (o *ApplicationPackageProperties) SetStorageUrlExpiryAsTime(input time.Time)
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *ApplicationPackage }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ApplicationPackage }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ApplicationPackage
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Maxresults *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ApplicationPackage // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type PackageState ¶
type PackageState string
const ( PackageStateActive PackageState = "Active" PackageStatePending PackageState = "Pending" )
type VersionId ¶
type VersionId struct { SubscriptionId string ResourceGroupName string AccountName string ApplicationName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, resourceGroupName string, accountName string, applicationName 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
Source Files ¶
- client.go
- constants.go
- id_application.go
- id_version.go
- method_activate_autorest.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_activateapplicationpackageparameters.go
- model_applicationpackage.go
- model_applicationpackageproperties.go
- predicates.go
- version.go