Documentation ¶
Overview ¶
Package desktopvirtualization implements the Azure ARM Desktopvirtualization service API version 2020-11-02-preview.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Application
- type ApplicationGroup
- type ApplicationGroupList
- type ApplicationGroupListIterator
- func (iter *ApplicationGroupListIterator) Next() error
- func (iter *ApplicationGroupListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ApplicationGroupListIterator) NotDone() bool
- func (iter ApplicationGroupListIterator) Response() ApplicationGroupList
- func (iter ApplicationGroupListIterator) Value() ApplicationGroup
- type ApplicationGroupListPage
- func (page *ApplicationGroupListPage) Next() error
- func (page *ApplicationGroupListPage) NextWithContext(ctx context.Context) (err error)
- func (page ApplicationGroupListPage) NotDone() bool
- func (page ApplicationGroupListPage) Response() ApplicationGroupList
- func (page ApplicationGroupListPage) Values() []ApplicationGroup
- type ApplicationGroupPatch
- type ApplicationGroupPatchProperties
- type ApplicationGroupProperties
- type ApplicationGroupType
- type ApplicationGroupsClient
- func (client ApplicationGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result ApplicationGroup, err error)
- func (client ApplicationGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client ApplicationGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationGroup, err error)
- func (client ApplicationGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGroupsClient) Delete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result autorest.Response, err error)
- func (client ApplicationGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
- func (client ApplicationGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGroupsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationGroup, err error)
- func (client ApplicationGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
- func (client ApplicationGroupsClient) GetResponder(resp *http.Response) (result ApplicationGroup, err error)
- func (client ApplicationGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result ApplicationGroupListPage, err error)
- func (client ApplicationGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result ApplicationGroupListIterator, err error)
- func (client ApplicationGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
- func (client ApplicationGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationGroupList, err error)
- func (client ApplicationGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGroupsClient) ListBySubscription(ctx context.Context, filter string) (result ApplicationGroupListPage, err error)
- func (client ApplicationGroupsClient) ListBySubscriptionComplete(ctx context.Context, filter string) (result ApplicationGroupListIterator, err error)
- func (client ApplicationGroupsClient) ListBySubscriptionPreparer(ctx context.Context, filter string) (*http.Request, error)
- func (client ApplicationGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationGroupList, err error)
- func (client ApplicationGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGroupsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result ApplicationGroup, err error)
- func (client ApplicationGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client ApplicationGroupsClient) UpdateResponder(resp *http.Response) (result ApplicationGroup, err error)
- func (client ApplicationGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ApplicationList
- type ApplicationListIterator
- func (iter *ApplicationListIterator) Next() error
- func (iter *ApplicationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ApplicationListIterator) NotDone() bool
- func (iter ApplicationListIterator) Response() ApplicationList
- func (iter ApplicationListIterator) Value() Application
- type ApplicationListPage
- type ApplicationPatch
- type ApplicationPatchProperties
- type ApplicationProperties
- type ApplicationType
- type ApplicationsClient
- func (client ApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result Application, err error)
- func (client ApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client ApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) Delete(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result autorest.Response, err error)
- func (client ApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result Application, err error)
- func (client ApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationListPage, err error)
- func (client ApplicationsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationListIterator, err error)
- func (client ApplicationsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
- func (client ApplicationsClient) ListResponder(resp *http.Response) (result ApplicationList, err error)
- func (client ApplicationsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result Application, err error)
- func (client ApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client ApplicationsClient) UpdateResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type AzureEntityResource
- type BaseClient
- type CloudError
- type CloudErrorProperties
- type CommandLineSetting
- type Desktop
- type DesktopList
- type DesktopPatch
- type DesktopPatchProperties
- type DesktopProperties
- type DesktopsClient
- func (client DesktopsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result Desktop, err error)
- func (client DesktopsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client DesktopsClient) GetResponder(resp *http.Response) (result Desktop, err error)
- func (client DesktopsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DesktopsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result DesktopList, err error)
- func (client DesktopsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
- func (client DesktopsClient) ListResponder(resp *http.Response) (result DesktopList, err error)
- func (client DesktopsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client DesktopsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (result Desktop, err error)
- func (client DesktopsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, ...) (*http.Request, error)
- func (client DesktopsClient) UpdateResponder(resp *http.Response) (result Desktop, err error)
- func (client DesktopsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ExpandMsixImage
- type ExpandMsixImageList
- type ExpandMsixImageListIterator
- func (iter *ExpandMsixImageListIterator) Next() error
- func (iter *ExpandMsixImageListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExpandMsixImageListIterator) NotDone() bool
- func (iter ExpandMsixImageListIterator) Response() ExpandMsixImageList
- func (iter ExpandMsixImageListIterator) Value() ExpandMsixImage
- type ExpandMsixImageListPage
- func (page *ExpandMsixImageListPage) Next() error
- func (page *ExpandMsixImageListPage) NextWithContext(ctx context.Context) (err error)
- func (page ExpandMsixImageListPage) NotDone() bool
- func (page ExpandMsixImageListPage) Response() ExpandMsixImageList
- func (page ExpandMsixImageListPage) Values() []ExpandMsixImage
- type ExpandMsixImageProperties
- type HostPool
- type HostPoolList
- type HostPoolListIterator
- type HostPoolListPage
- type HostPoolPatch
- type HostPoolPatchProperties
- type HostPoolProperties
- type HostPoolType
- type HostPoolsClient
- func (client HostPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result HostPool, err error)
- func (client HostPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client HostPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result HostPool, err error)
- func (client HostPoolsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client HostPoolsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result autorest.Response, err error)
- func (client HostPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client HostPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HostPoolsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client HostPoolsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string) (result HostPool, err error)
- func (client HostPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)
- func (client HostPoolsClient) GetResponder(resp *http.Response) (result HostPool, err error)
- func (client HostPoolsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client HostPoolsClient) List(ctx context.Context) (result HostPoolListPage, err error)
- func (client HostPoolsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result HostPoolListPage, err error)
- func (client HostPoolsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result HostPoolListIterator, err error)
- func (client HostPoolsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client HostPoolsClient) ListByResourceGroupResponder(resp *http.Response) (result HostPoolList, err error)
- func (client HostPoolsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client HostPoolsClient) ListComplete(ctx context.Context) (result HostPoolListIterator, err error)
- func (client HostPoolsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client HostPoolsClient) ListResponder(resp *http.Response) (result HostPoolList, err error)
- func (client HostPoolsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client HostPoolsClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result HostPool, err error)
- func (client HostPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client HostPoolsClient) UpdateResponder(resp *http.Response) (result HostPool, err error)
- func (client HostPoolsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type LoadBalancerType
- type MSIXImageURI
- type MSIXPackage
- type MSIXPackageList
- type MSIXPackageListIterator
- func (iter *MSIXPackageListIterator) Next() error
- func (iter *MSIXPackageListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter MSIXPackageListIterator) NotDone() bool
- func (iter MSIXPackageListIterator) Response() MSIXPackageList
- func (iter MSIXPackageListIterator) Value() MSIXPackage
- type MSIXPackageListPage
- type MSIXPackagePatch
- type MSIXPackagePatchProperties
- type MSIXPackageProperties
- type MSIXPackagesClient
- func (client MSIXPackagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result MSIXPackage, err error)
- func (client MSIXPackagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client MSIXPackagesClient) CreateOrUpdateResponder(resp *http.Response) (result MSIXPackage, err error)
- func (client MSIXPackagesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client MSIXPackagesClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result autorest.Response, err error)
- func (client MSIXPackagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client MSIXPackagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MSIXPackagesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client MSIXPackagesClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result MSIXPackage, err error)
- func (client MSIXPackagesClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client MSIXPackagesClient) GetResponder(resp *http.Response) (result MSIXPackage, err error)
- func (client MSIXPackagesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client MSIXPackagesClient) List(ctx context.Context, resourceGroupName string, hostPoolName string) (result MSIXPackageListPage, err error)
- func (client MSIXPackagesClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result MSIXPackageListIterator, err error)
- func (client MSIXPackagesClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)
- func (client MSIXPackagesClient) ListResponder(resp *http.Response) (result MSIXPackageList, err error)
- func (client MSIXPackagesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client MSIXPackagesClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result MSIXPackage, err error)
- func (client MSIXPackagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client MSIXPackagesClient) UpdateResponder(resp *http.Response) (result MSIXPackage, err error)
- func (client MSIXPackagesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type MsixImagesClient
- func (client MsixImagesClient) Expand(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result ExpandMsixImageListPage, err error)
- func (client MsixImagesClient) ExpandComplete(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result ExpandMsixImageListIterator, err error)
- func (client MsixImagesClient) ExpandPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client MsixImagesClient) ExpandResponder(resp *http.Response) (result ExpandMsixImageList, err error)
- func (client MsixImagesClient) ExpandSender(req *http.Request) (*http.Response, error)
- type MsixPackageApplications
- type MsixPackageDependencies
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result ResourceProviderOperationList, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result ResourceProviderOperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PersonalDesktopAssignmentType
- type PreferredAppGroupType
- type ProxyResource
- type RegistrationInfo
- type RegistrationInfoPatch
- type RegistrationTokenOperation
- type RemoteApplicationType
- type Resource
- type ResourceProviderOperation
- type ResourceProviderOperationDisplay
- type ResourceProviderOperationList
- type SSOSecretType
- type SendMessage
- type SessionHost
- type SessionHostList
- type SessionHostListIterator
- func (iter *SessionHostListIterator) Next() error
- func (iter *SessionHostListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SessionHostListIterator) NotDone() bool
- func (iter SessionHostListIterator) Response() SessionHostList
- func (iter SessionHostListIterator) Value() SessionHost
- type SessionHostListPage
- type SessionHostPatch
- type SessionHostPatchProperties
- type SessionHostProperties
- type SessionHostsClient
- func (client SessionHostsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result autorest.Response, err error)
- func (client SessionHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client SessionHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SessionHostsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SessionHostsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result SessionHost, err error)
- func (client SessionHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client SessionHostsClient) GetResponder(resp *http.Response) (result SessionHost, err error)
- func (client SessionHostsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SessionHostsClient) List(ctx context.Context, resourceGroupName string, hostPoolName string) (result SessionHostListPage, err error)
- func (client SessionHostsClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result SessionHostListIterator, err error)
- func (client SessionHostsClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)
- func (client SessionHostsClient) ListResponder(resp *http.Response) (result SessionHostList, err error)
- func (client SessionHostsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SessionHostsClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result SessionHost, err error)
- func (client SessionHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client SessionHostsClient) UpdateResponder(resp *http.Response) (result SessionHost, err error)
- func (client SessionHostsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SessionState
- type StartMenuItem
- type StartMenuItemList
- type StartMenuItemListIterator
- func (iter *StartMenuItemListIterator) Next() error
- func (iter *StartMenuItemListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter StartMenuItemListIterator) NotDone() bool
- func (iter StartMenuItemListIterator) Response() StartMenuItemList
- func (iter StartMenuItemListIterator) Value() StartMenuItem
- type StartMenuItemListPage
- func (page *StartMenuItemListPage) Next() error
- func (page *StartMenuItemListPage) NextWithContext(ctx context.Context) (err error)
- func (page StartMenuItemListPage) NotDone() bool
- func (page StartMenuItemListPage) Response() StartMenuItemList
- func (page StartMenuItemListPage) Values() []StartMenuItem
- type StartMenuItemProperties
- type StartMenuItemsClient
- func (client StartMenuItemsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result StartMenuItemListPage, err error)
- func (client StartMenuItemsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result StartMenuItemListIterator, err error)
- func (client StartMenuItemsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
- func (client StartMenuItemsClient) ListResponder(resp *http.Response) (result StartMenuItemList, err error)
- func (client StartMenuItemsClient) ListSender(req *http.Request) (*http.Response, error)
- type Status
- type TrackedResource
- type UpdateState
- type UserSession
- type UserSessionList
- type UserSessionListIterator
- func (iter *UserSessionListIterator) Next() error
- func (iter *UserSessionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter UserSessionListIterator) NotDone() bool
- func (iter UserSessionListIterator) Response() UserSessionList
- func (iter UserSessionListIterator) Value() UserSession
- type UserSessionListPage
- type UserSessionProperties
- type UserSessionsClient
- func (client UserSessionsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result autorest.Response, err error)
- func (client UserSessionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client UserSessionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client UserSessionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client UserSessionsClient) Disconnect(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result autorest.Response, err error)
- func (client UserSessionsClient) DisconnectPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client UserSessionsClient) DisconnectResponder(resp *http.Response) (result autorest.Response, err error)
- func (client UserSessionsClient) DisconnectSender(req *http.Request) (*http.Response, error)
- func (client UserSessionsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result UserSession, err error)
- func (client UserSessionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client UserSessionsClient) GetResponder(resp *http.Response) (result UserSession, err error)
- func (client UserSessionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client UserSessionsClient) List(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result UserSessionListPage, err error)
- func (client UserSessionsClient) ListByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result UserSessionListPage, err error)
- func (client UserSessionsClient) ListByHostPoolComplete(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result UserSessionListIterator, err error)
- func (client UserSessionsClient) ListByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client UserSessionsClient) ListByHostPoolResponder(resp *http.Response) (result UserSessionList, err error)
- func (client UserSessionsClient) ListByHostPoolSender(req *http.Request) (*http.Response, error)
- func (client UserSessionsClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result UserSessionListIterator, err error)
- func (client UserSessionsClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client UserSessionsClient) ListResponder(resp *http.Response) (result UserSessionList, err error)
- func (client UserSessionsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client UserSessionsClient) SendMessageMethod(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (result autorest.Response, err error)
- func (client UserSessionsClient) SendMessageMethodPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, ...) (*http.Request, error)
- func (client UserSessionsClient) SendMessageMethodResponder(resp *http.Response) (result autorest.Response, err error)
- func (client UserSessionsClient) SendMessageMethodSender(req *http.Request) (*http.Response, error)
- type Workspace
- type WorkspaceList
- type WorkspaceListIterator
- type WorkspaceListPage
- type WorkspacePatch
- type WorkspacePatchProperties
- type WorkspaceProperties
- type WorkspacesClient
- func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result Workspace, err error)
- func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error)
- func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WorkspacesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)
- func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListPage, err error)
- func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WorkspaceListIterator, err error)
- func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceList, err error)
- func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) ListBySubscription(ctx context.Context) (result WorkspaceListPage, err error)
- func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context) (result WorkspaceListIterator, err error)
- func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceList, err error)
- func (client WorkspacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result Workspace, err error)
- func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, error)
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Desktopvirtualization
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type Application ¶
type Application struct { autorest.Response `json:"-"` // ApplicationProperties - Detailed properties for Application *ApplicationProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Application schema for Application properties.
func (Application) MarshalJSON ¶
func (a Application) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Application.
func (*Application) UnmarshalJSON ¶
func (a *Application) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Application struct.
type ApplicationGroup ¶
type ApplicationGroup struct { autorest.Response `json:"-"` // 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 ¶
func (ag ApplicationGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGroup.
func (*ApplicationGroup) UnmarshalJSON ¶
func (ag *ApplicationGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGroup struct.
type ApplicationGroupList ¶
type ApplicationGroupList struct { autorest.Response `json:"-"` // Value - List of ApplicationGroup definitions. Value *[]ApplicationGroup `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
ApplicationGroupList list of ApplicationGroup definitions.
func (ApplicationGroupList) IsEmpty ¶
func (agl ApplicationGroupList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ApplicationGroupList) MarshalJSON ¶
func (agl ApplicationGroupList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGroupList.
type ApplicationGroupListIterator ¶
type ApplicationGroupListIterator struct {
// contains filtered or unexported fields
}
ApplicationGroupListIterator provides access to a complete listing of ApplicationGroup values.
func NewApplicationGroupListIterator ¶
func NewApplicationGroupListIterator(page ApplicationGroupListPage) ApplicationGroupListIterator
Creates a new instance of the ApplicationGroupListIterator type.
func (*ApplicationGroupListIterator) Next ¶
func (iter *ApplicationGroupListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ApplicationGroupListIterator) NextWithContext ¶
func (iter *ApplicationGroupListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ApplicationGroupListIterator) NotDone ¶
func (iter ApplicationGroupListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ApplicationGroupListIterator) Response ¶
func (iter ApplicationGroupListIterator) Response() ApplicationGroupList
Response returns the raw server response from the last page request.
func (ApplicationGroupListIterator) Value ¶
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 ¶
type ApplicationGroupListPage struct {
// contains filtered or unexported fields
}
ApplicationGroupListPage contains a page of ApplicationGroup values.
func NewApplicationGroupListPage ¶
func NewApplicationGroupListPage(cur ApplicationGroupList, getNextPage func(context.Context, ApplicationGroupList) (ApplicationGroupList, error)) ApplicationGroupListPage
Creates a new instance of the ApplicationGroupListPage type.
func (*ApplicationGroupListPage) Next ¶
func (page *ApplicationGroupListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ApplicationGroupListPage) NextWithContext ¶
func (page *ApplicationGroupListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ApplicationGroupListPage) NotDone ¶
func (page ApplicationGroupListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ApplicationGroupListPage) Response ¶
func (page ApplicationGroupListPage) Response() ApplicationGroupList
Response returns the raw server response from the last page request.
func (ApplicationGroupListPage) Values ¶
func (page ApplicationGroupListPage) Values() []ApplicationGroup
Values returns the slice of values for the current page or nil if there are no values.
type ApplicationGroupPatch ¶
type ApplicationGroupPatch struct { // Tags - tags to be updated Tags map[string]*string `json:"tags"` // ApplicationGroupPatchProperties - ApplicationGroup properties that can be patched. *ApplicationGroupPatchProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ApplicationGroupPatch applicationGroup properties that can be patched.
func (ApplicationGroupPatch) MarshalJSON ¶
func (agp ApplicationGroupPatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGroupPatch.
func (*ApplicationGroupPatch) UnmarshalJSON ¶
func (agp *ApplicationGroupPatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGroupPatch struct.
type ApplicationGroupPatchProperties ¶
type ApplicationGroupPatchProperties struct { // Description - Description of ApplicationGroup. Description *string `json:"description,omitempty"` // FriendlyName - Friendly name of ApplicationGroup. FriendlyName *string `json:"friendlyName,omitempty"` }
ApplicationGroupPatchProperties applicationGroup properties that can be patched.
type ApplicationGroupProperties ¶
type ApplicationGroupProperties struct { // 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 ¶
func (agp ApplicationGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGroupProperties.
type ApplicationGroupType ¶
type ApplicationGroupType string
ApplicationGroupType enumerates the values for application group type.
const ( // ApplicationGroupTypeDesktop ... ApplicationGroupTypeDesktop ApplicationGroupType = "Desktop" // ApplicationGroupTypeRemoteApp ... ApplicationGroupTypeRemoteApp ApplicationGroupType = "RemoteApp" )
func PossibleApplicationGroupTypeValues ¶
func PossibleApplicationGroupTypeValues() []ApplicationGroupType
PossibleApplicationGroupTypeValues returns an array of possible values for the ApplicationGroupType const type.
type ApplicationGroupsClient ¶
type ApplicationGroupsClient struct {
BaseClient
}
ApplicationGroupsClient is the client for the ApplicationGroups methods of the Desktopvirtualization service.
func NewApplicationGroupsClient ¶
func NewApplicationGroupsClient(subscriptionID string) ApplicationGroupsClient
NewApplicationGroupsClient creates an instance of the ApplicationGroupsClient client.
func NewApplicationGroupsClientWithBaseURI ¶
func NewApplicationGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGroupsClient
NewApplicationGroupsClientWithBaseURI creates an instance of the ApplicationGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ApplicationGroupsClient) CreateOrUpdate ¶
func (client ApplicationGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup ApplicationGroup) (result ApplicationGroup, err error)
CreateOrUpdate create or update an applicationGroup. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationGroup - object containing ApplicationGroup definitions.
func (ApplicationGroupsClient) CreateOrUpdatePreparer ¶
func (client ApplicationGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup ApplicationGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ApplicationGroupsClient) CreateOrUpdateResponder ¶
func (client ApplicationGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ApplicationGroupsClient) CreateOrUpdateSender ¶
func (client ApplicationGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ApplicationGroupsClient) Delete ¶
func (client ApplicationGroupsClient) Delete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result autorest.Response, err error)
Delete remove an applicationGroup. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group
func (ApplicationGroupsClient) DeletePreparer ¶
func (client ApplicationGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationGroupsClient) DeleteResponder ¶
func (client ApplicationGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ApplicationGroupsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationGroupsClient) Get ¶
func (client ApplicationGroupsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationGroup, err error)
Get get an application group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group
func (ApplicationGroupsClient) GetPreparer ¶
func (client ApplicationGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationGroupsClient) GetResponder ¶
func (client ApplicationGroupsClient) GetResponder(resp *http.Response) (result ApplicationGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationGroupsClient) ListByResourceGroup ¶
func (client ApplicationGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result ApplicationGroupListPage, err error)
ListByResourceGroup list applicationGroups. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. filter - oData filter expression. Valid properties for filtering are applicationGroupType.
func (ApplicationGroupsClient) ListByResourceGroupComplete ¶
func (client ApplicationGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result ApplicationGroupListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationGroupsClient) ListByResourceGroupPreparer ¶
func (client ApplicationGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ApplicationGroupsClient) ListByResourceGroupResponder ¶
func (client ApplicationGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationGroupList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ApplicationGroupsClient) ListByResourceGroupSender ¶
func (client ApplicationGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ApplicationGroupsClient) ListBySubscription ¶
func (client ApplicationGroupsClient) ListBySubscription(ctx context.Context, filter string) (result ApplicationGroupListPage, err error)
ListBySubscription list applicationGroups in subscription. Parameters: filter - oData filter expression. Valid properties for filtering are applicationGroupType.
func (ApplicationGroupsClient) ListBySubscriptionComplete ¶
func (client ApplicationGroupsClient) ListBySubscriptionComplete(ctx context.Context, filter string) (result ApplicationGroupListIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationGroupsClient) ListBySubscriptionPreparer ¶
func (client ApplicationGroupsClient) ListBySubscriptionPreparer(ctx context.Context, filter string) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (ApplicationGroupsClient) ListBySubscriptionResponder ¶
func (client ApplicationGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationGroupList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (ApplicationGroupsClient) ListBySubscriptionSender ¶
func (client ApplicationGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (ApplicationGroupsClient) Update ¶
func (client ApplicationGroupsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup *ApplicationGroupPatch) (result ApplicationGroup, err error)
Update update an applicationGroup. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationGroup - object containing ApplicationGroup definitions.
func (ApplicationGroupsClient) UpdatePreparer ¶
func (client ApplicationGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup *ApplicationGroupPatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ApplicationGroupsClient) UpdateResponder ¶
func (client ApplicationGroupsClient) UpdateResponder(resp *http.Response) (result ApplicationGroup, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ApplicationGroupsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ApplicationList ¶
type ApplicationList struct { autorest.Response `json:"-"` // Value - List of Application definitions. Value *[]Application `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
ApplicationList list of Application definitions.
func (ApplicationList) IsEmpty ¶
func (al ApplicationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ApplicationList) MarshalJSON ¶
func (al ApplicationList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationList.
type ApplicationListIterator ¶
type ApplicationListIterator struct {
// contains filtered or unexported fields
}
ApplicationListIterator provides access to a complete listing of Application values.
func NewApplicationListIterator ¶
func NewApplicationListIterator(page ApplicationListPage) ApplicationListIterator
Creates a new instance of the ApplicationListIterator type.
func (*ApplicationListIterator) Next ¶
func (iter *ApplicationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ApplicationListIterator) NextWithContext ¶
func (iter *ApplicationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ApplicationListIterator) NotDone ¶
func (iter ApplicationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ApplicationListIterator) Response ¶
func (iter ApplicationListIterator) Response() ApplicationList
Response returns the raw server response from the last page request.
func (ApplicationListIterator) Value ¶
func (iter ApplicationListIterator) Value() Application
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ApplicationListPage ¶
type ApplicationListPage struct {
// contains filtered or unexported fields
}
ApplicationListPage contains a page of Application values.
func NewApplicationListPage ¶
func NewApplicationListPage(cur ApplicationList, getNextPage func(context.Context, ApplicationList) (ApplicationList, error)) ApplicationListPage
Creates a new instance of the ApplicationListPage type.
func (*ApplicationListPage) Next ¶
func (page *ApplicationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ApplicationListPage) NextWithContext ¶
func (page *ApplicationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ApplicationListPage) NotDone ¶
func (page ApplicationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ApplicationListPage) Response ¶
func (page ApplicationListPage) Response() ApplicationList
Response returns the raw server response from the last page request.
func (ApplicationListPage) Values ¶
func (page ApplicationListPage) Values() []Application
Values returns the slice of values for the current page or nil if there are no values.
type ApplicationPatch ¶
type ApplicationPatch struct { // Tags - tags to be updated Tags map[string]*string `json:"tags"` // ApplicationPatchProperties - Detailed properties for Application *ApplicationPatchProperties `json:"properties,omitempty"` }
ApplicationPatch application properties that can be patched.
func (ApplicationPatch) MarshalJSON ¶
func (ap ApplicationPatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationPatch.
func (*ApplicationPatch) UnmarshalJSON ¶
func (ap *ApplicationPatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationPatch struct.
type ApplicationPatchProperties ¶
type ApplicationPatchProperties struct { // Description - Description of Application. Description *string `json:"description,omitempty"` // FriendlyName - Friendly name of Application. FriendlyName *string `json:"friendlyName,omitempty"` // FilePath - Specifies a path for the executable file for the application. FilePath *string `json:"filePath,omitempty"` // CommandLineSetting - Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: '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"` // MsixPackageFamilyName - Specifies the package family name for MSIX applications MsixPackageFamilyName *string `json:"msixPackageFamilyName,omitempty"` // MsixPackageApplicationID - Specifies the package application Id for MSIX applications MsixPackageApplicationID *string `json:"msixPackageApplicationId,omitempty"` // ApplicationType - Resource Type of Application. Possible values include: 'InBuilt', 'MsixApplication' ApplicationType RemoteApplicationType `json:"applicationType,omitempty"` }
ApplicationPatchProperties application properties that can be patched.
type ApplicationProperties ¶
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"` // MsixPackageFamilyName - Specifies the package family name for MSIX applications MsixPackageFamilyName *string `json:"msixPackageFamilyName,omitempty"` // MsixPackageApplicationID - Specifies the package application Id for MSIX applications MsixPackageApplicationID *string `json:"msixPackageApplicationId,omitempty"` // ApplicationType - Resource Type of Application. Possible values include: 'InBuilt', 'MsixApplication' ApplicationType RemoteApplicationType `json:"applicationType,omitempty"` // CommandLineSetting - Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: '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 ¶
func (ap ApplicationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationProperties.
type ApplicationType ¶
type ApplicationType string
ApplicationType enumerates the values for application type.
const ( // ApplicationTypeDesktop ... ApplicationTypeDesktop ApplicationType = "Desktop" // ApplicationTypeRemoteApp ... ApplicationTypeRemoteApp ApplicationType = "RemoteApp" )
func PossibleApplicationTypeValues ¶
func PossibleApplicationTypeValues() []ApplicationType
PossibleApplicationTypeValues returns an array of possible values for the ApplicationType const type.
type ApplicationsClient ¶
type ApplicationsClient struct {
BaseClient
}
ApplicationsClient is the client for the Applications methods of the Desktopvirtualization service.
func NewApplicationsClient ¶
func NewApplicationsClient(subscriptionID string) ApplicationsClient
NewApplicationsClient creates an instance of the ApplicationsClient client.
func NewApplicationsClientWithBaseURI ¶
func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient
NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ApplicationsClient) CreateOrUpdate ¶
func (client ApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application Application) (result Application, err error)
CreateOrUpdate create or update an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group application - object containing Application definitions.
func (ApplicationsClient) CreateOrUpdatePreparer ¶
func (client ApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application Application) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ApplicationsClient) CreateOrUpdateResponder ¶
func (client ApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ApplicationsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) Delete ¶
func (client ApplicationsClient) Delete(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (result autorest.Response, err error)
Delete remove an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group
func (ApplicationsClient) DeletePreparer ¶
func (client ApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationsClient) DeleteResponder ¶
func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ApplicationsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) Get ¶
func (client ApplicationsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (result Application, err error)
Get get an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group
func (ApplicationsClient) GetPreparer ¶
func (client ApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationsClient) GetResponder ¶
func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) List ¶
func (client ApplicationsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationListPage, err error)
List list applications. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group
func (ApplicationsClient) ListComplete ¶
func (client ApplicationsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result ApplicationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationsClient) ListPreparer ¶
func (client ApplicationsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ApplicationsClient) ListResponder ¶
func (client ApplicationsClient) ListResponder(resp *http.Response) (result ApplicationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ApplicationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) Update ¶
func (client ApplicationsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application *ApplicationPatch) (result Application, err error)
Update update an application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group applicationName - the name of the application within the specified application group application - object containing Application definitions.
func (ApplicationsClient) UpdatePreparer ¶
func (client ApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application *ApplicationPatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ApplicationsClient) UpdateResponder ¶
func (client ApplicationsClient) UpdateResponder(resp *http.Response) (result Application, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ApplicationsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type AzureEntityResource ¶
type AzureEntityResource struct { // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.
type BaseClient ¶
BaseClient is the base client for Desktopvirtualization.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type CloudError ¶
type CloudError struct {
Error *CloudErrorProperties `json:"error,omitempty"`
}
CloudError ...
type CloudErrorProperties ¶
type CloudErrorProperties struct { // Code - Error code Code *string `json:"code,omitempty"` // Message - Error message indicating why the operation failed. Message *string `json:"message,omitempty"` }
CloudErrorProperties ...
type CommandLineSetting ¶
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 ¶
func PossibleCommandLineSettingValues() []CommandLineSetting
PossibleCommandLineSettingValues returns an array of possible values for the CommandLineSetting const type.
type Desktop ¶
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 ¶
MarshalJSON is the custom marshaler for Desktop.
func (*Desktop) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Desktop struct.
type DesktopList ¶
type DesktopList struct { autorest.Response `json:"-"` // Value - List of Desktop definitions. Value *[]Desktop `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
DesktopList list of Desktop definitions.
func (DesktopList) MarshalJSON ¶
func (dl DesktopList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DesktopList.
type DesktopPatch ¶
type DesktopPatch struct { // Tags - tags to be updated Tags map[string]*string `json:"tags"` // DesktopPatchProperties - Detailed properties for Desktop *DesktopPatchProperties `json:"properties,omitempty"` }
DesktopPatch desktop properties that can be patched.
func (DesktopPatch) MarshalJSON ¶
func (dp DesktopPatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DesktopPatch.
func (*DesktopPatch) UnmarshalJSON ¶
func (dp *DesktopPatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DesktopPatch struct.
type DesktopPatchProperties ¶
type DesktopPatchProperties struct { // Description - Description of Desktop. Description *string `json:"description,omitempty"` // FriendlyName - Friendly name of Desktop. FriendlyName *string `json:"friendlyName,omitempty"` }
DesktopPatchProperties desktop properties that can be patched.
type DesktopProperties ¶
type DesktopProperties struct { // Description - Description of Desktop. Description *string `json:"description,omitempty"` // FriendlyName - Friendly name of Desktop. FriendlyName *string `json:"friendlyName,omitempty"` // IconHash - READ-ONLY; Hash of the icon. IconHash *string `json:"iconHash,omitempty"` // IconContent - READ-ONLY; The icon a 64 bit string as a byte array. IconContent *[]byte `json:"iconContent,omitempty"` }
DesktopProperties schema for Desktop properties.
func (DesktopProperties) MarshalJSON ¶
func (dp DesktopProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DesktopProperties.
type DesktopsClient ¶
type DesktopsClient struct {
BaseClient
}
DesktopsClient is the client for the Desktops methods of the Desktopvirtualization service.
func NewDesktopsClient ¶
func NewDesktopsClient(subscriptionID string) DesktopsClient
NewDesktopsClient creates an instance of the DesktopsClient client.
func NewDesktopsClientWithBaseURI ¶
func NewDesktopsClientWithBaseURI(baseURI string, subscriptionID string) DesktopsClient
NewDesktopsClientWithBaseURI creates an instance of the DesktopsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DesktopsClient) Get ¶
func (client DesktopsClient) Get(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string) (result Desktop, err error)
Get get a desktop. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group desktopName - the name of the desktop within the specified desktop group
func (DesktopsClient) GetPreparer ¶
func (client DesktopsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DesktopsClient) GetResponder ¶
func (client DesktopsClient) GetResponder(resp *http.Response) (result Desktop, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DesktopsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DesktopsClient) List ¶
func (client DesktopsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result 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 ¶
func (client DesktopsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (DesktopsClient) ListResponder ¶
func (client DesktopsClient) ListResponder(resp *http.Response) (result DesktopList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DesktopsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (DesktopsClient) Update ¶
func (client DesktopsClient) Update(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string, desktop *DesktopPatch) (result Desktop, err error)
Update update a desktop. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group desktopName - the name of the desktop within the specified desktop group desktop - object containing Desktop definitions.
func (DesktopsClient) UpdatePreparer ¶
func (client DesktopsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string, desktop *DesktopPatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DesktopsClient) UpdateResponder ¶
func (client DesktopsClient) UpdateResponder(resp *http.Response) (result Desktop, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DesktopsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ExpandMsixImage ¶
type ExpandMsixImage struct { // ExpandMsixImageProperties - Detailed properties for ExpandMsixImage *ExpandMsixImageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ExpandMsixImage represents the definition of contents retrieved after expanding the MSIX Image.
func (ExpandMsixImage) MarshalJSON ¶
func (emi ExpandMsixImage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpandMsixImage.
func (*ExpandMsixImage) UnmarshalJSON ¶
func (emi *ExpandMsixImage) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpandMsixImage struct.
type ExpandMsixImageList ¶
type ExpandMsixImageList struct { autorest.Response `json:"-"` // Value - List of MSIX package properties from give MSIX Image. Value *[]ExpandMsixImage `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
ExpandMsixImageList list of MSIX package properties retrieved from MSIX Image expansion.
func (ExpandMsixImageList) IsEmpty ¶
func (emil ExpandMsixImageList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ExpandMsixImageList) MarshalJSON ¶
func (emil ExpandMsixImageList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpandMsixImageList.
type ExpandMsixImageListIterator ¶
type ExpandMsixImageListIterator struct {
// contains filtered or unexported fields
}
ExpandMsixImageListIterator provides access to a complete listing of ExpandMsixImage values.
func NewExpandMsixImageListIterator ¶
func NewExpandMsixImageListIterator(page ExpandMsixImageListPage) ExpandMsixImageListIterator
Creates a new instance of the ExpandMsixImageListIterator type.
func (*ExpandMsixImageListIterator) Next ¶
func (iter *ExpandMsixImageListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExpandMsixImageListIterator) NextWithContext ¶
func (iter *ExpandMsixImageListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ExpandMsixImageListIterator) NotDone ¶
func (iter ExpandMsixImageListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExpandMsixImageListIterator) Response ¶
func (iter ExpandMsixImageListIterator) Response() ExpandMsixImageList
Response returns the raw server response from the last page request.
func (ExpandMsixImageListIterator) Value ¶
func (iter ExpandMsixImageListIterator) Value() ExpandMsixImage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ExpandMsixImageListPage ¶
type ExpandMsixImageListPage struct {
// contains filtered or unexported fields
}
ExpandMsixImageListPage contains a page of ExpandMsixImage values.
func NewExpandMsixImageListPage ¶
func NewExpandMsixImageListPage(cur ExpandMsixImageList, getNextPage func(context.Context, ExpandMsixImageList) (ExpandMsixImageList, error)) ExpandMsixImageListPage
Creates a new instance of the ExpandMsixImageListPage type.
func (*ExpandMsixImageListPage) Next ¶
func (page *ExpandMsixImageListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExpandMsixImageListPage) NextWithContext ¶
func (page *ExpandMsixImageListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ExpandMsixImageListPage) NotDone ¶
func (page ExpandMsixImageListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ExpandMsixImageListPage) Response ¶
func (page ExpandMsixImageListPage) Response() ExpandMsixImageList
Response returns the raw server response from the last page request.
func (ExpandMsixImageListPage) Values ¶
func (page ExpandMsixImageListPage) Values() []ExpandMsixImage
Values returns the slice of values for the current page or nil if there are no values.
type ExpandMsixImageProperties ¶
type ExpandMsixImageProperties struct { // PackageAlias - Alias of MSIX Package. PackageAlias *string `json:"packageAlias,omitempty"` // ImagePath - VHD/CIM image path on Network Share. ImagePath *string `json:"imagePath,omitempty"` // PackageName - Package Name from appxmanifest.xml. PackageName *string `json:"packageName,omitempty"` // PackageFamilyName - Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. PackageFamilyName *string `json:"packageFamilyName,omitempty"` // PackageFullName - Package Full Name from appxmanifest.xml. PackageFullName *string `json:"packageFullName,omitempty"` // DisplayName - User friendly Name to be displayed in the portal. DisplayName *string `json:"displayName,omitempty"` // PackageRelativePath - Relative Path to the package inside the image. PackageRelativePath *string `json:"packageRelativePath,omitempty"` // IsRegularRegistration - Specifies how to register Package in feed. IsRegularRegistration *bool `json:"isRegularRegistration,omitempty"` // IsActive - Make this version of the package the active one across the hostpool. IsActive *bool `json:"isActive,omitempty"` // PackageDependencies - List of package dependencies. PackageDependencies *[]MsixPackageDependencies `json:"packageDependencies,omitempty"` // Version - Package Version found in the appxmanifest.xml. Version *string `json:"version,omitempty"` // LastUpdated - Date Package was last updated, found in the appxmanifest.xml. LastUpdated *date.Time `json:"lastUpdated,omitempty"` // PackageApplications - List of package applications. PackageApplications *[]MsixPackageApplications `json:"packageApplications,omitempty"` }
ExpandMsixImageProperties schema for Expand MSIX Image properties.
type HostPool ¶
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 ¶
MarshalJSON is the custom marshaler for HostPool.
func (*HostPool) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for HostPool struct.
type HostPoolList ¶
type HostPoolList struct { autorest.Response `json:"-"` // Value - List of HostPool definitions. Value *[]HostPool `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
HostPoolList list of HostPool definitions.
func (HostPoolList) IsEmpty ¶
func (hpl HostPoolList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (HostPoolList) MarshalJSON ¶
func (hpl HostPoolList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HostPoolList.
type HostPoolListIterator ¶
type HostPoolListIterator struct {
// contains filtered or unexported fields
}
HostPoolListIterator provides access to a complete listing of HostPool values.
func NewHostPoolListIterator ¶
func NewHostPoolListIterator(page HostPoolListPage) HostPoolListIterator
Creates a new instance of the HostPoolListIterator type.
func (*HostPoolListIterator) Next ¶
func (iter *HostPoolListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*HostPoolListIterator) NextWithContext ¶
func (iter *HostPoolListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (HostPoolListIterator) NotDone ¶
func (iter HostPoolListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (HostPoolListIterator) Response ¶
func (iter HostPoolListIterator) Response() HostPoolList
Response returns the raw server response from the last page request.
func (HostPoolListIterator) Value ¶
func (iter HostPoolListIterator) Value() HostPool
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type HostPoolListPage ¶
type HostPoolListPage struct {
// contains filtered or unexported fields
}
HostPoolListPage contains a page of HostPool values.
func NewHostPoolListPage ¶
func NewHostPoolListPage(cur HostPoolList, getNextPage func(context.Context, HostPoolList) (HostPoolList, error)) HostPoolListPage
Creates a new instance of the HostPoolListPage type.
func (*HostPoolListPage) Next ¶
func (page *HostPoolListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*HostPoolListPage) NextWithContext ¶
func (page *HostPoolListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (HostPoolListPage) NotDone ¶
func (page HostPoolListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (HostPoolListPage) Response ¶
func (page HostPoolListPage) Response() HostPoolList
Response returns the raw server response from the last page request.
func (HostPoolListPage) Values ¶
func (page HostPoolListPage) Values() []HostPool
Values returns the slice of values for the current page or nil if there are no values.
type HostPoolPatch ¶
type HostPoolPatch struct { // Tags - tags to be updated Tags map[string]*string `json:"tags"` // HostPoolPatchProperties - HostPool properties that can be patched. *HostPoolPatchProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
HostPoolPatch hostPool properties that can be patched.
func (HostPoolPatch) MarshalJSON ¶
func (hpp HostPoolPatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HostPoolPatch.
func (*HostPoolPatch) UnmarshalJSON ¶
func (hpp *HostPoolPatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HostPoolPatch struct.
type HostPoolPatchProperties ¶
type HostPoolPatchProperties struct { // FriendlyName - Friendly name of HostPool. FriendlyName *string `json:"friendlyName,omitempty"` // Description - Description of HostPool. Description *string `json:"description,omitempty"` // CustomRdpProperty - Custom rdp property of HostPool. CustomRdpProperty *string `json:"customRdpProperty,omitempty"` // MaxSessionLimit - The max session limit of HostPool. MaxSessionLimit *int32 `json:"maxSessionLimit,omitempty"` // PersonalDesktopAssignmentType - PersonalDesktopAssignment type for HostPool. Possible values include: '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"` // SsoadfsAuthority - URL to customer ADFS server for signing WVD SSO certificates. SsoadfsAuthority *string `json:"ssoadfsAuthority,omitempty"` // SsoClientID - ClientId for the registered Relying Party used to issue WVD SSO certificates. SsoClientID *string `json:"ssoClientId,omitempty"` // SsoClientSecretKeyVaultPath - Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath *string `json:"ssoClientSecretKeyVaultPath,omitempty"` // SsoSecretType - The type of single sign on Secret Type. Possible values include: 'SharedKey', 'Certificate', 'SharedKeyInKeyVault', 'CertificateInKeyVault' SsoSecretType SSOSecretType `json:"ssoSecretType,omitempty"` // PreferredAppGroupType - The type of preferred application group type, default to Desktop Application Group. Possible values include: 'PreferredAppGroupTypeNone', 'PreferredAppGroupTypeDesktop', 'PreferredAppGroupTypeRailApplications' PreferredAppGroupType PreferredAppGroupType `json:"preferredAppGroupType,omitempty"` // StartVMOnConnect - The flag to turn on/off StartVMOnConnect feature. StartVMOnConnect *bool `json:"startVMOnConnect,omitempty"` }
HostPoolPatchProperties properties of HostPool.
type HostPoolProperties ¶
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"` // SsoadfsAuthority - URL to customer ADFS server for signing WVD SSO certificates. SsoadfsAuthority *string `json:"ssoadfsAuthority,omitempty"` // SsoClientID - ClientId for the registered Relying Party used to issue WVD SSO certificates. SsoClientID *string `json:"ssoClientId,omitempty"` // SsoClientSecretKeyVaultPath - Path to Azure KeyVault storing the secret used for communication to ADFS. SsoClientSecretKeyVaultPath *string `json:"ssoClientSecretKeyVaultPath,omitempty"` // SsoSecretType - The type of single sign on Secret Type. Possible values include: 'SharedKey', 'Certificate', 'SharedKeyInKeyVault', 'CertificateInKeyVault' SsoSecretType SSOSecretType `json:"ssoSecretType,omitempty"` // PreferredAppGroupType - The type of preferred application group type, default to Desktop Application Group. Possible values include: 'PreferredAppGroupTypeNone', 'PreferredAppGroupTypeDesktop', 'PreferredAppGroupTypeRailApplications' PreferredAppGroupType PreferredAppGroupType `json:"preferredAppGroupType,omitempty"` // StartVMOnConnect - The flag to turn on/off StartVMOnConnect feature. StartVMOnConnect *bool `json:"startVMOnConnect,omitempty"` }
HostPoolProperties properties of HostPool.
func (HostPoolProperties) MarshalJSON ¶
func (hpp HostPoolProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HostPoolProperties.
type HostPoolType ¶
type HostPoolType string
HostPoolType enumerates the values for host pool type.
const ( // Personal ... Personal HostPoolType = "Personal" // Pooled ... Pooled HostPoolType = "Pooled" )
func PossibleHostPoolTypeValues ¶
func PossibleHostPoolTypeValues() []HostPoolType
PossibleHostPoolTypeValues returns an array of possible values for the HostPoolType const type.
type HostPoolsClient ¶
type HostPoolsClient struct {
BaseClient
}
HostPoolsClient is the client for the HostPools methods of the Desktopvirtualization service.
func NewHostPoolsClient ¶
func NewHostPoolsClient(subscriptionID string) HostPoolsClient
NewHostPoolsClient creates an instance of the HostPoolsClient client.
func NewHostPoolsClientWithBaseURI ¶
func NewHostPoolsClientWithBaseURI(baseURI string, subscriptionID string) HostPoolsClient
NewHostPoolsClientWithBaseURI creates an instance of the HostPoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (HostPoolsClient) CreateOrUpdate ¶
func (client HostPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool HostPool) (result HostPool, err error)
CreateOrUpdate create or update a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group hostPool - object containing HostPool definitions.
func (HostPoolsClient) CreateOrUpdatePreparer ¶
func (client HostPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool HostPool) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (HostPoolsClient) CreateOrUpdateResponder ¶
func (client HostPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result HostPool, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (HostPoolsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (HostPoolsClient) Delete ¶
func (client HostPoolsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, force *bool) (result autorest.Response, err error)
Delete remove a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group force - force flag to delete sessionHost.
func (HostPoolsClient) DeletePreparer ¶
func (client HostPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, force *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (HostPoolsClient) DeleteResponder ¶
func (client HostPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (HostPoolsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (HostPoolsClient) Get ¶
func (client HostPoolsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string) (result HostPool, err error)
Get get a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group
func (HostPoolsClient) GetPreparer ¶
func (client HostPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (HostPoolsClient) GetResponder ¶
func (client HostPoolsClient) GetResponder(resp *http.Response) (result HostPool, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (HostPoolsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (HostPoolsClient) List ¶
func (client HostPoolsClient) List(ctx context.Context) (result HostPoolListPage, err error)
List list hostPools in subscription.
func (HostPoolsClient) ListByResourceGroup ¶
func (client HostPoolsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result HostPoolListPage, err error)
ListByResourceGroup list hostPools. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (HostPoolsClient) ListByResourceGroupComplete ¶
func (client HostPoolsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result HostPoolListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (HostPoolsClient) ListByResourceGroupPreparer ¶
func (client HostPoolsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (HostPoolsClient) ListByResourceGroupResponder ¶
func (client HostPoolsClient) ListByResourceGroupResponder(resp *http.Response) (result HostPoolList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (HostPoolsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (HostPoolsClient) ListComplete ¶
func (client HostPoolsClient) ListComplete(ctx context.Context) (result HostPoolListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (HostPoolsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (HostPoolsClient) ListResponder ¶
func (client HostPoolsClient) ListResponder(resp *http.Response) (result HostPoolList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (HostPoolsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (HostPoolsClient) Update ¶
func (client HostPoolsClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool *HostPoolPatch) (result HostPool, err error)
Update update a host pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group hostPool - object containing HostPool definitions.
func (HostPoolsClient) UpdatePreparer ¶
func (client HostPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool *HostPoolPatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (HostPoolsClient) UpdateResponder ¶
func (client HostPoolsClient) UpdateResponder(resp *http.Response) (result HostPool, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (HostPoolsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type LoadBalancerType ¶
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 ¶
func PossibleLoadBalancerTypeValues() []LoadBalancerType
PossibleLoadBalancerTypeValues returns an array of possible values for the LoadBalancerType const type.
type MSIXImageURI ¶
type MSIXImageURI struct { // URI - URI to Image URI *string `json:"uri,omitempty"` }
MSIXImageURI represents URI referring to MSIX Image
type MSIXPackage ¶
type MSIXPackage struct { autorest.Response `json:"-"` // MSIXPackageProperties - Detailed properties for MSIX Package *MSIXPackageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
MSIXPackage schema for MSIX Package properties.
func (MSIXPackage) MarshalJSON ¶
func (mp MSIXPackage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSIXPackage.
func (*MSIXPackage) UnmarshalJSON ¶
func (mp *MSIXPackage) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MSIXPackage struct.
type MSIXPackageList ¶
type MSIXPackageList struct { autorest.Response `json:"-"` // Value - List of MSIX Package definitions. Value *[]MSIXPackage `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
MSIXPackageList list of MSIX Package definitions.
func (MSIXPackageList) IsEmpty ¶
func (mpl MSIXPackageList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (MSIXPackageList) MarshalJSON ¶
func (mpl MSIXPackageList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSIXPackageList.
type MSIXPackageListIterator ¶
type MSIXPackageListIterator struct {
// contains filtered or unexported fields
}
MSIXPackageListIterator provides access to a complete listing of MSIXPackage values.
func NewMSIXPackageListIterator ¶
func NewMSIXPackageListIterator(page MSIXPackageListPage) MSIXPackageListIterator
Creates a new instance of the MSIXPackageListIterator type.
func (*MSIXPackageListIterator) Next ¶
func (iter *MSIXPackageListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MSIXPackageListIterator) NextWithContext ¶
func (iter *MSIXPackageListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (MSIXPackageListIterator) NotDone ¶
func (iter MSIXPackageListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (MSIXPackageListIterator) Response ¶
func (iter MSIXPackageListIterator) Response() MSIXPackageList
Response returns the raw server response from the last page request.
func (MSIXPackageListIterator) Value ¶
func (iter MSIXPackageListIterator) Value() MSIXPackage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type MSIXPackageListPage ¶
type MSIXPackageListPage struct {
// contains filtered or unexported fields
}
MSIXPackageListPage contains a page of MSIXPackage values.
func NewMSIXPackageListPage ¶
func NewMSIXPackageListPage(cur MSIXPackageList, getNextPage func(context.Context, MSIXPackageList) (MSIXPackageList, error)) MSIXPackageListPage
Creates a new instance of the MSIXPackageListPage type.
func (*MSIXPackageListPage) Next ¶
func (page *MSIXPackageListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MSIXPackageListPage) NextWithContext ¶
func (page *MSIXPackageListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (MSIXPackageListPage) NotDone ¶
func (page MSIXPackageListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (MSIXPackageListPage) Response ¶
func (page MSIXPackageListPage) Response() MSIXPackageList
Response returns the raw server response from the last page request.
func (MSIXPackageListPage) Values ¶
func (page MSIXPackageListPage) Values() []MSIXPackage
Values returns the slice of values for the current page or nil if there are no values.
type MSIXPackagePatch ¶
type MSIXPackagePatch struct { // MSIXPackagePatchProperties - Detailed properties for MSIX Package *MSIXPackagePatchProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
MSIXPackagePatch MSIX Package properties that can be patched.
func (MSIXPackagePatch) MarshalJSON ¶
func (mpp MSIXPackagePatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MSIXPackagePatch.
func (*MSIXPackagePatch) UnmarshalJSON ¶
func (mpp *MSIXPackagePatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MSIXPackagePatch struct.
type MSIXPackagePatchProperties ¶
type MSIXPackagePatchProperties struct { // IsActive - Set a version of the package to be active across hostpool. IsActive *bool `json:"isActive,omitempty"` // IsRegularRegistration - Set Registration mode. Regular or Delayed. IsRegularRegistration *bool `json:"isRegularRegistration,omitempty"` // DisplayName - Display name for MSIX Package. DisplayName *string `json:"displayName,omitempty"` }
MSIXPackagePatchProperties MSIX Package properties that can be patched.
type MSIXPackageProperties ¶
type MSIXPackageProperties struct { // ImagePath - VHD/CIM image path on Network Share. ImagePath *string `json:"imagePath,omitempty"` // PackageName - Package Name from appxmanifest.xml. PackageName *string `json:"packageName,omitempty"` // PackageFamilyName - Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. PackageFamilyName *string `json:"packageFamilyName,omitempty"` // DisplayName - User friendly Name to be displayed in the portal. DisplayName *string `json:"displayName,omitempty"` // PackageRelativePath - Relative Path to the package inside the image. PackageRelativePath *string `json:"packageRelativePath,omitempty"` // IsRegularRegistration - Specifies how to register Package in feed. IsRegularRegistration *bool `json:"isRegularRegistration,omitempty"` // IsActive - Make this version of the package the active one across the hostpool. IsActive *bool `json:"isActive,omitempty"` // PackageDependencies - List of package dependencies. PackageDependencies *[]MsixPackageDependencies `json:"packageDependencies,omitempty"` // Version - Package Version found in the appxmanifest.xml. Version *string `json:"version,omitempty"` // LastUpdated - Date Package was last updated, found in the appxmanifest.xml. LastUpdated *date.Time `json:"lastUpdated,omitempty"` // PackageApplications - List of package applications. PackageApplications *[]MsixPackageApplications `json:"packageApplications,omitempty"` }
MSIXPackageProperties schema for MSIX Package properties.
type MSIXPackagesClient ¶
type MSIXPackagesClient struct {
BaseClient
}
MSIXPackagesClient is the client for the MSIXPackages methods of the Desktopvirtualization service.
func NewMSIXPackagesClient ¶
func NewMSIXPackagesClient(subscriptionID string) MSIXPackagesClient
NewMSIXPackagesClient creates an instance of the MSIXPackagesClient client.
func NewMSIXPackagesClientWithBaseURI ¶
func NewMSIXPackagesClientWithBaseURI(baseURI string, subscriptionID string) MSIXPackagesClient
NewMSIXPackagesClientWithBaseURI creates an instance of the MSIXPackagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MSIXPackagesClient) CreateOrUpdate ¶
func (client MSIXPackagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage MSIXPackage) (result MSIXPackage, err error)
CreateOrUpdate create or update a MSIX package. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool msixPackage - object containing MSIX Package definitions.
func (MSIXPackagesClient) CreateOrUpdatePreparer ¶
func (client MSIXPackagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage MSIXPackage) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (MSIXPackagesClient) CreateOrUpdateResponder ¶
func (client MSIXPackagesClient) CreateOrUpdateResponder(resp *http.Response) (result MSIXPackage, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (MSIXPackagesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (MSIXPackagesClient) Delete ¶
func (client MSIXPackagesClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (result autorest.Response, err error)
Delete remove an MSIX Package. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool
func (MSIXPackagesClient) DeletePreparer ¶
func (client MSIXPackagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (MSIXPackagesClient) DeleteResponder ¶
func (client MSIXPackagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (MSIXPackagesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (MSIXPackagesClient) Get ¶
func (client MSIXPackagesClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (result MSIXPackage, err error)
Get get a msixpackage. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool
func (MSIXPackagesClient) GetPreparer ¶
func (client MSIXPackagesClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (MSIXPackagesClient) GetResponder ¶
func (client MSIXPackagesClient) GetResponder(resp *http.Response) (result MSIXPackage, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (MSIXPackagesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (MSIXPackagesClient) List ¶
func (client MSIXPackagesClient) List(ctx context.Context, resourceGroupName string, hostPoolName string) (result MSIXPackageListPage, err error)
List list MSIX packages in hostpool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group
func (MSIXPackagesClient) ListComplete ¶
func (client MSIXPackagesClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result MSIXPackageListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (MSIXPackagesClient) ListPreparer ¶
func (client MSIXPackagesClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)
ListPreparer prepares the List request.
func (MSIXPackagesClient) ListResponder ¶
func (client MSIXPackagesClient) ListResponder(resp *http.Response) (result MSIXPackageList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (MSIXPackagesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (MSIXPackagesClient) Update ¶
func (client MSIXPackagesClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage *MSIXPackagePatch) (result MSIXPackage, err error)
Update update an MSIX Package. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixPackageFullName - the version specific package full name of the MSIX package within specified hostpool msixPackage - object containing MSIX Package definitions.
func (MSIXPackagesClient) UpdatePreparer ¶
func (client MSIXPackagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage *MSIXPackagePatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (MSIXPackagesClient) UpdateResponder ¶
func (client MSIXPackagesClient) UpdateResponder(resp *http.Response) (result MSIXPackage, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (MSIXPackagesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type MsixImagesClient ¶
type MsixImagesClient struct {
BaseClient
}
MsixImagesClient is the client for the MsixImages methods of the Desktopvirtualization service.
func NewMsixImagesClient ¶
func NewMsixImagesClient(subscriptionID string) MsixImagesClient
NewMsixImagesClient creates an instance of the MsixImagesClient client.
func NewMsixImagesClientWithBaseURI ¶
func NewMsixImagesClientWithBaseURI(baseURI string, subscriptionID string) MsixImagesClient
NewMsixImagesClientWithBaseURI creates an instance of the MsixImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MsixImagesClient) Expand ¶
func (client MsixImagesClient) Expand(ctx context.Context, resourceGroupName string, hostPoolName string, msixImageURI MSIXImageURI) (result ExpandMsixImageListPage, err error)
Expand expands and Lists MSIX packages in an Image, given the Image Path. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group msixImageURI - object containing URI to MSIX Image
func (MsixImagesClient) ExpandComplete ¶
func (client MsixImagesClient) ExpandComplete(ctx context.Context, resourceGroupName string, hostPoolName string, msixImageURI MSIXImageURI) (result ExpandMsixImageListIterator, err error)
ExpandComplete enumerates all values, automatically crossing page boundaries as required.
func (MsixImagesClient) ExpandPreparer ¶
func (client MsixImagesClient) ExpandPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, msixImageURI MSIXImageURI) (*http.Request, error)
ExpandPreparer prepares the Expand request.
func (MsixImagesClient) ExpandResponder ¶
func (client MsixImagesClient) ExpandResponder(resp *http.Response) (result ExpandMsixImageList, err error)
ExpandResponder handles the response to the Expand request. The method always closes the http.Response Body.
func (MsixImagesClient) ExpandSender ¶
ExpandSender sends the Expand request. The method will close the http.Response Body if it receives an error.
type MsixPackageApplications ¶
type MsixPackageApplications struct { // AppID - Package Application Id, found in appxmanifest.xml. AppID *string `json:"appId,omitempty"` // Description - Description of Package Application. Description *string `json:"description,omitempty"` // AppUserModelID - Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. AppUserModelID *string `json:"appUserModelID,omitempty"` // FriendlyName - User friendly name. FriendlyName *string `json:"friendlyName,omitempty"` // IconImageName - User friendly name. IconImageName *string `json:"iconImageName,omitempty"` // RawIcon - the icon a 64 bit string as a byte array. RawIcon *[]byte `json:"rawIcon,omitempty"` // RawPng - the icon a 64 bit string as a byte array. RawPng *[]byte `json:"rawPng,omitempty"` }
MsixPackageApplications schema for MSIX Package Application properties.
type MsixPackageDependencies ¶
type MsixPackageDependencies struct { // DependencyName - Name of package dependency. DependencyName *string `json:"dependencyName,omitempty"` // Publisher - Name of dependency publisher. Publisher *string `json:"publisher,omitempty"` // MinVersion - Dependency version required. MinVersion *string `json:"minVersion,omitempty"` }
MsixPackageDependencies schema for MSIX Package Dependencies properties.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the client for the Operations methods of the Desktopvirtualization service.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
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 ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result ResourceProviderOperationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PersonalDesktopAssignmentType ¶
type PersonalDesktopAssignmentType string
PersonalDesktopAssignmentType enumerates the values for personal desktop assignment type.
const ( // Automatic ... Automatic PersonalDesktopAssignmentType = "Automatic" // Direct ... Direct PersonalDesktopAssignmentType = "Direct" )
func PossiblePersonalDesktopAssignmentTypeValues ¶
func PossiblePersonalDesktopAssignmentTypeValues() []PersonalDesktopAssignmentType
PossiblePersonalDesktopAssignmentTypeValues returns an array of possible values for the PersonalDesktopAssignmentType const type.
type PreferredAppGroupType ¶
type PreferredAppGroupType string
PreferredAppGroupType enumerates the values for preferred app group type.
const ( // PreferredAppGroupTypeDesktop ... PreferredAppGroupTypeDesktop PreferredAppGroupType = "Desktop" // PreferredAppGroupTypeNone ... PreferredAppGroupTypeNone PreferredAppGroupType = "None" // PreferredAppGroupTypeRailApplications ... PreferredAppGroupTypeRailApplications PreferredAppGroupType = "RailApplications" )
func PossiblePreferredAppGroupTypeValues ¶
func PossiblePreferredAppGroupTypeValues() []PreferredAppGroupType
PossiblePreferredAppGroupTypeValues returns an array of possible values for the PreferredAppGroupType const type.
type ProxyResource ¶
type ProxyResource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
type RegistrationInfo ¶
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 ¶
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 ¶
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 ¶
func PossibleRegistrationTokenOperationValues() []RegistrationTokenOperation
PossibleRegistrationTokenOperationValues returns an array of possible values for the RegistrationTokenOperation const type.
type RemoteApplicationType ¶
type RemoteApplicationType string
RemoteApplicationType enumerates the values for remote application type.
const ( // InBuilt ... InBuilt RemoteApplicationType = "InBuilt" // MsixApplication ... MsixApplication RemoteApplicationType = "MsixApplication" )
func PossibleRemoteApplicationTypeValues ¶
func PossibleRemoteApplicationTypeValues() []RemoteApplicationType
PossibleRemoteApplicationTypeValues returns an array of possible values for the RemoteApplicationType const type.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
type ResourceProviderOperation ¶
type ResourceProviderOperation struct { // Name - Operation name, in format of {provider}/{resource}/{operation} Name *string `json:"name,omitempty"` // Display - Display metadata associated with the operation. Display *ResourceProviderOperationDisplay `json:"display,omitempty"` }
ResourceProviderOperation supported operation of this resource provider.
type ResourceProviderOperationDisplay ¶
type ResourceProviderOperationDisplay struct { // Provider - Resource provider: Microsoft Desktop Virtualization. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed. Resource *string `json:"resource,omitempty"` // Operation - Type of operation: get, read, delete, etc. Operation *string `json:"operation,omitempty"` // Description - Description of this operation. Description *string `json:"description,omitempty"` }
ResourceProviderOperationDisplay display metadata associated with the operation.
type ResourceProviderOperationList ¶
type ResourceProviderOperationList struct { autorest.Response `json:"-"` // Value - List of operations supported by this resource provider. Value *[]ResourceProviderOperation `json:"value,omitempty"` }
ResourceProviderOperationList result of the request to list operations.
type SSOSecretType ¶
type SSOSecretType string
SSOSecretType enumerates the values for sso secret type.
const ( // Certificate ... Certificate SSOSecretType = "Certificate" // CertificateInKeyVault ... CertificateInKeyVault SSOSecretType = "CertificateInKeyVault" SharedKey SSOSecretType = "SharedKey" SharedKeyInKeyVault SSOSecretType = "SharedKeyInKeyVault" )
func PossibleSSOSecretTypeValues ¶
func PossibleSSOSecretTypeValues() []SSOSecretType
PossibleSSOSecretTypeValues returns an array of possible values for the SSOSecretType const type.
type SendMessage ¶
type SendMessage struct { // MessageTitle - Title of message. MessageTitle *string `json:"messageTitle,omitempty"` // MessageBody - Body of message. MessageBody *string `json:"messageBody,omitempty"` }
SendMessage represents message sent to a UserSession.
type SessionHost ¶
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 ¶
func (sh SessionHost) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SessionHost.
func (*SessionHost) UnmarshalJSON ¶
func (sh *SessionHost) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SessionHost struct.
type SessionHostList ¶
type SessionHostList struct { autorest.Response `json:"-"` // Value - List of SessionHost definitions. Value *[]SessionHost `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
SessionHostList list of SessionHost definitions.
func (SessionHostList) IsEmpty ¶
func (shl SessionHostList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (SessionHostList) MarshalJSON ¶
func (shl SessionHostList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SessionHostList.
type SessionHostListIterator ¶
type SessionHostListIterator struct {
// contains filtered or unexported fields
}
SessionHostListIterator provides access to a complete listing of SessionHost values.
func NewSessionHostListIterator ¶
func NewSessionHostListIterator(page SessionHostListPage) SessionHostListIterator
Creates a new instance of the SessionHostListIterator type.
func (*SessionHostListIterator) Next ¶
func (iter *SessionHostListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SessionHostListIterator) NextWithContext ¶
func (iter *SessionHostListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SessionHostListIterator) NotDone ¶
func (iter SessionHostListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SessionHostListIterator) Response ¶
func (iter SessionHostListIterator) Response() SessionHostList
Response returns the raw server response from the last page request.
func (SessionHostListIterator) Value ¶
func (iter SessionHostListIterator) Value() SessionHost
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SessionHostListPage ¶
type SessionHostListPage struct {
// contains filtered or unexported fields
}
SessionHostListPage contains a page of SessionHost values.
func NewSessionHostListPage ¶
func NewSessionHostListPage(cur SessionHostList, getNextPage func(context.Context, SessionHostList) (SessionHostList, error)) SessionHostListPage
Creates a new instance of the SessionHostListPage type.
func (*SessionHostListPage) Next ¶
func (page *SessionHostListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SessionHostListPage) NextWithContext ¶
func (page *SessionHostListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SessionHostListPage) NotDone ¶
func (page SessionHostListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SessionHostListPage) Response ¶
func (page SessionHostListPage) Response() SessionHostList
Response returns the raw server response from the last page request.
func (SessionHostListPage) Values ¶
func (page SessionHostListPage) Values() []SessionHost
Values returns the slice of values for the current page or nil if there are no values.
type SessionHostPatch ¶
type SessionHostPatch struct { // SessionHostPatchProperties - Detailed properties for SessionHost *SessionHostPatchProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
SessionHostPatch sessionHost properties that can be patched.
func (SessionHostPatch) MarshalJSON ¶
func (shp SessionHostPatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SessionHostPatch.
func (*SessionHostPatch) UnmarshalJSON ¶
func (shp *SessionHostPatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SessionHostPatch struct.
type SessionHostPatchProperties ¶
type SessionHostPatchProperties struct { // AllowNewSession - Allow a new session. AllowNewSession *bool `json:"allowNewSession,omitempty"` // AssignedUser - User assigned to SessionHost. AssignedUser *string `json:"assignedUser,omitempty"` }
SessionHostPatchProperties sessionHost properties that can be patched.
type SessionHostProperties ¶
type SessionHostProperties struct { // 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 ¶
func (shp SessionHostProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SessionHostProperties.
type SessionHostsClient ¶
type SessionHostsClient struct {
BaseClient
}
SessionHostsClient is the client for the SessionHosts methods of the Desktopvirtualization service.
func NewSessionHostsClient ¶
func NewSessionHostsClient(subscriptionID string) SessionHostsClient
NewSessionHostsClient creates an instance of the SessionHostsClient client.
func NewSessionHostsClientWithBaseURI ¶
func NewSessionHostsClientWithBaseURI(baseURI string, subscriptionID string) SessionHostsClient
NewSessionHostsClientWithBaseURI creates an instance of the SessionHostsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SessionHostsClient) Delete ¶
func (client SessionHostsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, force *bool) (result autorest.Response, err error)
Delete remove a SessionHost. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool force - force flag to force sessionHost deletion even when userSession exists.
func (SessionHostsClient) DeletePreparer ¶
func (client SessionHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, force *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SessionHostsClient) DeleteResponder ¶
func (client SessionHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SessionHostsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SessionHostsClient) Get ¶
func (client SessionHostsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (result SessionHost, err error)
Get get a session host. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool
func (SessionHostsClient) GetPreparer ¶
func (client SessionHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SessionHostsClient) GetResponder ¶
func (client SessionHostsClient) GetResponder(resp *http.Response) (result SessionHost, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SessionHostsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SessionHostsClient) List ¶
func (client SessionHostsClient) List(ctx context.Context, resourceGroupName string, hostPoolName string) (result SessionHostListPage, err error)
List list sessionHosts. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group
func (SessionHostsClient) ListComplete ¶
func (client SessionHostsClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string) (result SessionHostListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SessionHostsClient) ListPreparer ¶
func (client SessionHostsClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SessionHostsClient) ListResponder ¶
func (client SessionHostsClient) ListResponder(resp *http.Response) (result SessionHostList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SessionHostsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SessionHostsClient) Update ¶
func (client SessionHostsClient) Update(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, sessionHost *SessionHostPatch) (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 ¶
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 ¶
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 ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SessionState ¶
type SessionState string
SessionState enumerates the values for session state.
const ( // 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 ¶
func PossibleSessionStateValues() []SessionState
PossibleSessionStateValues returns an array of possible values for the SessionState const type.
type StartMenuItem ¶
type StartMenuItem struct { // StartMenuItemProperties - Detailed properties for StartMenuItem *StartMenuItemProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
StartMenuItem represents a StartMenuItem definition.
func (StartMenuItem) MarshalJSON ¶
func (smi StartMenuItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StartMenuItem.
func (*StartMenuItem) UnmarshalJSON ¶
func (smi *StartMenuItem) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StartMenuItem struct.
type StartMenuItemList ¶
type StartMenuItemList struct { autorest.Response `json:"-"` // Value - List of StartMenuItem definitions. Value *[]StartMenuItem `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
StartMenuItemList list of StartMenuItem definitions.
func (StartMenuItemList) IsEmpty ¶
func (smil StartMenuItemList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (StartMenuItemList) MarshalJSON ¶
func (smil StartMenuItemList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StartMenuItemList.
type StartMenuItemListIterator ¶
type StartMenuItemListIterator struct {
// contains filtered or unexported fields
}
StartMenuItemListIterator provides access to a complete listing of StartMenuItem values.
func NewStartMenuItemListIterator ¶
func NewStartMenuItemListIterator(page StartMenuItemListPage) StartMenuItemListIterator
Creates a new instance of the StartMenuItemListIterator type.
func (*StartMenuItemListIterator) Next ¶
func (iter *StartMenuItemListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*StartMenuItemListIterator) NextWithContext ¶
func (iter *StartMenuItemListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (StartMenuItemListIterator) NotDone ¶
func (iter StartMenuItemListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (StartMenuItemListIterator) Response ¶
func (iter StartMenuItemListIterator) Response() StartMenuItemList
Response returns the raw server response from the last page request.
func (StartMenuItemListIterator) Value ¶
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 ¶
type StartMenuItemListPage struct {
// contains filtered or unexported fields
}
StartMenuItemListPage contains a page of StartMenuItem values.
func NewStartMenuItemListPage ¶
func NewStartMenuItemListPage(cur StartMenuItemList, getNextPage func(context.Context, StartMenuItemList) (StartMenuItemList, error)) StartMenuItemListPage
Creates a new instance of the StartMenuItemListPage type.
func (*StartMenuItemListPage) Next ¶
func (page *StartMenuItemListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*StartMenuItemListPage) NextWithContext ¶
func (page *StartMenuItemListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (StartMenuItemListPage) NotDone ¶
func (page StartMenuItemListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (StartMenuItemListPage) Response ¶
func (page StartMenuItemListPage) Response() StartMenuItemList
Response returns the raw server response from the last page request.
func (StartMenuItemListPage) Values ¶
func (page StartMenuItemListPage) Values() []StartMenuItem
Values returns the slice of values for the current page or nil if there are no values.
type StartMenuItemProperties ¶
type StartMenuItemProperties struct { // AppAlias - Alias of StartMenuItem. AppAlias *string `json:"appAlias,omitempty"` // 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 ¶
type StartMenuItemsClient struct {
BaseClient
}
StartMenuItemsClient is the client for the StartMenuItems methods of the Desktopvirtualization service.
func NewStartMenuItemsClient ¶
func NewStartMenuItemsClient(subscriptionID string) StartMenuItemsClient
NewStartMenuItemsClient creates an instance of the StartMenuItemsClient client.
func NewStartMenuItemsClientWithBaseURI ¶
func NewStartMenuItemsClientWithBaseURI(baseURI string, subscriptionID string) StartMenuItemsClient
NewStartMenuItemsClientWithBaseURI creates an instance of the StartMenuItemsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (StartMenuItemsClient) List ¶
func (client StartMenuItemsClient) List(ctx context.Context, resourceGroupName string, applicationGroupName string) (result StartMenuItemListPage, err error)
List list start menu items in the given application group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationGroupName - the name of the application group
func (StartMenuItemsClient) ListComplete ¶
func (client StartMenuItemsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGroupName string) (result StartMenuItemListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (StartMenuItemsClient) ListPreparer ¶
func (client StartMenuItemsClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (StartMenuItemsClient) ListResponder ¶
func (client StartMenuItemsClient) ListResponder(resp *http.Response) (result StartMenuItemList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (StartMenuItemsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Status ¶
type Status string
Status enumerates the values for status.
const ( // StatusAvailable ... StatusAvailable Status = "Available" // StatusDisconnected ... StatusDisconnected Status = "Disconnected" // StatusShutdown ... StatusShutdown Status = "Shutdown" StatusUnavailable Status = "Unavailable" // StatusUpgradeFailed ... StatusUpgradeFailed Status = "UpgradeFailed" // StatusUpgrading ... StatusUpgrading Status = "Upgrading" )
func PossibleStatusValues ¶
func PossibleStatusValues() []Status
PossibleStatusValues returns an array of possible values for the Status const type.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type UpdateState ¶
type UpdateState string
UpdateState enumerates the values for update state.
const ( // UpdateStateFailed ... UpdateStateFailed UpdateState = "Failed" // UpdateStateInitial ... UpdateStateInitial UpdateState = "Initial" // UpdateStatePending ... UpdateStatePending UpdateState = "Pending" // UpdateStateStarted ... UpdateStateStarted UpdateState = "Started" // UpdateStateSucceeded ... UpdateStateSucceeded UpdateState = "Succeeded" )
func PossibleUpdateStateValues ¶
func PossibleUpdateStateValues() []UpdateState
PossibleUpdateStateValues returns an array of possible values for the UpdateState const type.
type UserSession ¶
type UserSession struct { autorest.Response `json:"-"` // UserSessionProperties - Detailed properties for UserSession *UserSessionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
UserSession represents a UserSession definition.
func (UserSession) MarshalJSON ¶
func (us UserSession) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UserSession.
func (*UserSession) UnmarshalJSON ¶
func (us *UserSession) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UserSession struct.
type UserSessionList ¶
type UserSessionList struct { autorest.Response `json:"-"` // Value - List of UserSession definitions. Value *[]UserSession `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
UserSessionList list of UserSession definitions.
func (UserSessionList) IsEmpty ¶
func (usl UserSessionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (UserSessionList) MarshalJSON ¶
func (usl UserSessionList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UserSessionList.
type UserSessionListIterator ¶
type UserSessionListIterator struct {
// contains filtered or unexported fields
}
UserSessionListIterator provides access to a complete listing of UserSession values.
func NewUserSessionListIterator ¶
func NewUserSessionListIterator(page UserSessionListPage) UserSessionListIterator
Creates a new instance of the UserSessionListIterator type.
func (*UserSessionListIterator) Next ¶
func (iter *UserSessionListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*UserSessionListIterator) NextWithContext ¶
func (iter *UserSessionListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (UserSessionListIterator) NotDone ¶
func (iter UserSessionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (UserSessionListIterator) Response ¶
func (iter UserSessionListIterator) Response() UserSessionList
Response returns the raw server response from the last page request.
func (UserSessionListIterator) Value ¶
func (iter UserSessionListIterator) Value() UserSession
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type UserSessionListPage ¶
type UserSessionListPage struct {
// contains filtered or unexported fields
}
UserSessionListPage contains a page of UserSession values.
func NewUserSessionListPage ¶
func NewUserSessionListPage(cur UserSessionList, getNextPage func(context.Context, UserSessionList) (UserSessionList, error)) UserSessionListPage
Creates a new instance of the UserSessionListPage type.
func (*UserSessionListPage) Next ¶
func (page *UserSessionListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*UserSessionListPage) NextWithContext ¶
func (page *UserSessionListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (UserSessionListPage) NotDone ¶
func (page UserSessionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (UserSessionListPage) Response ¶
func (page UserSessionListPage) Response() UserSessionList
Response returns the raw server response from the last page request.
func (UserSessionListPage) Values ¶
func (page UserSessionListPage) Values() []UserSession
Values returns the slice of values for the current page or nil if there are no values.
type UserSessionProperties ¶
type UserSessionProperties struct { // 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 ¶
type UserSessionsClient struct {
BaseClient
}
UserSessionsClient is the client for the UserSessions methods of the Desktopvirtualization service.
func NewUserSessionsClient ¶
func NewUserSessionsClient(subscriptionID string) UserSessionsClient
NewUserSessionsClient creates an instance of the UserSessionsClient client.
func NewUserSessionsClientWithBaseURI ¶
func NewUserSessionsClientWithBaseURI(baseURI string, subscriptionID string) UserSessionsClient
NewUserSessionsClientWithBaseURI creates an instance of the UserSessionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (UserSessionsClient) Delete ¶
func (client UserSessionsClient) Delete(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, force *bool) (result autorest.Response, err error)
Delete remove a userSession. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host force - force flag to login off userSession.
func (UserSessionsClient) DeletePreparer ¶
func (client UserSessionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, force *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (UserSessionsClient) DeleteResponder ¶
func (client UserSessionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (UserSessionsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (UserSessionsClient) Disconnect ¶
func (client UserSessionsClient) Disconnect(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (result autorest.Response, err error)
Disconnect disconnect a userSession. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host
func (UserSessionsClient) DisconnectPreparer ¶
func (client UserSessionsClient) DisconnectPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (*http.Request, error)
DisconnectPreparer prepares the Disconnect request.
func (UserSessionsClient) DisconnectResponder ¶
func (client UserSessionsClient) DisconnectResponder(resp *http.Response) (result autorest.Response, err error)
DisconnectResponder handles the response to the Disconnect request. The method always closes the http.Response Body.
func (UserSessionsClient) DisconnectSender ¶
DisconnectSender sends the Disconnect request. The method will close the http.Response Body if it receives an error.
func (UserSessionsClient) Get ¶
func (client UserSessionsClient) Get(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (result UserSession, err error)
Get get a userSession. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host
func (UserSessionsClient) GetPreparer ¶
func (client UserSessionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (UserSessionsClient) GetResponder ¶
func (client UserSessionsClient) GetResponder(resp *http.Response) (result UserSession, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (UserSessionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (UserSessionsClient) List ¶
func (client UserSessionsClient) List(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (result UserSessionListPage, err error)
List list userSessions. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool
func (UserSessionsClient) ListByHostPool ¶
func (client UserSessionsClient) ListByHostPool(ctx context.Context, resourceGroupName string, hostPoolName string, filter string) (result UserSessionListPage, err error)
ListByHostPool list userSessions. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group filter - oData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
func (UserSessionsClient) ListByHostPoolComplete ¶
func (client UserSessionsClient) ListByHostPoolComplete(ctx context.Context, resourceGroupName string, hostPoolName string, filter string) (result UserSessionListIterator, err error)
ListByHostPoolComplete enumerates all values, automatically crossing page boundaries as required.
func (UserSessionsClient) ListByHostPoolPreparer ¶
func (client UserSessionsClient) ListByHostPoolPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, filter string) (*http.Request, error)
ListByHostPoolPreparer prepares the ListByHostPool request.
func (UserSessionsClient) ListByHostPoolResponder ¶
func (client UserSessionsClient) ListByHostPoolResponder(resp *http.Response) (result UserSessionList, err error)
ListByHostPoolResponder handles the response to the ListByHostPool request. The method always closes the http.Response Body.
func (UserSessionsClient) ListByHostPoolSender ¶
ListByHostPoolSender sends the ListByHostPool request. The method will close the http.Response Body if it receives an error.
func (UserSessionsClient) ListComplete ¶
func (client UserSessionsClient) ListComplete(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (result UserSessionListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (UserSessionsClient) ListPreparer ¶
func (client UserSessionsClient) ListPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string) (*http.Request, error)
ListPreparer prepares the List request.
func (UserSessionsClient) ListResponder ¶
func (client UserSessionsClient) ListResponder(resp *http.Response) (result UserSessionList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (UserSessionsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (UserSessionsClient) SendMessageMethod ¶
func (client UserSessionsClient) SendMessageMethod(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, sendMessage *SendMessage) (result autorest.Response, err error)
SendMessageMethod send a message to a user. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. hostPoolName - the name of the host pool within the specified resource group sessionHostName - the name of the session host within the specified host pool userSessionID - the name of the user session within the specified session host sendMessage - object containing message includes title and message body
func (UserSessionsClient) SendMessageMethodPreparer ¶
func (client UserSessionsClient) SendMessageMethodPreparer(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, sendMessage *SendMessage) (*http.Request, error)
SendMessageMethodPreparer prepares the SendMessageMethod request.
func (UserSessionsClient) SendMessageMethodResponder ¶
func (client UserSessionsClient) SendMessageMethodResponder(resp *http.Response) (result autorest.Response, err error)
SendMessageMethodResponder handles the response to the SendMessageMethod request. The method always closes the http.Response Body.
func (UserSessionsClient) SendMessageMethodSender ¶
SendMessageMethodSender sends the SendMessageMethod request. The method will close the http.Response Body if it receives an error.
type Workspace ¶
type Workspace struct { autorest.Response `json:"-"` // 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 ¶
MarshalJSON is the custom marshaler for Workspace.
func (*Workspace) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Workspace struct.
type WorkspaceList ¶
type WorkspaceList struct { autorest.Response `json:"-"` // Value - List of Workspace definitions. Value *[]Workspace `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
WorkspaceList list of Workspace definitions.
func (WorkspaceList) IsEmpty ¶
func (wl WorkspaceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (WorkspaceList) MarshalJSON ¶
func (wl WorkspaceList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceList.
type WorkspaceListIterator ¶
type WorkspaceListIterator struct {
// contains filtered or unexported fields
}
WorkspaceListIterator provides access to a complete listing of Workspace values.
func NewWorkspaceListIterator ¶
func NewWorkspaceListIterator(page WorkspaceListPage) WorkspaceListIterator
Creates a new instance of the WorkspaceListIterator type.
func (*WorkspaceListIterator) Next ¶
func (iter *WorkspaceListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkspaceListIterator) NextWithContext ¶
func (iter *WorkspaceListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (WorkspaceListIterator) NotDone ¶
func (iter WorkspaceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WorkspaceListIterator) Response ¶
func (iter WorkspaceListIterator) Response() WorkspaceList
Response returns the raw server response from the last page request.
func (WorkspaceListIterator) Value ¶
func (iter WorkspaceListIterator) Value() Workspace
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WorkspaceListPage ¶
type WorkspaceListPage struct {
// contains filtered or unexported fields
}
WorkspaceListPage contains a page of Workspace values.
func NewWorkspaceListPage ¶
func NewWorkspaceListPage(cur WorkspaceList, getNextPage func(context.Context, WorkspaceList) (WorkspaceList, error)) WorkspaceListPage
Creates a new instance of the WorkspaceListPage type.
func (*WorkspaceListPage) Next ¶
func (page *WorkspaceListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkspaceListPage) NextWithContext ¶
func (page *WorkspaceListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (WorkspaceListPage) NotDone ¶
func (page WorkspaceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WorkspaceListPage) Response ¶
func (page WorkspaceListPage) Response() WorkspaceList
Response returns the raw server response from the last page request.
func (WorkspaceListPage) Values ¶
func (page WorkspaceListPage) Values() []Workspace
Values returns the slice of values for the current page or nil if there are no values.
type WorkspacePatch ¶
type WorkspacePatch struct { // Tags - tags to be updated Tags map[string]*string `json:"tags"` // WorkspacePatchProperties - Detailed properties for Workspace *WorkspacePatchProperties `json:"properties,omitempty"` }
WorkspacePatch workspace properties that can be patched.
func (WorkspacePatch) MarshalJSON ¶
func (wp WorkspacePatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspacePatch.
func (*WorkspacePatch) UnmarshalJSON ¶
func (wp *WorkspacePatch) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WorkspacePatch struct.
type WorkspacePatchProperties ¶
type WorkspacePatchProperties struct { // Description - Description of Workspace. Description *string `json:"description,omitempty"` // FriendlyName - Friendly name of Workspace. FriendlyName *string `json:"friendlyName,omitempty"` // ApplicationGroupReferences - List of applicationGroup links. ApplicationGroupReferences *[]string `json:"applicationGroupReferences,omitempty"` }
WorkspacePatchProperties workspace properties that can be patched.
type WorkspaceProperties ¶
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 ¶
type WorkspacesClient struct {
BaseClient
}
WorkspacesClient is the client for the Workspaces methods of the Desktopvirtualization service.
func NewWorkspacesClient ¶
func NewWorkspacesClient(subscriptionID string) WorkspacesClient
NewWorkspacesClient creates an instance of the WorkspacesClient client.
func NewWorkspacesClientWithBaseURI ¶
func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient
NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (WorkspacesClient) CreateOrUpdate ¶
func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, workspace Workspace) (result Workspace, err error)
CreateOrUpdate create or update a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace workspace - object containing Workspace definitions.
func (WorkspacesClient) CreateOrUpdatePreparer ¶
func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspace Workspace) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (WorkspacesClient) CreateOrUpdateResponder ¶
func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (WorkspacesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Delete ¶
func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error)
Delete remove a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace
func (WorkspacesClient) DeletePreparer ¶
func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (WorkspacesClient) DeleteResponder ¶
func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (WorkspacesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Get ¶
func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)
Get get a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace
func (WorkspacesClient) GetPreparer ¶
func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WorkspacesClient) GetResponder ¶
func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WorkspacesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) ListByResourceGroup ¶
func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListPage, err error)
ListByResourceGroup list workspaces. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (WorkspacesClient) ListByResourceGroupComplete ¶
func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WorkspaceListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (WorkspacesClient) ListByResourceGroupPreparer ¶
func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (WorkspacesClient) ListByResourceGroupResponder ¶
func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (WorkspacesClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) ListBySubscription ¶
func (client WorkspacesClient) ListBySubscription(ctx context.Context) (result WorkspaceListPage, err error)
ListBySubscription list workspaces in subscription.
func (WorkspacesClient) ListBySubscriptionComplete ¶
func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context) (result WorkspaceListIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (WorkspacesClient) ListBySubscriptionPreparer ¶
func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (WorkspacesClient) ListBySubscriptionResponder ¶
func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (WorkspacesClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Update ¶
func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, workspace *WorkspacePatch) (result Workspace, err error)
Update update a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace workspace - object containing Workspace definitions.
func (WorkspacesClient) UpdatePreparer ¶
func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspace *WorkspacePatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (WorkspacesClient) UpdateResponder ¶
func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (WorkspacesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.