Documentation ¶
Index ¶
- func PossibleValuesForAppAttachPackageArchitectures() []string
- func PossibleValuesForFailHealthCheckOnStagingFailure() []string
- func PossibleValuesForPackageTimestamped() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)
- type AppAttachPackage
- type AppAttachPackageArchitectures
- type AppAttachPackageInfoClient
- func (c AppAttachPackageInfoClient) Import(ctx context.Context, id HostPoolId, input ImportPackageInfoRequest) (result ImportOperationResponse, err error)
- func (c AppAttachPackageInfoClient) ImportComplete(ctx context.Context, id HostPoolId, input ImportPackageInfoRequest) (ImportCompleteResult, error)
- func (c AppAttachPackageInfoClient) ImportCompleteMatchingPredicate(ctx context.Context, id HostPoolId, input ImportPackageInfoRequest, ...) (result ImportCompleteResult, err error)
- type AppAttachPackageInfoProperties
- func (o *AppAttachPackageInfoProperties) GetCertificateExpiryAsTime() (*time.Time, error)
- func (o *AppAttachPackageInfoProperties) GetLastUpdatedAsTime() (*time.Time, error)
- func (o *AppAttachPackageInfoProperties) SetCertificateExpiryAsTime(input time.Time)
- func (o *AppAttachPackageInfoProperties) SetLastUpdatedAsTime(input time.Time)
- type AppAttachPackageOperationPredicate
- type AppAttachPackageProperties
- type FailHealthCheckOnStagingFailure
- type HostPoolId
- type ImportCompleteResult
- type ImportCustomPager
- type ImportOperationResponse
- type ImportPackageInfoRequest
- type MsixPackageApplications
- type MsixPackageDependencies
- type PackageTimestamped
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAppAttachPackageArchitectures ¶
func PossibleValuesForAppAttachPackageArchitectures() []string
func PossibleValuesForFailHealthCheckOnStagingFailure ¶
func PossibleValuesForFailHealthCheckOnStagingFailure() []string
func PossibleValuesForPackageTimestamped ¶
func PossibleValuesForPackageTimestamped() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateHostPoolID ¶
ValidateHostPoolID checks that 'input' can be parsed as a Host Pool ID
Types ¶
type AppAttachPackage ¶
type AppAttachPackage struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties AppAttachPackageProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AppAttachPackageArchitectures ¶
type AppAttachPackageArchitectures string
const ( AppAttachPackageArchitecturesALL AppAttachPackageArchitectures = "ALL" AppAttachPackageArchitecturesARM AppAttachPackageArchitectures = "ARM" AppAttachPackageArchitecturesARMSixFour AppAttachPackageArchitectures = "ARM64" AppAttachPackageArchitecturesNeutral AppAttachPackageArchitectures = "Neutral" AppAttachPackageArchitecturesXEightSix AppAttachPackageArchitectures = "x86" AppAttachPackageArchitecturesXEightSixaSixFour AppAttachPackageArchitectures = "x86a64" AppAttachPackageArchitecturesXSixFour AppAttachPackageArchitectures = "x64" )
func (*AppAttachPackageArchitectures) UnmarshalJSON ¶
func (s *AppAttachPackageArchitectures) UnmarshalJSON(bytes []byte) error
type AppAttachPackageInfoClient ¶
type AppAttachPackageInfoClient struct {
Client *resourcemanager.Client
}
func NewAppAttachPackageInfoClientWithBaseURI ¶
func NewAppAttachPackageInfoClientWithBaseURI(sdkApi sdkEnv.Api) (*AppAttachPackageInfoClient, error)
func (AppAttachPackageInfoClient) Import ¶
func (c AppAttachPackageInfoClient) Import(ctx context.Context, id HostPoolId, input ImportPackageInfoRequest) (result ImportOperationResponse, err error)
Import ...
func (AppAttachPackageInfoClient) ImportComplete ¶
func (c AppAttachPackageInfoClient) ImportComplete(ctx context.Context, id HostPoolId, input ImportPackageInfoRequest) (ImportCompleteResult, error)
ImportComplete retrieves all the results into a single object
func (AppAttachPackageInfoClient) ImportCompleteMatchingPredicate ¶
func (c AppAttachPackageInfoClient) ImportCompleteMatchingPredicate(ctx context.Context, id HostPoolId, input ImportPackageInfoRequest, predicate AppAttachPackageOperationPredicate) (result ImportCompleteResult, err error)
ImportCompleteMatchingPredicate retrieves all the results and then applies the predicate
type AppAttachPackageInfoProperties ¶
type AppAttachPackageInfoProperties struct { CertificateExpiry *string `json:"certificateExpiry,omitempty"` CertificateName *string `json:"certificateName,omitempty"` DisplayName *string `json:"displayName,omitempty"` ImagePath *string `json:"imagePath,omitempty"` IsActive *bool `json:"isActive,omitempty"` IsPackageTimestamped *PackageTimestamped `json:"isPackageTimestamped,omitempty"` IsRegularRegistration *bool `json:"isRegularRegistration,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` PackageAlias *string `json:"packageAlias,omitempty"` PackageApplications *[]MsixPackageApplications `json:"packageApplications,omitempty"` PackageDependencies *[]MsixPackageDependencies `json:"packageDependencies,omitempty"` PackageFamilyName *string `json:"packageFamilyName,omitempty"` PackageFullName *string `json:"packageFullName,omitempty"` PackageName *string `json:"packageName,omitempty"` PackageRelativePath *string `json:"packageRelativePath,omitempty"` Version *string `json:"version,omitempty"` }
func (*AppAttachPackageInfoProperties) GetCertificateExpiryAsTime ¶
func (o *AppAttachPackageInfoProperties) GetCertificateExpiryAsTime() (*time.Time, error)
func (*AppAttachPackageInfoProperties) GetLastUpdatedAsTime ¶
func (o *AppAttachPackageInfoProperties) GetLastUpdatedAsTime() (*time.Time, error)
func (*AppAttachPackageInfoProperties) SetCertificateExpiryAsTime ¶
func (o *AppAttachPackageInfoProperties) SetCertificateExpiryAsTime(input time.Time)
func (*AppAttachPackageInfoProperties) SetLastUpdatedAsTime ¶
func (o *AppAttachPackageInfoProperties) SetLastUpdatedAsTime(input time.Time)
type AppAttachPackageOperationPredicate ¶
type AppAttachPackageOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (AppAttachPackageOperationPredicate) Matches ¶
func (p AppAttachPackageOperationPredicate) Matches(input AppAttachPackage) bool
type AppAttachPackageProperties ¶
type AppAttachPackageProperties struct { FailHealthCheckOnStagingFailure *FailHealthCheckOnStagingFailure `json:"failHealthCheckOnStagingFailure,omitempty"` HostPoolReferences *[]string `json:"hostPoolReferences,omitempty"` Image *AppAttachPackageInfoProperties `json:"image,omitempty"` KeyVaultURL *string `json:"keyVaultURL,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type FailHealthCheckOnStagingFailure ¶
type FailHealthCheckOnStagingFailure string
const ( FailHealthCheckOnStagingFailureDoNotFail FailHealthCheckOnStagingFailure = "DoNotFail" FailHealthCheckOnStagingFailureNeedsAssistance FailHealthCheckOnStagingFailure = "NeedsAssistance" FailHealthCheckOnStagingFailureUnhealthy FailHealthCheckOnStagingFailure = "Unhealthy" )
func (*FailHealthCheckOnStagingFailure) UnmarshalJSON ¶
func (s *FailHealthCheckOnStagingFailure) UnmarshalJSON(bytes []byte) error
type HostPoolId ¶
HostPoolId is a struct representing the Resource ID for a Host Pool
func NewHostPoolID ¶
func NewHostPoolID(subscriptionId string, resourceGroupName string, hostPoolName string) HostPoolId
NewHostPoolID returns a new HostPoolId struct
func ParseHostPoolID ¶
func ParseHostPoolID(input string) (*HostPoolId, error)
ParseHostPoolID parses 'input' into a HostPoolId
func ParseHostPoolIDInsensitively ¶
func ParseHostPoolIDInsensitively(input string) (*HostPoolId, error)
ParseHostPoolIDInsensitively parses 'input' case-insensitively into a HostPoolId note: this method should only be used for API response data and not user input
func (*HostPoolId) FromParseResult ¶
func (id *HostPoolId) FromParseResult(input resourceids.ParseResult) error
func (HostPoolId) Segments ¶
func (id HostPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Host Pool ID
func (HostPoolId) String ¶
func (id HostPoolId) String() string
String returns a human-readable description of this Host Pool ID
type ImportCompleteResult ¶
type ImportCompleteResult struct { LatestHttpResponse *http.Response Items []AppAttachPackage }
type ImportCustomPager ¶
func (*ImportCustomPager) NextPageLink ¶
func (p *ImportCustomPager) NextPageLink() *odata.Link
type ImportOperationResponse ¶
type ImportOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AppAttachPackage }
type ImportPackageInfoRequest ¶
type ImportPackageInfoRequest struct { PackageArchitecture *AppAttachPackageArchitectures `json:"packageArchitecture,omitempty"` Path *string `json:"path,omitempty"` }
type MsixPackageApplications ¶
type MsixPackageApplications struct { AppId *string `json:"appId,omitempty"` AppUserModelID *string `json:"appUserModelID,omitempty"` Description *string `json:"description,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` IconImageName *string `json:"iconImageName,omitempty"` RawIcon *string `json:"rawIcon,omitempty"` RawPng *string `json:"rawPng,omitempty"` }
type MsixPackageDependencies ¶
type PackageTimestamped ¶
type PackageTimestamped string
const ( PackageTimestampedNotTimestamped PackageTimestamped = "NotTimestamped" PackageTimestampedTimestamped PackageTimestamped = "Timestamped" )
func (*PackageTimestamped) UnmarshalJSON ¶
func (s *PackageTimestamped) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error