azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/desktopvirtualization/mgmt/2019-12-10-preview/desktopvirtualization Index | Files | Directories

package desktopvirtualization

import "github.com/Azure/azure-sdk-for-go/services/preview/desktopvirtualization/mgmt/2019-12-10-preview/desktopvirtualization"

Package desktopvirtualization implements the Azure ARM Desktopvirtualization service API version 2019-12-10-preview.

Index

Package Files

applicationgroups.go applications.go client.go desktops.go enums.go hostpools.go models.go operations.go sessionhosts.go startmenuitems.go usersessions.go version.go workspaces.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type Application Uses

type Application struct {
    autorest.Response `json:"-"`
    // 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 Uses

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

MarshalJSON is the custom marshaler for Application.

func (*Application) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Application struct.

type ApplicationGroup Uses

type ApplicationGroup struct {
    autorest.Response `json:"-"`
    // ApplicationGroupProperties - Detailed properties for ApplicationGroup
    *ApplicationGroupProperties `json:"properties,omitempty"`
    // 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"`
}

ApplicationGroup represents a ApplicationGroup definition.

func (ApplicationGroup) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGroup.

func (*ApplicationGroup) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGroup struct.

type ApplicationGroupList Uses

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 Uses

func (agl ApplicationGroupList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ApplicationGroupList) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGroupList.

type ApplicationGroupListIterator Uses

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

ApplicationGroupListIterator provides access to a complete listing of ApplicationGroup values.

func NewApplicationGroupListIterator Uses

func NewApplicationGroupListIterator(page ApplicationGroupListPage) ApplicationGroupListIterator

Creates a new instance of the ApplicationGroupListIterator type.

func (*ApplicationGroupListIterator) Next Uses

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 Uses

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 Uses

func (iter ApplicationGroupListIterator) NotDone() bool

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

func (ApplicationGroupListIterator) Response Uses

func (iter ApplicationGroupListIterator) Response() ApplicationGroupList

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

func (ApplicationGroupListIterator) Value Uses

func (iter ApplicationGroupListIterator) Value() ApplicationGroup

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

type ApplicationGroupListPage Uses

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

ApplicationGroupListPage contains a page of ApplicationGroup values.

func NewApplicationGroupListPage Uses

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

Creates a new instance of the ApplicationGroupListPage type.

func (*ApplicationGroupListPage) Next Uses

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 Uses

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 Uses

func (page ApplicationGroupListPage) NotDone() bool

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

func (ApplicationGroupListPage) Response Uses

func (page ApplicationGroupListPage) Response() ApplicationGroupList

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

func (ApplicationGroupListPage) Values Uses

func (page ApplicationGroupListPage) Values() []ApplicationGroup

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

type ApplicationGroupPatch Uses

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 Uses

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

MarshalJSON is the custom marshaler for ApplicationGroupPatch.

func (*ApplicationGroupPatch) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGroupPatch struct.

type ApplicationGroupPatchProperties Uses

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 Uses

type ApplicationGroupProperties struct {
    // 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"`
}

ApplicationGroupProperties schema for ApplicationGroup properties.

func (ApplicationGroupProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGroupProperties.

type ApplicationGroupType Uses

type ApplicationGroupType string

ApplicationGroupType enumerates the values for application group type.

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

func PossibleApplicationGroupTypeValues Uses

func PossibleApplicationGroupTypeValues() []ApplicationGroupType

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

type ApplicationGroupsClient Uses

type ApplicationGroupsClient struct {
    BaseClient
}

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

func NewApplicationGroupsClient Uses

func NewApplicationGroupsClient(subscriptionID string) ApplicationGroupsClient

NewApplicationGroupsClient creates an instance of the ApplicationGroupsClient client.

func NewApplicationGroupsClientWithBaseURI Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationGroupsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ApplicationGroupsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ApplicationGroupsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplicationGroupsClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ApplicationGroupsClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (ApplicationGroupsClient) UpdateResponder Uses

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 Uses

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 Uses

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 Uses

func (al ApplicationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ApplicationList) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationList.

type ApplicationListIterator Uses

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

ApplicationListIterator provides access to a complete listing of Application values.

func NewApplicationListIterator Uses

func NewApplicationListIterator(page ApplicationListPage) ApplicationListIterator

Creates a new instance of the ApplicationListIterator type.

func (*ApplicationListIterator) Next Uses

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 Uses

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 Uses

func (iter ApplicationListIterator) NotDone() bool

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

func (ApplicationListIterator) Response Uses

func (iter ApplicationListIterator) Response() ApplicationList

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

func (ApplicationListIterator) Value Uses

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 Uses

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

ApplicationListPage contains a page of Application values.

func NewApplicationListPage Uses

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

Creates a new instance of the ApplicationListPage type.

func (*ApplicationListPage) Next Uses

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 Uses

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 Uses

func (page ApplicationListPage) NotDone() bool

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

func (ApplicationListPage) Response Uses

func (page ApplicationListPage) Response() ApplicationList

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

func (ApplicationListPage) Values Uses

func (page ApplicationListPage) Values() []Application

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

type ApplicationPatch Uses

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 Uses

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

MarshalJSON is the custom marshaler for ApplicationPatch.

func (*ApplicationPatch) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationPatch struct.

type ApplicationPatchProperties Uses

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: 'DoNotAllow', 'Allow', 'Require'
    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"`
}

ApplicationPatchProperties application properties that can be patched.

type ApplicationProperties Uses

type ApplicationProperties 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: 'DoNotAllow', 'Allow', 'Require'
    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 Uses

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

MarshalJSON is the custom marshaler for ApplicationProperties.

type ApplicationType Uses

type ApplicationType string

ApplicationType enumerates the values for application type.

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

func PossibleApplicationTypeValues Uses

func PossibleApplicationTypeValues() []ApplicationType

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

type ApplicationsClient Uses

type ApplicationsClient struct {
    BaseClient
}

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

func NewApplicationsClient Uses

func NewApplicationsClient(subscriptionID string) ApplicationsClient

NewApplicationsClient creates an instance of the ApplicationsClient client.

func NewApplicationsClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ApplicationsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ApplicationsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ApplicationsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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.

type BaseClient Uses

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

BaseClient is the base client for Desktopvirtualization.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 Uses

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

CloudError error response of an operation failure

type CommandLineSetting Uses

type CommandLineSetting string

CommandLineSetting enumerates the values for command line setting.

const (
    // Allow ...
    Allow CommandLineSetting = "Allow"
    // DoNotAllow ...
    DoNotAllow CommandLineSetting = "DoNotAllow"
    // Require ...
    Require CommandLineSetting = "Require"
)

func PossibleCommandLineSettingValues Uses

func PossibleCommandLineSettingValues() []CommandLineSetting

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

type Desktop Uses

type Desktop struct {
    autorest.Response `json:"-"`
    // 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 Uses

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

MarshalJSON is the custom marshaler for Desktop.

func (*Desktop) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Desktop struct.

type DesktopList Uses

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) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DesktopList.

type DesktopPatch Uses

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 Uses

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

MarshalJSON is the custom marshaler for DesktopPatch.

func (*DesktopPatch) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DesktopPatch struct.

type DesktopPatchProperties Uses

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 Uses

type DesktopProperties struct {
    // 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 Uses

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

MarshalJSON is the custom marshaler for DesktopProperties.

type DesktopsClient Uses

type DesktopsClient struct {
    BaseClient
}

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

func NewDesktopsClient Uses

func NewDesktopsClient(subscriptionID string) DesktopsClient

NewDesktopsClient creates an instance of the DesktopsClient client.

func NewDesktopsClientWithBaseURI Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (DesktopsClient) GetResponder Uses

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 Uses

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 Uses

func (client DesktopsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result DesktopList, 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) ListPreparer Uses

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

ListPreparer prepares the List request.

func (DesktopsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 HostPool Uses

type HostPool struct {
    autorest.Response `json:"-"`
    // HostPoolProperties - Detailed properties for HostPool
    *HostPoolProperties `json:"properties,omitempty"`
    // 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"`
}

HostPool represents a HostPool definition.

func (HostPool) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for HostPool.

func (*HostPool) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for HostPool struct.

type HostPoolList Uses

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 Uses

func (hpl HostPoolList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (HostPoolList) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for HostPoolList.

type HostPoolListIterator Uses

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

HostPoolListIterator provides access to a complete listing of HostPool values.

func NewHostPoolListIterator Uses

func NewHostPoolListIterator(page HostPoolListPage) HostPoolListIterator

Creates a new instance of the HostPoolListIterator type.

func (*HostPoolListIterator) Next Uses

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 Uses

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 Uses

func (iter HostPoolListIterator) NotDone() bool

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

func (HostPoolListIterator) Response Uses

func (iter HostPoolListIterator) Response() HostPoolList

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

func (HostPoolListIterator) Value Uses

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 Uses

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

HostPoolListPage contains a page of HostPool values.

func NewHostPoolListPage Uses

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

Creates a new instance of the HostPoolListPage type.

func (*HostPoolListPage) Next Uses

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 Uses

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 Uses

func (page HostPoolListPage) NotDone() bool

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

func (HostPoolListPage) Response Uses

func (page HostPoolListPage) Response() HostPoolList

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

func (HostPoolListPage) Values Uses

func (page HostPoolListPage) Values() []HostPool

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

type HostPoolPatch Uses

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 Uses

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

MarshalJSON is the custom marshaler for HostPoolPatch.

func (*HostPoolPatch) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for HostPoolPatch struct.

type HostPoolPatchProperties Uses

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: 'Automatic', 'Direct'
    PersonalDesktopAssignmentType PersonalDesktopAssignmentType `json:"personalDesktopAssignmentType,omitempty"`
    // LoadBalancerType - The type of the load balancer. Possible values include: 'BreadthFirst', 'DepthFirst', 'Persistent'
    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"`
    // SsoContext - Path to keyvault containing ssoContext secret.
    SsoContext *string `json:"ssoContext,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"`
}

HostPoolPatchProperties properties of HostPool.

type HostPoolProperties Uses

type HostPoolProperties struct {
    // 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: 'Personal', 'Pooled'
    HostPoolType HostPoolType `json:"hostPoolType,omitempty"`
    // PersonalDesktopAssignmentType - PersonalDesktopAssignment type for HostPool. Possible values include: 'Automatic', 'Direct'
    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: 'BreadthFirst', 'DepthFirst', 'Persistent'
    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"`
    // SsoContext - Path to keyvault containing ssoContext secret.
    SsoContext *string `json:"ssoContext,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"`
}

HostPoolProperties properties of HostPool.

func (HostPoolProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for HostPoolProperties.

type HostPoolType Uses

type HostPoolType string

HostPoolType enumerates the values for host pool type.

const (
    // Personal ...
    Personal HostPoolType = "Personal"
    // Pooled ...
    Pooled HostPoolType = "Pooled"
)

func PossibleHostPoolTypeValues Uses

func PossibleHostPoolTypeValues() []HostPoolType

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

type HostPoolsClient Uses

type HostPoolsClient struct {
    BaseClient
}

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

func NewHostPoolsClient Uses

func NewHostPoolsClient(subscriptionID string) HostPoolsClient

NewHostPoolsClient creates an instance of the HostPoolsClient client.

func NewHostPoolsClientWithBaseURI Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (HostPoolsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (HostPoolsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (HostPoolsClient) GetResponder Uses

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 Uses

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 Uses

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

List list hostPools in subscription.

func (HostPoolsClient) ListByResourceGroup Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (HostPoolsClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (HostPoolsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (HostPoolsClient) ListResponder Uses

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 Uses

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) Update Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (HostPoolsClient) UpdateResponder Uses

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 Uses

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 LoadBalancerType Uses

type LoadBalancerType string

LoadBalancerType enumerates the values for load balancer type.

const (
    // BreadthFirst ...
    BreadthFirst LoadBalancerType = "BreadthFirst"
    // DepthFirst ...
    DepthFirst LoadBalancerType = "DepthFirst"
    // Persistent ...
    Persistent LoadBalancerType = "Persistent"
)

func PossibleLoadBalancerTypeValues Uses

func PossibleLoadBalancerTypeValues() []LoadBalancerType

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

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

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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 Uses

func (client OperationsClient) List(ctx context.Context) (result ResourceProviderOperationList, err error)

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

type PersonalDesktopAssignmentType string

PersonalDesktopAssignmentType enumerates the values for personal desktop assignment type.

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

func PossiblePersonalDesktopAssignmentTypeValues Uses

func PossiblePersonalDesktopAssignmentTypeValues() []PersonalDesktopAssignmentType

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

type PreferredAppGroupType Uses

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 Uses

func PossiblePreferredAppGroupTypeValues() []PreferredAppGroupType

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

type ProxyResource Uses

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

type RegistrationInfo Uses

type RegistrationInfo struct {
    // 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: 'Delete', 'None', 'Update'
    RegistrationTokenOperation RegistrationTokenOperation `json:"registrationTokenOperation,omitempty"`
}

RegistrationInfo represents a RegistrationInfo definition.

type RegistrationInfoPatch Uses

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: 'Delete', 'None', 'Update'
    RegistrationTokenOperation RegistrationTokenOperation `json:"registrationTokenOperation,omitempty"`
}

RegistrationInfoPatch represents a RegistrationInfo definition.

type RegistrationTokenOperation Uses

type RegistrationTokenOperation string

RegistrationTokenOperation enumerates the values for registration token operation.

const (
    // Delete ...
    Delete RegistrationTokenOperation = "Delete"
    // None ...
    None RegistrationTokenOperation = "None"
    // Update ...
    Update RegistrationTokenOperation = "Update"
)

func PossibleRegistrationTokenOperationValues Uses

func PossibleRegistrationTokenOperationValues() []RegistrationTokenOperation

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

type Resource Uses

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

type ResourceProviderOperation Uses

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"`
}

ResourceProviderOperation supported operation of this resource provider.

type ResourceProviderOperationDisplay Uses

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 Uses

type ResourceProviderOperationList struct {
    autorest.Response `json:"-"`
    // Value - List of operations supported by this resource provider.
    Value *[]ResourceProviderOperation `json:"value,omitempty"`
}

ResourceProviderOperationList result of the request to list operations.

type SendMessage Uses

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 SessionHost Uses

type SessionHost struct {
    autorest.Response `json:"-"`
    // 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 Uses

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

MarshalJSON is the custom marshaler for SessionHost.

func (*SessionHost) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SessionHost struct.

type SessionHostList Uses

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 Uses

func (shl SessionHostList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SessionHostList) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SessionHostList.

type SessionHostListIterator Uses

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

SessionHostListIterator provides access to a complete listing of SessionHost values.

func NewSessionHostListIterator Uses

func NewSessionHostListIterator(page SessionHostListPage) SessionHostListIterator

Creates a new instance of the SessionHostListIterator type.

func (*SessionHostListIterator) Next Uses

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 Uses

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 Uses

func (iter SessionHostListIterator) NotDone() bool

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

func (SessionHostListIterator) Response Uses

func (iter SessionHostListIterator) Response() SessionHostList

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

func (SessionHostListIterator) Value Uses

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 Uses

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

SessionHostListPage contains a page of SessionHost values.

func NewSessionHostListPage Uses

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

Creates a new instance of the SessionHostListPage type.

func (*SessionHostListPage) Next Uses

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 Uses

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 Uses

func (page SessionHostListPage) NotDone() bool

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

func (SessionHostListPage) Response Uses

func (page SessionHostListPage) Response() SessionHostList

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

func (SessionHostListPage) Values Uses

func (page SessionHostListPage) Values() []SessionHost

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

type SessionHostPatch Uses

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 Uses

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

MarshalJSON is the custom marshaler for SessionHostPatch.

func (*SessionHostPatch) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SessionHostPatch struct.

type SessionHostPatchProperties Uses

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 Uses

type SessionHostProperties struct {
    // 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'
    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"`
}

SessionHostProperties schema for SessionHost properties.

func (SessionHostProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SessionHostProperties.

type SessionHostsClient Uses

type SessionHostsClient struct {
    BaseClient
}

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

func NewSessionHostsClient Uses

func NewSessionHostsClient(subscriptionID string) SessionHostsClient

NewSessionHostsClient creates an instance of the SessionHostsClient client.

func NewSessionHostsClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (SessionHostsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (SessionHostsClient) ListResponder Uses

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 Uses

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 Uses

func (client SessionHostsClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, sessionHost *SessionHostPatch) (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.

func (SessionHostsClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (SessionHostsClient) UpdateResponder Uses

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 Uses

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 Uses

type SessionState string

SessionState enumerates the values for session state.

const (
    // Active ...
    Active SessionState = "Active"
    // Disconnected ...
    Disconnected SessionState = "Disconnected"
    // LogOff ...
    LogOff SessionState = "LogOff"
    // Pending ...
    Pending SessionState = "Pending"
    // Unknown ...
    Unknown SessionState = "Unknown"
    // UserProfileDiskMounted ...
    UserProfileDiskMounted SessionState = "UserProfileDiskMounted"
)

func PossibleSessionStateValues Uses

func PossibleSessionStateValues() []SessionState

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

type StartMenuItem Uses

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 Uses

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

MarshalJSON is the custom marshaler for StartMenuItem.

func (*StartMenuItem) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for StartMenuItem struct.

type StartMenuItemList Uses

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 Uses

func (smil StartMenuItemList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (StartMenuItemList) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for StartMenuItemList.

type StartMenuItemListIterator Uses

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

StartMenuItemListIterator provides access to a complete listing of StartMenuItem values.

func NewStartMenuItemListIterator Uses

func NewStartMenuItemListIterator(page StartMenuItemListPage) StartMenuItemListIterator

Creates a new instance of the StartMenuItemListIterator type.

func (*StartMenuItemListIterator) Next Uses

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 Uses

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 Uses

func (iter StartMenuItemListIterator) NotDone() bool

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

func (StartMenuItemListIterator) Response Uses

func (iter StartMenuItemListIterator) Response() StartMenuItemList

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

func (StartMenuItemListIterator) Value Uses

func (iter StartMenuItemListIterator) Value() StartMenuItem

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

type StartMenuItemListPage Uses

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

StartMenuItemListPage contains a page of StartMenuItem values.

func NewStartMenuItemListPage Uses

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

Creates a new instance of the StartMenuItemListPage type.

func (*StartMenuItemListPage) Next Uses

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 Uses

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 Uses

func (page StartMenuItemListPage) NotDone() bool

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

func (StartMenuItemListPage) Response Uses

func (page StartMenuItemListPage) Response() StartMenuItemList

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

func (StartMenuItemListPage) Values Uses

func (page StartMenuItemListPage) Values() []StartMenuItem

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

type StartMenuItemProperties Uses

type StartMenuItemProperties struct {
    // AppAlias - Alias of StartMenuItem.
    AppAlias *string `json:"appAlias,omitempty"`
    // FriendlyName - Friendly name of StartMenuItem.
    FriendlyName *string `json:"friendlyName,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 Uses

type StartMenuItemsClient struct {
    BaseClient
}

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

func NewStartMenuItemsClient Uses

func NewStartMenuItemsClient(subscriptionID string) StartMenuItemsClient

NewStartMenuItemsClient creates an instance of the StartMenuItemsClient client.

func NewStartMenuItemsClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (StartMenuItemsClient) ListResponder Uses

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 Uses

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 Uses

type Status string

Status enumerates the values for status.

const (
    // StatusAvailable ...
    StatusAvailable Status = "Available"
    // StatusDisconnected ...
    StatusDisconnected Status = "Disconnected"
    // StatusShutdown ...
    StatusShutdown Status = "Shutdown"
    // StatusUnavailable ...
    StatusUnavailable Status = "Unavailable"
    // StatusUpgradeFailed ...
    StatusUpgradeFailed Status = "UpgradeFailed"
    // StatusUpgrading ...
    StatusUpgrading Status = "Upgrading"
)

func PossibleStatusValues Uses

func PossibleStatusValues() []Status

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

type TrackedResource Uses

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 Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type UpdateState Uses

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 Uses

func PossibleUpdateStateValues() []UpdateState

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

type UserSession Uses

type UserSession struct {
    autorest.Response `json:"-"`
    // 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 Uses

func (us UserSession) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserSession.

func (*UserSession) UnmarshalJSON Uses

func (us *UserSession) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UserSession struct.

type UserSessionList Uses

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 Uses

func (usl UserSessionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (UserSessionList) MarshalJSON Uses

func (usl UserSessionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserSessionList.

type UserSessionListIterator Uses

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

UserSessionListIterator provides access to a complete listing of UserSession values.

func NewUserSessionListIterator Uses

func NewUserSessionListIterator(page UserSessionListPage) UserSessionListIterator

Creates a new instance of the UserSessionListIterator type.

func (*UserSessionListIterator) Next Uses

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 Uses

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 Uses

func (iter UserSessionListIterator) NotDone() bool

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

func (UserSessionListIterator) Response Uses

func (iter UserSessionListIterator) Response() UserSessionList

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

func (UserSessionListIterator) Value Uses

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 Uses

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

UserSessionListPage contains a page of UserSession values.

func NewUserSessionListPage Uses

func NewUserSessionListPage(cur UserSessionList, getNextPage func(context.Context, UserSessionList) (UserSessionList, error)) UserSessionListPage

Creates a new instance of the UserSessionListPage type.

func (*UserSessionListPage) Next Uses

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 Uses

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 Uses

func (page UserSessionListPage) NotDone() bool

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

func (UserSessionListPage) Response Uses

func (page UserSessionListPage) Response() UserSessionList

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

func (UserSessionListPage) Values Uses

func (page UserSessionListPage) Values() []UserSession

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

type UserSessionProperties Uses

type UserSessionProperties struct {
    // 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: 'Unknown', 'Active', 'Disconnected', 'Pending', 'LogOff', 'UserProfileDiskMounted'
    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.

type UserSessionsClient Uses

type UserSessionsClient struct {
    BaseClient
}

UserSessionsClient is the client for the UserSessions methods of the Desktopvirtualization service.

func NewUserSessionsClient Uses

func NewUserSessionsClient(subscriptionID string) UserSessionsClient

NewUserSessionsClient creates an instance of the UserSessionsClient client.

func NewUserSessionsClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByHostPoolPreparer prepares the ListByHostPool request.

func (UserSessionsClient) ListByHostPoolResponder Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (UserSessionsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type Workspace struct {
    autorest.Response `json:"-"`
    // WorkspaceProperties - Detailed properties for Workspace
    *WorkspaceProperties `json:"properties,omitempty"`
    // 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"`
}

Workspace represents a Workspace definition.

func (Workspace) MarshalJSON Uses

func (w Workspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Workspace.

func (*Workspace) UnmarshalJSON Uses

func (w *Workspace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Workspace struct.

type WorkspaceList Uses

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 Uses

func (wl WorkspaceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkspaceList) MarshalJSON Uses

func (wl WorkspaceList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceList.

type WorkspaceListIterator Uses

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

WorkspaceListIterator provides access to a complete listing of Workspace values.

func NewWorkspaceListIterator Uses

func NewWorkspaceListIterator(page WorkspaceListPage) WorkspaceListIterator

Creates a new instance of the WorkspaceListIterator type.

func (*WorkspaceListIterator) Next Uses

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 Uses

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 Uses

func (iter WorkspaceListIterator) NotDone() bool

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

func (WorkspaceListIterator) Response Uses

func (iter WorkspaceListIterator) Response() WorkspaceList

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

func (WorkspaceListIterator) Value Uses

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 Uses

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

WorkspaceListPage contains a page of Workspace values.

func NewWorkspaceListPage Uses

func NewWorkspaceListPage(cur WorkspaceList, getNextPage func(context.Context, WorkspaceList) (WorkspaceList, error)) WorkspaceListPage

Creates a new instance of the WorkspaceListPage type.

func (*WorkspaceListPage) Next Uses

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 Uses

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 Uses

func (page WorkspaceListPage) NotDone() bool

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

func (WorkspaceListPage) Response Uses

func (page WorkspaceListPage) Response() WorkspaceList

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

func (WorkspaceListPage) Values Uses

func (page WorkspaceListPage) Values() []Workspace

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

type WorkspacePatch Uses

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 Uses

func (wp WorkspacePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspacePatch.

func (*WorkspacePatch) UnmarshalJSON Uses

func (wp *WorkspacePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkspacePatch struct.

type WorkspacePatchProperties Uses

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"`
}

WorkspacePatchProperties workspace properties that can be patched.

type WorkspaceProperties Uses

type WorkspaceProperties struct {
    // 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"`
}

WorkspaceProperties schema for Workspace properties.

type WorkspacesClient Uses

type WorkspacesClient struct {
    BaseClient
}

WorkspacesClient is the client for the Workspaces methods of the Desktopvirtualization service.

func NewWorkspacesClient Uses

func NewWorkspacesClient(subscriptionID string) WorkspacesClient

NewWorkspacesClient creates an instance of the WorkspacesClient client.

func NewWorkspacesClientWithBaseURI Uses

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 Uses

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 Uses

func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspace Workspace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkspacesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (WorkspacesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (WorkspacesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkspacesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

func (client WorkspacesClient) ListBySubscription(ctx context.Context) (result WorkspaceListPage, err error)

ListBySubscription list workspaces in subscription.

func (WorkspacesClient) ListBySubscriptionComplete Uses

func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context) (result WorkspaceListIterator, err error)

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

func (WorkspacesClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (WorkspacesClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspace *WorkspacePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkspacesClient) UpdateResponder Uses

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 Uses

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

PathSynopsis
desktopvirtualizationapi

Package desktopvirtualization imports 10 packages (graph) and is imported by 3 packages. Updated 2021-01-26. Refresh now. Tools for package owners.