desktopvirtualization

package
v66.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package desktopvirtualization implements the Azure ARM Desktopvirtualization service API version 2021-09-03-preview.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Desktopvirtualization
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type Application

type Application struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ApplicationProperties - Detailed properties for Application
	*ApplicationProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Application schema for Application properties.

func (Application) MarshalJSON

func (a Application) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Application.

func (*Application) UnmarshalJSON

func (a *Application) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Application struct.

type ApplicationGroup

type ApplicationGroup struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ApplicationGroupProperties - Detailed properties for ApplicationGroup
	*ApplicationGroupProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ManagedBy - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
	ManagedBy *string `json:"managedBy,omitempty"`
	// Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind *string `json:"kind,omitempty"`
	// Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags     map[string]*string                           `json:"tags"`
	Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
	Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
	Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

ApplicationGroup represents a ApplicationGroup definition.

func (ApplicationGroup) MarshalJSON

func (ag ApplicationGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGroup.

func (*ApplicationGroup) UnmarshalJSON

func (ag *ApplicationGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGroup struct.

type ApplicationGroupList

type ApplicationGroupList struct {
	autorest.Response `json:"-"`
	// Value - List of ApplicationGroup definitions.
	Value *[]ApplicationGroup `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationGroupList list of ApplicationGroup definitions.

func (ApplicationGroupList) IsEmpty

func (agl ApplicationGroupList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ApplicationGroupList) MarshalJSON

func (agl ApplicationGroupList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGroupList.

type ApplicationGroupListIterator

type ApplicationGroupListIterator struct {
	// contains filtered or unexported fields
}

ApplicationGroupListIterator provides access to a complete listing of ApplicationGroup values.

func NewApplicationGroupListIterator

func NewApplicationGroupListIterator(page ApplicationGroupListPage) ApplicationGroupListIterator

Creates a new instance of the ApplicationGroupListIterator type.

func (*ApplicationGroupListIterator) Next

func (iter *ApplicationGroupListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationGroupListIterator) NextWithContext

func (iter *ApplicationGroupListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationGroupListIterator) NotDone

func (iter ApplicationGroupListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationGroupListIterator) Response

Response returns the raw server response from the last page request.

func (ApplicationGroupListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationGroupListPage

type ApplicationGroupListPage struct {
	// contains filtered or unexported fields
}

ApplicationGroupListPage contains a page of ApplicationGroup values.

func NewApplicationGroupListPage

func NewApplicationGroupListPage(cur ApplicationGroupList, getNextPage func(context.Context, ApplicationGroupList) (ApplicationGroupList, error)) ApplicationGroupListPage

Creates a new instance of the ApplicationGroupListPage type.

func (*ApplicationGroupListPage) Next

func (page *ApplicationGroupListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationGroupListPage) NextWithContext

func (page *ApplicationGroupListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationGroupListPage) NotDone

func (page ApplicationGroupListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationGroupListPage) Response

Response returns the raw server response from the last page request.

func (ApplicationGroupListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationGroupPatch

type ApplicationGroupPatch struct {
	// Tags - tags to be updated
	Tags map[string]*string `json:"tags"`
	// ApplicationGroupPatchProperties - ApplicationGroup properties that can be patched.
	*ApplicationGroupPatchProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

ApplicationGroupPatch applicationGroup properties that can be patched.

func (ApplicationGroupPatch) MarshalJSON

func (agp ApplicationGroupPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGroupPatch.

func (*ApplicationGroupPatch) UnmarshalJSON

func (agp *ApplicationGroupPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGroupPatch struct.

type ApplicationGroupPatchProperties

type ApplicationGroupPatchProperties struct {
	// Description - Description of ApplicationGroup.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of ApplicationGroup.
	FriendlyName *string `json:"friendlyName,omitempty"`
}

ApplicationGroupPatchProperties applicationGroup properties that can be patched.

type ApplicationGroupProperties

type ApplicationGroupProperties struct {
	// ObjectID - READ-ONLY; ObjectId of ApplicationGroup. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// Description - Description of ApplicationGroup.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of ApplicationGroup.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// HostPoolArmPath - HostPool arm path of ApplicationGroup.
	HostPoolArmPath *string `json:"hostPoolArmPath,omitempty"`
	// WorkspaceArmPath - READ-ONLY; Workspace arm path of ApplicationGroup.
	WorkspaceArmPath *string `json:"workspaceArmPath,omitempty"`
	// ApplicationGroupType - Resource Type of ApplicationGroup. Possible values include: 'ApplicationGroupTypeRemoteApp', 'ApplicationGroupTypeDesktop'
	ApplicationGroupType ApplicationGroupType `json:"applicationGroupType,omitempty"`
	// MigrationRequest - The registration info of HostPool.
	MigrationRequest *MigrationRequestProperties `json:"migrationRequest,omitempty"`
	// CloudPcResource - READ-ONLY; Is cloud pc resource.
	CloudPcResource *bool `json:"cloudPcResource,omitempty"`
}

ApplicationGroupProperties schema for ApplicationGroup properties.

func (ApplicationGroupProperties) MarshalJSON

func (agp ApplicationGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGroupProperties.

type ApplicationGroupType

type ApplicationGroupType string

ApplicationGroupType enumerates the values for application group type.

const (
	// ApplicationGroupTypeDesktop ...
	ApplicationGroupTypeDesktop ApplicationGroupType = "Desktop"
	// ApplicationGroupTypeRemoteApp ...
	ApplicationGroupTypeRemoteApp ApplicationGroupType = "RemoteApp"
)

func PossibleApplicationGroupTypeValues

func PossibleApplicationGroupTypeValues() []ApplicationGroupType

PossibleApplicationGroupTypeValues returns an array of possible values for the ApplicationGroupType const type.

type ApplicationGroupsClient

type ApplicationGroupsClient struct {
	BaseClient
}

ApplicationGroupsClient is the client for the ApplicationGroups methods of the Desktopvirtualization service.

func NewApplicationGroupsClient

func NewApplicationGroupsClient(subscriptionID string) ApplicationGroupsClient

NewApplicationGroupsClient creates an instance of the ApplicationGroupsClient client.

func NewApplicationGroupsClientWithBaseURI

func NewApplicationGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGroupsClient

NewApplicationGroupsClientWithBaseURI creates an instance of the ApplicationGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationGroupsClient) CreateOrUpdate

func (client ApplicationGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup ApplicationGroup) (result ApplicationGroup, err error)

CreateOrUpdate create or update an applicationGroup. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationGroup - object containing ApplicationGroup definitions.

func (ApplicationGroupsClient) CreateOrUpdatePreparer

func (client ApplicationGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup ApplicationGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationGroupsClient) CreateOrUpdateResponder

func (client ApplicationGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationGroup, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplicationGroupsClient) CreateOrUpdateSender

func (client ApplicationGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplicationGroupsClient) Delete

func (client ApplicationGroupsClient) Delete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result autorest.Response, err error)

Delete remove an applicationGroup. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group

func (ApplicationGroupsClient) DeletePreparer

func (client ApplicationGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationGroupsClient) DeleteResponder

func (client ApplicationGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationGroupsClient) DeleteSender

func (client ApplicationGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplicationGroupsClient) Get

func (client ApplicationGroupsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationGroup, err error)

Get get an application group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group

func (ApplicationGroupsClient) GetPreparer

func (client ApplicationGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationGroupsClient) GetResponder

func (client ApplicationGroupsClient) GetResponder(resp *http.Response) (result ApplicationGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationGroupsClient) GetSender

func (client ApplicationGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationGroupsClient) ListByResourceGroup

func (client ApplicationGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result ApplicationGroupListPage, err error)

ListByResourceGroup list applicationGroups. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. filter - oData filter expression. Valid properties for filtering are applicationGroupType.

func (ApplicationGroupsClient) ListByResourceGroupComplete

func (client ApplicationGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result ApplicationGroupListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationGroupsClient) ListByResourceGroupPreparer

func (client ApplicationGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplicationGroupsClient) ListByResourceGroupResponder

func (client ApplicationGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationGroupList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ApplicationGroupsClient) ListByResourceGroupSender

func (client ApplicationGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ApplicationGroupsClient) ListBySubscription

func (client ApplicationGroupsClient) ListBySubscription(ctx context.Context, filter string) (result ApplicationGroupListPage, err error)

ListBySubscription list applicationGroups in subscription. Parameters: filter - oData filter expression. Valid properties for filtering are applicationGroupType.

func (ApplicationGroupsClient) ListBySubscriptionComplete

func (client ApplicationGroupsClient) ListBySubscriptionComplete(ctx context.Context, filter string) (result ApplicationGroupListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationGroupsClient) ListBySubscriptionPreparer

func (client ApplicationGroupsClient) ListBySubscriptionPreparer(ctx context.Context, filter string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ApplicationGroupsClient) ListBySubscriptionResponder

func (client ApplicationGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationGroupList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ApplicationGroupsClient) ListBySubscriptionSender

func (client ApplicationGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ApplicationGroupsClient) Update

func (client ApplicationGroupsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup *ApplicationGroupPatch) (result ApplicationGroup, err error)

Update update an applicationGroup. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationGroup - object containing ApplicationGroup definitions.

func (ApplicationGroupsClient) UpdatePreparer

func (client ApplicationGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup *ApplicationGroupPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ApplicationGroupsClient) UpdateResponder

func (client ApplicationGroupsClient) UpdateResponder(resp *http.Response) (result ApplicationGroup, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ApplicationGroupsClient) UpdateSender

func (client ApplicationGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ApplicationList

type ApplicationList struct {
	autorest.Response `json:"-"`
	// Value - List of Application definitions.
	Value *[]Application `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationList list of Application definitions.

func (ApplicationList) IsEmpty

func (al ApplicationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ApplicationList) MarshalJSON

func (al ApplicationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationList.

type ApplicationListIterator

type ApplicationListIterator struct {
	// contains filtered or unexported fields
}

ApplicationListIterator provides access to a complete listing of Application values.

func NewApplicationListIterator

func NewApplicationListIterator(page ApplicationListPage) ApplicationListIterator

Creates a new instance of the ApplicationListIterator type.

func (*ApplicationListIterator) Next

func (iter *ApplicationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationListIterator) NextWithContext

func (iter *ApplicationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationListIterator) NotDone

func (iter ApplicationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationListIterator) Response

func (iter ApplicationListIterator) Response() ApplicationList

Response returns the raw server response from the last page request.

func (ApplicationListIterator) Value

func (iter ApplicationListIterator) Value() Application

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationListPage

type ApplicationListPage struct {
	// contains filtered or unexported fields
}

ApplicationListPage contains a page of Application values.

func NewApplicationListPage

func NewApplicationListPage(cur ApplicationList, getNextPage func(context.Context, ApplicationList) (ApplicationList, error)) ApplicationListPage

Creates a new instance of the ApplicationListPage type.

func (*ApplicationListPage) Next

func (page *ApplicationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationListPage) NextWithContext

func (page *ApplicationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationListPage) NotDone

func (page ApplicationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationListPage) Response

func (page ApplicationListPage) Response() ApplicationList

Response returns the raw server response from the last page request.

func (ApplicationListPage) Values

func (page ApplicationListPage) Values() []Application

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationPatch

type ApplicationPatch struct {
	// Tags - tags to be updated
	Tags map[string]*string `json:"tags"`
	// ApplicationPatchProperties - Detailed properties for Application
	*ApplicationPatchProperties `json:"properties,omitempty"`
}

ApplicationPatch application properties that can be patched.

func (ApplicationPatch) MarshalJSON

func (ap ApplicationPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationPatch.

func (*ApplicationPatch) UnmarshalJSON

func (ap *ApplicationPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationPatch struct.

type ApplicationPatchProperties

type ApplicationPatchProperties struct {
	// Description - Description of Application.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of Application.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// FilePath - Specifies a path for the executable file for the application.
	FilePath *string `json:"filePath,omitempty"`
	// CommandLineSetting - Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: 'CommandLineSettingDoNotAllow', 'CommandLineSettingAllow', 'CommandLineSettingRequire'
	CommandLineSetting CommandLineSetting `json:"commandLineSetting,omitempty"`
	// CommandLineArguments - Command Line Arguments for Application.
	CommandLineArguments *string `json:"commandLineArguments,omitempty"`
	// ShowInPortal - Specifies whether to show the RemoteApp program in the RD Web Access server.
	ShowInPortal *bool `json:"showInPortal,omitempty"`
	// IconPath - Path to icon.
	IconPath *string `json:"iconPath,omitempty"`
	// IconIndex - Index of the icon.
	IconIndex *int32 `json:"iconIndex,omitempty"`
	// MsixPackageFamilyName - Specifies the package family name for MSIX applications
	MsixPackageFamilyName *string `json:"msixPackageFamilyName,omitempty"`
	// MsixPackageApplicationID - Specifies the package application Id for MSIX applications
	MsixPackageApplicationID *string `json:"msixPackageApplicationId,omitempty"`
	// ApplicationType - Resource Type of Application. Possible values include: 'RemoteApplicationTypeInBuilt', 'RemoteApplicationTypeMsixApplication'
	ApplicationType RemoteApplicationType `json:"applicationType,omitempty"`
}

ApplicationPatchProperties application properties that can be patched.

type ApplicationProperties

type ApplicationProperties struct {
	// ObjectID - READ-ONLY; ObjectId of Application. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// Description - Description of Application.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of Application.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// FilePath - Specifies a path for the executable file for the application.
	FilePath *string `json:"filePath,omitempty"`
	// MsixPackageFamilyName - Specifies the package family name for MSIX applications
	MsixPackageFamilyName *string `json:"msixPackageFamilyName,omitempty"`
	// MsixPackageApplicationID - Specifies the package application Id for MSIX applications
	MsixPackageApplicationID *string `json:"msixPackageApplicationId,omitempty"`
	// ApplicationType - Resource Type of Application. Possible values include: 'RemoteApplicationTypeInBuilt', 'RemoteApplicationTypeMsixApplication'
	ApplicationType RemoteApplicationType `json:"applicationType,omitempty"`
	// CommandLineSetting - Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: 'CommandLineSettingDoNotAllow', 'CommandLineSettingAllow', 'CommandLineSettingRequire'
	CommandLineSetting CommandLineSetting `json:"commandLineSetting,omitempty"`
	// CommandLineArguments - Command Line Arguments for Application.
	CommandLineArguments *string `json:"commandLineArguments,omitempty"`
	// ShowInPortal - Specifies whether to show the RemoteApp program in the RD Web Access server.
	ShowInPortal *bool `json:"showInPortal,omitempty"`
	// IconPath - Path to icon.
	IconPath *string `json:"iconPath,omitempty"`
	// IconIndex - Index of the icon.
	IconIndex *int32 `json:"iconIndex,omitempty"`
	// IconHash - READ-ONLY; Hash of the icon.
	IconHash *string `json:"iconHash,omitempty"`
	// IconContent - READ-ONLY; the icon a 64 bit string as a byte array.
	IconContent *[]byte `json:"iconContent,omitempty"`
}

ApplicationProperties schema for Application properties.

func (ApplicationProperties) MarshalJSON

func (ap ApplicationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationProperties.

type ApplicationType

type ApplicationType string

ApplicationType enumerates the values for application type.

const (
	// ApplicationTypeDesktop ...
	ApplicationTypeDesktop ApplicationType = "Desktop"
	// ApplicationTypeRemoteApp ...
	ApplicationTypeRemoteApp ApplicationType = "RemoteApp"
)

func PossibleApplicationTypeValues

func PossibleApplicationTypeValues() []ApplicationType

PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type.

type ApplicationsClient

type ApplicationsClient struct {
	BaseClient
}

ApplicationsClient is the client for the Applications methods of the Desktopvirtualization service.

func NewApplicationsClient

func NewApplicationsClient(subscriptionID string) ApplicationsClient

NewApplicationsClient creates an instance of the ApplicationsClient client.

func NewApplicationsClientWithBaseURI

func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient

NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationsClient) CreateOrUpdate

func (client ApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application Application) (result Application, err error)

CreateOrUpdate create or update an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group application - object containing Application definitions.

func (ApplicationsClient) CreateOrUpdatePreparer

func (client ApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application Application) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationsClient) CreateOrUpdateResponder

func (client ApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplicationsClient) CreateOrUpdateSender

func (client ApplicationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Delete

func (client ApplicationsClient) Delete(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (result autorest.Response, err error)

Delete remove an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group

func (ApplicationsClient) DeletePreparer

func (client ApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationsClient) DeleteResponder

func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationsClient) DeleteSender

func (client ApplicationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Get

func (client ApplicationsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (result Application, err error)

Get get an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group

func (ApplicationsClient) GetPreparer

func (client ApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationsClient) GetResponder

func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationsClient) GetSender

func (client ApplicationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) List

func (client ApplicationsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationListPage, err error)

List list applications. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group

func (ApplicationsClient) ListComplete

func (client ApplicationsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationsClient) ListPreparer

func (client ApplicationsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ApplicationsClient) ListResponder

func (client ApplicationsClient) ListResponder(resp *http.Response) (result ApplicationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplicationsClient) ListSender

func (client ApplicationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Update

func (client ApplicationsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application *ApplicationPatch) (result Application, err error)

Update update an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group application - object containing Application definitions.

func (ApplicationsClient) UpdatePreparer

func (client ApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application *ApplicationPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ApplicationsClient) UpdateResponder

func (client ApplicationsClient) UpdateResponder(resp *http.Response) (result Application, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ApplicationsClient) UpdateSender

func (client ApplicationsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AzureEntityResource

type AzureEntityResource struct {
	// Etag - READ-ONLY; Resource Etag.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Desktopvirtualization.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CloudError

type CloudError struct {
	Error *CloudErrorProperties `json:"error,omitempty"`
}

CloudError cloud error object.

type CloudErrorProperties

type CloudErrorProperties struct {
	// Code - Error code
	Code *string `json:"code,omitempty"`
	// Message - Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
}

CloudErrorProperties cloud error object properties.

type CommandLineSetting

type CommandLineSetting string

CommandLineSetting enumerates the values for command line setting.

const (
	// CommandLineSettingAllow ...
	CommandLineSettingAllow CommandLineSetting = "Allow"
	// CommandLineSettingDoNotAllow ...
	CommandLineSettingDoNotAllow CommandLineSetting = "DoNotAllow"
	// CommandLineSettingRequire ...
	CommandLineSettingRequire CommandLineSetting = "Require"
)

func PossibleCommandLineSettingValues

func PossibleCommandLineSettingValues() []CommandLineSetting

PossibleCommandLineSettingValues returns an array of possible values for the CommandLineSetting const type.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type Desktop

type Desktop struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// DesktopProperties - Detailed properties for Desktop
	*DesktopProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Desktop schema for Desktop properties.

func (Desktop) MarshalJSON

func (d Desktop) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Desktop.

func (*Desktop) UnmarshalJSON

func (d *Desktop) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Desktop struct.

type DesktopList

type DesktopList struct {
	autorest.Response `json:"-"`
	// Value - List of Desktop definitions.
	Value *[]Desktop `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DesktopList list of Desktop definitions.

func (DesktopList) IsEmpty

func (dl DesktopList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DesktopList) MarshalJSON

func (dl DesktopList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DesktopList.

type DesktopListIterator

type DesktopListIterator struct {
	// contains filtered or unexported fields
}

DesktopListIterator provides access to a complete listing of Desktop values.

func NewDesktopListIterator

func NewDesktopListIterator(page DesktopListPage) DesktopListIterator

Creates a new instance of the DesktopListIterator type.

func (*DesktopListIterator) Next

func (iter *DesktopListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DesktopListIterator) NextWithContext

func (iter *DesktopListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DesktopListIterator) NotDone

func (iter DesktopListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DesktopListIterator) Response

func (iter DesktopListIterator) Response() DesktopList

Response returns the raw server response from the last page request.

func (DesktopListIterator) Value

func (iter DesktopListIterator) Value() Desktop

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DesktopListPage

type DesktopListPage struct {
	// contains filtered or unexported fields
}

DesktopListPage contains a page of Desktop values.

func NewDesktopListPage

func NewDesktopListPage(cur DesktopList, getNextPage func(context.Context, DesktopList) (DesktopList, error)) DesktopListPage

Creates a new instance of the DesktopListPage type.

func (*DesktopListPage) Next

func (page *DesktopListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DesktopListPage) NextWithContext

func (page *DesktopListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DesktopListPage) NotDone

func (page DesktopListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DesktopListPage) Response

func (page DesktopListPage) Response() DesktopList

Response returns the raw server response from the last page request.

func (DesktopListPage) Values

func (page DesktopListPage) Values() []Desktop

Values returns the slice of values for the current page or nil if there are no values.

type DesktopPatch

type DesktopPatch struct {
	// Tags - tags to be updated
	Tags map[string]*string `json:"tags"`
	// DesktopPatchProperties - Detailed properties for Desktop
	*DesktopPatchProperties `json:"properties,omitempty"`
}

DesktopPatch desktop properties that can be patched.

func (DesktopPatch) MarshalJSON

func (dp DesktopPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DesktopPatch.

func (*DesktopPatch) UnmarshalJSON

func (dp *DesktopPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DesktopPatch struct.

type DesktopPatchProperties

type DesktopPatchProperties struct {
	// Description - Description of Desktop.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of Desktop.
	FriendlyName *string `json:"friendlyName,omitempty"`
}

DesktopPatchProperties desktop properties that can be patched.

type DesktopProperties

type DesktopProperties struct {
	// ObjectID - READ-ONLY; ObjectId of Desktop. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// Description - Description of Desktop.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of Desktop.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// IconHash - READ-ONLY; Hash of the icon.
	IconHash *string `json:"iconHash,omitempty"`
	// IconContent - READ-ONLY; The icon a 64 bit string as a byte array.
	IconContent *[]byte `json:"iconContent,omitempty"`
}

DesktopProperties schema for Desktop properties.

func (DesktopProperties) MarshalJSON

func (dp DesktopProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DesktopProperties.

type DesktopsClient

type DesktopsClient struct {
	BaseClient
}

DesktopsClient is the client for the Desktops methods of the Desktopvirtualization service.

func NewDesktopsClient

func NewDesktopsClient(subscriptionID string) DesktopsClient

NewDesktopsClient creates an instance of the DesktopsClient client.

func NewDesktopsClientWithBaseURI

func NewDesktopsClientWithBaseURI(baseURI string, subscriptionID string) DesktopsClient

NewDesktopsClientWithBaseURI creates an instance of the DesktopsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DesktopsClient) Get

func (client DesktopsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string) (result Desktop, err error)

Get get a desktop. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group desktopName - the name of the desktop within the specified desktop group

func (DesktopsClient) GetPreparer

func (client DesktopsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DesktopsClient) GetResponder

func (client DesktopsClient) GetResponder(resp *http.Response) (result Desktop, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DesktopsClient) GetSender

func (client DesktopsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DesktopsClient) List

func (client DesktopsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result DesktopListPage, err error)

List list desktops. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group

func (DesktopsClient) ListComplete

func (client DesktopsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result DesktopListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DesktopsClient) ListPreparer

func (client DesktopsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DesktopsClient) ListResponder

func (client DesktopsClient) ListResponder(resp *http.Response) (result DesktopList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DesktopsClient) ListSender

func (client DesktopsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DesktopsClient) Update

func (client DesktopsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string, desktop *DesktopPatch) (result Desktop, err error)

Update update a desktop. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group desktopName - the name of the desktop within the specified desktop group desktop - object containing Desktop definitions.

func (DesktopsClient) UpdatePreparer

func (client DesktopsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string, desktop *DesktopPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DesktopsClient) UpdateResponder

func (client DesktopsClient) UpdateResponder(resp *http.Response) (result Desktop, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DesktopsClient) UpdateSender

func (client DesktopsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ExpandMsixImage

type ExpandMsixImage struct {
	// ExpandMsixImageProperties - Detailed properties for ExpandMsixImage
	*ExpandMsixImageProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

ExpandMsixImage represents the definition of contents retrieved after expanding the MSIX Image.

func (ExpandMsixImage) MarshalJSON

func (emi ExpandMsixImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpandMsixImage.

func (*ExpandMsixImage) UnmarshalJSON

func (emi *ExpandMsixImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpandMsixImage struct.

type ExpandMsixImageList

type ExpandMsixImageList struct {
	autorest.Response `json:"-"`
	// Value - List of MSIX package properties from give MSIX Image.
	Value *[]ExpandMsixImage `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpandMsixImageList list of MSIX package properties retrieved from MSIX Image expansion.

func (ExpandMsixImageList) IsEmpty

func (emil ExpandMsixImageList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ExpandMsixImageList) MarshalJSON

func (emil ExpandMsixImageList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpandMsixImageList.

type ExpandMsixImageListIterator

type ExpandMsixImageListIterator struct {
	// contains filtered or unexported fields
}

ExpandMsixImageListIterator provides access to a complete listing of ExpandMsixImage values.

func NewExpandMsixImageListIterator

func NewExpandMsixImageListIterator(page ExpandMsixImageListPage) ExpandMsixImageListIterator

Creates a new instance of the ExpandMsixImageListIterator type.

func (*ExpandMsixImageListIterator) Next

func (iter *ExpandMsixImageListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpandMsixImageListIterator) NextWithContext

func (iter *ExpandMsixImageListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpandMsixImageListIterator) NotDone

func (iter ExpandMsixImageListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpandMsixImageListIterator) Response

Response returns the raw server response from the last page request.

func (ExpandMsixImageListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpandMsixImageListPage

type ExpandMsixImageListPage struct {
	// contains filtered or unexported fields
}

ExpandMsixImageListPage contains a page of ExpandMsixImage values.

func NewExpandMsixImageListPage

func NewExpandMsixImageListPage(cur ExpandMsixImageList, getNextPage func(context.Context, ExpandMsixImageList) (ExpandMsixImageList, error)) ExpandMsixImageListPage

Creates a new instance of the ExpandMsixImageListPage type.

func (*ExpandMsixImageListPage) Next

func (page *ExpandMsixImageListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpandMsixImageListPage) NextWithContext

func (page *ExpandMsixImageListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpandMsixImageListPage) NotDone

func (page ExpandMsixImageListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpandMsixImageListPage) Response

Response returns the raw server response from the last page request.

func (ExpandMsixImageListPage) Values

func (page ExpandMsixImageListPage) Values() []ExpandMsixImage

Values returns the slice of values for the current page or nil if there are no values.

type ExpandMsixImageProperties

type ExpandMsixImageProperties struct {
	// PackageAlias - Alias of MSIX Package.
	PackageAlias *string `json:"packageAlias,omitempty"`
	// ImagePath - VHD/CIM image path on Network Share.
	ImagePath *string `json:"imagePath,omitempty"`
	// PackageName - Package Name from appxmanifest.xml.
	PackageName *string `json:"packageName,omitempty"`
	// PackageFamilyName - Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
	PackageFamilyName *string `json:"packageFamilyName,omitempty"`
	// PackageFullName - Package Full Name from appxmanifest.xml.
	PackageFullName *string `json:"packageFullName,omitempty"`
	// DisplayName - User friendly Name to be displayed in the portal.
	DisplayName *string `json:"displayName,omitempty"`
	// PackageRelativePath - Relative Path to the package inside the image.
	PackageRelativePath *string `json:"packageRelativePath,omitempty"`
	// IsRegularRegistration - Specifies how to register Package in feed.
	IsRegularRegistration *bool `json:"isRegularRegistration,omitempty"`
	// IsActive - Make this version of the package the active one across the hostpool.
	IsActive *bool `json:"isActive,omitempty"`
	// PackageDependencies - List of package dependencies.
	PackageDependencies *[]MsixPackageDependencies `json:"packageDependencies,omitempty"`
	// Version - Package Version found in the appxmanifest.xml.
	Version *string `json:"version,omitempty"`
	// LastUpdated - Date Package was last updated, found in the appxmanifest.xml.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// PackageApplications - List of package applications.
	PackageApplications *[]MsixPackageApplications `json:"packageApplications,omitempty"`
}

ExpandMsixImageProperties schema for Expand MSIX Image properties.

type HealthCheckName

type HealthCheckName string

HealthCheckName enumerates the values for health check name.

const (
	// HealthCheckNameAppAttachHealthCheck Verifies that the AppAttachService is healthy (there were no issues
	// during package staging). The AppAttachService is used to enable the staging/registration (and eventual
	// deregistration/destaging) of MSIX apps that have been set up by the tenant admin. This checks whether
	// the component had any failures during package staging. Failures in staging will prevent some MSIX apps
	// from working properly for the end user. If this check fails, it is non fatal and the machine still can
	// service connections, main issue may be certain apps will not work for end-users.
	HealthCheckNameAppAttachHealthCheck HealthCheckName = "AppAttachHealthCheck"
	// HealthCheckNameDomainJoinedCheck Verifies the SessionHost is joined to a domain. If this check fails is
	// classified as fatal as no connection can succeed if the SessionHost is not joined to the domain.
	HealthCheckNameDomainJoinedCheck HealthCheckName = "DomainJoinedCheck"
	// HealthCheckNameDomainReachable Verifies the domain the SessionHost is joined to is still reachable. If
	// this check fails is classified as fatal as no connection can succeed if the domain the SessionHost is
	// joined is not reachable at the time of connection.
	HealthCheckNameDomainReachable HealthCheckName = "DomainReachable"
	// HealthCheckNameDomainTrustCheck Verifies the SessionHost is not experiencing domain trust issues that
	// will prevent authentication on SessionHost at connection time when session is created. If this check
	// fails is classified as fatal as no connection can succeed if we cannot reach the domain for
	// authentication on the SessionHost.
	HealthCheckNameDomainTrustCheck HealthCheckName = "DomainTrustCheck"
	// HealthCheckNameFSLogixHealthCheck Verifies the FSLogix service is up and running to make sure users'
	// profiles are loaded in the session. If this check fails is classified as fatal as even if the connection
	// can succeed, user experience is bad as the user profile cannot be loaded and user will get a temporary
	// profile in the session.
	HealthCheckNameFSLogixHealthCheck HealthCheckName = "FSLogixHealthCheck"
	// HealthCheckNameMetaDataServiceCheck Verifies the metadata service is accessible and return compute
	// properties.
	HealthCheckNameMetaDataServiceCheck HealthCheckName = "MetaDataServiceCheck"
	// HealthCheckNameMonitoringAgentCheck Verifies that the required Geneva agent is running. If this check
	// fails, it is non fatal and the machine still can service connections, main issue may be that monitoring
	// agent is missing or running (possibly) older version.
	HealthCheckNameMonitoringAgentCheck HealthCheckName = "MonitoringAgentCheck"
	// HealthCheckNameSupportedEncryptionCheck Verifies the value of SecurityLayer registration key. If the
	// value is 0 (SecurityLayer.RDP) this check fails with Error code = NativeMethodErrorCode.E_FAIL and is
	// fatal. If the value is 1 (SecurityLayer.Negotiate) this check fails with Error code =
	// NativeMethodErrorCode.ERROR_SUCCESS and is non fatal.
	HealthCheckNameSupportedEncryptionCheck HealthCheckName = "SupportedEncryptionCheck"
	// HealthCheckNameSxSStackListenerCheck Verifies that the SxS stack is up and running so connections can
	// succeed. If this check fails is classified as fatal as no connection can succeed if the SxS stack is not
	// ready.
	HealthCheckNameSxSStackListenerCheck HealthCheckName = "SxSStackListenerCheck"
	// HealthCheckNameUrlsAccessibleCheck Verifies that the required WVD service and Geneva URLs are reachable
	// from the SessionHost. These URLs are: RdTokenUri, RdBrokerURI, RdDiagnosticsUri and storage blob URLs
	// for agent monitoring (geneva). If this check fails, it is non fatal and the machine still can service
	// connections, main issue may be that monitoring agent is unable to store warm path data (logs, operations
	// ...).
	HealthCheckNameUrlsAccessibleCheck HealthCheckName = "UrlsAccessibleCheck"
	// HealthCheckNameWebRTCRedirectorCheck Verifies whether the WebRTCRedirector component is healthy. The
	// WebRTCRedirector component is used to optimize video and audio performance in Microsoft Teams. This
	// checks whether the component is still running, and whether there is a higher version available. If this
	// check fails, it is non fatal and the machine still can service connections, main issue may be the
	// WebRTCRedirector component has to be restarted or updated.
	HealthCheckNameWebRTCRedirectorCheck HealthCheckName = "WebRTCRedirectorCheck"
)

func PossibleHealthCheckNameValues

func PossibleHealthCheckNameValues() []HealthCheckName

PossibleHealthCheckNameValues returns an array of possible values for the HealthCheckName const type.

type HealthCheckResult

type HealthCheckResult string

HealthCheckResult enumerates the values for health check result.

const (
	// HealthCheckResultHealthCheckFailed Health check failed.
	HealthCheckResultHealthCheckFailed HealthCheckResult = "HealthCheckFailed"
	// HealthCheckResultHealthCheckSucceeded Health check passed.
	HealthCheckResultHealthCheckSucceeded HealthCheckResult = "HealthCheckSucceeded"
	// HealthCheckResultSessionHostShutdown We received a Shutdown notification.
	HealthCheckResultSessionHostShutdown HealthCheckResult = "SessionHostShutdown"
	// HealthCheckResultUnknown Health check result is not currently known.
	HealthCheckResultUnknown HealthCheckResult = "Unknown"
)

func PossibleHealthCheckResultValues

func PossibleHealthCheckResultValues() []HealthCheckResult

PossibleHealthCheckResultValues returns an array of possible values for the HealthCheckResult const type.

type HostPool

type HostPool struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// HostPoolProperties - Detailed properties for HostPool
	*HostPoolProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ManagedBy - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
	ManagedBy *string `json:"managedBy,omitempty"`
	// Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind *string `json:"kind,omitempty"`
	// Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags     map[string]*string                           `json:"tags"`
	Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
	Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
	Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

HostPool represents a HostPool definition.

func (HostPool) MarshalJSON

func (hp HostPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HostPool.

func (*HostPool) UnmarshalJSON

func (hp *HostPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HostPool struct.

type HostPoolList

type HostPoolList struct {
	autorest.Response `json:"-"`
	// Value - List of HostPool definitions.
	Value *[]HostPool `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

HostPoolList list of HostPool definitions.

func (HostPoolList) IsEmpty

func (hpl HostPoolList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (HostPoolList) MarshalJSON

func (hpl HostPoolList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HostPoolList.

type HostPoolListIterator

type HostPoolListIterator struct {
	// contains filtered or unexported fields
}

HostPoolListIterator provides access to a complete listing of HostPool values.

func NewHostPoolListIterator

func NewHostPoolListIterator(page HostPoolListPage) HostPoolListIterator

Creates a new instance of the HostPoolListIterator type.

func (*HostPoolListIterator) Next

func (iter *HostPoolListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HostPoolListIterator) NextWithContext

func (iter *HostPoolListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (HostPoolListIterator) NotDone

func (iter HostPoolListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (HostPoolListIterator) Response

func (iter HostPoolListIterator) Response() HostPoolList

Response returns the raw server response from the last page request.

func (HostPoolListIterator) Value

func (iter HostPoolListIterator) Value() HostPool

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type HostPoolListPage

type HostPoolListPage struct {
	// contains filtered or unexported fields
}

HostPoolListPage contains a page of HostPool values.

func NewHostPoolListPage

func NewHostPoolListPage(cur HostPoolList, getNextPage func(context.Context, HostPoolList) (HostPoolList, error)) HostPoolListPage

Creates a new instance of the HostPoolListPage type.

func (*HostPoolListPage) Next

func (page *HostPoolListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HostPoolListPage) NextWithContext

func (page *HostPoolListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (HostPoolListPage) NotDone

func (page HostPoolListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HostPoolListPage) Response

func (page HostPoolListPage) Response() HostPoolList

Response returns the raw server response from the last page request.

func (HostPoolListPage) Values

func (page HostPoolListPage) Values() []HostPool

Values returns the slice of values for the current page or nil if there are no values.

type HostPoolPatch

type HostPoolPatch struct {
	// Tags - tags to be updated
	Tags map[string]*string `json:"tags"`
	// HostPoolPatchProperties - HostPool properties that can be patched.
	*HostPoolPatchProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

HostPoolPatch hostPool properties that can be patched.

func (HostPoolPatch) MarshalJSON

func (hpp HostPoolPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HostPoolPatch.

func (*HostPoolPatch) UnmarshalJSON

func (hpp *HostPoolPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HostPoolPatch struct.

type HostPoolPatchProperties

type HostPoolPatchProperties struct {
	// FriendlyName - Friendly name of HostPool.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// Description - Description of HostPool.
	Description *string `json:"description,omitempty"`
	// CustomRdpProperty - Custom rdp property of HostPool.
	CustomRdpProperty *string `json:"customRdpProperty,omitempty"`
	// MaxSessionLimit - The max session limit of HostPool.
	MaxSessionLimit *int32 `json:"maxSessionLimit,omitempty"`
	// PersonalDesktopAssignmentType - PersonalDesktopAssignment type for HostPool. Possible values include: 'PersonalDesktopAssignmentTypeAutomatic', 'PersonalDesktopAssignmentTypeDirect'
	PersonalDesktopAssignmentType PersonalDesktopAssignmentType `json:"personalDesktopAssignmentType,omitempty"`
	// LoadBalancerType - The type of the load balancer. Possible values include: 'LoadBalancerTypeBreadthFirst', 'LoadBalancerTypeDepthFirst', 'LoadBalancerTypePersistent'
	LoadBalancerType LoadBalancerType `json:"loadBalancerType,omitempty"`
	// Ring - The ring number of HostPool.
	Ring *int32 `json:"ring,omitempty"`
	// ValidationEnvironment - Is validation environment.
	ValidationEnvironment *bool `json:"validationEnvironment,omitempty"`
	// RegistrationInfo - The registration info of HostPool.
	RegistrationInfo *RegistrationInfoPatch `json:"registrationInfo,omitempty"`
	// VMTemplate - VM template for sessionhosts configuration within hostpool.
	VMTemplate *string `json:"vmTemplate,omitempty"`
	// SsoadfsAuthority - URL to customer ADFS server for signing WVD SSO certificates.
	SsoadfsAuthority *string `json:"ssoadfsAuthority,omitempty"`
	// SsoClientID - ClientId for the registered Relying Party used to issue WVD SSO certificates.
	SsoClientID *string `json:"ssoClientId,omitempty"`
	// SsoClientSecretKeyVaultPath - Path to Azure KeyVault storing the secret used for communication to ADFS.
	SsoClientSecretKeyVaultPath *string `json:"ssoClientSecretKeyVaultPath,omitempty"`
	// SsoSecretType - The type of single sign on Secret Type. Possible values include: 'SSOSecretTypeSharedKey', 'SSOSecretTypeCertificate', 'SSOSecretTypeSharedKeyInKeyVault', 'SSOSecretTypeCertificateInKeyVault'
	SsoSecretType SSOSecretType `json:"ssoSecretType,omitempty"`
	// PreferredAppGroupType - The type of preferred application group type, default to Desktop Application Group. Possible values include: 'PreferredAppGroupTypeNone', 'PreferredAppGroupTypeDesktop', 'PreferredAppGroupTypeRailApplications'
	PreferredAppGroupType PreferredAppGroupType `json:"preferredAppGroupType,omitempty"`
	// StartVMOnConnect - The flag to turn on/off StartVMOnConnect feature.
	StartVMOnConnect *bool `json:"startVMOnConnect,omitempty"`
	// PublicNetworkAccess - Enabled to allow this resource to be access from the public network. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

HostPoolPatchProperties properties of HostPool.

type HostPoolProperties

type HostPoolProperties struct {
	// ObjectID - READ-ONLY; ObjectId of HostPool. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// FriendlyName - Friendly name of HostPool.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// Description - Description of HostPool.
	Description *string `json:"description,omitempty"`
	// HostPoolType - HostPool type for desktop. Possible values include: 'HostPoolTypePersonal', 'HostPoolTypePooled', 'HostPoolTypeBYODesktop'
	HostPoolType HostPoolType `json:"hostPoolType,omitempty"`
	// PersonalDesktopAssignmentType - PersonalDesktopAssignment type for HostPool. Possible values include: 'PersonalDesktopAssignmentTypeAutomatic', 'PersonalDesktopAssignmentTypeDirect'
	PersonalDesktopAssignmentType PersonalDesktopAssignmentType `json:"personalDesktopAssignmentType,omitempty"`
	// CustomRdpProperty - Custom rdp property of HostPool.
	CustomRdpProperty *string `json:"customRdpProperty,omitempty"`
	// MaxSessionLimit - The max session limit of HostPool.
	MaxSessionLimit *int32 `json:"maxSessionLimit,omitempty"`
	// LoadBalancerType - The type of the load balancer. Possible values include: 'LoadBalancerTypeBreadthFirst', 'LoadBalancerTypeDepthFirst', 'LoadBalancerTypePersistent'
	LoadBalancerType LoadBalancerType `json:"loadBalancerType,omitempty"`
	// Ring - The ring number of HostPool.
	Ring *int32 `json:"ring,omitempty"`
	// ValidationEnvironment - Is validation environment.
	ValidationEnvironment *bool `json:"validationEnvironment,omitempty"`
	// RegistrationInfo - The registration info of HostPool.
	RegistrationInfo *RegistrationInfo `json:"registrationInfo,omitempty"`
	// VMTemplate - VM template for sessionhosts configuration within hostpool.
	VMTemplate *string `json:"vmTemplate,omitempty"`
	// ApplicationGroupReferences - READ-ONLY; List of applicationGroup links.
	ApplicationGroupReferences *[]string `json:"applicationGroupReferences,omitempty"`
	// SsoadfsAuthority - URL to customer ADFS server for signing WVD SSO certificates.
	SsoadfsAuthority *string `json:"ssoadfsAuthority,omitempty"`
	// SsoClientID - ClientId for the registered Relying Party used to issue WVD SSO certificates.
	SsoClientID *string `json:"ssoClientId,omitempty"`
	// SsoClientSecretKeyVaultPath - Path to Azure KeyVault storing the secret used for communication to ADFS.
	SsoClientSecretKeyVaultPath *string `json:"ssoClientSecretKeyVaultPath,omitempty"`
	// SsoSecretType - The type of single sign on Secret Type. Possible values include: 'SSOSecretTypeSharedKey', 'SSOSecretTypeCertificate', 'SSOSecretTypeSharedKeyInKeyVault', 'SSOSecretTypeCertificateInKeyVault'
	SsoSecretType SSOSecretType `json:"ssoSecretType,omitempty"`
	// PreferredAppGroupType - The type of preferred application group type, default to Desktop Application Group. Possible values include: 'PreferredAppGroupTypeNone', 'PreferredAppGroupTypeDesktop', 'PreferredAppGroupTypeRailApplications'
	PreferredAppGroupType PreferredAppGroupType `json:"preferredAppGroupType,omitempty"`
	// StartVMOnConnect - The flag to turn on/off StartVMOnConnect feature.
	StartVMOnConnect *bool `json:"startVMOnConnect,omitempty"`
	// MigrationRequest - The registration info of HostPool.
	MigrationRequest *MigrationRequestProperties `json:"migrationRequest,omitempty"`
	// CloudPcResource - READ-ONLY; Is cloud pc resource.
	CloudPcResource *bool `json:"cloudPcResource,omitempty"`
	// PublicNetworkAccess - Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

HostPoolProperties properties of HostPool.

func (HostPoolProperties) MarshalJSON

func (hpp HostPoolProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HostPoolProperties.

type HostPoolType

type HostPoolType string

HostPoolType enumerates the values for host pool type.

const (
	// HostPoolTypeBYODesktop Users assign their own machines, load balancing logic remains the same as
	// Personal. PersonalDesktopAssignmentType must be Direct.
	HostPoolTypeBYODesktop HostPoolType = "BYODesktop"
	// HostPoolTypePersonal Users will be assigned a SessionHost either by administrators
	// (PersonalDesktopAssignmentType = Direct) or upon connecting to the pool (PersonalDesktopAssignmentType =
	// Automatic). They will always be redirected to their assigned SessionHost.
	HostPoolTypePersonal HostPoolType = "Personal"
	// HostPoolTypePooled Users get a new (random) SessionHost every time it connects to the HostPool.
	HostPoolTypePooled HostPoolType = "Pooled"
)

func PossibleHostPoolTypeValues

func PossibleHostPoolTypeValues() []HostPoolType

PossibleHostPoolTypeValues returns an array of possible values for the HostPoolType const type.

type HostPoolsClient

type HostPoolsClient struct {
	BaseClient
}

HostPoolsClient is the client for the HostPools methods of the Desktopvirtualization service.

func NewHostPoolsClient

func NewHostPoolsClient(subscriptionID string) HostPoolsClient

NewHostPoolsClient creates an instance of the HostPoolsClient client.

func NewHostPoolsClientWithBaseURI

func NewHostPoolsClientWithBaseURI(baseURI string, subscriptionID string) HostPoolsClient

NewHostPoolsClientWithBaseURI creates an instance of the HostPoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HostPoolsClient) CreateOrUpdate

func (client HostPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool HostPool) (result HostPool, err error)

CreateOrUpdate create or update a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group hostPool - object containing HostPool definitions.

func (HostPoolsClient) CreateOrUpdatePreparer

func (client HostPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool HostPool) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (HostPoolsClient) CreateOrUpdateResponder

func (client HostPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result HostPool, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (HostPoolsClient) CreateOrUpdateSender

func (client HostPoolsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (HostPoolsClient) Delete

func (client HostPoolsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, force *bool) (result autorest.Response, err error)

Delete remove a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group force - force flag to delete sessionHost.

func (HostPoolsClient) DeletePreparer

func (client HostPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, force *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (HostPoolsClient) DeleteResponder

func (client HostPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (HostPoolsClient) DeleteSender

func (client HostPoolsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (HostPoolsClient) Get

func (client HostPoolsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string) (result HostPool, err error)

Get get a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group

func (HostPoolsClient) GetPreparer

func (client HostPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (HostPoolsClient) GetResponder

func (client HostPoolsClient) GetResponder(resp *http.Response) (result HostPool, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (HostPoolsClient) GetSender

func (client HostPoolsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (HostPoolsClient) List

func (client HostPoolsClient) List(ctx context.Context) (result HostPoolListPage, err error)

List list hostPools in subscription.

func (HostPoolsClient) ListByResourceGroup

func (client HostPoolsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result HostPoolListPage, err error)

ListByResourceGroup list hostPools. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (HostPoolsClient) ListByResourceGroupComplete

func (client HostPoolsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result HostPoolListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (HostPoolsClient) ListByResourceGroupPreparer

func (client HostPoolsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (HostPoolsClient) ListByResourceGroupResponder

func (client HostPoolsClient) ListByResourceGroupResponder(resp *http.Response) (result HostPoolList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (HostPoolsClient) ListByResourceGroupSender

func (client HostPoolsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (HostPoolsClient) ListComplete

func (client HostPoolsClient) ListComplete(ctx context.Context) (result HostPoolListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (HostPoolsClient) ListPreparer

func (client HostPoolsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (HostPoolsClient) ListResponder

func (client HostPoolsClient) ListResponder(resp *http.Response) (result HostPoolList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (HostPoolsClient) ListSender

func (client HostPoolsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (HostPoolsClient) RetrieveRegistrationToken

func (client HostPoolsClient) RetrieveRegistrationToken(ctx context.Context, resourceGroupName string, hostPoolName string) (result RegistrationInfo, err error)

RetrieveRegistrationToken registration token of the host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group

func (HostPoolsClient) RetrieveRegistrationTokenPreparer

func (client HostPoolsClient) RetrieveRegistrationTokenPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)

RetrieveRegistrationTokenPreparer prepares the RetrieveRegistrationToken request.

func (HostPoolsClient) RetrieveRegistrationTokenResponder

func (client HostPoolsClient) RetrieveRegistrationTokenResponder(resp *http.Response) (result RegistrationInfo, err error)

RetrieveRegistrationTokenResponder handles the response to the RetrieveRegistrationToken request. The method always closes the http.Response Body.

func (HostPoolsClient) RetrieveRegistrationTokenSender

func (client HostPoolsClient) RetrieveRegistrationTokenSender(req *http.Request) (*http.Response, error)

RetrieveRegistrationTokenSender sends the RetrieveRegistrationToken request. The method will close the http.Response Body if it receives an error.

func (HostPoolsClient) Update

func (client HostPoolsClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool *HostPoolPatch) (result HostPool, err error)

Update update a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group hostPool - object containing HostPool definitions.

func (HostPoolsClient) UpdatePreparer

func (client HostPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool *HostPoolPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (HostPoolsClient) UpdateResponder

func (client HostPoolsClient) UpdateResponder(resp *http.Response) (result HostPool, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (HostPoolsClient) UpdateSender

func (client HostPoolsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type Identity

type Identity struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'ResourceIdentityTypeSystemAssigned'
	Type ResourceIdentityType `json:"type,omitempty"`
}

Identity identity for the resource.

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type LoadBalancerType

type LoadBalancerType string

LoadBalancerType enumerates the values for load balancer type.

const (
	// LoadBalancerTypeBreadthFirst ...
	LoadBalancerTypeBreadthFirst LoadBalancerType = "BreadthFirst"
	// LoadBalancerTypeDepthFirst ...
	LoadBalancerTypeDepthFirst LoadBalancerType = "DepthFirst"
	// LoadBalancerTypePersistent ...
	LoadBalancerTypePersistent LoadBalancerType = "Persistent"
)

func PossibleLoadBalancerTypeValues

func PossibleLoadBalancerTypeValues() []LoadBalancerType

PossibleLoadBalancerTypeValues returns an array of possible values for the LoadBalancerType const type.

type LogSpecification

type LogSpecification struct {
	// Name - Name of the log
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the log
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Blob duration of the log
	BlobDuration *string `json:"blobDuration,omitempty"`
}

LogSpecification specifications of the Log for Azure Monitoring

type MSIXImageURI

type MSIXImageURI struct {
	// URI - URI to Image
	URI *string `json:"uri,omitempty"`
}

MSIXImageURI represents URI referring to MSIX Image

type MSIXPackage

type MSIXPackage struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// MSIXPackageProperties - Detailed properties for MSIX Package
	*MSIXPackageProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

MSIXPackage schema for MSIX Package properties.

func (MSIXPackage) MarshalJSON

func (mp MSIXPackage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MSIXPackage.

func (*MSIXPackage) UnmarshalJSON

func (mp *MSIXPackage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MSIXPackage struct.

type MSIXPackageList

type MSIXPackageList struct {
	autorest.Response `json:"-"`
	// Value - List of MSIX Package definitions.
	Value *[]MSIXPackage `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

MSIXPackageList list of MSIX Package definitions.

func (MSIXPackageList) IsEmpty

func (mpl MSIXPackageList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (MSIXPackageList) MarshalJSON

func (mpl MSIXPackageList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MSIXPackageList.

type MSIXPackageListIterator

type MSIXPackageListIterator struct {
	// contains filtered or unexported fields
}

MSIXPackageListIterator provides access to a complete listing of MSIXPackage values.

func NewMSIXPackageListIterator

func NewMSIXPackageListIterator(page MSIXPackageListPage) MSIXPackageListIterator

Creates a new instance of the MSIXPackageListIterator type.

func (*MSIXPackageListIterator) Next

func (iter *MSIXPackageListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MSIXPackageListIterator) NextWithContext

func (iter *MSIXPackageListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MSIXPackageListIterator) NotDone

func (iter MSIXPackageListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MSIXPackageListIterator) Response

func (iter MSIXPackageListIterator) Response() MSIXPackageList

Response returns the raw server response from the last page request.

func (MSIXPackageListIterator) Value

func (iter MSIXPackageListIterator) Value() MSIXPackage

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MSIXPackageListPage

type MSIXPackageListPage struct {
	// contains filtered or unexported fields
}

MSIXPackageListPage contains a page of MSIXPackage values.

func NewMSIXPackageListPage

func NewMSIXPackageListPage(cur MSIXPackageList, getNextPage func(context.Context, MSIXPackageList) (MSIXPackageList, error)) MSIXPackageListPage

Creates a new instance of the MSIXPackageListPage type.

func (*MSIXPackageListPage) Next

func (page *MSIXPackageListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MSIXPackageListPage) NextWithContext

func (page *MSIXPackageListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MSIXPackageListPage) NotDone

func (page MSIXPackageListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MSIXPackageListPage) Response

func (page MSIXPackageListPage) Response() MSIXPackageList

Response returns the raw server response from the last page request.

func (MSIXPackageListPage) Values

func (page MSIXPackageListPage) Values() []MSIXPackage

Values returns the slice of values for the current page or nil if there are no values.

type MSIXPackagePatch

type MSIXPackagePatch struct {
	// MSIXPackagePatchProperties - Detailed properties for MSIX Package
	*MSIXPackagePatchProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

MSIXPackagePatch MSIX Package properties that can be patched.

func (MSIXPackagePatch) MarshalJSON

func (mpp MSIXPackagePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MSIXPackagePatch.

func (*MSIXPackagePatch) UnmarshalJSON

func (mpp *MSIXPackagePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MSIXPackagePatch struct.

type MSIXPackagePatchProperties

type MSIXPackagePatchProperties struct {
	// IsActive - Set a version of the package to be active across hostpool.
	IsActive *bool `json:"isActive,omitempty"`
	// IsRegularRegistration - Set Registration mode. Regular or Delayed.
	IsRegularRegistration *bool `json:"isRegularRegistration,omitempty"`
	// DisplayName - Display name for MSIX Package.
	DisplayName *string `json:"displayName,omitempty"`
}

MSIXPackagePatchProperties MSIX Package properties that can be patched.

type MSIXPackageProperties

type MSIXPackageProperties struct {
	// ImagePath - VHD/CIM image path on Network Share.
	ImagePath *string `json:"imagePath,omitempty"`
	// PackageName - Package Name from appxmanifest.xml.
	PackageName *string `json:"packageName,omitempty"`
	// PackageFamilyName - Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
	PackageFamilyName *string `json:"packageFamilyName,omitempty"`
	// DisplayName - User friendly Name to be displayed in the portal.
	DisplayName *string `json:"displayName,omitempty"`
	// PackageRelativePath - Relative Path to the package inside the image.
	PackageRelativePath *string `json:"packageRelativePath,omitempty"`
	// IsRegularRegistration - Specifies how to register Package in feed.
	IsRegularRegistration *bool `json:"isRegularRegistration,omitempty"`
	// IsActive - Make this version of the package the active one across the hostpool.
	IsActive *bool `json:"isActive,omitempty"`
	// PackageDependencies - List of package dependencies.
	PackageDependencies *[]MsixPackageDependencies `json:"packageDependencies,omitempty"`
	// Version - Package Version found in the appxmanifest.xml.
	Version *string `json:"version,omitempty"`
	// LastUpdated - Date Package was last updated, found in the appxmanifest.xml.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// PackageApplications - List of package applications.
	PackageApplications *[]MsixPackageApplications `json:"packageApplications,omitempty"`
}

MSIXPackageProperties schema for MSIX Package properties.

type MSIXPackagesClient

type MSIXPackagesClient struct {
	BaseClient
}

MSIXPackagesClient is the client for the MSIXPackages methods of the Desktopvirtualization service.

func NewMSIXPackagesClient

func NewMSIXPackagesClient(subscriptionID string) MSIXPackagesClient

NewMSIXPackagesClient creates an instance of the MSIXPackagesClient client.

func NewMSIXPackagesClientWithBaseURI

func NewMSIXPackagesClientWithBaseURI(baseURI string, subscriptionID string) MSIXPackagesClient

NewMSIXPackagesClientWithBaseURI creates an instance of the MSIXPackagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MSIXPackagesClient) CreateOrUpdate

func (client MSIXPackagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage MSIXPackage) (result MSIXPackage, err error)

CreateOrUpdate create or update a MSIX package. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool msixPackage - object containing MSIX Package definitions.

func (MSIXPackagesClient) CreateOrUpdatePreparer

func (client MSIXPackagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage MSIXPackage) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (MSIXPackagesClient) CreateOrUpdateResponder

func (client MSIXPackagesClient) CreateOrUpdateResponder(resp *http.Response) (result MSIXPackage, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (MSIXPackagesClient) CreateOrUpdateSender

func (client MSIXPackagesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (MSIXPackagesClient) Delete

func (client MSIXPackagesClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (result autorest.Response, err error)

Delete remove an MSIX Package. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool

func (MSIXPackagesClient) DeletePreparer

func (client MSIXPackagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MSIXPackagesClient) DeleteResponder

func (client MSIXPackagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MSIXPackagesClient) DeleteSender

func (client MSIXPackagesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MSIXPackagesClient) Get

func (client MSIXPackagesClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (result MSIXPackage, err error)

Get get a msixpackage. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool

func (MSIXPackagesClient) GetPreparer

func (client MSIXPackagesClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MSIXPackagesClient) GetResponder

func (client MSIXPackagesClient) GetResponder(resp *http.Response) (result MSIXPackage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MSIXPackagesClient) GetSender

func (client MSIXPackagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MSIXPackagesClient) List

func (client MSIXPackagesClient) List(ctx context.Context, resourceGroupName string, hostPoolName string) (result MSIXPackageListPage, err error)

List list MSIX packages in hostpool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group

func (MSIXPackagesClient) ListComplete

func (client MSIXPackagesClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result MSIXPackageListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MSIXPackagesClient) ListPreparer

func (client MSIXPackagesClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (MSIXPackagesClient) ListResponder

func (client MSIXPackagesClient) ListResponder(resp *http.Response) (result MSIXPackageList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MSIXPackagesClient) ListSender

func (client MSIXPackagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (MSIXPackagesClient) Update

func (client MSIXPackagesClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage *MSIXPackagePatch) (result MSIXPackage, err error)

Update update an MSIX Package. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool msixPackage - object containing MSIX Package definitions.

func (MSIXPackagesClient) UpdatePreparer

func (client MSIXPackagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage *MSIXPackagePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MSIXPackagesClient) UpdateResponder

func (client MSIXPackagesClient) UpdateResponder(resp *http.Response) (result MSIXPackage, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MSIXPackagesClient) UpdateSender

func (client MSIXPackagesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MigrationRequestProperties

type MigrationRequestProperties struct {
	// Operation - The type of operation for migration. Possible values include: 'OperationStart', 'OperationRevoke', 'OperationComplete', 'OperationHide', 'OperationUnhide'
	Operation Operation `json:"operation,omitempty"`
	// MigrationPath - The path to the legacy object to migrate.
	MigrationPath *string `json:"migrationPath,omitempty"`
}

MigrationRequestProperties properties for arm migration.

type MsixImagesClient

type MsixImagesClient struct {
	BaseClient
}

MsixImagesClient is the client for the MsixImages methods of the Desktopvirtualization service.

func NewMsixImagesClient

func NewMsixImagesClient(subscriptionID string) MsixImagesClient

NewMsixImagesClient creates an instance of the MsixImagesClient client.

func NewMsixImagesClientWithBaseURI

func NewMsixImagesClientWithBaseURI(baseURI string, subscriptionID string) MsixImagesClient

NewMsixImagesClientWithBaseURI creates an instance of the MsixImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MsixImagesClient) Expand

func (client MsixImagesClient) Expand(ctx context.Context, resourceGroupName string, hostPoolName string, msixImageURI MSIXImageURI) (result ExpandMsixImageListPage, err error)

Expand expands and Lists MSIX packages in an Image, given the Image Path. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixImageURI - object containing URI to MSIX Image

func (MsixImagesClient) ExpandComplete

func (client MsixImagesClient) ExpandComplete(ctx context.Context, resourceGroupName string, hostPoolName string, msixImageURI MSIXImageURI) (result ExpandMsixImageListIterator, err error)

ExpandComplete enumerates all values, automatically crossing page boundaries as required.

func (MsixImagesClient) ExpandPreparer

func (client MsixImagesClient) ExpandPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixImageURI MSIXImageURI) (*http.Request, error)

ExpandPreparer prepares the Expand request.

func (MsixImagesClient) ExpandResponder

func (client MsixImagesClient) ExpandResponder(resp *http.Response) (result ExpandMsixImageList, err error)

ExpandResponder handles the response to the Expand request. The method always closes the http.Response Body.

func (MsixImagesClient) ExpandSender

func (client MsixImagesClient) ExpandSender(req *http.Request) (*http.Response, error)

ExpandSender sends the Expand request. The method will close the http.Response Body if it receives an error.

type MsixPackageApplications

type MsixPackageApplications struct {
	// AppID - Package Application Id, found in appxmanifest.xml.
	AppID *string `json:"appId,omitempty"`
	// Description - Description of Package Application.
	Description *string `json:"description,omitempty"`
	// AppUserModelID - Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.
	AppUserModelID *string `json:"appUserModelID,omitempty"`
	// FriendlyName - User friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// IconImageName - User friendly name.
	IconImageName *string `json:"iconImageName,omitempty"`
	// RawIcon - the icon a 64 bit string as a byte array.
	RawIcon *[]byte `json:"rawIcon,omitempty"`
	// RawPng - the icon a 64 bit string as a byte array.
	RawPng *[]byte `json:"rawPng,omitempty"`
}

MsixPackageApplications schema for MSIX Package Application properties.

type MsixPackageDependencies

type MsixPackageDependencies struct {
	// DependencyName - Name of package dependency.
	DependencyName *string `json:"dependencyName,omitempty"`
	// Publisher - Name of dependency publisher.
	Publisher *string `json:"publisher,omitempty"`
	// MinVersion - Dependency version required.
	MinVersion *string `json:"minVersion,omitempty"`
}

MsixPackageDependencies schema for MSIX Package Dependencies properties.

type Operation

type Operation string

Operation enumerates the values for operation.

const (
	// OperationComplete Complete the migration.
	OperationComplete Operation = "Complete"
	// OperationHide Hide the hostpool.
	OperationHide Operation = "Hide"
	// OperationRevoke Revoke the migration.
	OperationRevoke Operation = "Revoke"
	// OperationStart Start the migration.
	OperationStart Operation = "Start"
	// OperationUnhide Unhide the hostpool.
	OperationUnhide Operation = "Unhide"
)

func PossibleOperationValues

func PossibleOperationValues() []Operation

PossibleOperationValues returns an array of possible values for the Operation const type.

type OperationProperties

type OperationProperties struct {
	ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationProperties properties of the operation

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the client for the Operations methods of the Desktopvirtualization service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

List list all of the available operations the Desktop Virtualization resource provider supports.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result ResourceProviderOperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result ResourceProviderOperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PersonalDesktopAssignmentType

type PersonalDesktopAssignmentType string

PersonalDesktopAssignmentType enumerates the values for personal desktop assignment type.

const (
	// PersonalDesktopAssignmentTypeAutomatic ...
	PersonalDesktopAssignmentTypeAutomatic PersonalDesktopAssignmentType = "Automatic"
	// PersonalDesktopAssignmentTypeDirect ...
	PersonalDesktopAssignmentTypeDirect PersonalDesktopAssignmentType = "Direct"
)

func PossiblePersonalDesktopAssignmentTypeValues

func PossiblePersonalDesktopAssignmentTypeValues() []PersonalDesktopAssignmentType

PossiblePersonalDesktopAssignmentTypeValues returns an array of possible values for the PersonalDesktopAssignmentType const type.

type Plan

type Plan struct {
	// Name - A user defined name of the 3rd Party Artifact that is being procured.
	Name *string `json:"name,omitempty"`
	// Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
	Publisher *string `json:"publisher,omitempty"`
	// Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
	Product *string `json:"product,omitempty"`
	// PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Version - The version of the desired product/artifact.
	Version *string `json:"version,omitempty"`
}

Plan plan for the resource.

type PreferredAppGroupType

type PreferredAppGroupType string

PreferredAppGroupType enumerates the values for preferred app group type.

const (
	// PreferredAppGroupTypeDesktop ...
	PreferredAppGroupTypeDesktop PreferredAppGroupType = "Desktop"
	// PreferredAppGroupTypeNone ...
	PreferredAppGroupTypeNone PreferredAppGroupType = "None"
	// PreferredAppGroupTypeRailApplications ...
	PreferredAppGroupTypeRailApplications PreferredAppGroupType = "RailApplications"
)

func PossiblePreferredAppGroupTypeValues

func PossiblePreferredAppGroupTypeValues() []PreferredAppGroupType

PossiblePreferredAppGroupTypeValues returns an array of possible values for the PreferredAppGroupType const type.

type PrivateEndpoint

type PrivateEndpoint struct {
	// ID - READ-ONLY; The ARM identifier for Private Endpoint
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint the Private Endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	// PrivateEndpointConnectionProperties - Resource properties.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateEndpointConnection the Private Endpoint Connection resource.

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResultWithSystemData

type PrivateEndpointConnectionListResultWithSystemData struct {
	autorest.Response `json:"-"`
	// Value - Array of private endpoint connections
	Value *[]PrivateEndpointConnectionWithSystemData `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateEndpointConnectionListResultWithSystemData list of private endpoint connection associated with the specified storage account

func (PrivateEndpointConnectionListResultWithSystemData) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (PrivateEndpointConnectionListResultWithSystemData) MarshalJSON

func (peclrwsd PrivateEndpointConnectionListResultWithSystemData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionListResultWithSystemData.

type PrivateEndpointConnectionListResultWithSystemDataIterator

type PrivateEndpointConnectionListResultWithSystemDataIterator struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionListResultWithSystemDataIterator provides access to a complete listing of PrivateEndpointConnectionWithSystemData values.

func NewPrivateEndpointConnectionListResultWithSystemDataIterator

func NewPrivateEndpointConnectionListResultWithSystemDataIterator(page PrivateEndpointConnectionListResultWithSystemDataPage) PrivateEndpointConnectionListResultWithSystemDataIterator

Creates a new instance of the PrivateEndpointConnectionListResultWithSystemDataIterator type.

func (*PrivateEndpointConnectionListResultWithSystemDataIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultWithSystemDataIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateEndpointConnectionListResultWithSystemDataIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultWithSystemDataIterator) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultWithSystemDataIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateEndpointConnectionListResultWithSystemDataPage

type PrivateEndpointConnectionListResultWithSystemDataPage struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionListResultWithSystemDataPage contains a page of PrivateEndpointConnectionWithSystemData values.

func NewPrivateEndpointConnectionListResultWithSystemDataPage

Creates a new instance of the PrivateEndpointConnectionListResultWithSystemDataPage type.

func (*PrivateEndpointConnectionListResultWithSystemDataPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultWithSystemDataPage) NextWithContext

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateEndpointConnectionListResultWithSystemDataPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultWithSystemDataPage) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultWithSystemDataPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed'
	ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string

PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.

const (
	// PrivateEndpointConnectionProvisioningStateCreating ...
	PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
	// PrivateEndpointConnectionProvisioningStateDeleting ...
	PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
	// PrivateEndpointConnectionProvisioningStateFailed ...
	PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
	// PrivateEndpointConnectionProvisioningStateSucceeded ...
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointConnectionWithSystemData

type PrivateEndpointConnectionWithSystemData struct {
	autorest.Response `json:"-"`
	SystemData        *SystemData `json:"systemData,omitempty"`
	// PrivateEndpointConnectionProperties - Resource properties.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateEndpointConnectionWithSystemData the Private Endpoint Connection resource.

func (PrivateEndpointConnectionWithSystemData) MarshalJSON

func (pecwsd PrivateEndpointConnectionWithSystemData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionWithSystemData.

func (*PrivateEndpointConnectionWithSystemData) UnmarshalJSON

func (pecwsd *PrivateEndpointConnectionWithSystemData) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnectionWithSystemData struct.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	BaseClient
}

PrivateEndpointConnectionsClient is the client for the PrivateEndpointConnections methods of the Desktopvirtualization service.

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) DeleteByHostPool

func (client PrivateEndpointConnectionsClient) DeleteByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string) (result autorest.Response, err error)

DeleteByHostPool remove a connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) DeleteByHostPoolPreparer

func (client PrivateEndpointConnectionsClient) DeleteByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string) (*http.Request, error)

DeleteByHostPoolPreparer prepares the DeleteByHostPool request.

func (PrivateEndpointConnectionsClient) DeleteByHostPoolResponder

func (client PrivateEndpointConnectionsClient) DeleteByHostPoolResponder(resp *http.Response) (result autorest.Response, err error)

DeleteByHostPoolResponder handles the response to the DeleteByHostPool request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteByHostPoolSender

func (client PrivateEndpointConnectionsClient) DeleteByHostPoolSender(req *http.Request) (*http.Response, error)

DeleteByHostPoolSender sends the DeleteByHostPool request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) DeleteByWorkspace

func (client PrivateEndpointConnectionsClient) DeleteByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (result autorest.Response, err error)

DeleteByWorkspace remove a connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) DeleteByWorkspacePreparer

func (client PrivateEndpointConnectionsClient) DeleteByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (*http.Request, error)

DeleteByWorkspacePreparer prepares the DeleteByWorkspace request.

func (PrivateEndpointConnectionsClient) DeleteByWorkspaceResponder

func (client PrivateEndpointConnectionsClient) DeleteByWorkspaceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteByWorkspaceResponder handles the response to the DeleteByWorkspace request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteByWorkspaceSender

func (client PrivateEndpointConnectionsClient) DeleteByWorkspaceSender(req *http.Request) (*http.Response, error)

DeleteByWorkspaceSender sends the DeleteByWorkspace request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) GetByHostPool

func (client PrivateEndpointConnectionsClient) GetByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionWithSystemData, err error)

GetByHostPool get a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) GetByHostPoolPreparer

func (client PrivateEndpointConnectionsClient) GetByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string) (*http.Request, error)

GetByHostPoolPreparer prepares the GetByHostPool request.

func (PrivateEndpointConnectionsClient) GetByHostPoolResponder

func (client PrivateEndpointConnectionsClient) GetByHostPoolResponder(resp *http.Response) (result PrivateEndpointConnectionWithSystemData, err error)

GetByHostPoolResponder handles the response to the GetByHostPool request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetByHostPoolSender

func (client PrivateEndpointConnectionsClient) GetByHostPoolSender(req *http.Request) (*http.Response, error)

GetByHostPoolSender sends the GetByHostPool request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) GetByWorkspace

func (client PrivateEndpointConnectionsClient) GetByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionWithSystemData, err error)

GetByWorkspace get a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) GetByWorkspacePreparer

func (client PrivateEndpointConnectionsClient) GetByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (*http.Request, error)

GetByWorkspacePreparer prepares the GetByWorkspace request.

func (PrivateEndpointConnectionsClient) GetByWorkspaceResponder

func (client PrivateEndpointConnectionsClient) GetByWorkspaceResponder(resp *http.Response) (result PrivateEndpointConnectionWithSystemData, err error)

GetByWorkspaceResponder handles the response to the GetByWorkspace request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetByWorkspaceSender

func (client PrivateEndpointConnectionsClient) GetByWorkspaceSender(req *http.Request) (*http.Response, error)

GetByWorkspaceSender sends the GetByWorkspace request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) ListByHostPool

func (client PrivateEndpointConnectionsClient) ListByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string) (result PrivateEndpointConnectionListResultWithSystemDataPage, err error)

ListByHostPool list private endpoint connections associated with hostpool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group

func (PrivateEndpointConnectionsClient) ListByHostPoolComplete

func (client PrivateEndpointConnectionsClient) ListByHostPoolComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result PrivateEndpointConnectionListResultWithSystemDataIterator, err error)

ListByHostPoolComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointConnectionsClient) ListByHostPoolPreparer

func (client PrivateEndpointConnectionsClient) ListByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)

ListByHostPoolPreparer prepares the ListByHostPool request.

func (PrivateEndpointConnectionsClient) ListByHostPoolResponder

ListByHostPoolResponder handles the response to the ListByHostPool request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByHostPoolSender

func (client PrivateEndpointConnectionsClient) ListByHostPoolSender(req *http.Request) (*http.Response, error)

ListByHostPoolSender sends the ListByHostPool request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) ListByWorkspace

func (client PrivateEndpointConnectionsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateEndpointConnectionListResultWithSystemDataPage, err error)

ListByWorkspace list private endpoint connections. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (PrivateEndpointConnectionsClient) ListByWorkspaceComplete

func (client PrivateEndpointConnectionsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateEndpointConnectionListResultWithSystemDataIterator, err error)

ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointConnectionsClient) ListByWorkspacePreparer

func (client PrivateEndpointConnectionsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (PrivateEndpointConnectionsClient) ListByWorkspaceResponder

func (client PrivateEndpointConnectionsClient) ListByWorkspaceResponder(resp *http.Response) (result PrivateEndpointConnectionListResultWithSystemData, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByWorkspaceSender

func (client PrivateEndpointConnectionsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) UpdateByHostPool

func (client PrivateEndpointConnectionsClient) UpdateByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string, connection PrivateEndpointConnection) (result PrivateEndpointConnectionWithSystemData, err error)

UpdateByHostPool approve or reject a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource connection - object containing the updated connection.

func (PrivateEndpointConnectionsClient) UpdateByHostPoolPreparer

func (client PrivateEndpointConnectionsClient) UpdateByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string, connection PrivateEndpointConnection) (*http.Request, error)

UpdateByHostPoolPreparer prepares the UpdateByHostPool request.

func (PrivateEndpointConnectionsClient) UpdateByHostPoolResponder

func (client PrivateEndpointConnectionsClient) UpdateByHostPoolResponder(resp *http.Response) (result PrivateEndpointConnectionWithSystemData, err error)

UpdateByHostPoolResponder handles the response to the UpdateByHostPool request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) UpdateByHostPoolSender

func (client PrivateEndpointConnectionsClient) UpdateByHostPoolSender(req *http.Request) (*http.Response, error)

UpdateByHostPoolSender sends the UpdateByHostPool request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) UpdateByWorkspace

func (client PrivateEndpointConnectionsClient) UpdateByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, connection PrivateEndpointConnection) (result PrivateEndpointConnectionWithSystemData, err error)

UpdateByWorkspace approve or reject a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource connection - object containing the updated connection.

func (PrivateEndpointConnectionsClient) UpdateByWorkspacePreparer

func (client PrivateEndpointConnectionsClient) UpdateByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, connection PrivateEndpointConnection) (*http.Request, error)

UpdateByWorkspacePreparer prepares the UpdateByWorkspace request.

func (PrivateEndpointConnectionsClient) UpdateByWorkspaceResponder

func (client PrivateEndpointConnectionsClient) UpdateByWorkspaceResponder(resp *http.Response) (result PrivateEndpointConnectionWithSystemData, err error)

UpdateByWorkspaceResponder handles the response to the UpdateByWorkspace request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) UpdateByWorkspaceSender

func (client PrivateEndpointConnectionsClient) UpdateByWorkspaceSender(req *http.Request) (*http.Response, error)

UpdateByWorkspaceSender sends the UpdateByWorkspace request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string

PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.

const (
	// PrivateEndpointServiceConnectionStatusApproved ...
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	// PrivateEndpointServiceConnectionStatusPending ...
	PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
	// PrivateEndpointServiceConnectionStatusRejected ...
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

type PrivateLinkResource struct {
	// PrivateLinkResourceProperties - Resource properties.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateLinkResource a private link resource

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of private link resources
	Value *[]PrivateLinkResource `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateLinkResourceListResult a list of private link resources

func (PrivateLinkResourceListResult) IsEmpty

func (plrlr PrivateLinkResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (PrivateLinkResourceListResult) MarshalJSON

func (plrlr PrivateLinkResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceListResult.

type PrivateLinkResourceListResultIterator

type PrivateLinkResourceListResultIterator struct {
	// contains filtered or unexported fields
}

PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource values.

func NewPrivateLinkResourceListResultIterator

func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator

Creates a new instance of the PrivateLinkResourceListResultIterator type.

func (*PrivateLinkResourceListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultIterator) NextWithContext

func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateLinkResourceListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateLinkResourceListResultPage

type PrivateLinkResourceListResultPage struct {
	// contains filtered or unexported fields
}

PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.

func NewPrivateLinkResourceListResultPage

Creates a new instance of the PrivateLinkResourceListResultPage type.

func (*PrivateLinkResourceListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultPage) NextWithContext

func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateLinkResourceListResultPage) NotDone

func (page PrivateLinkResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; The private link resource group id.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; The private link resource required member names.
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// RequiredZoneNames - The private link resource Private link DNS zone name.
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties properties of a private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the client for the PrivateLinkResources methods of the Desktopvirtualization service.

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) ListByHostPool

func (client PrivateLinkResourcesClient) ListByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string) (result PrivateLinkResourceListResultPage, err error)

ListByHostPool list the private link resources available for this hostpool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group

func (PrivateLinkResourcesClient) ListByHostPoolComplete

func (client PrivateLinkResourcesClient) ListByHostPoolComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result PrivateLinkResourceListResultIterator, err error)

ListByHostPoolComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkResourcesClient) ListByHostPoolPreparer

func (client PrivateLinkResourcesClient) ListByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)

ListByHostPoolPreparer prepares the ListByHostPool request.

func (PrivateLinkResourcesClient) ListByHostPoolResponder

func (client PrivateLinkResourcesClient) ListByHostPoolResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListByHostPoolResponder handles the response to the ListByHostPool request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByHostPoolSender

func (client PrivateLinkResourcesClient) ListByHostPoolSender(req *http.Request) (*http.Response, error)

ListByHostPoolSender sends the ListByHostPool request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) ListByWorkspace

func (client PrivateLinkResourcesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateLinkResourceListResultPage, err error)

ListByWorkspace list the private link resources available for this workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (PrivateLinkResourcesClient) ListByWorkspaceComplete

func (client PrivateLinkResourcesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateLinkResourceListResultIterator, err error)

ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkResourcesClient) ListByWorkspacePreparer

func (client PrivateLinkResourcesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (PrivateLinkResourcesClient) ListByWorkspaceResponder

func (client PrivateLinkResourcesClient) ListByWorkspaceResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByWorkspaceSender

func (client PrivateLinkResourcesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected'
	Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
	// Description - The reason for approval/rejection of the connection.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type PublicNetworkAccess

type PublicNetworkAccess string

PublicNetworkAccess enumerates the values for public network access.

const (
	// PublicNetworkAccessDisabled ...
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	// PublicNetworkAccessEnabled ...
	PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type RegistrationInfo

type RegistrationInfo struct {
	autorest.Response `json:"-"`
	// ExpirationTime - Expiration time of registration token.
	ExpirationTime *date.Time `json:"expirationTime,omitempty"`
	// Token - The registration token base64 encoded string.
	Token *string `json:"token,omitempty"`
	// RegistrationTokenOperation - The type of resetting the token. Possible values include: 'RegistrationTokenOperationDelete', 'RegistrationTokenOperationNone', 'RegistrationTokenOperationUpdate'
	RegistrationTokenOperation RegistrationTokenOperation `json:"registrationTokenOperation,omitempty"`
}

RegistrationInfo represents a RegistrationInfo definition.

type RegistrationInfoPatch

type RegistrationInfoPatch struct {
	// ExpirationTime - Expiration time of registration token.
	ExpirationTime *date.Time `json:"expirationTime,omitempty"`
	// RegistrationTokenOperation - The type of resetting the token. Possible values include: 'RegistrationTokenOperationDelete', 'RegistrationTokenOperationNone', 'RegistrationTokenOperationUpdate'
	RegistrationTokenOperation RegistrationTokenOperation `json:"registrationTokenOperation,omitempty"`
}

RegistrationInfoPatch represents a RegistrationInfo definition.

type RegistrationTokenOperation

type RegistrationTokenOperation string

RegistrationTokenOperation enumerates the values for registration token operation.

const (
	// RegistrationTokenOperationDelete ...
	RegistrationTokenOperationDelete RegistrationTokenOperation = "Delete"
	// RegistrationTokenOperationNone ...
	RegistrationTokenOperationNone RegistrationTokenOperation = "None"
	// RegistrationTokenOperationUpdate ...
	RegistrationTokenOperationUpdate RegistrationTokenOperation = "Update"
)

func PossibleRegistrationTokenOperationValues

func PossibleRegistrationTokenOperationValues() []RegistrationTokenOperation

PossibleRegistrationTokenOperationValues returns an array of possible values for the RegistrationTokenOperation const type.

type RemoteApplicationType

type RemoteApplicationType string

RemoteApplicationType enumerates the values for remote application type.

const (
	// RemoteApplicationTypeInBuilt ...
	RemoteApplicationTypeInBuilt RemoteApplicationType = "InBuilt"
	// RemoteApplicationTypeMsixApplication ...
	RemoteApplicationTypeMsixApplication RemoteApplicationType = "MsixApplication"
)

func PossibleRemoteApplicationTypeValues

func PossibleRemoteApplicationTypeValues() []RemoteApplicationType

PossibleRemoteApplicationTypeValues returns an array of possible values for the RemoteApplicationType const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// ResourceIdentityTypeSystemAssigned ...
	ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceModelWithAllowedPropertySet

type ResourceModelWithAllowedPropertySet struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ManagedBy - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
	ManagedBy *string `json:"managedBy,omitempty"`
	// Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind *string `json:"kind,omitempty"`
	// Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags     map[string]*string                           `json:"tags"`
	Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
	Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
	Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

ResourceModelWithAllowedPropertySet the resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.

func (ResourceModelWithAllowedPropertySet) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySet.

type ResourceModelWithAllowedPropertySetIdentity

type ResourceModelWithAllowedPropertySetIdentity struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'ResourceIdentityTypeSystemAssigned'
	Type ResourceIdentityType `json:"type,omitempty"`
}

ResourceModelWithAllowedPropertySetIdentity ...

func (ResourceModelWithAllowedPropertySetIdentity) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySetIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySetIdentity.

type ResourceModelWithAllowedPropertySetPlan

type ResourceModelWithAllowedPropertySetPlan struct {
	// Name - A user defined name of the 3rd Party Artifact that is being procured.
	Name *string `json:"name,omitempty"`
	// Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
	Publisher *string `json:"publisher,omitempty"`
	// Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
	Product *string `json:"product,omitempty"`
	// PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Version - The version of the desired product/artifact.
	Version *string `json:"version,omitempty"`
}

ResourceModelWithAllowedPropertySetPlan ...

type ResourceModelWithAllowedPropertySetSku

type ResourceModelWithAllowedPropertySetSku struct {
	// Name - The name of the SKU. Ex - P3. It is typically a letter+number code
	Name *string `json:"name,omitempty"`
	// Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'SkuTierFree', 'SkuTierBasic', 'SkuTierStandard', 'SkuTierPremium'
	Tier SkuTier `json:"tier,omitempty"`
	// Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
	Size *string `json:"size,omitempty"`
	// Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`
	// Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
	Capacity *int32 `json:"capacity,omitempty"`
}

ResourceModelWithAllowedPropertySetSku ...

type ResourceProviderOperation

type ResourceProviderOperation struct {
	// Name - Operation name, in format of {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - Display metadata associated with the operation.
	Display *ResourceProviderOperationDisplay `json:"display,omitempty"`
	// IsDataAction - Is a data action.
	IsDataAction *bool                `json:"isDataAction,omitempty"`
	Properties   *OperationProperties `json:"properties,omitempty"`
}

ResourceProviderOperation supported operation of this resource provider.

type ResourceProviderOperationDisplay

type ResourceProviderOperationDisplay struct {
	// Provider - Resource provider: Microsoft Desktop Virtualization.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - Type of operation: get, read, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of this operation.
	Description *string `json:"description,omitempty"`
}

ResourceProviderOperationDisplay display metadata associated with the operation.

type ResourceProviderOperationList

type ResourceProviderOperationList struct {
	autorest.Response `json:"-"`
	// Value - List of operations supported by this resource provider.
	Value *[]ResourceProviderOperation `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ResourceProviderOperationList result of the request to list operations.

func (ResourceProviderOperationList) IsEmpty

func (rpol ResourceProviderOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ResourceProviderOperationList) MarshalJSON

func (rpol ResourceProviderOperationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceProviderOperationList.

type ResourceProviderOperationListIterator

type ResourceProviderOperationListIterator struct {
	// contains filtered or unexported fields
}

ResourceProviderOperationListIterator provides access to a complete listing of ResourceProviderOperation values.

func NewResourceProviderOperationListIterator

func NewResourceProviderOperationListIterator(page ResourceProviderOperationListPage) ResourceProviderOperationListIterator

Creates a new instance of the ResourceProviderOperationListIterator type.

func (*ResourceProviderOperationListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListIterator) NextWithContext

func (iter *ResourceProviderOperationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResourceProviderOperationListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceProviderOperationListIterator) Response

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceProviderOperationListPage

type ResourceProviderOperationListPage struct {
	// contains filtered or unexported fields
}

ResourceProviderOperationListPage contains a page of ResourceProviderOperation values.

func NewResourceProviderOperationListPage

Creates a new instance of the ResourceProviderOperationListPage type.

func (*ResourceProviderOperationListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceProviderOperationListPage) NextWithContext

func (page *ResourceProviderOperationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResourceProviderOperationListPage) NotDone

func (page ResourceProviderOperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceProviderOperationListPage) Response

Response returns the raw server response from the last page request.

func (ResourceProviderOperationListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SSOSecretType

type SSOSecretType string

SSOSecretType enumerates the values for sso secret type.

const (
	// SSOSecretTypeCertificate ...
	SSOSecretTypeCertificate SSOSecretType = "Certificate"
	// SSOSecretTypeCertificateInKeyVault ...
	SSOSecretTypeCertificateInKeyVault SSOSecretType = "CertificateInKeyVault"
	// SSOSecretTypeSharedKey ...
	SSOSecretTypeSharedKey SSOSecretType = "SharedKey"
	// SSOSecretTypeSharedKeyInKeyVault ...
	SSOSecretTypeSharedKeyInKeyVault SSOSecretType = "SharedKeyInKeyVault"
)

func PossibleSSOSecretTypeValues

func PossibleSSOSecretTypeValues() []SSOSecretType

PossibleSSOSecretTypeValues returns an array of possible values for the SSOSecretType const type.

type ScalingHostPoolReference

type ScalingHostPoolReference struct {
	// HostPoolArmPath - Arm path of referenced hostpool.
	HostPoolArmPath *string `json:"hostPoolArmPath,omitempty"`
	// ScalingPlanEnabled - Is the scaling plan enabled for this hostpool.
	ScalingPlanEnabled *bool `json:"scalingPlanEnabled,omitempty"`
}

ScalingHostPoolReference scaling plan reference to hostpool.

type ScalingHostPoolType

type ScalingHostPoolType string

ScalingHostPoolType enumerates the values for scaling host pool type.

const (
	// ScalingHostPoolTypePooled Users get a new (random) SessionHost every time it connects to the HostPool.
	ScalingHostPoolTypePooled ScalingHostPoolType = "Pooled"
)

func PossibleScalingHostPoolTypeValues

func PossibleScalingHostPoolTypeValues() []ScalingHostPoolType

PossibleScalingHostPoolTypeValues returns an array of possible values for the ScalingHostPoolType const type.

type ScalingPlan

type ScalingPlan struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// ScalingPlanProperties - Detailed properties for scaling plan.
	*ScalingPlanProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ManagedBy - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
	ManagedBy *string `json:"managedBy,omitempty"`
	// Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind *string `json:"kind,omitempty"`
	// Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags     map[string]*string                           `json:"tags"`
	Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
	Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
	Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

ScalingPlan represents a scaling plan definition.

func (ScalingPlan) MarshalJSON

func (sp ScalingPlan) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScalingPlan.

func (*ScalingPlan) UnmarshalJSON

func (sp *ScalingPlan) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScalingPlan struct.

type ScalingPlanList

type ScalingPlanList struct {
	autorest.Response `json:"-"`
	// Value - List of scaling plan definitions.
	Value *[]ScalingPlan `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ScalingPlanList list of scaling plan definitions.

func (ScalingPlanList) IsEmpty

func (spl ScalingPlanList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ScalingPlanList) MarshalJSON

func (spl ScalingPlanList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScalingPlanList.

type ScalingPlanListIterator

type ScalingPlanListIterator struct {
	// contains filtered or unexported fields
}

ScalingPlanListIterator provides access to a complete listing of ScalingPlan values.

func NewScalingPlanListIterator

func NewScalingPlanListIterator(page ScalingPlanListPage) ScalingPlanListIterator

Creates a new instance of the ScalingPlanListIterator type.

func (*ScalingPlanListIterator) Next

func (iter *ScalingPlanListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ScalingPlanListIterator) NextWithContext

func (iter *ScalingPlanListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ScalingPlanListIterator) NotDone

func (iter ScalingPlanListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ScalingPlanListIterator) Response

func (iter ScalingPlanListIterator) Response() ScalingPlanList

Response returns the raw server response from the last page request.

func (ScalingPlanListIterator) Value

func (iter ScalingPlanListIterator) Value() ScalingPlan

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ScalingPlanListPage

type ScalingPlanListPage struct {
	// contains filtered or unexported fields
}

ScalingPlanListPage contains a page of ScalingPlan values.

func NewScalingPlanListPage

func NewScalingPlanListPage(cur ScalingPlanList, getNextPage func(context.Context, ScalingPlanList) (ScalingPlanList, error)) ScalingPlanListPage

Creates a new instance of the ScalingPlanListPage type.

func (*ScalingPlanListPage) Next

func (page *ScalingPlanListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ScalingPlanListPage) NextWithContext

func (page *ScalingPlanListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ScalingPlanListPage) NotDone

func (page ScalingPlanListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ScalingPlanListPage) Response

func (page ScalingPlanListPage) Response() ScalingPlanList

Response returns the raw server response from the last page request.

func (ScalingPlanListPage) Values

func (page ScalingPlanListPage) Values() []ScalingPlan

Values returns the slice of values for the current page or nil if there are no values.

type ScalingPlanPatch

type ScalingPlanPatch struct {
	// Tags - tags to be updated
	Tags map[string]*string `json:"tags"`
	// ScalingPlanPatchProperties - Detailed properties for scaling plan
	*ScalingPlanPatchProperties `json:"properties,omitempty"`
}

ScalingPlanPatch scaling plan properties that can be patched.

func (ScalingPlanPatch) MarshalJSON

func (spp ScalingPlanPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScalingPlanPatch.

func (*ScalingPlanPatch) UnmarshalJSON

func (spp *ScalingPlanPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScalingPlanPatch struct.

type ScalingPlanPatchProperties

type ScalingPlanPatchProperties struct {
	// Description - Description of scaling plan.
	Description *string `json:"description,omitempty"`
	// FriendlyName - User friendly name of scaling plan.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// TimeZone - Timezone of the scaling plan.
	TimeZone *string `json:"timeZone,omitempty"`
	// ExclusionTag - Exclusion tag for scaling plan.
	ExclusionTag *string `json:"exclusionTag,omitempty"`
	// Schedules - List of ScalingSchedule definitions.
	Schedules *[]ScalingSchedule `json:"schedules,omitempty"`
	// HostPoolReferences - List of ScalingHostPoolReference definitions.
	HostPoolReferences *[]ScalingHostPoolReference `json:"hostPoolReferences,omitempty"`
}

ScalingPlanPatchProperties scaling plan properties.

type ScalingPlanProperties

type ScalingPlanProperties struct {
	// ObjectID - READ-ONLY; ObjectId of scaling plan. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// Description - Description of scaling plan.
	Description *string `json:"description,omitempty"`
	// FriendlyName - User friendly name of scaling plan.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// TimeZone - Timezone of the scaling plan.
	TimeZone *string `json:"timeZone,omitempty"`
	// HostPoolType - HostPool type for desktop. Possible values include: 'ScalingHostPoolTypePooled'
	HostPoolType ScalingHostPoolType `json:"hostPoolType,omitempty"`
	// ExclusionTag - Exclusion tag for scaling plan.
	ExclusionTag *string `json:"exclusionTag,omitempty"`
	// Schedules - List of ScalingSchedule definitions.
	Schedules *[]ScalingSchedule `json:"schedules,omitempty"`
	// HostPoolReferences - List of ScalingHostPoolReference definitions.
	HostPoolReferences *[]ScalingHostPoolReference `json:"hostPoolReferences,omitempty"`
}

ScalingPlanProperties scaling plan properties.

func (ScalingPlanProperties) MarshalJSON

func (spp ScalingPlanProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScalingPlanProperties.

type ScalingPlansClient

type ScalingPlansClient struct {
	BaseClient
}

ScalingPlansClient is the client for the ScalingPlans methods of the Desktopvirtualization service.

func NewScalingPlansClient

func NewScalingPlansClient(subscriptionID string) ScalingPlansClient

NewScalingPlansClient creates an instance of the ScalingPlansClient client.

func NewScalingPlansClientWithBaseURI

func NewScalingPlansClientWithBaseURI(baseURI string, subscriptionID string) ScalingPlansClient

NewScalingPlansClientWithBaseURI creates an instance of the ScalingPlansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ScalingPlansClient) Create

func (client ScalingPlansClient) Create(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlan ScalingPlan) (result ScalingPlan, err error)

Create create or update a scaling plan. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scalingPlanName - the name of the scaling plan. scalingPlan - object containing scaling plan definitions.

func (ScalingPlansClient) CreatePreparer

func (client ScalingPlansClient) CreatePreparer(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlan ScalingPlan) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ScalingPlansClient) CreateResponder

func (client ScalingPlansClient) CreateResponder(resp *http.Response) (result ScalingPlan, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ScalingPlansClient) CreateSender

func (client ScalingPlansClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ScalingPlansClient) Delete

func (client ScalingPlansClient) Delete(ctx context.Context, resourceGroupName string, scalingPlanName string) (result autorest.Response, err error)

Delete remove a scaling plan. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scalingPlanName - the name of the scaling plan.

func (ScalingPlansClient) DeletePreparer

func (client ScalingPlansClient) DeletePreparer(ctx context.Context, resourceGroupName string, scalingPlanName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ScalingPlansClient) DeleteResponder

func (client ScalingPlansClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ScalingPlansClient) DeleteSender

func (client ScalingPlansClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ScalingPlansClient) Get

func (client ScalingPlansClient) Get(ctx context.Context, resourceGroupName string, scalingPlanName string) (result ScalingPlan, err error)

Get get a scaling plan. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scalingPlanName - the name of the scaling plan.

func (ScalingPlansClient) GetPreparer

func (client ScalingPlansClient) GetPreparer(ctx context.Context, resourceGroupName string, scalingPlanName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScalingPlansClient) GetResponder

func (client ScalingPlansClient) GetResponder(resp *http.Response) (result ScalingPlan, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ScalingPlansClient) GetSender

func (client ScalingPlansClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ScalingPlansClient) ListByHostPool

func (client ScalingPlansClient) ListByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string) (result ScalingPlanListPage, err error)

ListByHostPool list scaling plan associated with hostpool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group

func (ScalingPlansClient) ListByHostPoolComplete

func (client ScalingPlansClient) ListByHostPoolComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result ScalingPlanListIterator, err error)

ListByHostPoolComplete enumerates all values, automatically crossing page boundaries as required.

func (ScalingPlansClient) ListByHostPoolPreparer

func (client ScalingPlansClient) ListByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)

ListByHostPoolPreparer prepares the ListByHostPool request.

func (ScalingPlansClient) ListByHostPoolResponder

func (client ScalingPlansClient) ListByHostPoolResponder(resp *http.Response) (result ScalingPlanList, err error)

ListByHostPoolResponder handles the response to the ListByHostPool request. The method always closes the http.Response Body.

func (ScalingPlansClient) ListByHostPoolSender

func (client ScalingPlansClient) ListByHostPoolSender(req *http.Request) (*http.Response, error)

ListByHostPoolSender sends the ListByHostPool request. The method will close the http.Response Body if it receives an error.

func (ScalingPlansClient) ListByResourceGroup

func (client ScalingPlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ScalingPlanListPage, err error)

ListByResourceGroup list scaling plans. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ScalingPlansClient) ListByResourceGroupComplete

func (client ScalingPlansClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ScalingPlanListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ScalingPlansClient) ListByResourceGroupPreparer

func (client ScalingPlansClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ScalingPlansClient) ListByResourceGroupResponder

func (client ScalingPlansClient) ListByResourceGroupResponder(resp *http.Response) (result ScalingPlanList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ScalingPlansClient) ListByResourceGroupSender

func (client ScalingPlansClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ScalingPlansClient) ListBySubscription

func (client ScalingPlansClient) ListBySubscription(ctx context.Context) (result ScalingPlanListPage, err error)

ListBySubscription list scaling plans in subscription.

func (ScalingPlansClient) ListBySubscriptionComplete

func (client ScalingPlansClient) ListBySubscriptionComplete(ctx context.Context) (result ScalingPlanListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (ScalingPlansClient) ListBySubscriptionPreparer

func (client ScalingPlansClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ScalingPlansClient) ListBySubscriptionResponder

func (client ScalingPlansClient) ListBySubscriptionResponder(resp *http.Response) (result ScalingPlanList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ScalingPlansClient) ListBySubscriptionSender

func (client ScalingPlansClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ScalingPlansClient) Update

func (client ScalingPlansClient) Update(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlan *ScalingPlanPatch) (result ScalingPlan, err error)

Update update a scaling plan. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scalingPlanName - the name of the scaling plan. scalingPlan - object containing scaling plan definitions.

func (ScalingPlansClient) UpdatePreparer

func (client ScalingPlansClient) UpdatePreparer(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlan *ScalingPlanPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ScalingPlansClient) UpdateResponder

func (client ScalingPlansClient) UpdateResponder(resp *http.Response) (result ScalingPlan, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ScalingPlansClient) UpdateSender

func (client ScalingPlansClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ScalingSchedule

type ScalingSchedule struct {
	// Name - Name of the scaling schedule.
	Name *string `json:"name,omitempty"`
	// DaysOfWeek - Set of days of the week on which this schedule is active.
	DaysOfWeek *[]string `json:"daysOfWeek,omitempty"`
	// RampUpStartTime - Starting time for ramp up period.
	RampUpStartTime *Time `json:"rampUpStartTime,omitempty"`
	// RampUpLoadBalancingAlgorithm - Load balancing algorithm for ramp up period. Possible values include: 'SessionHostLoadBalancingAlgorithmBreadthFirst', 'SessionHostLoadBalancingAlgorithmDepthFirst'
	RampUpLoadBalancingAlgorithm SessionHostLoadBalancingAlgorithm `json:"rampUpLoadBalancingAlgorithm,omitempty"`
	// RampUpMinimumHostsPct - Minimum host percentage for ramp up period.
	RampUpMinimumHostsPct *int32 `json:"rampUpMinimumHostsPct,omitempty"`
	// RampUpCapacityThresholdPct - Capacity threshold for ramp up period.
	RampUpCapacityThresholdPct *int32 `json:"rampUpCapacityThresholdPct,omitempty"`
	// PeakStartTime - Starting time for peak period.
	PeakStartTime *Time `json:"peakStartTime,omitempty"`
	// PeakLoadBalancingAlgorithm - Load balancing algorithm for peak period. Possible values include: 'SessionHostLoadBalancingAlgorithmBreadthFirst', 'SessionHostLoadBalancingAlgorithmDepthFirst'
	PeakLoadBalancingAlgorithm SessionHostLoadBalancingAlgorithm `json:"peakLoadBalancingAlgorithm,omitempty"`
	// RampDownStartTime - Starting time for ramp down period.
	RampDownStartTime *Time `json:"rampDownStartTime,omitempty"`
	// RampDownLoadBalancingAlgorithm - Load balancing algorithm for ramp down period. Possible values include: 'SessionHostLoadBalancingAlgorithmBreadthFirst', 'SessionHostLoadBalancingAlgorithmDepthFirst'
	RampDownLoadBalancingAlgorithm SessionHostLoadBalancingAlgorithm `json:"rampDownLoadBalancingAlgorithm,omitempty"`
	// RampDownMinimumHostsPct - Minimum host percentage for ramp down period.
	RampDownMinimumHostsPct *int32 `json:"rampDownMinimumHostsPct,omitempty"`
	// RampDownCapacityThresholdPct - Capacity threshold for ramp down period.
	RampDownCapacityThresholdPct *int32 `json:"rampDownCapacityThresholdPct,omitempty"`
	// RampDownForceLogoffUsers - Should users be logged off forcefully from hosts.
	RampDownForceLogoffUsers *bool `json:"rampDownForceLogoffUsers,omitempty"`
	// RampDownStopHostsWhen - Specifies when to stop hosts during ramp down period. Possible values include: 'StopHostsWhenZeroSessions', 'StopHostsWhenZeroActiveSessions'
	RampDownStopHostsWhen StopHostsWhen `json:"rampDownStopHostsWhen,omitempty"`
	// RampDownWaitTimeMinutes - Number of minutes to wait to stop hosts during ramp down period.
	RampDownWaitTimeMinutes *int32 `json:"rampDownWaitTimeMinutes,omitempty"`
	// RampDownNotificationMessage - Notification message for users during ramp down period.
	RampDownNotificationMessage *string `json:"rampDownNotificationMessage,omitempty"`
	// OffPeakStartTime - Starting time for off-peak period.
	OffPeakStartTime *Time `json:"offPeakStartTime,omitempty"`
	// OffPeakLoadBalancingAlgorithm - Load balancing algorithm for off-peak period. Possible values include: 'SessionHostLoadBalancingAlgorithmBreadthFirst', 'SessionHostLoadBalancingAlgorithmDepthFirst'
	OffPeakLoadBalancingAlgorithm SessionHostLoadBalancingAlgorithm `json:"offPeakLoadBalancingAlgorithm,omitempty"`
}

ScalingSchedule scaling plan schedule.

type SendMessage

type SendMessage struct {
	// MessageTitle - Title of message.
	MessageTitle *string `json:"messageTitle,omitempty"`
	// MessageBody - Body of message.
	MessageBody *string `json:"messageBody,omitempty"`
}

SendMessage represents message sent to a UserSession.

type ServiceSpecification

type ServiceSpecification struct {
	// LogSpecifications - Specifications of the Log for Azure Monitoring
	LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
}

ServiceSpecification service specification payload

type SessionHost

type SessionHost struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// SessionHostProperties - Detailed properties for SessionHost
	*SessionHostProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

SessionHost represents a SessionHost definition.

func (SessionHost) MarshalJSON

func (sh SessionHost) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SessionHost.

func (*SessionHost) UnmarshalJSON

func (sh *SessionHost) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SessionHost struct.

type SessionHostHealthCheckFailureDetails

type SessionHostHealthCheckFailureDetails struct {
	// Message - READ-ONLY; Failure message: hints on what is wrong and how to recover.
	Message *string `json:"message,omitempty"`
	// ErrorCode - READ-ONLY; Error code corresponding for the failure.
	ErrorCode *int32 `json:"errorCode,omitempty"`
	// LastHealthCheckDateTime - READ-ONLY; The timestamp of the last update.
	LastHealthCheckDateTime *date.Time `json:"lastHealthCheckDateTime,omitempty"`
}

SessionHostHealthCheckFailureDetails contains details on the failure.

func (SessionHostHealthCheckFailureDetails) MarshalJSON

func (shhcfd SessionHostHealthCheckFailureDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SessionHostHealthCheckFailureDetails.

type SessionHostHealthCheckReport

type SessionHostHealthCheckReport struct {
	// HealthCheckName - READ-ONLY; Represents the name of the health check operation performed. Possible values include: 'HealthCheckNameDomainJoinedCheck', 'HealthCheckNameDomainTrustCheck', 'HealthCheckNameFSLogixHealthCheck', 'HealthCheckNameSxSStackListenerCheck', 'HealthCheckNameUrlsAccessibleCheck', 'HealthCheckNameMonitoringAgentCheck', 'HealthCheckNameDomainReachable', 'HealthCheckNameWebRTCRedirectorCheck', 'HealthCheckNameSupportedEncryptionCheck', 'HealthCheckNameMetaDataServiceCheck', 'HealthCheckNameAppAttachHealthCheck'
	HealthCheckName HealthCheckName `json:"healthCheckName,omitempty"`
	// HealthCheckResult - READ-ONLY; Represents the Health state of the health check we performed. Possible values include: 'HealthCheckResultUnknown', 'HealthCheckResultHealthCheckSucceeded', 'HealthCheckResultHealthCheckFailed', 'HealthCheckResultSessionHostShutdown'
	HealthCheckResult HealthCheckResult `json:"healthCheckResult,omitempty"`
	// AdditionalFailureDetails - READ-ONLY; Additional detailed information on the failure.
	AdditionalFailureDetails *SessionHostHealthCheckFailureDetails `json:"additionalFailureDetails,omitempty"`
}

SessionHostHealthCheckReport the report for session host information.

func (SessionHostHealthCheckReport) MarshalJSON

func (shhcr SessionHostHealthCheckReport) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SessionHostHealthCheckReport.

type SessionHostList

type SessionHostList struct {
	autorest.Response `json:"-"`
	// Value - List of SessionHost definitions.
	Value *[]SessionHost `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SessionHostList list of SessionHost definitions.

func (SessionHostList) IsEmpty

func (shl SessionHostList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SessionHostList) MarshalJSON

func (shl SessionHostList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SessionHostList.

type SessionHostListIterator

type SessionHostListIterator struct {
	// contains filtered or unexported fields
}

SessionHostListIterator provides access to a complete listing of SessionHost values.

func NewSessionHostListIterator

func NewSessionHostListIterator(page SessionHostListPage) SessionHostListIterator

Creates a new instance of the SessionHostListIterator type.

func (*SessionHostListIterator) Next

func (iter *SessionHostListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SessionHostListIterator) NextWithContext

func (iter *SessionHostListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SessionHostListIterator) NotDone

func (iter SessionHostListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SessionHostListIterator) Response

func (iter SessionHostListIterator) Response() SessionHostList

Response returns the raw server response from the last page request.

func (SessionHostListIterator) Value

func (iter SessionHostListIterator) Value() SessionHost

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SessionHostListPage

type SessionHostListPage struct {
	// contains filtered or unexported fields
}

SessionHostListPage contains a page of SessionHost values.

func NewSessionHostListPage

func NewSessionHostListPage(cur SessionHostList, getNextPage func(context.Context, SessionHostList) (SessionHostList, error)) SessionHostListPage

Creates a new instance of the SessionHostListPage type.

func (*SessionHostListPage) Next

func (page *SessionHostListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SessionHostListPage) NextWithContext

func (page *SessionHostListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SessionHostListPage) NotDone

func (page SessionHostListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SessionHostListPage) Response

func (page SessionHostListPage) Response() SessionHostList

Response returns the raw server response from the last page request.

func (SessionHostListPage) Values

func (page SessionHostListPage) Values() []SessionHost

Values returns the slice of values for the current page or nil if there are no values.

type SessionHostLoadBalancingAlgorithm

type SessionHostLoadBalancingAlgorithm string

SessionHostLoadBalancingAlgorithm enumerates the values for session host load balancing algorithm.

const (
	// SessionHostLoadBalancingAlgorithmBreadthFirst ...
	SessionHostLoadBalancingAlgorithmBreadthFirst SessionHostLoadBalancingAlgorithm = "BreadthFirst"
	// SessionHostLoadBalancingAlgorithmDepthFirst ...
	SessionHostLoadBalancingAlgorithmDepthFirst SessionHostLoadBalancingAlgorithm = "DepthFirst"
)

func PossibleSessionHostLoadBalancingAlgorithmValues

func PossibleSessionHostLoadBalancingAlgorithmValues() []SessionHostLoadBalancingAlgorithm

PossibleSessionHostLoadBalancingAlgorithmValues returns an array of possible values for the SessionHostLoadBalancingAlgorithm const type.

type SessionHostPatch

type SessionHostPatch struct {
	// SessionHostPatchProperties - Detailed properties for SessionHost
	*SessionHostPatchProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

SessionHostPatch sessionHost properties that can be patched.

func (SessionHostPatch) MarshalJSON

func (shp SessionHostPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SessionHostPatch.

func (*SessionHostPatch) UnmarshalJSON

func (shp *SessionHostPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SessionHostPatch struct.

type SessionHostPatchProperties

type SessionHostPatchProperties struct {
	// AllowNewSession - Allow a new session.
	AllowNewSession *bool `json:"allowNewSession,omitempty"`
	// AssignedUser - User assigned to SessionHost.
	AssignedUser *string `json:"assignedUser,omitempty"`
}

SessionHostPatchProperties sessionHost properties that can be patched.

type SessionHostProperties

type SessionHostProperties struct {
	// ObjectID - READ-ONLY; ObjectId of SessionHost. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// LastHeartBeat - Last heart beat from SessionHost.
	LastHeartBeat *date.Time `json:"lastHeartBeat,omitempty"`
	// Sessions - Number of sessions on SessionHost.
	Sessions *int32 `json:"sessions,omitempty"`
	// AgentVersion - Version of agent on SessionHost.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// AllowNewSession - Allow a new session.
	AllowNewSession *bool `json:"allowNewSession,omitempty"`
	// VirtualMachineID - READ-ONLY; Virtual Machine Id of SessionHost's underlying virtual machine.
	VirtualMachineID *string `json:"virtualMachineId,omitempty"`
	// ResourceID - READ-ONLY; Resource Id of SessionHost's underlying virtual machine.
	ResourceID *string `json:"resourceId,omitempty"`
	// AssignedUser - User assigned to SessionHost.
	AssignedUser *string `json:"assignedUser,omitempty"`
	// Status - Status for a SessionHost. Possible values include: 'StatusAvailable', 'StatusUnavailable', 'StatusShutdown', 'StatusDisconnected', 'StatusUpgrading', 'StatusUpgradeFailed', 'StatusNoHeartbeat', 'StatusNotJoinedToDomain', 'StatusDomainTrustRelationshipLost', 'StatusSxSStackListenerNotReady', 'StatusFSLogixNotHealthy', 'StatusNeedsAssistance'
	Status Status `json:"status,omitempty"`
	// StatusTimestamp - READ-ONLY; The timestamp of the status.
	StatusTimestamp *date.Time `json:"statusTimestamp,omitempty"`
	// OsVersion - The version of the OS on the session host.
	OsVersion *string `json:"osVersion,omitempty"`
	// SxSStackVersion - The version of the side by side stack on the session host.
	SxSStackVersion *string `json:"sxSStackVersion,omitempty"`
	// UpdateState - Update state of a SessionHost. Possible values include: 'UpdateStateInitial', 'UpdateStatePending', 'UpdateStateStarted', 'UpdateStateSucceeded', 'UpdateStateFailed'
	UpdateState UpdateState `json:"updateState,omitempty"`
	// LastUpdateTime - READ-ONLY; The timestamp of the last update.
	LastUpdateTime *date.Time `json:"lastUpdateTime,omitempty"`
	// UpdateErrorMessage - The error message.
	UpdateErrorMessage *string `json:"updateErrorMessage,omitempty"`
	// SessionHostHealthCheckResults - READ-ONLY; List of SessionHostHealthCheckReports
	SessionHostHealthCheckResults *[]SessionHostHealthCheckReport `json:"sessionHostHealthCheckResults,omitempty"`
}

SessionHostProperties schema for SessionHost properties.

func (SessionHostProperties) MarshalJSON

func (shp SessionHostProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SessionHostProperties.

type SessionHostsClient

type SessionHostsClient struct {
	BaseClient
}

SessionHostsClient is the client for the SessionHosts methods of the Desktopvirtualization service.

func NewSessionHostsClient

func NewSessionHostsClient(subscriptionID string) SessionHostsClient

NewSessionHostsClient creates an instance of the SessionHostsClient client.

func NewSessionHostsClientWithBaseURI

func NewSessionHostsClientWithBaseURI(baseURI string, subscriptionID string) SessionHostsClient

NewSessionHostsClientWithBaseURI creates an instance of the SessionHostsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SessionHostsClient) Delete

func (client SessionHostsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, force *bool) (result autorest.Response, err error)

Delete remove a SessionHost. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool force - force flag to force sessionHost deletion even when userSession exists.

func (SessionHostsClient) DeletePreparer

func (client SessionHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, force *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SessionHostsClient) DeleteResponder

func (client SessionHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SessionHostsClient) DeleteSender

func (client SessionHostsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SessionHostsClient) Get

func (client SessionHostsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (result SessionHost, err error)

Get get a session host. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool

func (SessionHostsClient) GetPreparer

func (client SessionHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SessionHostsClient) GetResponder

func (client SessionHostsClient) GetResponder(resp *http.Response) (result SessionHost, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SessionHostsClient) GetSender

func (client SessionHostsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SessionHostsClient) List

func (client SessionHostsClient) List(ctx context.Context, resourceGroupName string, hostPoolName string) (result SessionHostListPage, err error)

List list sessionHosts. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group

func (SessionHostsClient) ListComplete

func (client SessionHostsClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result SessionHostListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SessionHostsClient) ListPreparer

func (client SessionHostsClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SessionHostsClient) ListResponder

func (client SessionHostsClient) ListResponder(resp *http.Response) (result SessionHostList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SessionHostsClient) ListSender

func (client SessionHostsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SessionHostsClient) Update

func (client SessionHostsClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, sessionHost *SessionHostPatch, force *bool) (result SessionHost, err error)

Update update a session host. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool sessionHost - object containing SessionHost definitions. force - force flag to update assign, unassign or reassign personal desktop.

func (SessionHostsClient) UpdatePreparer

func (client SessionHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, sessionHost *SessionHostPatch, force *bool) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SessionHostsClient) UpdateResponder

func (client SessionHostsClient) UpdateResponder(resp *http.Response) (result SessionHost, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SessionHostsClient) UpdateSender

func (client SessionHostsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SessionState

type SessionState string

SessionState enumerates the values for session state.

const (
	// SessionStateActive ...
	SessionStateActive SessionState = "Active"
	// SessionStateDisconnected ...
	SessionStateDisconnected SessionState = "Disconnected"
	// SessionStateLogOff ...
	SessionStateLogOff SessionState = "LogOff"
	// SessionStatePending ...
	SessionStatePending SessionState = "Pending"
	// SessionStateUnknown ...
	SessionStateUnknown SessionState = "Unknown"
	// SessionStateUserProfileDiskMounted ...
	SessionStateUserProfileDiskMounted SessionState = "UserProfileDiskMounted"
)

func PossibleSessionStateValues

func PossibleSessionStateValues() []SessionState

PossibleSessionStateValues returns an array of possible values for the SessionState const type.

type Sku

type Sku struct {
	// Name - The name of the SKU. Ex - P3. It is typically a letter+number code
	Name *string `json:"name,omitempty"`
	// Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'SkuTierFree', 'SkuTierBasic', 'SkuTierStandard', 'SkuTierPremium'
	Tier SkuTier `json:"tier,omitempty"`
	// Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
	Size *string `json:"size,omitempty"`
	// Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`
	// Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
	Capacity *int32 `json:"capacity,omitempty"`
}

Sku the resource model definition representing SKU

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// SkuTierBasic ...
	SkuTierBasic SkuTier = "Basic"
	// SkuTierFree ...
	SkuTierFree SkuTier = "Free"
	// SkuTierPremium ...
	SkuTierPremium SkuTier = "Premium"
	// SkuTierStandard ...
	SkuTierStandard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type StartMenuItem

type StartMenuItem struct {
	// StartMenuItemProperties - Detailed properties for StartMenuItem
	*StartMenuItemProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

StartMenuItem represents a StartMenuItem definition.

func (StartMenuItem) MarshalJSON

func (smi StartMenuItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StartMenuItem.

func (*StartMenuItem) UnmarshalJSON

func (smi *StartMenuItem) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StartMenuItem struct.

type StartMenuItemList

type StartMenuItemList struct {
	autorest.Response `json:"-"`
	// Value - List of StartMenuItem definitions.
	Value *[]StartMenuItem `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

StartMenuItemList list of StartMenuItem definitions.

func (StartMenuItemList) IsEmpty

func (smil StartMenuItemList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (StartMenuItemList) MarshalJSON

func (smil StartMenuItemList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StartMenuItemList.

type StartMenuItemListIterator

type StartMenuItemListIterator struct {
	// contains filtered or unexported fields
}

StartMenuItemListIterator provides access to a complete listing of StartMenuItem values.

func NewStartMenuItemListIterator

func NewStartMenuItemListIterator(page StartMenuItemListPage) StartMenuItemListIterator

Creates a new instance of the StartMenuItemListIterator type.

func (*StartMenuItemListIterator) Next

func (iter *StartMenuItemListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StartMenuItemListIterator) NextWithContext

func (iter *StartMenuItemListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (StartMenuItemListIterator) NotDone

func (iter StartMenuItemListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (StartMenuItemListIterator) Response

Response returns the raw server response from the last page request.

func (StartMenuItemListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type StartMenuItemListPage

type StartMenuItemListPage struct {
	// contains filtered or unexported fields
}

StartMenuItemListPage contains a page of StartMenuItem values.

func NewStartMenuItemListPage

func NewStartMenuItemListPage(cur StartMenuItemList, getNextPage func(context.Context, StartMenuItemList) (StartMenuItemList, error)) StartMenuItemListPage

Creates a new instance of the StartMenuItemListPage type.

func (*StartMenuItemListPage) Next

func (page *StartMenuItemListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*StartMenuItemListPage) NextWithContext

func (page *StartMenuItemListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (StartMenuItemListPage) NotDone

func (page StartMenuItemListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (StartMenuItemListPage) Response

func (page StartMenuItemListPage) Response() StartMenuItemList

Response returns the raw server response from the last page request.

func (StartMenuItemListPage) Values

func (page StartMenuItemListPage) Values() []StartMenuItem

Values returns the slice of values for the current page or nil if there are no values.

type StartMenuItemProperties

type StartMenuItemProperties struct {
	// AppAlias - Alias of StartMenuItem.
	AppAlias *string `json:"appAlias,omitempty"`
	// FilePath - Path to the file of StartMenuItem.
	FilePath *string `json:"filePath,omitempty"`
	// CommandLineArguments - Command line arguments for StartMenuItem.
	CommandLineArguments *string `json:"commandLineArguments,omitempty"`
	// IconPath - Path to the icon.
	IconPath *string `json:"iconPath,omitempty"`
	// IconIndex - Index of the icon.
	IconIndex *int32 `json:"iconIndex,omitempty"`
}

StartMenuItemProperties schema for StartMenuItem properties.

type StartMenuItemsClient

type StartMenuItemsClient struct {
	BaseClient
}

StartMenuItemsClient is the client for the StartMenuItems methods of the Desktopvirtualization service.

func NewStartMenuItemsClient

func NewStartMenuItemsClient(subscriptionID string) StartMenuItemsClient

NewStartMenuItemsClient creates an instance of the StartMenuItemsClient client.

func NewStartMenuItemsClientWithBaseURI

func NewStartMenuItemsClientWithBaseURI(baseURI string, subscriptionID string) StartMenuItemsClient

NewStartMenuItemsClientWithBaseURI creates an instance of the StartMenuItemsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (StartMenuItemsClient) List

func (client StartMenuItemsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result StartMenuItemListPage, err error)

List list start menu items in the given application group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group

func (StartMenuItemsClient) ListComplete

func (client StartMenuItemsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result StartMenuItemListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (StartMenuItemsClient) ListPreparer

func (client StartMenuItemsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (StartMenuItemsClient) ListResponder

func (client StartMenuItemsClient) ListResponder(resp *http.Response) (result StartMenuItemList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (StartMenuItemsClient) ListSender

func (client StartMenuItemsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusAvailable Session Host has passed all the health checks and is available to handle connections.
	StatusAvailable Status = "Available"
	// StatusDisconnected The Session Host is unavailable because it is currently disconnected.
	StatusDisconnected Status = "Disconnected"
	// StatusDomainTrustRelationshipLost SessionHost's domain trust relationship lost
	StatusDomainTrustRelationshipLost Status = "DomainTrustRelationshipLost"
	// StatusFSLogixNotHealthy FSLogix is in an unhealthy state on the session host.
	StatusFSLogixNotHealthy Status = "FSLogixNotHealthy"
	// StatusNeedsAssistance New status to inform admins that the health on their endpoint needs to be fixed.
	// The connections might not fail, as these issues are not fatal.
	StatusNeedsAssistance Status = "NeedsAssistance"
	// StatusNoHeartbeat The Session Host is not heart beating.
	StatusNoHeartbeat Status = "NoHeartbeat"
	// StatusNotJoinedToDomain SessionHost is not joined to domain.
	StatusNotJoinedToDomain Status = "NotJoinedToDomain"
	// StatusShutdown Session Host is shutdown - RD Agent reported session host to be stopped or deallocated.
	StatusShutdown Status = "Shutdown"
	// StatusSxSStackListenerNotReady SxS stack installed on the SessionHost is not ready to receive
	// connections.
	StatusSxSStackListenerNotReady Status = "SxSStackListenerNotReady"
	// StatusUnavailable Session Host is either turned off or has failed critical health checks which is
	// causing service not to be able to route connections to this session host. Note this replaces previous
	// 'NoHeartBeat' status.
	StatusUnavailable Status = "Unavailable"
	// StatusUpgradeFailed Session Host is unavailable because the critical component upgrade (agent,
	// side-by-side stack, etc.) failed.
	StatusUpgradeFailed Status = "UpgradeFailed"
	// StatusUpgrading Session Host is unavailable because currently an upgrade of RDAgent/side-by-side stack
	// is in progress. Note: this state will be removed once the upgrade completes and the host is able to
	// accept connections.
	StatusUpgrading Status = "Upgrading"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type StopHostsWhen

type StopHostsWhen string

StopHostsWhen enumerates the values for stop hosts when.

const (
	// StopHostsWhenZeroActiveSessions ...
	StopHostsWhenZeroActiveSessions StopHostsWhen = "ZeroActiveSessions"
	// StopHostsWhenZeroSessions ...
	StopHostsWhenZeroSessions StopHostsWhen = "ZeroSessions"
)

func PossibleStopHostsWhenValues

func PossibleStopHostsWhenValues() []StopHostsWhen

PossibleStopHostsWhenValues returns an array of possible values for the StopHostsWhen const type.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type Time

type Time struct {
	// Hour - The hour.
	Hour *int32 `json:"hour,omitempty"`
	// Minute - The minute.
	Minute *int32 `json:"minute,omitempty"`
}

Time the time for a scaling action to occur.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type UpdateState

type UpdateState string

UpdateState enumerates the values for update state.

const (
	// UpdateStateFailed ...
	UpdateStateFailed UpdateState = "Failed"
	// UpdateStateInitial ...
	UpdateStateInitial UpdateState = "Initial"
	// UpdateStatePending ...
	UpdateStatePending UpdateState = "Pending"
	// UpdateStateStarted ...
	UpdateStateStarted UpdateState = "Started"
	// UpdateStateSucceeded ...
	UpdateStateSucceeded UpdateState = "Succeeded"
)

func PossibleUpdateStateValues

func PossibleUpdateStateValues() []UpdateState

PossibleUpdateStateValues returns an array of possible values for the UpdateState const type.

type UserSession

type UserSession struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// UserSessionProperties - Detailed properties for UserSession
	*UserSessionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

UserSession represents a UserSession definition.

func (UserSession) MarshalJSON

func (us UserSession) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserSession.

func (*UserSession) UnmarshalJSON

func (us *UserSession) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UserSession struct.

type UserSessionList

type UserSessionList struct {
	autorest.Response `json:"-"`
	// Value - List of UserSession definitions.
	Value *[]UserSession `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

UserSessionList list of UserSession definitions.

func (UserSessionList) IsEmpty

func (usl UserSessionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (UserSessionList) MarshalJSON

func (usl UserSessionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserSessionList.

type UserSessionListIterator

type UserSessionListIterator struct {
	// contains filtered or unexported fields
}

UserSessionListIterator provides access to a complete listing of UserSession values.

func NewUserSessionListIterator

func NewUserSessionListIterator(page UserSessionListPage) UserSessionListIterator

Creates a new instance of the UserSessionListIterator type.

func (*UserSessionListIterator) Next

func (iter *UserSessionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*UserSessionListIterator) NextWithContext

func (iter *UserSessionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (UserSessionListIterator) NotDone

func (iter UserSessionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (UserSessionListIterator) Response

func (iter UserSessionListIterator) Response() UserSessionList

Response returns the raw server response from the last page request.

func (UserSessionListIterator) Value

func (iter UserSessionListIterator) Value() UserSession

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type UserSessionListPage

type UserSessionListPage struct {
	// contains filtered or unexported fields
}

UserSessionListPage contains a page of UserSession values.

func NewUserSessionListPage

func NewUserSessionListPage(cur UserSessionList, getNextPage func(context.Context, UserSessionList) (UserSessionList, error)) UserSessionListPage

Creates a new instance of the UserSessionListPage type.

func (*UserSessionListPage) Next

func (page *UserSessionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*UserSessionListPage) NextWithContext

func (page *UserSessionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (UserSessionListPage) NotDone

func (page UserSessionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (UserSessionListPage) Response

func (page UserSessionListPage) Response() UserSessionList

Response returns the raw server response from the last page request.

func (UserSessionListPage) Values

func (page UserSessionListPage) Values() []UserSession

Values returns the slice of values for the current page or nil if there are no values.

type UserSessionProperties

type UserSessionProperties struct {
	// ObjectID - READ-ONLY; ObjectId of user session. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// UserPrincipalName - The user principal name.
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
	// ApplicationType - Application type of application. Possible values include: 'ApplicationTypeRemoteApp', 'ApplicationTypeDesktop'
	ApplicationType ApplicationType `json:"applicationType,omitempty"`
	// SessionState - State of user session. Possible values include: 'SessionStateUnknown', 'SessionStateActive', 'SessionStateDisconnected', 'SessionStatePending', 'SessionStateLogOff', 'SessionStateUserProfileDiskMounted'
	SessionState SessionState `json:"sessionState,omitempty"`
	// ActiveDirectoryUserName - The active directory user name.
	ActiveDirectoryUserName *string `json:"activeDirectoryUserName,omitempty"`
	// CreateTime - The timestamp of the user session create.
	CreateTime *date.Time `json:"createTime,omitempty"`
}

UserSessionProperties schema for UserSession properties.

func (UserSessionProperties) MarshalJSON

func (usp UserSessionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserSessionProperties.

type UserSessionsClient

type UserSessionsClient struct {
	BaseClient
}

UserSessionsClient is the client for the UserSessions methods of the Desktopvirtualization service.

func NewUserSessionsClient

func NewUserSessionsClient(subscriptionID string) UserSessionsClient

NewUserSessionsClient creates an instance of the UserSessionsClient client.

func NewUserSessionsClientWithBaseURI

func NewUserSessionsClientWithBaseURI(baseURI string, subscriptionID string) UserSessionsClient

NewUserSessionsClientWithBaseURI creates an instance of the UserSessionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (UserSessionsClient) Delete

func (client UserSessionsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, force *bool) (result autorest.Response, err error)

Delete remove a userSession. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host force - force flag to login off userSession.

func (UserSessionsClient) DeletePreparer

func (client UserSessionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, force *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (UserSessionsClient) DeleteResponder

func (client UserSessionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (UserSessionsClient) DeleteSender

func (client UserSessionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (UserSessionsClient) Disconnect

func (client UserSessionsClient) Disconnect(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (result autorest.Response, err error)

Disconnect disconnect a userSession. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host

func (UserSessionsClient) DisconnectPreparer

func (client UserSessionsClient) DisconnectPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (*http.Request, error)

DisconnectPreparer prepares the Disconnect request.

func (UserSessionsClient) DisconnectResponder

func (client UserSessionsClient) DisconnectResponder(resp *http.Response) (result autorest.Response, err error)

DisconnectResponder handles the response to the Disconnect request. The method always closes the http.Response Body.

func (UserSessionsClient) DisconnectSender

func (client UserSessionsClient) DisconnectSender(req *http.Request) (*http.Response, error)

DisconnectSender sends the Disconnect request. The method will close the http.Response Body if it receives an error.

func (UserSessionsClient) Get

func (client UserSessionsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (result UserSession, err error)

Get get a userSession. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host

func (UserSessionsClient) GetPreparer

func (client UserSessionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (UserSessionsClient) GetResponder

func (client UserSessionsClient) GetResponder(resp *http.Response) (result UserSession, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (UserSessionsClient) GetSender

func (client UserSessionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (UserSessionsClient) List

func (client UserSessionsClient) List(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (result UserSessionListPage, err error)

List list userSessions. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool

func (UserSessionsClient) ListByHostPool

func (client UserSessionsClient) ListByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string, filter string) (result UserSessionListPage, err error)

ListByHostPool list userSessions. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group filter - oData filter expression. Valid properties for filtering are userprincipalname and sessionstate.

func (UserSessionsClient) ListByHostPoolComplete

func (client UserSessionsClient) ListByHostPoolComplete(ctx context.Context, resourceGroupName string, hostPoolName string, filter string) (result UserSessionListIterator, err error)

ListByHostPoolComplete enumerates all values, automatically crossing page boundaries as required.

func (UserSessionsClient) ListByHostPoolPreparer

func (client UserSessionsClient) ListByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, filter string) (*http.Request, error)

ListByHostPoolPreparer prepares the ListByHostPool request.

func (UserSessionsClient) ListByHostPoolResponder

func (client UserSessionsClient) ListByHostPoolResponder(resp *http.Response) (result UserSessionList, err error)

ListByHostPoolResponder handles the response to the ListByHostPool request. The method always closes the http.Response Body.

func (UserSessionsClient) ListByHostPoolSender

func (client UserSessionsClient) ListByHostPoolSender(req *http.Request) (*http.Response, error)

ListByHostPoolSender sends the ListByHostPool request. The method will close the http.Response Body if it receives an error.

func (UserSessionsClient) ListComplete

func (client UserSessionsClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (result UserSessionListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (UserSessionsClient) ListPreparer

func (client UserSessionsClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (*http.Request, error)

ListPreparer prepares the List request.

func (UserSessionsClient) ListResponder

func (client UserSessionsClient) ListResponder(resp *http.Response) (result UserSessionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (UserSessionsClient) ListSender

func (client UserSessionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (UserSessionsClient) SendMessageMethod

func (client UserSessionsClient) SendMessageMethod(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, sendMessage *SendMessage) (result autorest.Response, err error)

SendMessageMethod send a message to a user. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host sendMessage - object containing message includes title and message body

func (UserSessionsClient) SendMessageMethodPreparer

func (client UserSessionsClient) SendMessageMethodPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, sendMessage *SendMessage) (*http.Request, error)

SendMessageMethodPreparer prepares the SendMessageMethod request.

func (UserSessionsClient) SendMessageMethodResponder

func (client UserSessionsClient) SendMessageMethodResponder(resp *http.Response) (result autorest.Response, err error)

SendMessageMethodResponder handles the response to the SendMessageMethod request. The method always closes the http.Response Body.

func (UserSessionsClient) SendMessageMethodSender

func (client UserSessionsClient) SendMessageMethodSender(req *http.Request) (*http.Response, error)

SendMessageMethodSender sends the SendMessageMethod request. The method will close the http.Response Body if it receives an error.

type Workspace

type Workspace struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// WorkspaceProperties - Detailed properties for Workspace
	*WorkspaceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ManagedBy - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
	ManagedBy *string `json:"managedBy,omitempty"`
	// Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind *string `json:"kind,omitempty"`
	// Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags     map[string]*string                           `json:"tags"`
	Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
	Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
	Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

Workspace represents a Workspace definition.

func (Workspace) MarshalJSON

func (w Workspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Workspace.

func (*Workspace) UnmarshalJSON

func (w *Workspace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Workspace struct.

type WorkspaceList

type WorkspaceList struct {
	autorest.Response `json:"-"`
	// Value - List of Workspace definitions.
	Value *[]Workspace `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WorkspaceList list of Workspace definitions.

func (WorkspaceList) IsEmpty

func (wl WorkspaceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkspaceList) MarshalJSON

func (wl WorkspaceList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceList.

type WorkspaceListIterator

type WorkspaceListIterator struct {
	// contains filtered or unexported fields
}

WorkspaceListIterator provides access to a complete listing of Workspace values.

func NewWorkspaceListIterator

func NewWorkspaceListIterator(page WorkspaceListPage) WorkspaceListIterator

Creates a new instance of the WorkspaceListIterator type.

func (*WorkspaceListIterator) Next

func (iter *WorkspaceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WorkspaceListIterator) NextWithContext

func (iter *WorkspaceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WorkspaceListIterator) NotDone

func (iter WorkspaceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WorkspaceListIterator) Response

func (iter WorkspaceListIterator) Response() WorkspaceList

Response returns the raw server response from the last page request.

func (WorkspaceListIterator) Value

func (iter WorkspaceListIterator) Value() Workspace

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WorkspaceListPage

type WorkspaceListPage struct {
	// contains filtered or unexported fields
}

WorkspaceListPage contains a page of Workspace values.

func NewWorkspaceListPage

func NewWorkspaceListPage(cur WorkspaceList, getNextPage func(context.Context, WorkspaceList) (WorkspaceList, error)) WorkspaceListPage

Creates a new instance of the WorkspaceListPage type.

func (*WorkspaceListPage) Next

func (page *WorkspaceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WorkspaceListPage) NextWithContext

func (page *WorkspaceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WorkspaceListPage) NotDone

func (page WorkspaceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WorkspaceListPage) Response

func (page WorkspaceListPage) Response() WorkspaceList

Response returns the raw server response from the last page request.

func (WorkspaceListPage) Values

func (page WorkspaceListPage) Values() []Workspace

Values returns the slice of values for the current page or nil if there are no values.

type WorkspacePatch

type WorkspacePatch struct {
	// Tags - tags to be updated
	Tags map[string]*string `json:"tags"`
	// WorkspacePatchProperties - Detailed properties for Workspace
	*WorkspacePatchProperties `json:"properties,omitempty"`
}

WorkspacePatch workspace properties that can be patched.

func (WorkspacePatch) MarshalJSON

func (wp WorkspacePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspacePatch.

func (*WorkspacePatch) UnmarshalJSON

func (wp *WorkspacePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkspacePatch struct.

type WorkspacePatchProperties

type WorkspacePatchProperties struct {
	// Description - Description of Workspace.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of Workspace.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ApplicationGroupReferences - List of applicationGroup links.
	ApplicationGroupReferences *[]string `json:"applicationGroupReferences,omitempty"`
	// PublicNetworkAccess - Enabled to allow this resource to be access from the public network. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

WorkspacePatchProperties workspace properties that can be patched.

type WorkspaceProperties

type WorkspaceProperties struct {
	// ObjectID - READ-ONLY; ObjectId of Workspace. (internal use)
	ObjectID *string `json:"objectId,omitempty"`
	// Description - Description of Workspace.
	Description *string `json:"description,omitempty"`
	// FriendlyName - Friendly name of Workspace.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ApplicationGroupReferences - List of applicationGroup resource Ids.
	ApplicationGroupReferences *[]string `json:"applicationGroupReferences,omitempty"`
	// CloudPcResource - READ-ONLY; Is cloud pc resource.
	CloudPcResource *bool `json:"cloudPcResource,omitempty"`
	// PublicNetworkAccess - Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

WorkspaceProperties schema for Workspace properties.

func (WorkspaceProperties) MarshalJSON

func (wp WorkspaceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceProperties.

type WorkspacesClient

type WorkspacesClient struct {
	BaseClient
}

WorkspacesClient is the client for the Workspaces methods of the Desktopvirtualization service.

func NewWorkspacesClient

func NewWorkspacesClient(subscriptionID string) WorkspacesClient

NewWorkspacesClient creates an instance of the WorkspacesClient client.

func NewWorkspacesClientWithBaseURI

func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient

NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (WorkspacesClient) CreateOrUpdate

func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, workspace Workspace) (result Workspace, err error)

CreateOrUpdate create or update a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace workspace - object containing Workspace definitions.

func (WorkspacesClient) CreateOrUpdatePreparer

func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspace Workspace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkspacesClient) CreateOrUpdateResponder

func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (WorkspacesClient) CreateOrUpdateSender

func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) Delete

func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error)

Delete remove a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (WorkspacesClient) DeletePreparer

func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WorkspacesClient) DeleteResponder

func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (WorkspacesClient) DeleteSender

func (client WorkspacesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) Get

func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)

Get get a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (WorkspacesClient) GetPreparer

func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkspacesClient) GetResponder

func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (WorkspacesClient) GetSender

func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) ListByResourceGroup

func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListPage, err error)

ListByResourceGroup list workspaces. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (WorkspacesClient) ListByResourceGroupComplete

func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WorkspaceListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (WorkspacesClient) ListByResourceGroupPreparer

func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkspacesClient) ListByResourceGroupResponder

func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (WorkspacesClient) ListByResourceGroupSender

func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) ListBySubscription

func (client WorkspacesClient) ListBySubscription(ctx context.Context) (result WorkspaceListPage, err error)

ListBySubscription list workspaces in subscription.

func (WorkspacesClient) ListBySubscriptionComplete

func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context) (result WorkspaceListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (WorkspacesClient) ListBySubscriptionPreparer

func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (WorkspacesClient) ListBySubscriptionResponder

func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (WorkspacesClient) ListBySubscriptionSender

func (client WorkspacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) Update

func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, workspace *WorkspacePatch) (result Workspace, err error)

Update update a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace workspace - object containing Workspace definitions.

func (WorkspacesClient) UpdatePreparer

func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspace *WorkspacePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkspacesClient) UpdateResponder

func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (WorkspacesClient) UpdateSender

func (client WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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