fake

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationGroupsServer

type ApplicationGroupsServer struct {
	// CreateOrUpdate is the fake for method ApplicationGroupsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationGroup armdesktopvirtualization.ApplicationGroup, options *armdesktopvirtualization.ApplicationGroupsClientCreateOrUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationGroupsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ApplicationGroupsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, applicationGroupName string, options *armdesktopvirtualization.ApplicationGroupsClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationGroupsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ApplicationGroupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, applicationGroupName string, options *armdesktopvirtualization.ApplicationGroupsClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationGroupsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method ApplicationGroupsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armdesktopvirtualization.ApplicationGroupsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ApplicationGroupsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method ApplicationGroupsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armdesktopvirtualization.ApplicationGroupsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ApplicationGroupsClientListBySubscriptionResponse])

	// Update is the fake for method ApplicationGroupsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, applicationGroupName string, options *armdesktopvirtualization.ApplicationGroupsClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationGroupsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ApplicationGroupsServer is a fake server for instances of the armdesktopvirtualization.ApplicationGroupsClient type.

type ApplicationGroupsServerTransport

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

ApplicationGroupsServerTransport connects instances of armdesktopvirtualization.ApplicationGroupsClient to instances of ApplicationGroupsServer. Don't use this type directly, use NewApplicationGroupsServerTransport instead.

func NewApplicationGroupsServerTransport

func NewApplicationGroupsServerTransport(srv *ApplicationGroupsServer) *ApplicationGroupsServerTransport

NewApplicationGroupsServerTransport creates a new instance of ApplicationGroupsServerTransport with the provided implementation. The returned ApplicationGroupsServerTransport instance is connected to an instance of armdesktopvirtualization.ApplicationGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ApplicationGroupsServerTransport) Do

Do implements the policy.Transporter interface for ApplicationGroupsServerTransport.

type ApplicationsServer

type ApplicationsServer struct {
	// CreateOrUpdate is the fake for method ApplicationsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, application armdesktopvirtualization.Application, options *armdesktopvirtualization.ApplicationsClientCreateOrUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ApplicationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, options *armdesktopvirtualization.ApplicationsClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ApplicationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, options *armdesktopvirtualization.ApplicationsClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ApplicationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, applicationGroupName string, options *armdesktopvirtualization.ApplicationsClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ApplicationsClientListResponse])

	// Update is the fake for method ApplicationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, applicationGroupName string, applicationName string, options *armdesktopvirtualization.ApplicationsClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.ApplicationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ApplicationsServer is a fake server for instances of the armdesktopvirtualization.ApplicationsClient type.

type ApplicationsServerTransport

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

ApplicationsServerTransport connects instances of armdesktopvirtualization.ApplicationsClient to instances of ApplicationsServer. Don't use this type directly, use NewApplicationsServerTransport instead.

func NewApplicationsServerTransport

func NewApplicationsServerTransport(srv *ApplicationsServer) *ApplicationsServerTransport

NewApplicationsServerTransport creates a new instance of ApplicationsServerTransport with the provided implementation. The returned ApplicationsServerTransport instance is connected to an instance of armdesktopvirtualization.ApplicationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ApplicationsServerTransport) Do

Do implements the policy.Transporter interface for ApplicationsServerTransport.

type DesktopsServer

type DesktopsServer struct {
	// Get is the fake for method DesktopsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string, options *armdesktopvirtualization.DesktopsClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.DesktopsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method DesktopsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, applicationGroupName string, options *armdesktopvirtualization.DesktopsClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.DesktopsClientListResponse])

	// Update is the fake for method DesktopsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, applicationGroupName string, desktopName string, options *armdesktopvirtualization.DesktopsClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.DesktopsClientUpdateResponse], errResp azfake.ErrorResponder)
}

DesktopsServer is a fake server for instances of the armdesktopvirtualization.DesktopsClient type.

type DesktopsServerTransport

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

DesktopsServerTransport connects instances of armdesktopvirtualization.DesktopsClient to instances of DesktopsServer. Don't use this type directly, use NewDesktopsServerTransport instead.

func NewDesktopsServerTransport

func NewDesktopsServerTransport(srv *DesktopsServer) *DesktopsServerTransport

NewDesktopsServerTransport creates a new instance of DesktopsServerTransport with the provided implementation. The returned DesktopsServerTransport instance is connected to an instance of armdesktopvirtualization.DesktopsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DesktopsServerTransport) Do

Do implements the policy.Transporter interface for DesktopsServerTransport.

type HostPoolsServer

type HostPoolsServer struct {
	// CreateOrUpdate is the fake for method HostPoolsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, hostPoolName string, hostPool armdesktopvirtualization.HostPool, options *armdesktopvirtualization.HostPoolsClientCreateOrUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.HostPoolsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method HostPoolsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.HostPoolsClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.HostPoolsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method HostPoolsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.HostPoolsClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.HostPoolsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method HostPoolsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armdesktopvirtualization.HostPoolsClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.HostPoolsClientListResponse])

	// NewListByResourceGroupPager is the fake for method HostPoolsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armdesktopvirtualization.HostPoolsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdesktopvirtualization.HostPoolsClientListByResourceGroupResponse])

	// RetrieveRegistrationToken is the fake for method HostPoolsClient.RetrieveRegistrationToken
	// HTTP status codes to indicate success: http.StatusOK
	RetrieveRegistrationToken func(ctx context.Context, resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.HostPoolsClientRetrieveRegistrationTokenOptions) (resp azfake.Responder[armdesktopvirtualization.HostPoolsClientRetrieveRegistrationTokenResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method HostPoolsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.HostPoolsClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.HostPoolsClientUpdateResponse], errResp azfake.ErrorResponder)
}

HostPoolsServer is a fake server for instances of the armdesktopvirtualization.HostPoolsClient type.

type HostPoolsServerTransport

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

HostPoolsServerTransport connects instances of armdesktopvirtualization.HostPoolsClient to instances of HostPoolsServer. Don't use this type directly, use NewHostPoolsServerTransport instead.

func NewHostPoolsServerTransport

func NewHostPoolsServerTransport(srv *HostPoolsServer) *HostPoolsServerTransport

NewHostPoolsServerTransport creates a new instance of HostPoolsServerTransport with the provided implementation. The returned HostPoolsServerTransport instance is connected to an instance of armdesktopvirtualization.HostPoolsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*HostPoolsServerTransport) Do

Do implements the policy.Transporter interface for HostPoolsServerTransport.

type MSIXPackagesServer

type MSIXPackagesServer struct {
	// CreateOrUpdate is the fake for method MSIXPackagesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, msixPackage armdesktopvirtualization.MSIXPackage, options *armdesktopvirtualization.MSIXPackagesClientCreateOrUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.MSIXPackagesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method MSIXPackagesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, options *armdesktopvirtualization.MSIXPackagesClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.MSIXPackagesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method MSIXPackagesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, options *armdesktopvirtualization.MSIXPackagesClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.MSIXPackagesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method MSIXPackagesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.MSIXPackagesClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.MSIXPackagesClientListResponse])

	// Update is the fake for method MSIXPackagesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, hostPoolName string, msixPackageFullName string, options *armdesktopvirtualization.MSIXPackagesClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.MSIXPackagesClientUpdateResponse], errResp azfake.ErrorResponder)
}

MSIXPackagesServer is a fake server for instances of the armdesktopvirtualization.MSIXPackagesClient type.

type MSIXPackagesServerTransport

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

MSIXPackagesServerTransport connects instances of armdesktopvirtualization.MSIXPackagesClient to instances of MSIXPackagesServer. Don't use this type directly, use NewMSIXPackagesServerTransport instead.

func NewMSIXPackagesServerTransport

func NewMSIXPackagesServerTransport(srv *MSIXPackagesServer) *MSIXPackagesServerTransport

NewMSIXPackagesServerTransport creates a new instance of MSIXPackagesServerTransport with the provided implementation. The returned MSIXPackagesServerTransport instance is connected to an instance of armdesktopvirtualization.MSIXPackagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MSIXPackagesServerTransport) Do

Do implements the policy.Transporter interface for MSIXPackagesServerTransport.

type MsixImagesServer

type MsixImagesServer struct {
	// NewExpandPager is the fake for method MsixImagesClient.NewExpandPager
	// HTTP status codes to indicate success: http.StatusOK
	NewExpandPager func(resourceGroupName string, hostPoolName string, msixImageURI armdesktopvirtualization.MSIXImageURI, options *armdesktopvirtualization.MsixImagesClientExpandOptions) (resp azfake.PagerResponder[armdesktopvirtualization.MsixImagesClientExpandResponse])
}

MsixImagesServer is a fake server for instances of the armdesktopvirtualization.MsixImagesClient type.

type MsixImagesServerTransport

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

MsixImagesServerTransport connects instances of armdesktopvirtualization.MsixImagesClient to instances of MsixImagesServer. Don't use this type directly, use NewMsixImagesServerTransport instead.

func NewMsixImagesServerTransport

func NewMsixImagesServerTransport(srv *MsixImagesServer) *MsixImagesServerTransport

NewMsixImagesServerTransport creates a new instance of MsixImagesServerTransport with the provided implementation. The returned MsixImagesServerTransport instance is connected to an instance of armdesktopvirtualization.MsixImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MsixImagesServerTransport) Do

Do implements the policy.Transporter interface for MsixImagesServerTransport.

type OperationsServer

type OperationsServer struct {
	// NewListPager is the fake for method OperationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armdesktopvirtualization.OperationsClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.OperationsClientListResponse])
}

OperationsServer is a fake server for instances of the armdesktopvirtualization.OperationsClient type.

type OperationsServerTransport

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

OperationsServerTransport connects instances of armdesktopvirtualization.OperationsClient to instances of OperationsServer. Don't use this type directly, use NewOperationsServerTransport instead.

func NewOperationsServerTransport

func NewOperationsServerTransport(srv *OperationsServer) *OperationsServerTransport

NewOperationsServerTransport creates a new instance of OperationsServerTransport with the provided implementation. The returned OperationsServerTransport instance is connected to an instance of armdesktopvirtualization.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationsServerTransport) Do

Do implements the policy.Transporter interface for OperationsServerTransport.

type PrivateEndpointConnectionsServer

type PrivateEndpointConnectionsServer struct {
	// DeleteByHostPool is the fake for method PrivateEndpointConnectionsClient.DeleteByHostPool
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	DeleteByHostPool func(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string, options *armdesktopvirtualization.PrivateEndpointConnectionsClientDeleteByHostPoolOptions) (resp azfake.Responder[armdesktopvirtualization.PrivateEndpointConnectionsClientDeleteByHostPoolResponse], errResp azfake.ErrorResponder)

	// DeleteByWorkspace is the fake for method PrivateEndpointConnectionsClient.DeleteByWorkspace
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	DeleteByWorkspace func(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, options *armdesktopvirtualization.PrivateEndpointConnectionsClientDeleteByWorkspaceOptions) (resp azfake.Responder[armdesktopvirtualization.PrivateEndpointConnectionsClientDeleteByWorkspaceResponse], errResp azfake.ErrorResponder)

	// GetByHostPool is the fake for method PrivateEndpointConnectionsClient.GetByHostPool
	// HTTP status codes to indicate success: http.StatusOK
	GetByHostPool func(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string, options *armdesktopvirtualization.PrivateEndpointConnectionsClientGetByHostPoolOptions) (resp azfake.Responder[armdesktopvirtualization.PrivateEndpointConnectionsClientGetByHostPoolResponse], errResp azfake.ErrorResponder)

	// GetByWorkspace is the fake for method PrivateEndpointConnectionsClient.GetByWorkspace
	// HTTP status codes to indicate success: http.StatusOK
	GetByWorkspace func(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, options *armdesktopvirtualization.PrivateEndpointConnectionsClientGetByWorkspaceOptions) (resp azfake.Responder[armdesktopvirtualization.PrivateEndpointConnectionsClientGetByWorkspaceResponse], errResp azfake.ErrorResponder)

	// NewListByHostPoolPager is the fake for method PrivateEndpointConnectionsClient.NewListByHostPoolPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHostPoolPager func(resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.PrivateEndpointConnectionsClientListByHostPoolOptions) (resp azfake.PagerResponder[armdesktopvirtualization.PrivateEndpointConnectionsClientListByHostPoolResponse])

	// NewListByWorkspacePager is the fake for method PrivateEndpointConnectionsClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armdesktopvirtualization.PrivateEndpointConnectionsClientListByWorkspaceOptions) (resp azfake.PagerResponder[armdesktopvirtualization.PrivateEndpointConnectionsClientListByWorkspaceResponse])

	// UpdateByHostPool is the fake for method PrivateEndpointConnectionsClient.UpdateByHostPool
	// HTTP status codes to indicate success: http.StatusOK
	UpdateByHostPool func(ctx context.Context, resourceGroupName string, hostPoolName string, privateEndpointConnectionName string, connection armdesktopvirtualization.PrivateEndpointConnection, options *armdesktopvirtualization.PrivateEndpointConnectionsClientUpdateByHostPoolOptions) (resp azfake.Responder[armdesktopvirtualization.PrivateEndpointConnectionsClientUpdateByHostPoolResponse], errResp azfake.ErrorResponder)

	// UpdateByWorkspace is the fake for method PrivateEndpointConnectionsClient.UpdateByWorkspace
	// HTTP status codes to indicate success: http.StatusOK
	UpdateByWorkspace func(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, connection armdesktopvirtualization.PrivateEndpointConnection, options *armdesktopvirtualization.PrivateEndpointConnectionsClientUpdateByWorkspaceOptions) (resp azfake.Responder[armdesktopvirtualization.PrivateEndpointConnectionsClientUpdateByWorkspaceResponse], errResp azfake.ErrorResponder)
}

PrivateEndpointConnectionsServer is a fake server for instances of the armdesktopvirtualization.PrivateEndpointConnectionsClient type.

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armdesktopvirtualization.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.

func NewPrivateEndpointConnectionsServerTransport

func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport

NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armdesktopvirtualization.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateEndpointConnectionsServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionsServerTransport.

type PrivateLinkResourcesServer

type PrivateLinkResourcesServer struct {
	// NewListByHostPoolPager is the fake for method PrivateLinkResourcesClient.NewListByHostPoolPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHostPoolPager func(resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.PrivateLinkResourcesClientListByHostPoolOptions) (resp azfake.PagerResponder[armdesktopvirtualization.PrivateLinkResourcesClientListByHostPoolResponse])

	// NewListByWorkspacePager is the fake for method PrivateLinkResourcesClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armdesktopvirtualization.PrivateLinkResourcesClientListByWorkspaceOptions) (resp azfake.PagerResponder[armdesktopvirtualization.PrivateLinkResourcesClientListByWorkspaceResponse])
}

PrivateLinkResourcesServer is a fake server for instances of the armdesktopvirtualization.PrivateLinkResourcesClient type.

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armdesktopvirtualization.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.

func NewPrivateLinkResourcesServerTransport

func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport

NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armdesktopvirtualization.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinkResourcesServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkResourcesServerTransport.

type ScalingPlanPersonalSchedulesServer

type ScalingPlanPersonalSchedulesServer struct {
	// Create is the fake for method ScalingPlanPersonalSchedulesClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, scalingPlanSchedule armdesktopvirtualization.ScalingPlanPersonalSchedule, options *armdesktopvirtualization.ScalingPlanPersonalSchedulesClientCreateOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPersonalSchedulesClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ScalingPlanPersonalSchedulesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, options *armdesktopvirtualization.ScalingPlanPersonalSchedulesClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPersonalSchedulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ScalingPlanPersonalSchedulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, options *armdesktopvirtualization.ScalingPlanPersonalSchedulesClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPersonalSchedulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ScalingPlanPersonalSchedulesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, scalingPlanName string, options *armdesktopvirtualization.ScalingPlanPersonalSchedulesClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ScalingPlanPersonalSchedulesClientListResponse])

	// Update is the fake for method ScalingPlanPersonalSchedulesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, options *armdesktopvirtualization.ScalingPlanPersonalSchedulesClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPersonalSchedulesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ScalingPlanPersonalSchedulesServer is a fake server for instances of the armdesktopvirtualization.ScalingPlanPersonalSchedulesClient type.

type ScalingPlanPersonalSchedulesServerTransport

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

ScalingPlanPersonalSchedulesServerTransport connects instances of armdesktopvirtualization.ScalingPlanPersonalSchedulesClient to instances of ScalingPlanPersonalSchedulesServer. Don't use this type directly, use NewScalingPlanPersonalSchedulesServerTransport instead.

func NewScalingPlanPersonalSchedulesServerTransport

func NewScalingPlanPersonalSchedulesServerTransport(srv *ScalingPlanPersonalSchedulesServer) *ScalingPlanPersonalSchedulesServerTransport

NewScalingPlanPersonalSchedulesServerTransport creates a new instance of ScalingPlanPersonalSchedulesServerTransport with the provided implementation. The returned ScalingPlanPersonalSchedulesServerTransport instance is connected to an instance of armdesktopvirtualization.ScalingPlanPersonalSchedulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ScalingPlanPersonalSchedulesServerTransport) Do

Do implements the policy.Transporter interface for ScalingPlanPersonalSchedulesServerTransport.

type ScalingPlanPooledSchedulesServer

type ScalingPlanPooledSchedulesServer struct {
	// Create is the fake for method ScalingPlanPooledSchedulesClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, scalingPlanSchedule armdesktopvirtualization.ScalingPlanPooledSchedule, options *armdesktopvirtualization.ScalingPlanPooledSchedulesClientCreateOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPooledSchedulesClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ScalingPlanPooledSchedulesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, options *armdesktopvirtualization.ScalingPlanPooledSchedulesClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPooledSchedulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ScalingPlanPooledSchedulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, options *armdesktopvirtualization.ScalingPlanPooledSchedulesClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPooledSchedulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ScalingPlanPooledSchedulesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, scalingPlanName string, options *armdesktopvirtualization.ScalingPlanPooledSchedulesClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ScalingPlanPooledSchedulesClientListResponse])

	// Update is the fake for method ScalingPlanPooledSchedulesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlanScheduleName string, options *armdesktopvirtualization.ScalingPlanPooledSchedulesClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlanPooledSchedulesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ScalingPlanPooledSchedulesServer is a fake server for instances of the armdesktopvirtualization.ScalingPlanPooledSchedulesClient type.

type ScalingPlanPooledSchedulesServerTransport

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

ScalingPlanPooledSchedulesServerTransport connects instances of armdesktopvirtualization.ScalingPlanPooledSchedulesClient to instances of ScalingPlanPooledSchedulesServer. Don't use this type directly, use NewScalingPlanPooledSchedulesServerTransport instead.

func NewScalingPlanPooledSchedulesServerTransport

func NewScalingPlanPooledSchedulesServerTransport(srv *ScalingPlanPooledSchedulesServer) *ScalingPlanPooledSchedulesServerTransport

NewScalingPlanPooledSchedulesServerTransport creates a new instance of ScalingPlanPooledSchedulesServerTransport with the provided implementation. The returned ScalingPlanPooledSchedulesServerTransport instance is connected to an instance of armdesktopvirtualization.ScalingPlanPooledSchedulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ScalingPlanPooledSchedulesServerTransport) Do

Do implements the policy.Transporter interface for ScalingPlanPooledSchedulesServerTransport.

type ScalingPlansServer

type ScalingPlansServer struct {
	// Create is the fake for method ScalingPlansClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, scalingPlanName string, scalingPlan armdesktopvirtualization.ScalingPlan, options *armdesktopvirtualization.ScalingPlansClientCreateOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlansClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ScalingPlansClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, scalingPlanName string, options *armdesktopvirtualization.ScalingPlansClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlansClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ScalingPlansClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, scalingPlanName string, options *armdesktopvirtualization.ScalingPlansClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlansClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHostPoolPager is the fake for method ScalingPlansClient.NewListByHostPoolPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHostPoolPager func(resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.ScalingPlansClientListByHostPoolOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ScalingPlansClientListByHostPoolResponse])

	// NewListByResourceGroupPager is the fake for method ScalingPlansClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armdesktopvirtualization.ScalingPlansClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ScalingPlansClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method ScalingPlansClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armdesktopvirtualization.ScalingPlansClientListBySubscriptionOptions) (resp azfake.PagerResponder[armdesktopvirtualization.ScalingPlansClientListBySubscriptionResponse])

	// Update is the fake for method ScalingPlansClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, scalingPlanName string, options *armdesktopvirtualization.ScalingPlansClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.ScalingPlansClientUpdateResponse], errResp azfake.ErrorResponder)
}

ScalingPlansServer is a fake server for instances of the armdesktopvirtualization.ScalingPlansClient type.

type ScalingPlansServerTransport

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

ScalingPlansServerTransport connects instances of armdesktopvirtualization.ScalingPlansClient to instances of ScalingPlansServer. Don't use this type directly, use NewScalingPlansServerTransport instead.

func NewScalingPlansServerTransport

func NewScalingPlansServerTransport(srv *ScalingPlansServer) *ScalingPlansServerTransport

NewScalingPlansServerTransport creates a new instance of ScalingPlansServerTransport with the provided implementation. The returned ScalingPlansServerTransport instance is connected to an instance of armdesktopvirtualization.ScalingPlansClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ScalingPlansServerTransport) Do

Do implements the policy.Transporter interface for ScalingPlansServerTransport.

type ServerFactory

type ServerFactory struct {
	ApplicationGroupsServer            ApplicationGroupsServer
	ApplicationsServer                 ApplicationsServer
	DesktopsServer                     DesktopsServer
	HostPoolsServer                    HostPoolsServer
	MSIXPackagesServer                 MSIXPackagesServer
	MsixImagesServer                   MsixImagesServer
	OperationsServer                   OperationsServer
	PrivateEndpointConnectionsServer   PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer         PrivateLinkResourcesServer
	ScalingPlanPersonalSchedulesServer ScalingPlanPersonalSchedulesServer
	ScalingPlanPooledSchedulesServer   ScalingPlanPooledSchedulesServer
	ScalingPlansServer                 ScalingPlansServer
	SessionHostsServer                 SessionHostsServer
	StartMenuItemsServer               StartMenuItemsServer
	UserSessionsServer                 UserSessionsServer
	WorkspacesServer                   WorkspacesServer
}

ServerFactory is a fake server for instances of the armdesktopvirtualization.ClientFactory type.

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armdesktopvirtualization.ClientFactory to instances of ServerFactory. Don't use this type directly, use NewServerFactoryTransport instead.

func NewServerFactoryTransport

func NewServerFactoryTransport(srv *ServerFactory) *ServerFactoryTransport

NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport instance is connected to an instance of armdesktopvirtualization.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

type SessionHostsServer

type SessionHostsServer struct {
	// Delete is the fake for method SessionHostsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, options *armdesktopvirtualization.SessionHostsClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.SessionHostsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SessionHostsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, options *armdesktopvirtualization.SessionHostsClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.SessionHostsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method SessionHostsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.SessionHostsClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.SessionHostsClientListResponse])

	// Update is the fake for method SessionHostsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, options *armdesktopvirtualization.SessionHostsClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.SessionHostsClientUpdateResponse], errResp azfake.ErrorResponder)
}

SessionHostsServer is a fake server for instances of the armdesktopvirtualization.SessionHostsClient type.

type SessionHostsServerTransport

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

SessionHostsServerTransport connects instances of armdesktopvirtualization.SessionHostsClient to instances of SessionHostsServer. Don't use this type directly, use NewSessionHostsServerTransport instead.

func NewSessionHostsServerTransport

func NewSessionHostsServerTransport(srv *SessionHostsServer) *SessionHostsServerTransport

NewSessionHostsServerTransport creates a new instance of SessionHostsServerTransport with the provided implementation. The returned SessionHostsServerTransport instance is connected to an instance of armdesktopvirtualization.SessionHostsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SessionHostsServerTransport) Do

Do implements the policy.Transporter interface for SessionHostsServerTransport.

type StartMenuItemsServer

type StartMenuItemsServer struct {
	// NewListPager is the fake for method StartMenuItemsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, applicationGroupName string, options *armdesktopvirtualization.StartMenuItemsClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.StartMenuItemsClientListResponse])
}

StartMenuItemsServer is a fake server for instances of the armdesktopvirtualization.StartMenuItemsClient type.

type StartMenuItemsServerTransport

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

StartMenuItemsServerTransport connects instances of armdesktopvirtualization.StartMenuItemsClient to instances of StartMenuItemsServer. Don't use this type directly, use NewStartMenuItemsServerTransport instead.

func NewStartMenuItemsServerTransport

func NewStartMenuItemsServerTransport(srv *StartMenuItemsServer) *StartMenuItemsServerTransport

NewStartMenuItemsServerTransport creates a new instance of StartMenuItemsServerTransport with the provided implementation. The returned StartMenuItemsServerTransport instance is connected to an instance of armdesktopvirtualization.StartMenuItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*StartMenuItemsServerTransport) Do

Do implements the policy.Transporter interface for StartMenuItemsServerTransport.

type UserSessionsServer

type UserSessionsServer struct {
	// Delete is the fake for method UserSessionsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, options *armdesktopvirtualization.UserSessionsClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.UserSessionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Disconnect is the fake for method UserSessionsClient.Disconnect
	// HTTP status codes to indicate success: http.StatusOK
	Disconnect func(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, options *armdesktopvirtualization.UserSessionsClientDisconnectOptions) (resp azfake.Responder[armdesktopvirtualization.UserSessionsClientDisconnectResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method UserSessionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, options *armdesktopvirtualization.UserSessionsClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.UserSessionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method UserSessionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, hostPoolName string, sessionHostName string, options *armdesktopvirtualization.UserSessionsClientListOptions) (resp azfake.PagerResponder[armdesktopvirtualization.UserSessionsClientListResponse])

	// NewListByHostPoolPager is the fake for method UserSessionsClient.NewListByHostPoolPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHostPoolPager func(resourceGroupName string, hostPoolName string, options *armdesktopvirtualization.UserSessionsClientListByHostPoolOptions) (resp azfake.PagerResponder[armdesktopvirtualization.UserSessionsClientListByHostPoolResponse])

	// SendMessage is the fake for method UserSessionsClient.SendMessage
	// HTTP status codes to indicate success: http.StatusOK
	SendMessage func(ctx context.Context, resourceGroupName string, hostPoolName string, sessionHostName string, userSessionID string, options *armdesktopvirtualization.UserSessionsClientSendMessageOptions) (resp azfake.Responder[armdesktopvirtualization.UserSessionsClientSendMessageResponse], errResp azfake.ErrorResponder)
}

UserSessionsServer is a fake server for instances of the armdesktopvirtualization.UserSessionsClient type.

type UserSessionsServerTransport

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

UserSessionsServerTransport connects instances of armdesktopvirtualization.UserSessionsClient to instances of UserSessionsServer. Don't use this type directly, use NewUserSessionsServerTransport instead.

func NewUserSessionsServerTransport

func NewUserSessionsServerTransport(srv *UserSessionsServer) *UserSessionsServerTransport

NewUserSessionsServerTransport creates a new instance of UserSessionsServerTransport with the provided implementation. The returned UserSessionsServerTransport instance is connected to an instance of armdesktopvirtualization.UserSessionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*UserSessionsServerTransport) Do

Do implements the policy.Transporter interface for UserSessionsServerTransport.

type WorkspacesServer

type WorkspacesServer struct {
	// CreateOrUpdate is the fake for method WorkspacesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, workspace armdesktopvirtualization.Workspace, options *armdesktopvirtualization.WorkspacesClientCreateOrUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.WorkspacesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method WorkspacesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, options *armdesktopvirtualization.WorkspacesClientDeleteOptions) (resp azfake.Responder[armdesktopvirtualization.WorkspacesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method WorkspacesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, options *armdesktopvirtualization.WorkspacesClientGetOptions) (resp azfake.Responder[armdesktopvirtualization.WorkspacesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method WorkspacesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armdesktopvirtualization.WorkspacesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdesktopvirtualization.WorkspacesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method WorkspacesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armdesktopvirtualization.WorkspacesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armdesktopvirtualization.WorkspacesClientListBySubscriptionResponse])

	// Update is the fake for method WorkspacesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, workspaceName string, options *armdesktopvirtualization.WorkspacesClientUpdateOptions) (resp azfake.Responder[armdesktopvirtualization.WorkspacesClientUpdateResponse], errResp azfake.ErrorResponder)
}

WorkspacesServer is a fake server for instances of the armdesktopvirtualization.WorkspacesClient type.

type WorkspacesServerTransport

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

WorkspacesServerTransport connects instances of armdesktopvirtualization.WorkspacesClient to instances of WorkspacesServer. Don't use this type directly, use NewWorkspacesServerTransport instead.

func NewWorkspacesServerTransport

func NewWorkspacesServerTransport(srv *WorkspacesServer) *WorkspacesServerTransport

NewWorkspacesServerTransport creates a new instance of WorkspacesServerTransport with the provided implementation. The returned WorkspacesServerTransport instance is connected to an instance of armdesktopvirtualization.WorkspacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkspacesServerTransport) Do

Do implements the policy.Transporter interface for WorkspacesServerTransport.

Jump to

Keyboard shortcuts

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