Documentation
¶
Index ¶
- type ClustersServer
- type ClustersServerTransport
- type DatastoresServer
- type DatastoresServerTransport
- type HostsServer
- type HostsServerTransport
- type InventoryItemsServer
- type InventoryItemsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ResourcePoolsServer
- type ResourcePoolsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type VCentersServer
- type VCentersServerTransport
- type VMInstanceGuestAgentsServer
- type VMInstanceGuestAgentsServerTransport
- type VMInstanceHybridIdentityMetadataServer
- type VMInstanceHybridIdentityMetadataServerTransport
- type VirtualMachineInstancesServer
- type VirtualMachineInstancesServerTransport
- type VirtualMachineTemplatesServer
- type VirtualMachineTemplatesServerTransport
- type VirtualNetworksServer
- type VirtualNetworksServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClustersServer ¶
type ClustersServer struct {
// BeginCreate is the fake for method ClustersClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, body armconnectedvmware.Cluster, options *armconnectedvmware.ClustersClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.ClustersClientCreateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method ClustersClient.BeginDelete
// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, options *armconnectedvmware.ClustersClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.ClustersClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method ClustersClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceGroupName string, clusterName string, options *armconnectedvmware.ClustersClientGetOptions) (resp azfake.Responder[armconnectedvmware.ClustersClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method ClustersClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.ClustersClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.ClustersClientListResponse])
// NewListByResourceGroupPager is the fake for method ClustersClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedvmware.ClustersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedvmware.ClustersClientListByResourceGroupResponse])
// Update is the fake for method ClustersClient.Update
// HTTP status codes to indicate success: http.StatusOK
Update func(ctx context.Context, resourceGroupName string, clusterName string, body armconnectedvmware.ResourcePatch, options *armconnectedvmware.ClustersClientUpdateOptions) (resp azfake.Responder[armconnectedvmware.ClustersClientUpdateResponse], errResp azfake.ErrorResponder)
}
ClustersServer is a fake server for instances of the armconnectedvmware.ClustersClient type.
type ClustersServerTransport ¶
type ClustersServerTransport struct {
// contains filtered or unexported fields
}
ClustersServerTransport connects instances of armconnectedvmware.ClustersClient to instances of ClustersServer. Don't use this type directly, use NewClustersServerTransport instead.
func NewClustersServerTransport ¶
func NewClustersServerTransport(srv *ClustersServer) *ClustersServerTransport
NewClustersServerTransport creates a new instance of ClustersServerTransport with the provided implementation. The returned ClustersServerTransport instance is connected to an instance of armconnectedvmware.ClustersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DatastoresServer ¶
type DatastoresServer struct {
// BeginCreate is the fake for method DatastoresClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceGroupName string, datastoreName string, body armconnectedvmware.Datastore, options *armconnectedvmware.DatastoresClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.DatastoresClientCreateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method DatastoresClient.BeginDelete
// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceGroupName string, datastoreName string, options *armconnectedvmware.DatastoresClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.DatastoresClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method DatastoresClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceGroupName string, datastoreName string, options *armconnectedvmware.DatastoresClientGetOptions) (resp azfake.Responder[armconnectedvmware.DatastoresClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method DatastoresClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.DatastoresClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.DatastoresClientListResponse])
// NewListByResourceGroupPager is the fake for method DatastoresClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedvmware.DatastoresClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedvmware.DatastoresClientListByResourceGroupResponse])
// Update is the fake for method DatastoresClient.Update
// HTTP status codes to indicate success: http.StatusOK
Update func(ctx context.Context, resourceGroupName string, datastoreName string, body armconnectedvmware.ResourcePatch, options *armconnectedvmware.DatastoresClientUpdateOptions) (resp azfake.Responder[armconnectedvmware.DatastoresClientUpdateResponse], errResp azfake.ErrorResponder)
}
DatastoresServer is a fake server for instances of the armconnectedvmware.DatastoresClient type.
type DatastoresServerTransport ¶
type DatastoresServerTransport struct {
// contains filtered or unexported fields
}
DatastoresServerTransport connects instances of armconnectedvmware.DatastoresClient to instances of DatastoresServer. Don't use this type directly, use NewDatastoresServerTransport instead.
func NewDatastoresServerTransport ¶
func NewDatastoresServerTransport(srv *DatastoresServer) *DatastoresServerTransport
NewDatastoresServerTransport creates a new instance of DatastoresServerTransport with the provided implementation. The returned DatastoresServerTransport instance is connected to an instance of armconnectedvmware.DatastoresClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type HostsServer ¶
type HostsServer struct {
// BeginCreate is the fake for method HostsClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceGroupName string, hostName string, body armconnectedvmware.Host, options *armconnectedvmware.HostsClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.HostsClientCreateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method HostsClient.BeginDelete
// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceGroupName string, hostName string, options *armconnectedvmware.HostsClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.HostsClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method HostsClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceGroupName string, hostName string, options *armconnectedvmware.HostsClientGetOptions) (resp azfake.Responder[armconnectedvmware.HostsClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method HostsClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.HostsClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.HostsClientListResponse])
// NewListByResourceGroupPager is the fake for method HostsClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedvmware.HostsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedvmware.HostsClientListByResourceGroupResponse])
// Update is the fake for method HostsClient.Update
// HTTP status codes to indicate success: http.StatusOK
Update func(ctx context.Context, resourceGroupName string, hostName string, body armconnectedvmware.ResourcePatch, options *armconnectedvmware.HostsClientUpdateOptions) (resp azfake.Responder[armconnectedvmware.HostsClientUpdateResponse], errResp azfake.ErrorResponder)
}
HostsServer is a fake server for instances of the armconnectedvmware.HostsClient type.
type HostsServerTransport ¶
type HostsServerTransport struct {
// contains filtered or unexported fields
}
HostsServerTransport connects instances of armconnectedvmware.HostsClient to instances of HostsServer. Don't use this type directly, use NewHostsServerTransport instead.
func NewHostsServerTransport ¶
func NewHostsServerTransport(srv *HostsServer) *HostsServerTransport
NewHostsServerTransport creates a new instance of HostsServerTransport with the provided implementation. The returned HostsServerTransport instance is connected to an instance of armconnectedvmware.HostsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
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, vcenterName string, inventoryItemName string, body armconnectedvmware.InventoryItem, options *armconnectedvmware.InventoryItemsClientCreateOptions) (resp azfake.Responder[armconnectedvmware.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, vcenterName string, inventoryItemName string, options *armconnectedvmware.InventoryItemsClientDeleteOptions) (resp azfake.Responder[armconnectedvmware.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, vcenterName string, inventoryItemName string, options *armconnectedvmware.InventoryItemsClientGetOptions) (resp azfake.Responder[armconnectedvmware.InventoryItemsClientGetResponse], errResp azfake.ErrorResponder)
// NewListByVCenterPager is the fake for method InventoryItemsClient.NewListByVCenterPager
// HTTP status codes to indicate success: http.StatusOK
NewListByVCenterPager func(resourceGroupName string, vcenterName string, options *armconnectedvmware.InventoryItemsClientListByVCenterOptions) (resp azfake.PagerResponder[armconnectedvmware.InventoryItemsClientListByVCenterResponse])
}
InventoryItemsServer is a fake server for instances of the armconnectedvmware.InventoryItemsClient type.
type InventoryItemsServerTransport ¶
type InventoryItemsServerTransport struct {
// contains filtered or unexported fields
}
InventoryItemsServerTransport connects instances of armconnectedvmware.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 armconnectedvmware.InventoryItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct {
// NewListPager is the fake for method OperationsClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.OperationsClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.OperationsClientListResponse])
}
OperationsServer is a fake server for instances of the armconnectedvmware.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armconnectedvmware.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 armconnectedvmware.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourcePoolsServer ¶
type ResourcePoolsServer struct {
// BeginCreate is the fake for method ResourcePoolsClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceGroupName string, resourcePoolName string, body armconnectedvmware.ResourcePool, options *armconnectedvmware.ResourcePoolsClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.ResourcePoolsClientCreateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method ResourcePoolsClient.BeginDelete
// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceGroupName string, resourcePoolName string, options *armconnectedvmware.ResourcePoolsClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.ResourcePoolsClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method ResourcePoolsClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceGroupName string, resourcePoolName string, options *armconnectedvmware.ResourcePoolsClientGetOptions) (resp azfake.Responder[armconnectedvmware.ResourcePoolsClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method ResourcePoolsClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.ResourcePoolsClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.ResourcePoolsClientListResponse])
// NewListByResourceGroupPager is the fake for method ResourcePoolsClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedvmware.ResourcePoolsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedvmware.ResourcePoolsClientListByResourceGroupResponse])
// Update is the fake for method ResourcePoolsClient.Update
// HTTP status codes to indicate success: http.StatusOK
Update func(ctx context.Context, resourceGroupName string, resourcePoolName string, body armconnectedvmware.ResourcePatch, options *armconnectedvmware.ResourcePoolsClientUpdateOptions) (resp azfake.Responder[armconnectedvmware.ResourcePoolsClientUpdateResponse], errResp azfake.ErrorResponder)
}
ResourcePoolsServer is a fake server for instances of the armconnectedvmware.ResourcePoolsClient type.
type ResourcePoolsServerTransport ¶
type ResourcePoolsServerTransport struct {
// contains filtered or unexported fields
}
ResourcePoolsServerTransport connects instances of armconnectedvmware.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 armconnectedvmware.ResourcePoolsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct {
ClustersServer ClustersServer
DatastoresServer DatastoresServer
HostsServer HostsServer
InventoryItemsServer InventoryItemsServer
OperationsServer OperationsServer
ResourcePoolsServer ResourcePoolsServer
VCentersServer VCentersServer
VMInstanceGuestAgentsServer VMInstanceGuestAgentsServer
VMInstanceHybridIdentityMetadataServer VMInstanceHybridIdentityMetadataServer
VirtualMachineInstancesServer VirtualMachineInstancesServer
VirtualMachineTemplatesServer VirtualMachineTemplatesServer
VirtualNetworksServer VirtualNetworksServer
}
ServerFactory is a fake server for instances of the armconnectedvmware.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armconnectedvmware.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 armconnectedvmware.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VCentersServer ¶
type VCentersServer struct {
// BeginCreate is the fake for method VCentersClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceGroupName string, vcenterName string, body armconnectedvmware.VCenter, options *armconnectedvmware.VCentersClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.VCentersClientCreateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method VCentersClient.BeginDelete
// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceGroupName string, vcenterName string, options *armconnectedvmware.VCentersClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.VCentersClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method VCentersClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceGroupName string, vcenterName string, options *armconnectedvmware.VCentersClientGetOptions) (resp azfake.Responder[armconnectedvmware.VCentersClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method VCentersClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.VCentersClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.VCentersClientListResponse])
// NewListByResourceGroupPager is the fake for method VCentersClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedvmware.VCentersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedvmware.VCentersClientListByResourceGroupResponse])
// Update is the fake for method VCentersClient.Update
// HTTP status codes to indicate success: http.StatusOK
Update func(ctx context.Context, resourceGroupName string, vcenterName string, body armconnectedvmware.ResourcePatch, options *armconnectedvmware.VCentersClientUpdateOptions) (resp azfake.Responder[armconnectedvmware.VCentersClientUpdateResponse], errResp azfake.ErrorResponder)
}
VCentersServer is a fake server for instances of the armconnectedvmware.VCentersClient type.
type VCentersServerTransport ¶
type VCentersServerTransport struct {
// contains filtered or unexported fields
}
VCentersServerTransport connects instances of armconnectedvmware.VCentersClient to instances of VCentersServer. Don't use this type directly, use NewVCentersServerTransport instead.
func NewVCentersServerTransport ¶
func NewVCentersServerTransport(srv *VCentersServer) *VCentersServerTransport
NewVCentersServerTransport creates a new instance of VCentersServerTransport with the provided implementation. The returned VCentersServerTransport instance is connected to an instance of armconnectedvmware.VCentersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VMInstanceGuestAgentsServer ¶
type VMInstanceGuestAgentsServer struct {
// BeginCreate is the fake for method VMInstanceGuestAgentsClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceURI string, body armconnectedvmware.GuestAgent, options *armconnectedvmware.VMInstanceGuestAgentsClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.VMInstanceGuestAgentsClientCreateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method VMInstanceGuestAgentsClient.BeginDelete
// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceURI string, options *armconnectedvmware.VMInstanceGuestAgentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.VMInstanceGuestAgentsClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method VMInstanceGuestAgentsClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceURI string, options *armconnectedvmware.VMInstanceGuestAgentsClientGetOptions) (resp azfake.Responder[armconnectedvmware.VMInstanceGuestAgentsClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method VMInstanceGuestAgentsClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(resourceURI string, options *armconnectedvmware.VMInstanceGuestAgentsClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.VMInstanceGuestAgentsClientListResponse])
}
VMInstanceGuestAgentsServer is a fake server for instances of the armconnectedvmware.VMInstanceGuestAgentsClient type.
type VMInstanceGuestAgentsServerTransport ¶
type VMInstanceGuestAgentsServerTransport struct {
// contains filtered or unexported fields
}
VMInstanceGuestAgentsServerTransport connects instances of armconnectedvmware.VMInstanceGuestAgentsClient to instances of VMInstanceGuestAgentsServer. Don't use this type directly, use NewVMInstanceGuestAgentsServerTransport instead.
func NewVMInstanceGuestAgentsServerTransport ¶
func NewVMInstanceGuestAgentsServerTransport(srv *VMInstanceGuestAgentsServer) *VMInstanceGuestAgentsServerTransport
NewVMInstanceGuestAgentsServerTransport creates a new instance of VMInstanceGuestAgentsServerTransport with the provided implementation. The returned VMInstanceGuestAgentsServerTransport instance is connected to an instance of armconnectedvmware.VMInstanceGuestAgentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VMInstanceHybridIdentityMetadataServer ¶
type VMInstanceHybridIdentityMetadataServer struct {
// Get is the fake for method VMInstanceHybridIdentityMetadataClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceURI string, options *armconnectedvmware.VMInstanceHybridIdentityMetadataClientGetOptions) (resp azfake.Responder[armconnectedvmware.VMInstanceHybridIdentityMetadataClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method VMInstanceHybridIdentityMetadataClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(resourceURI string, options *armconnectedvmware.VMInstanceHybridIdentityMetadataClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.VMInstanceHybridIdentityMetadataClientListResponse])
}
VMInstanceHybridIdentityMetadataServer is a fake server for instances of the armconnectedvmware.VMInstanceHybridIdentityMetadataClient type.
type VMInstanceHybridIdentityMetadataServerTransport ¶
type VMInstanceHybridIdentityMetadataServerTransport struct {
// contains filtered or unexported fields
}
VMInstanceHybridIdentityMetadataServerTransport connects instances of armconnectedvmware.VMInstanceHybridIdentityMetadataClient to instances of VMInstanceHybridIdentityMetadataServer. Don't use this type directly, use NewVMInstanceHybridIdentityMetadataServerTransport instead.
func NewVMInstanceHybridIdentityMetadataServerTransport ¶
func NewVMInstanceHybridIdentityMetadataServerTransport(srv *VMInstanceHybridIdentityMetadataServer) *VMInstanceHybridIdentityMetadataServerTransport
NewVMInstanceHybridIdentityMetadataServerTransport creates a new instance of VMInstanceHybridIdentityMetadataServerTransport with the provided implementation. The returned VMInstanceHybridIdentityMetadataServerTransport instance is connected to an instance of armconnectedvmware.VMInstanceHybridIdentityMetadataClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VirtualMachineInstancesServer ¶
type VirtualMachineInstancesServer struct {
// BeginCreateOrUpdate is the fake for method VirtualMachineInstancesClient.BeginCreateOrUpdate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreateOrUpdate func(ctx context.Context, resourceURI string, body armconnectedvmware.VirtualMachineInstance, options *armconnectedvmware.VirtualMachineInstancesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualMachineInstancesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)
// BeginDelete is the fake for method VirtualMachineInstancesClient.BeginDelete
// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
BeginDelete func(ctx context.Context, resourceURI string, options *armconnectedvmware.VirtualMachineInstancesClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualMachineInstancesClientDeleteResponse], errResp azfake.ErrorResponder)
// Get is the fake for method VirtualMachineInstancesClient.Get
// HTTP status codes to indicate success: http.StatusOK
Get func(ctx context.Context, resourceURI string, options *armconnectedvmware.VirtualMachineInstancesClientGetOptions) (resp azfake.Responder[armconnectedvmware.VirtualMachineInstancesClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method VirtualMachineInstancesClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(resourceURI string, options *armconnectedvmware.VirtualMachineInstancesClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.VirtualMachineInstancesClientListResponse])
// BeginRestart is the fake for method VirtualMachineInstancesClient.BeginRestart
// HTTP status codes to indicate success: http.StatusAccepted
BeginRestart func(ctx context.Context, resourceURI string, options *armconnectedvmware.VirtualMachineInstancesClientBeginRestartOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualMachineInstancesClientRestartResponse], errResp azfake.ErrorResponder)
// BeginStart is the fake for method VirtualMachineInstancesClient.BeginStart
// HTTP status codes to indicate success: http.StatusAccepted
BeginStart func(ctx context.Context, resourceURI string, options *armconnectedvmware.VirtualMachineInstancesClientBeginStartOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualMachineInstancesClientStartResponse], errResp azfake.ErrorResponder)
// BeginStop is the fake for method VirtualMachineInstancesClient.BeginStop
// HTTP status codes to indicate success: http.StatusAccepted
BeginStop func(ctx context.Context, resourceURI string, options *armconnectedvmware.VirtualMachineInstancesClientBeginStopOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualMachineInstancesClientStopResponse], errResp azfake.ErrorResponder)
// BeginUpdate is the fake for method VirtualMachineInstancesClient.BeginUpdate
// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
BeginUpdate func(ctx context.Context, resourceURI string, body armconnectedvmware.VirtualMachineInstanceUpdate, options *armconnectedvmware.VirtualMachineInstancesClientBeginUpdateOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualMachineInstancesClientUpdateResponse], errResp azfake.ErrorResponder)
}
VirtualMachineInstancesServer is a fake server for instances of the armconnectedvmware.VirtualMachineInstancesClient type.
type VirtualMachineInstancesServerTransport ¶
type VirtualMachineInstancesServerTransport struct {
// contains filtered or unexported fields
}
VirtualMachineInstancesServerTransport connects instances of armconnectedvmware.VirtualMachineInstancesClient to instances of VirtualMachineInstancesServer. Don't use this type directly, use NewVirtualMachineInstancesServerTransport instead.
func NewVirtualMachineInstancesServerTransport ¶
func NewVirtualMachineInstancesServerTransport(srv *VirtualMachineInstancesServer) *VirtualMachineInstancesServerTransport
NewVirtualMachineInstancesServerTransport creates a new instance of VirtualMachineInstancesServerTransport with the provided implementation. The returned VirtualMachineInstancesServerTransport instance is connected to an instance of armconnectedvmware.VirtualMachineInstancesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VirtualMachineTemplatesServer ¶
type VirtualMachineTemplatesServer struct {
// BeginCreate is the fake for method VirtualMachineTemplatesClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceGroupName string, virtualMachineTemplateName string, body armconnectedvmware.VirtualMachineTemplate, options *armconnectedvmware.VirtualMachineTemplatesClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualMachineTemplatesClientCreateResponse], 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 *armconnectedvmware.VirtualMachineTemplatesClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.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 *armconnectedvmware.VirtualMachineTemplatesClientGetOptions) (resp azfake.Responder[armconnectedvmware.VirtualMachineTemplatesClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method VirtualMachineTemplatesClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.VirtualMachineTemplatesClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.VirtualMachineTemplatesClientListResponse])
// NewListByResourceGroupPager is the fake for method VirtualMachineTemplatesClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedvmware.VirtualMachineTemplatesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedvmware.VirtualMachineTemplatesClientListByResourceGroupResponse])
// Update is the fake for method VirtualMachineTemplatesClient.Update
// HTTP status codes to indicate success: http.StatusOK
Update func(ctx context.Context, resourceGroupName string, virtualMachineTemplateName string, body armconnectedvmware.ResourcePatch, options *armconnectedvmware.VirtualMachineTemplatesClientUpdateOptions) (resp azfake.Responder[armconnectedvmware.VirtualMachineTemplatesClientUpdateResponse], errResp azfake.ErrorResponder)
}
VirtualMachineTemplatesServer is a fake server for instances of the armconnectedvmware.VirtualMachineTemplatesClient type.
type VirtualMachineTemplatesServerTransport ¶
type VirtualMachineTemplatesServerTransport struct {
// contains filtered or unexported fields
}
VirtualMachineTemplatesServerTransport connects instances of armconnectedvmware.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 armconnectedvmware.VirtualMachineTemplatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VirtualNetworksServer ¶
type VirtualNetworksServer struct {
// BeginCreate is the fake for method VirtualNetworksClient.BeginCreate
// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
BeginCreate func(ctx context.Context, resourceGroupName string, virtualNetworkName string, body armconnectedvmware.VirtualNetwork, options *armconnectedvmware.VirtualNetworksClientBeginCreateOptions) (resp azfake.PollerResponder[armconnectedvmware.VirtualNetworksClientCreateResponse], 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 *armconnectedvmware.VirtualNetworksClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedvmware.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 *armconnectedvmware.VirtualNetworksClientGetOptions) (resp azfake.Responder[armconnectedvmware.VirtualNetworksClientGetResponse], errResp azfake.ErrorResponder)
// NewListPager is the fake for method VirtualNetworksClient.NewListPager
// HTTP status codes to indicate success: http.StatusOK
NewListPager func(options *armconnectedvmware.VirtualNetworksClientListOptions) (resp azfake.PagerResponder[armconnectedvmware.VirtualNetworksClientListResponse])
// NewListByResourceGroupPager is the fake for method VirtualNetworksClient.NewListByResourceGroupPager
// HTTP status codes to indicate success: http.StatusOK
NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedvmware.VirtualNetworksClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedvmware.VirtualNetworksClientListByResourceGroupResponse])
// Update is the fake for method VirtualNetworksClient.Update
// HTTP status codes to indicate success: http.StatusOK
Update func(ctx context.Context, resourceGroupName string, virtualNetworkName string, body armconnectedvmware.ResourcePatch, options *armconnectedvmware.VirtualNetworksClientUpdateOptions) (resp azfake.Responder[armconnectedvmware.VirtualNetworksClientUpdateResponse], errResp azfake.ErrorResponder)
}
VirtualNetworksServer is a fake server for instances of the armconnectedvmware.VirtualNetworksClient type.
type VirtualNetworksServerTransport ¶
type VirtualNetworksServerTransport struct {
// contains filtered or unexported fields
}
VirtualNetworksServerTransport connects instances of armconnectedvmware.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 armconnectedvmware.VirtualNetworksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files
¶
- clusters_server.go
- datastores_server.go
- hosts_server.go
- internal.go
- inventoryitems_server.go
- operations_server.go
- resourcepools_server.go
- server_factory.go
- time_rfc3339.go
- vcenters_server.go
- virtualmachineinstances_server.go
- virtualmachinetemplates_server.go
- virtualnetworks_server.go
- vminstanceguestagents_server.go
- vminstancehybrididentitymetadata_server.go