msiximage

package
v0.20240527.1094340 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateHostPoolID

func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)

ValidateHostPoolID checks that 'input' can be parsed as a Host Pool ID

Types

type ExpandCompleteResult

type ExpandCompleteResult struct {
	LatestHttpResponse *http.Response
	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

type ExpandMsixImageOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ExpandMsixImageOperationPredicate) Matches

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
	OData        *odata.OData
	Model        *[]ExpandMsixImage
}

type HostPoolId

type HostPoolId struct {
	SubscriptionId    string
	ResourceGroupName string
	HostPoolName      string
}

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) ID

func (id HostPoolId) ID() string

ID returns the formatted Host Pool ID

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

type MsixImageClient struct {
	Client *resourcemanager.Client
}

func NewMsixImageClientWithBaseURI

func NewMsixImageClientWithBaseURI(sdkApi sdkEnv.Api) (*MsixImageClient, error)

func (MsixImageClient) Expand

func (c MsixImageClient) Expand(ctx context.Context, id HostPoolId, input MSIXImageURI) (result ExpandOperationResponse, err error)

Expand ...

func (MsixImageClient) ExpandComplete

func (c MsixImageClient) ExpandComplete(ctx context.Context, id HostPoolId, input MSIXImageURI) (ExpandCompleteResult, error)

ExpandComplete retrieves all the results into a single object

func (MsixImageClient) ExpandCompleteMatchingPredicate

func (c MsixImageClient) ExpandCompleteMatchingPredicate(ctx context.Context, id HostPoolId, input MSIXImageURI, predicate ExpandMsixImageOperationPredicate) (result ExpandCompleteResult, err error)

ExpandCompleteMatchingPredicate retrieves all the results and then applies 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"`
}

type MsixPackageDependencies

type MsixPackageDependencies struct {
	DependencyName *string `json:"dependencyName,omitempty"`
	MinVersion     *string `json:"minVersion,omitempty"`
	Publisher      *string `json:"publisher,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL