Documentation ¶
Index ¶
- func PossibleValuesForCommandLineSetting() []string
- func PossibleValuesForRemoteApplicationType() []string
- func ValidateApplicationGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- type Application
- type ApplicationClient
- func (c ApplicationClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input Application) (result CreateOrUpdateOperationResponse, err error)
- func (c ApplicationClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
- func (c ApplicationClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
- func (c ApplicationClient) List(ctx context.Context, id ApplicationGroupId) (result ListOperationResponse, err error)
- func (c ApplicationClient) ListComplete(ctx context.Context, id ApplicationGroupId) (ListCompleteResult, error)
- func (c ApplicationClient) ListCompleteMatchingPredicate(ctx context.Context, id ApplicationGroupId, ...) (result ListCompleteResult, err error)
- func (c ApplicationClient) Update(ctx context.Context, id ApplicationId, input ApplicationPatch) (result UpdateOperationResponse, err error)
- type ApplicationGroupId
- type ApplicationId
- type ApplicationOperationPredicate
- type ApplicationPatch
- type ApplicationPatchProperties
- type ApplicationProperties
- type CommandLineSetting
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type RemoteApplicationType
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCommandLineSetting ¶
func PossibleValuesForCommandLineSetting() []string
func PossibleValuesForRemoteApplicationType ¶
func PossibleValuesForRemoteApplicationType() []string
func ValidateApplicationGroupID ¶
ValidateApplicationGroupID checks that 'input' can be parsed as a Application Group ID
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
Types ¶
type Application ¶
type Application struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ApplicationProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationClient ¶
type ApplicationClient struct {
Client *resourcemanager.Client
}
func NewApplicationClientWithBaseURI ¶
func NewApplicationClientWithBaseURI(api environments.Api) (*ApplicationClient, error)
func (ApplicationClient) CreateOrUpdate ¶
func (c ApplicationClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input Application) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApplicationClient) Delete ¶
func (c ApplicationClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
Delete ...
func (ApplicationClient) Get ¶
func (c ApplicationClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
Get ...
func (ApplicationClient) List ¶
func (c ApplicationClient) List(ctx context.Context, id ApplicationGroupId) (result ListOperationResponse, err error)
List ...
func (ApplicationClient) ListComplete ¶
func (c ApplicationClient) ListComplete(ctx context.Context, id ApplicationGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ApplicationClient) ListCompleteMatchingPredicate ¶
func (c ApplicationClient) ListCompleteMatchingPredicate(ctx context.Context, id ApplicationGroupId, predicate ApplicationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApplicationClient) Update ¶
func (c ApplicationClient) Update(ctx context.Context, id ApplicationId, input ApplicationPatch) (result UpdateOperationResponse, err error)
Update ...
type ApplicationGroupId ¶
type ApplicationGroupId struct { SubscriptionId string ResourceGroupName string ApplicationGroupName string }
ApplicationGroupId is a struct representing the Resource ID for a Application Group
func NewApplicationGroupID ¶
func NewApplicationGroupID(subscriptionId string, resourceGroupName string, applicationGroupName string) ApplicationGroupId
NewApplicationGroupID returns a new ApplicationGroupId struct
func ParseApplicationGroupID ¶
func ParseApplicationGroupID(input string) (*ApplicationGroupId, error)
ParseApplicationGroupID parses 'input' into a ApplicationGroupId
func ParseApplicationGroupIDInsensitively ¶
func ParseApplicationGroupIDInsensitively(input string) (*ApplicationGroupId, error)
ParseApplicationGroupIDInsensitively parses 'input' case-insensitively into a ApplicationGroupId note: this method should only be used for API response data and not user input
func (ApplicationGroupId) ID ¶
func (id ApplicationGroupId) ID() string
ID returns the formatted Application Group ID
func (ApplicationGroupId) Segments ¶
func (id ApplicationGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application Group ID
func (ApplicationGroupId) String ¶
func (id ApplicationGroupId) String() string
String returns a human-readable description of this Application Group ID
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string ApplicationGroupName string ApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, applicationGroupName 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 ApplicationOperationPredicate ¶
func (ApplicationOperationPredicate) Matches ¶
func (p ApplicationOperationPredicate) Matches(input Application) bool
type ApplicationPatch ¶
type ApplicationPatch struct { Properties *ApplicationPatchProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ApplicationPatchProperties ¶
type ApplicationPatchProperties struct { ApplicationType *RemoteApplicationType `json:"applicationType,omitempty"` CommandLineArguments *string `json:"commandLineArguments,omitempty"` CommandLineSetting *CommandLineSetting `json:"commandLineSetting,omitempty"` Description *string `json:"description,omitempty"` FilePath *string `json:"filePath,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` IconIndex *int64 `json:"iconIndex,omitempty"` IconPath *string `json:"iconPath,omitempty"` MsixPackageApplicationId *string `json:"msixPackageApplicationId,omitempty"` MsixPackageFamilyName *string `json:"msixPackageFamilyName,omitempty"` ShowInPortal *bool `json:"showInPortal,omitempty"` }
type ApplicationProperties ¶
type ApplicationProperties struct { ApplicationType *RemoteApplicationType `json:"applicationType,omitempty"` CommandLineArguments *string `json:"commandLineArguments,omitempty"` CommandLineSetting CommandLineSetting `json:"commandLineSetting"` Description *string `json:"description,omitempty"` FilePath *string `json:"filePath,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` IconContent *string `json:"iconContent,omitempty"` IconHash *string `json:"iconHash,omitempty"` IconIndex *int64 `json:"iconIndex,omitempty"` IconPath *string `json:"iconPath,omitempty"` MsixPackageApplicationId *string `json:"msixPackageApplicationId,omitempty"` MsixPackageFamilyName *string `json:"msixPackageFamilyName,omitempty"` ObjectId *string `json:"objectId,omitempty"` ShowInPortal *bool `json:"showInPortal,omitempty"` }
type CommandLineSetting ¶
type CommandLineSetting string
const ( CommandLineSettingAllow CommandLineSetting = "Allow" CommandLineSettingDoNotAllow CommandLineSetting = "DoNotAllow" CommandLineSettingRequire CommandLineSetting = "Require" )
func (*CommandLineSetting) UnmarshalJSON ¶
func (s *CommandLineSetting) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Application }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Application }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Application
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Application }
type RemoteApplicationType ¶
type RemoteApplicationType string
const ( RemoteApplicationTypeInBuilt RemoteApplicationType = "InBuilt" RemoteApplicationTypeMsixApplication RemoteApplicationType = "MsixApplication" )
func (*RemoteApplicationType) UnmarshalJSON ¶
func (s *RemoteApplicationType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Application }