fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 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 CustomizationPoliciesServer

type CustomizationPoliciesServer struct {
	// Get is the fake for method CustomizationPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, regionID string, pcName string, customizationPolicyName string, options *armvmwarecloudsimple.CustomizationPoliciesClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.CustomizationPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method CustomizationPoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(regionID string, pcName string, options *armvmwarecloudsimple.CustomizationPoliciesClientListOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.CustomizationPoliciesClientListResponse])
}

CustomizationPoliciesServer is a fake server for instances of the armvmwarecloudsimple.CustomizationPoliciesClient type.

type CustomizationPoliciesServerTransport

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

CustomizationPoliciesServerTransport connects instances of armvmwarecloudsimple.CustomizationPoliciesClient to instances of CustomizationPoliciesServer. Don't use this type directly, use NewCustomizationPoliciesServerTransport instead.

func NewCustomizationPoliciesServerTransport

func NewCustomizationPoliciesServerTransport(srv *CustomizationPoliciesServer) *CustomizationPoliciesServerTransport

NewCustomizationPoliciesServerTransport creates a new instance of CustomizationPoliciesServerTransport with the provided implementation. The returned CustomizationPoliciesServerTransport instance is connected to an instance of armvmwarecloudsimple.CustomizationPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CustomizationPoliciesServerTransport) Do

Do implements the policy.Transporter interface for CustomizationPoliciesServerTransport.

type DedicatedCloudNodesServer

type DedicatedCloudNodesServer struct {
	// BeginCreateOrUpdate is the fake for method DedicatedCloudNodesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, referer string, dedicatedCloudNodeName string, dedicatedCloudNodeRequest armvmwarecloudsimple.DedicatedCloudNode, options *armvmwarecloudsimple.DedicatedCloudNodesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armvmwarecloudsimple.DedicatedCloudNodesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method DedicatedCloudNodesClient.Delete
	// HTTP status codes to indicate success: http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string, options *armvmwarecloudsimple.DedicatedCloudNodesClientDeleteOptions) (resp azfake.Responder[armvmwarecloudsimple.DedicatedCloudNodesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DedicatedCloudNodesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string, options *armvmwarecloudsimple.DedicatedCloudNodesClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.DedicatedCloudNodesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method DedicatedCloudNodesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armvmwarecloudsimple.DedicatedCloudNodesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.DedicatedCloudNodesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method DedicatedCloudNodesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armvmwarecloudsimple.DedicatedCloudNodesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.DedicatedCloudNodesClientListBySubscriptionResponse])

	// Update is the fake for method DedicatedCloudNodesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string, dedicatedCloudNodeRequest armvmwarecloudsimple.PatchPayload, options *armvmwarecloudsimple.DedicatedCloudNodesClientUpdateOptions) (resp azfake.Responder[armvmwarecloudsimple.DedicatedCloudNodesClientUpdateResponse], errResp azfake.ErrorResponder)
}

DedicatedCloudNodesServer is a fake server for instances of the armvmwarecloudsimple.DedicatedCloudNodesClient type.

type DedicatedCloudNodesServerTransport

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

DedicatedCloudNodesServerTransport connects instances of armvmwarecloudsimple.DedicatedCloudNodesClient to instances of DedicatedCloudNodesServer. Don't use this type directly, use NewDedicatedCloudNodesServerTransport instead.

func NewDedicatedCloudNodesServerTransport

func NewDedicatedCloudNodesServerTransport(srv *DedicatedCloudNodesServer) *DedicatedCloudNodesServerTransport

NewDedicatedCloudNodesServerTransport creates a new instance of DedicatedCloudNodesServerTransport with the provided implementation. The returned DedicatedCloudNodesServerTransport instance is connected to an instance of armvmwarecloudsimple.DedicatedCloudNodesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DedicatedCloudNodesServerTransport) Do

Do implements the policy.Transporter interface for DedicatedCloudNodesServerTransport.

type DedicatedCloudServicesServer

type DedicatedCloudServicesServer struct {
	// CreateOrUpdate is the fake for method DedicatedCloudServicesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, dedicatedCloudServiceRequest armvmwarecloudsimple.DedicatedCloudService, options *armvmwarecloudsimple.DedicatedCloudServicesClientCreateOrUpdateOptions) (resp azfake.Responder[armvmwarecloudsimple.DedicatedCloudServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DedicatedCloudServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, options *armvmwarecloudsimple.DedicatedCloudServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armvmwarecloudsimple.DedicatedCloudServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DedicatedCloudServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, options *armvmwarecloudsimple.DedicatedCloudServicesClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.DedicatedCloudServicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method DedicatedCloudServicesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armvmwarecloudsimple.DedicatedCloudServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.DedicatedCloudServicesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method DedicatedCloudServicesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armvmwarecloudsimple.DedicatedCloudServicesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.DedicatedCloudServicesClientListBySubscriptionResponse])

	// Update is the fake for method DedicatedCloudServicesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, dedicatedCloudServiceRequest armvmwarecloudsimple.PatchPayload, options *armvmwarecloudsimple.DedicatedCloudServicesClientUpdateOptions) (resp azfake.Responder[armvmwarecloudsimple.DedicatedCloudServicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

DedicatedCloudServicesServer is a fake server for instances of the armvmwarecloudsimple.DedicatedCloudServicesClient type.

type DedicatedCloudServicesServerTransport

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

DedicatedCloudServicesServerTransport connects instances of armvmwarecloudsimple.DedicatedCloudServicesClient to instances of DedicatedCloudServicesServer. Don't use this type directly, use NewDedicatedCloudServicesServerTransport instead.

func NewDedicatedCloudServicesServerTransport

func NewDedicatedCloudServicesServerTransport(srv *DedicatedCloudServicesServer) *DedicatedCloudServicesServerTransport

NewDedicatedCloudServicesServerTransport creates a new instance of DedicatedCloudServicesServerTransport with the provided implementation. The returned DedicatedCloudServicesServerTransport instance is connected to an instance of armvmwarecloudsimple.DedicatedCloudServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DedicatedCloudServicesServerTransport) Do

Do implements the policy.Transporter interface for DedicatedCloudServicesServerTransport.

type OperationsServer

type OperationsServer struct {
	// Get is the fake for method OperationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	Get func(ctx context.Context, regionID string, referer string, operationID string, options *armvmwarecloudsimple.OperationsClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.OperationsClientGetResponse], errResp azfake.ErrorResponder)

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armvmwarecloudsimple.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 armvmwarecloudsimple.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 PrivateCloudsServer

type PrivateCloudsServer struct {
	// Get is the fake for method PrivateCloudsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, pcName string, regionID string, options *armvmwarecloudsimple.PrivateCloudsClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.PrivateCloudsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method PrivateCloudsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(regionID string, options *armvmwarecloudsimple.PrivateCloudsClientListOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.PrivateCloudsClientListResponse])
}

PrivateCloudsServer is a fake server for instances of the armvmwarecloudsimple.PrivateCloudsClient type.

type PrivateCloudsServerTransport

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

PrivateCloudsServerTransport connects instances of armvmwarecloudsimple.PrivateCloudsClient to instances of PrivateCloudsServer. Don't use this type directly, use NewPrivateCloudsServerTransport instead.

func NewPrivateCloudsServerTransport

func NewPrivateCloudsServerTransport(srv *PrivateCloudsServer) *PrivateCloudsServerTransport

NewPrivateCloudsServerTransport creates a new instance of PrivateCloudsServerTransport with the provided implementation. The returned PrivateCloudsServerTransport instance is connected to an instance of armvmwarecloudsimple.PrivateCloudsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateCloudsServerTransport) Do

Do implements the policy.Transporter interface for PrivateCloudsServerTransport.

type ResourcePoolsServer

type ResourcePoolsServer struct {
	// Get is the fake for method ResourcePoolsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, regionID string, pcName string, resourcePoolName string, options *armvmwarecloudsimple.ResourcePoolsClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.ResourcePoolsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ResourcePoolsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(regionID string, pcName string, options *armvmwarecloudsimple.ResourcePoolsClientListOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.ResourcePoolsClientListResponse])
}

ResourcePoolsServer is a fake server for instances of the armvmwarecloudsimple.ResourcePoolsClient type.

type ResourcePoolsServerTransport

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

ResourcePoolsServerTransport connects instances of armvmwarecloudsimple.ResourcePoolsClient to instances of ResourcePoolsServer. Don't use this type directly, use NewResourcePoolsServerTransport instead.

func NewResourcePoolsServerTransport

func NewResourcePoolsServerTransport(srv *ResourcePoolsServer) *ResourcePoolsServerTransport

NewResourcePoolsServerTransport creates a new instance of ResourcePoolsServerTransport with the provided implementation. The returned ResourcePoolsServerTransport instance is connected to an instance of armvmwarecloudsimple.ResourcePoolsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourcePoolsServerTransport) Do

Do implements the policy.Transporter interface for ResourcePoolsServerTransport.

type SKUsAvailabilityServer

type SKUsAvailabilityServer struct {
	// NewListPager is the fake for method SKUsAvailabilityClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(regionID string, options *armvmwarecloudsimple.SKUsAvailabilityClientListOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.SKUsAvailabilityClientListResponse])
}

SKUsAvailabilityServer is a fake server for instances of the armvmwarecloudsimple.SKUsAvailabilityClient type.

type SKUsAvailabilityServerTransport

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

SKUsAvailabilityServerTransport connects instances of armvmwarecloudsimple.SKUsAvailabilityClient to instances of SKUsAvailabilityServer. Don't use this type directly, use NewSKUsAvailabilityServerTransport instead.

func NewSKUsAvailabilityServerTransport

func NewSKUsAvailabilityServerTransport(srv *SKUsAvailabilityServer) *SKUsAvailabilityServerTransport

NewSKUsAvailabilityServerTransport creates a new instance of SKUsAvailabilityServerTransport with the provided implementation. The returned SKUsAvailabilityServerTransport instance is connected to an instance of armvmwarecloudsimple.SKUsAvailabilityClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SKUsAvailabilityServerTransport) Do

Do implements the policy.Transporter interface for SKUsAvailabilityServerTransport.

type ServerFactory

type ServerFactory struct {
	CustomizationPoliciesServer   CustomizationPoliciesServer
	DedicatedCloudNodesServer     DedicatedCloudNodesServer
	DedicatedCloudServicesServer  DedicatedCloudServicesServer
	OperationsServer              OperationsServer
	PrivateCloudsServer           PrivateCloudsServer
	ResourcePoolsServer           ResourcePoolsServer
	SKUsAvailabilityServer        SKUsAvailabilityServer
	UsagesServer                  UsagesServer
	VirtualMachineTemplatesServer VirtualMachineTemplatesServer
	VirtualMachinesServer         VirtualMachinesServer
	VirtualNetworksServer         VirtualNetworksServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armvmwarecloudsimple.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 armvmwarecloudsimple.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 UsagesServer

type UsagesServer struct {
	// NewListPager is the fake for method UsagesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(regionID string, options *armvmwarecloudsimple.UsagesClientListOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.UsagesClientListResponse])
}

UsagesServer is a fake server for instances of the armvmwarecloudsimple.UsagesClient type.

type UsagesServerTransport

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

UsagesServerTransport connects instances of armvmwarecloudsimple.UsagesClient to instances of UsagesServer. Don't use this type directly, use NewUsagesServerTransport instead.

func NewUsagesServerTransport

func NewUsagesServerTransport(srv *UsagesServer) *UsagesServerTransport

NewUsagesServerTransport creates a new instance of UsagesServerTransport with the provided implementation. The returned UsagesServerTransport instance is connected to an instance of armvmwarecloudsimple.UsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*UsagesServerTransport) Do

Do implements the policy.Transporter interface for UsagesServerTransport.

type VirtualMachineTemplatesServer

type VirtualMachineTemplatesServer struct {
	// Get is the fake for method VirtualMachineTemplatesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, regionID string, pcName string, virtualMachineTemplateName string, options *armvmwarecloudsimple.VirtualMachineTemplatesClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.VirtualMachineTemplatesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method VirtualMachineTemplatesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(pcName string, regionID string, resourcePoolName string, options *armvmwarecloudsimple.VirtualMachineTemplatesClientListOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.VirtualMachineTemplatesClientListResponse])
}

VirtualMachineTemplatesServer is a fake server for instances of the armvmwarecloudsimple.VirtualMachineTemplatesClient type.

type VirtualMachineTemplatesServerTransport

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

VirtualMachineTemplatesServerTransport connects instances of armvmwarecloudsimple.VirtualMachineTemplatesClient to instances of VirtualMachineTemplatesServer. Don't use this type directly, use NewVirtualMachineTemplatesServerTransport instead.

func NewVirtualMachineTemplatesServerTransport

func NewVirtualMachineTemplatesServerTransport(srv *VirtualMachineTemplatesServer) *VirtualMachineTemplatesServerTransport

NewVirtualMachineTemplatesServerTransport creates a new instance of VirtualMachineTemplatesServerTransport with the provided implementation. The returned VirtualMachineTemplatesServerTransport instance is connected to an instance of armvmwarecloudsimple.VirtualMachineTemplatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualMachineTemplatesServerTransport) Do

Do implements the policy.Transporter interface for VirtualMachineTemplatesServerTransport.

type VirtualMachinesServer

type VirtualMachinesServer struct {
	// BeginCreateOrUpdate is the fake for method VirtualMachinesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, referer string, virtualMachineName string, virtualMachineRequest armvmwarecloudsimple.VirtualMachine, options *armvmwarecloudsimple.VirtualMachinesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armvmwarecloudsimple.VirtualMachinesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VirtualMachinesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, referer string, virtualMachineName string, options *armvmwarecloudsimple.VirtualMachinesClientBeginDeleteOptions) (resp azfake.PollerResponder[armvmwarecloudsimple.VirtualMachinesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VirtualMachinesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, virtualMachineName string, options *armvmwarecloudsimple.VirtualMachinesClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.VirtualMachinesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method VirtualMachinesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armvmwarecloudsimple.VirtualMachinesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.VirtualMachinesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method VirtualMachinesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armvmwarecloudsimple.VirtualMachinesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.VirtualMachinesClientListBySubscriptionResponse])

	// BeginStart is the fake for method VirtualMachinesClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, referer string, virtualMachineName string, options *armvmwarecloudsimple.VirtualMachinesClientBeginStartOptions) (resp azfake.PollerResponder[armvmwarecloudsimple.VirtualMachinesClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method VirtualMachinesClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, referer string, virtualMachineName string, options *armvmwarecloudsimple.VirtualMachinesClientBeginStopOptions) (resp azfake.PollerResponder[armvmwarecloudsimple.VirtualMachinesClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method VirtualMachinesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK
	BeginUpdate func(ctx context.Context, resourceGroupName string, virtualMachineName string, virtualMachineRequest armvmwarecloudsimple.PatchPayload, options *armvmwarecloudsimple.VirtualMachinesClientBeginUpdateOptions) (resp azfake.PollerResponder[armvmwarecloudsimple.VirtualMachinesClientUpdateResponse], errResp azfake.ErrorResponder)
}

VirtualMachinesServer is a fake server for instances of the armvmwarecloudsimple.VirtualMachinesClient type.

type VirtualMachinesServerTransport

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

VirtualMachinesServerTransport connects instances of armvmwarecloudsimple.VirtualMachinesClient to instances of VirtualMachinesServer. Don't use this type directly, use NewVirtualMachinesServerTransport instead.

func NewVirtualMachinesServerTransport

func NewVirtualMachinesServerTransport(srv *VirtualMachinesServer) *VirtualMachinesServerTransport

NewVirtualMachinesServerTransport creates a new instance of VirtualMachinesServerTransport with the provided implementation. The returned VirtualMachinesServerTransport instance is connected to an instance of armvmwarecloudsimple.VirtualMachinesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualMachinesServerTransport) Do

Do implements the policy.Transporter interface for VirtualMachinesServerTransport.

type VirtualNetworksServer

type VirtualNetworksServer struct {
	// Get is the fake for method VirtualNetworksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, regionID string, pcName string, virtualNetworkName string, options *armvmwarecloudsimple.VirtualNetworksClientGetOptions) (resp azfake.Responder[armvmwarecloudsimple.VirtualNetworksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method VirtualNetworksClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(regionID string, pcName string, resourcePoolName string, options *armvmwarecloudsimple.VirtualNetworksClientListOptions) (resp azfake.PagerResponder[armvmwarecloudsimple.VirtualNetworksClientListResponse])
}

VirtualNetworksServer is a fake server for instances of the armvmwarecloudsimple.VirtualNetworksClient type.

type VirtualNetworksServerTransport

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

VirtualNetworksServerTransport connects instances of armvmwarecloudsimple.VirtualNetworksClient to instances of VirtualNetworksServer. Don't use this type directly, use NewVirtualNetworksServerTransport instead.

func NewVirtualNetworksServerTransport

func NewVirtualNetworksServerTransport(srv *VirtualNetworksServer) *VirtualNetworksServerTransport

NewVirtualNetworksServerTransport creates a new instance of VirtualNetworksServerTransport with the provided implementation. The returned VirtualNetworksServerTransport instance is connected to an instance of armvmwarecloudsimple.VirtualNetworksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualNetworksServerTransport) Do

Do implements the policy.Transporter interface for VirtualNetworksServerTransport.

Jump to

Keyboard shortcuts

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