README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/desktopvirtualization/2021-09-03-preview/msiximage
Documentation
The msiximage
SDK allows for interaction with the Azure Resource Manager Service desktopvirtualization
(API Version 2021-09-03-preview
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/desktopvirtualization/2021-09-03-preview/msiximage"
Client Initialization
client := msiximage.NewMsixImageClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: MsixImageClient.Expand
ctx := context.TODO()
id := msiximage.NewHostPoolID("12345678-1234-9876-4563-123456789012", "example-resource-group", "hostPoolValue")
payload := msiximage.MSIXImageURI{
// ...
}
// alternatively `client.Expand(ctx, id, payload)` can be used to do batched pagination
items, err := client.ExpandComplete(ctx, id, payload)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Documentation ¶
Index ¶
- func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)
- type ExpandCompleteResult
- type ExpandMsixImage
- type ExpandMsixImageOperationPredicate
- type ExpandMsixImageProperties
- type ExpandOperationResponse
- type HostPoolId
- type MSIXImageURI
- type MsixImageClient
- func (c MsixImageClient) Expand(ctx context.Context, id HostPoolId, input MSIXImageURI) (resp ExpandOperationResponse, err error)
- func (c MsixImageClient) ExpandComplete(ctx context.Context, id HostPoolId, input MSIXImageURI) (ExpandCompleteResult, error)
- func (c MsixImageClient) ExpandCompleteMatchingPredicate(ctx context.Context, id HostPoolId, input MSIXImageURI, ...) (resp ExpandCompleteResult, err error)
- type MsixPackageApplications
- type MsixPackageDependencies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHostPoolID ¶
ValidateHostPoolID checks that 'input' can be parsed as a Host Pool ID
Types ¶
type ExpandCompleteResult ¶
type ExpandCompleteResult struct {
Items []ExpandMsixImage
}
type ExpandMsixImage ¶
type ExpandMsixImage struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExpandMsixImageProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExpandMsixImageOperationPredicate ¶
func (ExpandMsixImageOperationPredicate) Matches ¶
func (p ExpandMsixImageOperationPredicate) Matches(input ExpandMsixImage) bool
type ExpandMsixImageProperties ¶
type ExpandMsixImageProperties struct { DisplayName *string `json:"displayName,omitempty"` ImagePath *string `json:"imagePath,omitempty"` IsActive *bool `json:"isActive,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 (*ExpandMsixImageProperties) GetLastUpdatedAsTime ¶
func (o *ExpandMsixImageProperties) GetLastUpdatedAsTime() (*time.Time, error)
func (*ExpandMsixImageProperties) SetLastUpdatedAsTime ¶
func (o *ExpandMsixImageProperties) SetLastUpdatedAsTime(input time.Time)
type ExpandOperationResponse ¶
type ExpandOperationResponse struct { HttpResponse *http.Response Model *[]ExpandMsixImage // contains filtered or unexported fields }
func (ExpandOperationResponse) HasMore ¶
func (r ExpandOperationResponse) HasMore() bool
func (ExpandOperationResponse) LoadMore ¶
func (r ExpandOperationResponse) LoadMore(ctx context.Context) (resp ExpandOperationResponse, err 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) 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 MSIXImageURI ¶
type MSIXImageURI struct {
Uri *string `json:"uri,omitempty"`
}
type MsixImageClient ¶
func NewMsixImageClientWithBaseURI ¶
func NewMsixImageClientWithBaseURI(endpoint string) MsixImageClient
func (MsixImageClient) Expand ¶
func (c MsixImageClient) Expand(ctx context.Context, id HostPoolId, input MSIXImageURI) (resp ExpandOperationResponse, err error)
Expand ...
func (MsixImageClient) ExpandComplete ¶
func (c MsixImageClient) ExpandComplete(ctx context.Context, id HostPoolId, input MSIXImageURI) (ExpandCompleteResult, error)
ExpandComplete retrieves all of the results into a single object
func (MsixImageClient) ExpandCompleteMatchingPredicate ¶
func (c MsixImageClient) ExpandCompleteMatchingPredicate(ctx context.Context, id HostPoolId, input MSIXImageURI, predicate ExpandMsixImageOperationPredicate) (resp ExpandCompleteResult, err error)
ExpandCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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"` }