fake

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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 AvailabilitySetsServer

type AvailabilitySetsServer struct {
	// BeginCreateOrUpdate is the fake for method AvailabilitySetsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, availabilitySetName string, body armscvmm.AvailabilitySet, options *armscvmm.AvailabilitySetsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armscvmm.AvailabilitySetsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AvailabilitySetsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, availabilitySetName string, options *armscvmm.AvailabilitySetsClientBeginDeleteOptions) (resp azfake.PollerResponder[armscvmm.AvailabilitySetsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AvailabilitySetsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, availabilitySetName string, options *armscvmm.AvailabilitySetsClientGetOptions) (resp azfake.Responder[armscvmm.AvailabilitySetsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method AvailabilitySetsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armscvmm.AvailabilitySetsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armscvmm.AvailabilitySetsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method AvailabilitySetsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armscvmm.AvailabilitySetsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armscvmm.AvailabilitySetsClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method AvailabilitySetsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, availabilitySetName string, body armscvmm.ResourcePatch, options *armscvmm.AvailabilitySetsClientBeginUpdateOptions) (resp azfake.PollerResponder[armscvmm.AvailabilitySetsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AvailabilitySetsServer is a fake server for instances of the armscvmm.AvailabilitySetsClient type.

type AvailabilitySetsServerTransport

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

AvailabilitySetsServerTransport connects instances of armscvmm.AvailabilitySetsClient to instances of AvailabilitySetsServer. Don't use this type directly, use NewAvailabilitySetsServerTransport instead.

func NewAvailabilitySetsServerTransport

func NewAvailabilitySetsServerTransport(srv *AvailabilitySetsServer) *AvailabilitySetsServerTransport

NewAvailabilitySetsServerTransport creates a new instance of AvailabilitySetsServerTransport with the provided implementation. The returned AvailabilitySetsServerTransport instance is connected to an instance of armscvmm.AvailabilitySetsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AvailabilitySetsServerTransport) Do

Do implements the policy.Transporter interface for AvailabilitySetsServerTransport.

type CloudsServer

type CloudsServer struct {
	// BeginCreateOrUpdate is the fake for method CloudsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, cloudName string, body armscvmm.Cloud, options *armscvmm.CloudsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armscvmm.CloudsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CloudsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, cloudName string, options *armscvmm.CloudsClientBeginDeleteOptions) (resp azfake.PollerResponder[armscvmm.CloudsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CloudsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, cloudName string, options *armscvmm.CloudsClientGetOptions) (resp azfake.Responder[armscvmm.CloudsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method CloudsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armscvmm.CloudsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armscvmm.CloudsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method CloudsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armscvmm.CloudsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armscvmm.CloudsClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method CloudsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, cloudName string, body armscvmm.ResourcePatch, options *armscvmm.CloudsClientBeginUpdateOptions) (resp azfake.PollerResponder[armscvmm.CloudsClientUpdateResponse], errResp azfake.ErrorResponder)
}

CloudsServer is a fake server for instances of the armscvmm.CloudsClient type.

type CloudsServerTransport

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

CloudsServerTransport connects instances of armscvmm.CloudsClient to instances of CloudsServer. Don't use this type directly, use NewCloudsServerTransport instead.

func NewCloudsServerTransport

func NewCloudsServerTransport(srv *CloudsServer) *CloudsServerTransport

NewCloudsServerTransport creates a new instance of CloudsServerTransport with the provided implementation. The returned CloudsServerTransport instance is connected to an instance of armscvmm.CloudsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CloudsServerTransport) Do

Do implements the policy.Transporter interface for CloudsServerTransport.

type InventoryItemsServer

type InventoryItemsServer struct {
	// Create is the fake for method InventoryItemsClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, vmmServerName string, inventoryItemName string, options *armscvmm.InventoryItemsClientCreateOptions) (resp azfake.Responder[armscvmm.InventoryItemsClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method InventoryItemsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, vmmServerName string, inventoryItemName string, options *armscvmm.InventoryItemsClientDeleteOptions) (resp azfake.Responder[armscvmm.InventoryItemsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method InventoryItemsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vmmServerName string, inventoryItemName string, options *armscvmm.InventoryItemsClientGetOptions) (resp azfake.Responder[armscvmm.InventoryItemsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByVMMServerPager is the fake for method InventoryItemsClient.NewListByVMMServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByVMMServerPager func(resourceGroupName string, vmmServerName string, options *armscvmm.InventoryItemsClientListByVMMServerOptions) (resp azfake.PagerResponder[armscvmm.InventoryItemsClientListByVMMServerResponse])
}

InventoryItemsServer is a fake server for instances of the armscvmm.InventoryItemsClient type.

type InventoryItemsServerTransport

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

InventoryItemsServerTransport connects instances of armscvmm.InventoryItemsClient to instances of InventoryItemsServer. Don't use this type directly, use NewInventoryItemsServerTransport instead.

func NewInventoryItemsServerTransport

func NewInventoryItemsServerTransport(srv *InventoryItemsServer) *InventoryItemsServerTransport

NewInventoryItemsServerTransport creates a new instance of InventoryItemsServerTransport with the provided implementation. The returned InventoryItemsServerTransport instance is connected to an instance of armscvmm.InventoryItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*InventoryItemsServerTransport) Do

Do implements the policy.Transporter interface for InventoryItemsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armscvmm.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 armscvmm.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 ServerFactory

type ServerFactory struct {
	AvailabilitySetsServer        AvailabilitySetsServer
	CloudsServer                  CloudsServer
	InventoryItemsServer          InventoryItemsServer
	OperationsServer              OperationsServer
	VirtualMachineTemplatesServer VirtualMachineTemplatesServer
	VirtualMachinesServer         VirtualMachinesServer
	VirtualNetworksServer         VirtualNetworksServer
	VmmServersServer              VmmServersServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armscvmm.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 armscvmm.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 VirtualMachineTemplatesServer

type VirtualMachineTemplatesServer struct {
	// BeginCreateOrUpdate is the fake for method VirtualMachineTemplatesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, virtualMachineTemplateName string, body armscvmm.VirtualMachineTemplate, options *armscvmm.VirtualMachineTemplatesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armscvmm.VirtualMachineTemplatesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VirtualMachineTemplatesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, virtualMachineTemplateName string, options *armscvmm.VirtualMachineTemplatesClientBeginDeleteOptions) (resp azfake.PollerResponder[armscvmm.VirtualMachineTemplatesClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListByResourceGroupPager is the fake for method VirtualMachineTemplatesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armscvmm.VirtualMachineTemplatesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armscvmm.VirtualMachineTemplatesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method VirtualMachineTemplatesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armscvmm.VirtualMachineTemplatesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armscvmm.VirtualMachineTemplatesClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method VirtualMachineTemplatesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, virtualMachineTemplateName string, body armscvmm.ResourcePatch, options *armscvmm.VirtualMachineTemplatesClientBeginUpdateOptions) (resp azfake.PollerResponder[armscvmm.VirtualMachineTemplatesClientUpdateResponse], errResp azfake.ErrorResponder)
}

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

type VirtualMachineTemplatesServerTransport

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

VirtualMachineTemplatesServerTransport connects instances of armscvmm.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 armscvmm.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 {
	// BeginCreateCheckpoint is the fake for method VirtualMachinesClient.BeginCreateCheckpoint
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateCheckpoint func(ctx context.Context, resourceGroupName string, virtualMachineName string, options *armscvmm.VirtualMachinesClientBeginCreateCheckpointOptions) (resp azfake.PollerResponder[armscvmm.VirtualMachinesClientCreateCheckpointResponse], errResp azfake.ErrorResponder)

	// 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, virtualMachineName string, body armscvmm.VirtualMachine, options *armscvmm.VirtualMachinesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armscvmm.VirtualMachinesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

	// BeginDeleteCheckpoint is the fake for method VirtualMachinesClient.BeginDeleteCheckpoint
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDeleteCheckpoint func(ctx context.Context, resourceGroupName string, virtualMachineName string, options *armscvmm.VirtualMachinesClientBeginDeleteCheckpointOptions) (resp azfake.PollerResponder[armscvmm.VirtualMachinesClientDeleteCheckpointResponse], 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 *armscvmm.VirtualMachinesClientGetOptions) (resp azfake.Responder[armscvmm.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 *armscvmm.VirtualMachinesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armscvmm.VirtualMachinesClientListByResourceGroupResponse])

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

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

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

	// 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, virtualMachineName string, options *armscvmm.VirtualMachinesClientBeginStartOptions) (resp azfake.PollerResponder[armscvmm.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, virtualMachineName string, options *armscvmm.VirtualMachinesClientBeginStopOptions) (resp azfake.PollerResponder[armscvmm.VirtualMachinesClientStopResponse], errResp azfake.ErrorResponder)

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

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

type VirtualMachinesServerTransport

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

VirtualMachinesServerTransport connects instances of armscvmm.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 armscvmm.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 {
	// BeginCreateOrUpdate is the fake for method VirtualNetworksClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, virtualNetworkName string, body armscvmm.VirtualNetwork, options *armscvmm.VirtualNetworksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armscvmm.VirtualNetworksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VirtualNetworksClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, virtualNetworkName string, options *armscvmm.VirtualNetworksClientBeginDeleteOptions) (resp azfake.PollerResponder[armscvmm.VirtualNetworksClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListByResourceGroupPager is the fake for method VirtualNetworksClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armscvmm.VirtualNetworksClientListByResourceGroupOptions) (resp azfake.PagerResponder[armscvmm.VirtualNetworksClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method VirtualNetworksClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armscvmm.VirtualNetworksClientListBySubscriptionOptions) (resp azfake.PagerResponder[armscvmm.VirtualNetworksClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method VirtualNetworksClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, virtualNetworkName string, body armscvmm.ResourcePatch, options *armscvmm.VirtualNetworksClientBeginUpdateOptions) (resp azfake.PollerResponder[armscvmm.VirtualNetworksClientUpdateResponse], errResp azfake.ErrorResponder)
}

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

type VirtualNetworksServerTransport

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

VirtualNetworksServerTransport connects instances of armscvmm.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 armscvmm.VirtualNetworksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualNetworksServerTransport) Do

Do implements the policy.Transporter interface for VirtualNetworksServerTransport.

type VmmServersServer

type VmmServersServer struct {
	// BeginCreateOrUpdate is the fake for method VmmServersClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, vmmServerName string, body armscvmm.VMMServer, options *armscvmm.VmmServersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armscvmm.VmmServersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VmmServersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, vmmServerName string, options *armscvmm.VmmServersClientBeginDeleteOptions) (resp azfake.PollerResponder[armscvmm.VmmServersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VmmServersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vmmServerName string, options *armscvmm.VmmServersClientGetOptions) (resp azfake.Responder[armscvmm.VmmServersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method VmmServersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armscvmm.VmmServersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armscvmm.VmmServersClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method VmmServersClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armscvmm.VmmServersClientListBySubscriptionOptions) (resp azfake.PagerResponder[armscvmm.VmmServersClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method VmmServersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, vmmServerName string, body armscvmm.ResourcePatch, options *armscvmm.VmmServersClientBeginUpdateOptions) (resp azfake.PollerResponder[armscvmm.VmmServersClientUpdateResponse], errResp azfake.ErrorResponder)
}

VmmServersServer is a fake server for instances of the armscvmm.VmmServersClient type.

type VmmServersServerTransport

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

VmmServersServerTransport connects instances of armscvmm.VmmServersClient to instances of VmmServersServer. Don't use this type directly, use NewVmmServersServerTransport instead.

func NewVmmServersServerTransport

func NewVmmServersServerTransport(srv *VmmServersServer) *VmmServersServerTransport

NewVmmServersServerTransport creates a new instance of VmmServersServerTransport with the provided implementation. The returned VmmServersServerTransport instance is connected to an instance of armscvmm.VmmServersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VmmServersServerTransport) Do

Do implements the policy.Transporter interface for VmmServersServerTransport.

Jump to

Keyboard shortcuts

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