fake

package
v2.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 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 AvailableServiceTiersServer

type AvailableServiceTiersServer struct {
	// ListByWorkspace is the fake for method AvailableServiceTiersClient.ListByWorkspace
	// HTTP status codes to indicate success: http.StatusOK
	ListByWorkspace func(ctx context.Context, resourceGroupName string, workspaceName string, options *armoperationalinsights.AvailableServiceTiersClientListByWorkspaceOptions) (resp azfake.Responder[armoperationalinsights.AvailableServiceTiersClientListByWorkspaceResponse], errResp azfake.ErrorResponder)
}

AvailableServiceTiersServer is a fake server for instances of the armoperationalinsights.AvailableServiceTiersClient type.

type AvailableServiceTiersServerTransport

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

AvailableServiceTiersServerTransport connects instances of armoperationalinsights.AvailableServiceTiersClient to instances of AvailableServiceTiersServer. Don't use this type directly, use NewAvailableServiceTiersServerTransport instead.

func NewAvailableServiceTiersServerTransport

func NewAvailableServiceTiersServerTransport(srv *AvailableServiceTiersServer) *AvailableServiceTiersServerTransport

NewAvailableServiceTiersServerTransport creates a new instance of AvailableServiceTiersServerTransport with the provided implementation. The returned AvailableServiceTiersServerTransport instance is connected to an instance of armoperationalinsights.AvailableServiceTiersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AvailableServiceTiersServerTransport) Do

Do implements the policy.Transporter interface for AvailableServiceTiersServerTransport.

type ClustersServer

type ClustersServer struct {
	// BeginCreateOrUpdate is the fake for method ClustersClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armoperationalinsights.Cluster, options *armoperationalinsights.ClustersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armoperationalinsights.ClustersClientCreateOrUpdateResponse], 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 *armoperationalinsights.ClustersClientBeginDeleteOptions) (resp azfake.PollerResponder[armoperationalinsights.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 *armoperationalinsights.ClustersClientGetOptions) (resp azfake.Responder[armoperationalinsights.ClustersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ClustersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armoperationalinsights.ClustersClientListOptions) (resp azfake.PagerResponder[armoperationalinsights.ClustersClientListResponse])

	// NewListByResourceGroupPager is the fake for method ClustersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armoperationalinsights.ClustersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armoperationalinsights.ClustersClientListByResourceGroupResponse])

	// BeginUpdate is the fake for method ClustersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armoperationalinsights.ClusterPatch, options *armoperationalinsights.ClustersClientBeginUpdateOptions) (resp azfake.PollerResponder[armoperationalinsights.ClustersClientUpdateResponse], errResp azfake.ErrorResponder)
}

ClustersServer is a fake server for instances of the armoperationalinsights.ClustersClient type.

type ClustersServerTransport

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

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

func (*ClustersServerTransport) Do

Do implements the policy.Transporter interface for ClustersServerTransport.

type DataExportsServer

type DataExportsServer struct {
	// CreateOrUpdate is the fake for method DataExportsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string, parameters armoperationalinsights.DataExport, options *armoperationalinsights.DataExportsClientCreateOrUpdateOptions) (resp azfake.Responder[armoperationalinsights.DataExportsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method DataExportsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNotFound
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, dataExportName string, options *armoperationalinsights.DataExportsClientDeleteOptions) (resp azfake.Responder[armoperationalinsights.DataExportsClientDeleteResponse], errResp azfake.ErrorResponder)

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

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

DataExportsServer is a fake server for instances of the armoperationalinsights.DataExportsClient type.

type DataExportsServerTransport

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

DataExportsServerTransport connects instances of armoperationalinsights.DataExportsClient to instances of DataExportsServer. Don't use this type directly, use NewDataExportsServerTransport instead.

func NewDataExportsServerTransport

func NewDataExportsServerTransport(srv *DataExportsServer) *DataExportsServerTransport

NewDataExportsServerTransport creates a new instance of DataExportsServerTransport with the provided implementation. The returned DataExportsServerTransport instance is connected to an instance of armoperationalinsights.DataExportsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DataExportsServerTransport) Do

Do implements the policy.Transporter interface for DataExportsServerTransport.

type DataSourcesServer

type DataSourcesServer struct {
	// CreateOrUpdate is the fake for method DataSourcesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceName string, parameters armoperationalinsights.DataSource, options *armoperationalinsights.DataSourcesClientCreateOrUpdateOptions) (resp azfake.Responder[armoperationalinsights.DataSourcesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListByWorkspacePager is the fake for method DataSourcesClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, filter string, options *armoperationalinsights.DataSourcesClientListByWorkspaceOptions) (resp azfake.PagerResponder[armoperationalinsights.DataSourcesClientListByWorkspaceResponse])
}

DataSourcesServer is a fake server for instances of the armoperationalinsights.DataSourcesClient type.

type DataSourcesServerTransport

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

DataSourcesServerTransport connects instances of armoperationalinsights.DataSourcesClient to instances of DataSourcesServer. Don't use this type directly, use NewDataSourcesServerTransport instead.

func NewDataSourcesServerTransport

func NewDataSourcesServerTransport(srv *DataSourcesServer) *DataSourcesServerTransport

NewDataSourcesServerTransport creates a new instance of DataSourcesServerTransport with the provided implementation. The returned DataSourcesServerTransport instance is connected to an instance of armoperationalinsights.DataSourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DataSourcesServerTransport) Do

Do implements the policy.Transporter interface for DataSourcesServerTransport.

type DeletedWorkspacesServer

type DeletedWorkspacesServer struct {
	// NewListPager is the fake for method DeletedWorkspacesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armoperationalinsights.DeletedWorkspacesClientListOptions) (resp azfake.PagerResponder[armoperationalinsights.DeletedWorkspacesClientListResponse])

	// NewListByResourceGroupPager is the fake for method DeletedWorkspacesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armoperationalinsights.DeletedWorkspacesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armoperationalinsights.DeletedWorkspacesClientListByResourceGroupResponse])
}

DeletedWorkspacesServer is a fake server for instances of the armoperationalinsights.DeletedWorkspacesClient type.

type DeletedWorkspacesServerTransport

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

DeletedWorkspacesServerTransport connects instances of armoperationalinsights.DeletedWorkspacesClient to instances of DeletedWorkspacesServer. Don't use this type directly, use NewDeletedWorkspacesServerTransport instead.

func NewDeletedWorkspacesServerTransport

func NewDeletedWorkspacesServerTransport(srv *DeletedWorkspacesServer) *DeletedWorkspacesServerTransport

NewDeletedWorkspacesServerTransport creates a new instance of DeletedWorkspacesServerTransport with the provided implementation. The returned DeletedWorkspacesServerTransport instance is connected to an instance of armoperationalinsights.DeletedWorkspacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeletedWorkspacesServerTransport) Do

Do implements the policy.Transporter interface for DeletedWorkspacesServerTransport.

type GatewaysServer

type GatewaysServer struct {
	// Delete is the fake for method GatewaysClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, gatewayID string, options *armoperationalinsights.GatewaysClientDeleteOptions) (resp azfake.Responder[armoperationalinsights.GatewaysClientDeleteResponse], errResp azfake.ErrorResponder)
}

GatewaysServer is a fake server for instances of the armoperationalinsights.GatewaysClient type.

type GatewaysServerTransport

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

GatewaysServerTransport connects instances of armoperationalinsights.GatewaysClient to instances of GatewaysServer. Don't use this type directly, use NewGatewaysServerTransport instead.

func NewGatewaysServerTransport

func NewGatewaysServerTransport(srv *GatewaysServer) *GatewaysServerTransport

NewGatewaysServerTransport creates a new instance of GatewaysServerTransport with the provided implementation. The returned GatewaysServerTransport instance is connected to an instance of armoperationalinsights.GatewaysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GatewaysServerTransport) Do

Do implements the policy.Transporter interface for GatewaysServerTransport.

type IntelligencePacksServer

type IntelligencePacksServer struct {
	// Disable is the fake for method IntelligencePacksClient.Disable
	// HTTP status codes to indicate success: http.StatusOK
	Disable func(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string, options *armoperationalinsights.IntelligencePacksClientDisableOptions) (resp azfake.Responder[armoperationalinsights.IntelligencePacksClientDisableResponse], errResp azfake.ErrorResponder)

	// Enable is the fake for method IntelligencePacksClient.Enable
	// HTTP status codes to indicate success: http.StatusOK
	Enable func(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string, options *armoperationalinsights.IntelligencePacksClientEnableOptions) (resp azfake.Responder[armoperationalinsights.IntelligencePacksClientEnableResponse], errResp azfake.ErrorResponder)

	// List is the fake for method IntelligencePacksClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, workspaceName string, options *armoperationalinsights.IntelligencePacksClientListOptions) (resp azfake.Responder[armoperationalinsights.IntelligencePacksClientListResponse], errResp azfake.ErrorResponder)
}

IntelligencePacksServer is a fake server for instances of the armoperationalinsights.IntelligencePacksClient type.

type IntelligencePacksServerTransport

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

IntelligencePacksServerTransport connects instances of armoperationalinsights.IntelligencePacksClient to instances of IntelligencePacksServer. Don't use this type directly, use NewIntelligencePacksServerTransport instead.

func NewIntelligencePacksServerTransport

func NewIntelligencePacksServerTransport(srv *IntelligencePacksServer) *IntelligencePacksServerTransport

NewIntelligencePacksServerTransport creates a new instance of IntelligencePacksServerTransport with the provided implementation. The returned IntelligencePacksServerTransport instance is connected to an instance of armoperationalinsights.IntelligencePacksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IntelligencePacksServerTransport) Do

Do implements the policy.Transporter interface for IntelligencePacksServerTransport.

type LinkedServicesServer

type LinkedServicesServer struct {
	// BeginCreateOrUpdate is the fake for method LinkedServicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string, parameters armoperationalinsights.LinkedService, options *armoperationalinsights.LinkedServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armoperationalinsights.LinkedServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method LinkedServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string, options *armoperationalinsights.LinkedServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armoperationalinsights.LinkedServicesClientDeleteResponse], errResp azfake.ErrorResponder)

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

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

LinkedServicesServer is a fake server for instances of the armoperationalinsights.LinkedServicesClient type.

type LinkedServicesServerTransport

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

LinkedServicesServerTransport connects instances of armoperationalinsights.LinkedServicesClient to instances of LinkedServicesServer. Don't use this type directly, use NewLinkedServicesServerTransport instead.

func NewLinkedServicesServerTransport

func NewLinkedServicesServerTransport(srv *LinkedServicesServer) *LinkedServicesServerTransport

NewLinkedServicesServerTransport creates a new instance of LinkedServicesServerTransport with the provided implementation. The returned LinkedServicesServerTransport instance is connected to an instance of armoperationalinsights.LinkedServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LinkedServicesServerTransport) Do

Do implements the policy.Transporter interface for LinkedServicesServerTransport.

type LinkedStorageAccountsServer

type LinkedStorageAccountsServer struct {
	// CreateOrUpdate is the fake for method LinkedStorageAccountsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType armoperationalinsights.DataSourceType, parameters armoperationalinsights.LinkedStorageAccountsResource, options *armoperationalinsights.LinkedStorageAccountsClientCreateOrUpdateOptions) (resp azfake.Responder[armoperationalinsights.LinkedStorageAccountsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method LinkedStorageAccountsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType armoperationalinsights.DataSourceType, options *armoperationalinsights.LinkedStorageAccountsClientDeleteOptions) (resp azfake.Responder[armoperationalinsights.LinkedStorageAccountsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method LinkedStorageAccountsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceType armoperationalinsights.DataSourceType, options *armoperationalinsights.LinkedStorageAccountsClientGetOptions) (resp azfake.Responder[armoperationalinsights.LinkedStorageAccountsClientGetResponse], errResp azfake.ErrorResponder)

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

LinkedStorageAccountsServer is a fake server for instances of the armoperationalinsights.LinkedStorageAccountsClient type.

type LinkedStorageAccountsServerTransport

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

LinkedStorageAccountsServerTransport connects instances of armoperationalinsights.LinkedStorageAccountsClient to instances of LinkedStorageAccountsServer. Don't use this type directly, use NewLinkedStorageAccountsServerTransport instead.

func NewLinkedStorageAccountsServerTransport

func NewLinkedStorageAccountsServerTransport(srv *LinkedStorageAccountsServer) *LinkedStorageAccountsServerTransport

NewLinkedStorageAccountsServerTransport creates a new instance of LinkedStorageAccountsServerTransport with the provided implementation. The returned LinkedStorageAccountsServerTransport instance is connected to an instance of armoperationalinsights.LinkedStorageAccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LinkedStorageAccountsServerTransport) Do

Do implements the policy.Transporter interface for LinkedStorageAccountsServerTransport.

type ManagementGroupsServer

type ManagementGroupsServer struct {
	// NewListPager is the fake for method ManagementGroupsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, workspaceName string, options *armoperationalinsights.ManagementGroupsClientListOptions) (resp azfake.PagerResponder[armoperationalinsights.ManagementGroupsClientListResponse])
}

ManagementGroupsServer is a fake server for instances of the armoperationalinsights.ManagementGroupsClient type.

type ManagementGroupsServerTransport

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

ManagementGroupsServerTransport connects instances of armoperationalinsights.ManagementGroupsClient to instances of ManagementGroupsServer. Don't use this type directly, use NewManagementGroupsServerTransport instead.

func NewManagementGroupsServerTransport

func NewManagementGroupsServerTransport(srv *ManagementGroupsServer) *ManagementGroupsServerTransport

NewManagementGroupsServerTransport creates a new instance of ManagementGroupsServerTransport with the provided implementation. The returned ManagementGroupsServerTransport instance is connected to an instance of armoperationalinsights.ManagementGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ManagementGroupsServerTransport) Do

Do implements the policy.Transporter interface for ManagementGroupsServerTransport.

type OperationStatusesServer

type OperationStatusesServer struct {
	// Get is the fake for method OperationStatusesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, location string, asyncOperationID string, options *armoperationalinsights.OperationStatusesClientGetOptions) (resp azfake.Responder[armoperationalinsights.OperationStatusesClientGetResponse], errResp azfake.ErrorResponder)
}

OperationStatusesServer is a fake server for instances of the armoperationalinsights.OperationStatusesClient type.

type OperationStatusesServerTransport

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

OperationStatusesServerTransport connects instances of armoperationalinsights.OperationStatusesClient to instances of OperationStatusesServer. Don't use this type directly, use NewOperationStatusesServerTransport instead.

func NewOperationStatusesServerTransport

func NewOperationStatusesServerTransport(srv *OperationStatusesServer) *OperationStatusesServerTransport

NewOperationStatusesServerTransport creates a new instance of OperationStatusesServerTransport with the provided implementation. The returned OperationStatusesServerTransport instance is connected to an instance of armoperationalinsights.OperationStatusesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationStatusesServerTransport) Do

Do implements the policy.Transporter interface for OperationStatusesServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armoperationalinsights.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 armoperationalinsights.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 QueriesServer

type QueriesServer struct {
	// Delete is the fake for method QueriesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, queryPackName string, id string, options *armoperationalinsights.QueriesClientDeleteOptions) (resp azfake.Responder[armoperationalinsights.QueriesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method QueriesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, queryPackName string, id string, options *armoperationalinsights.QueriesClientGetOptions) (resp azfake.Responder[armoperationalinsights.QueriesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method QueriesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, queryPackName string, options *armoperationalinsights.QueriesClientListOptions) (resp azfake.PagerResponder[armoperationalinsights.QueriesClientListResponse])

	// Put is the fake for method QueriesClient.Put
	// HTTP status codes to indicate success: http.StatusOK
	Put func(ctx context.Context, resourceGroupName string, queryPackName string, id string, queryPayload armoperationalinsights.LogAnalyticsQueryPackQuery, options *armoperationalinsights.QueriesClientPutOptions) (resp azfake.Responder[armoperationalinsights.QueriesClientPutResponse], errResp azfake.ErrorResponder)

	// NewSearchPager is the fake for method QueriesClient.NewSearchPager
	// HTTP status codes to indicate success: http.StatusOK
	NewSearchPager func(resourceGroupName string, queryPackName string, querySearchProperties armoperationalinsights.LogAnalyticsQueryPackQuerySearchProperties, options *armoperationalinsights.QueriesClientSearchOptions) (resp azfake.PagerResponder[armoperationalinsights.QueriesClientSearchResponse])

	// Update is the fake for method QueriesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, queryPackName string, id string, queryPayload armoperationalinsights.LogAnalyticsQueryPackQuery, options *armoperationalinsights.QueriesClientUpdateOptions) (resp azfake.Responder[armoperationalinsights.QueriesClientUpdateResponse], errResp azfake.ErrorResponder)
}

QueriesServer is a fake server for instances of the armoperationalinsights.QueriesClient type.

type QueriesServerTransport

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

QueriesServerTransport connects instances of armoperationalinsights.QueriesClient to instances of QueriesServer. Don't use this type directly, use NewQueriesServerTransport instead.

func NewQueriesServerTransport

func NewQueriesServerTransport(srv *QueriesServer) *QueriesServerTransport

NewQueriesServerTransport creates a new instance of QueriesServerTransport with the provided implementation. The returned QueriesServerTransport instance is connected to an instance of armoperationalinsights.QueriesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*QueriesServerTransport) Do

Do implements the policy.Transporter interface for QueriesServerTransport.

type QueryPacksServer

type QueryPacksServer struct {
	// CreateOrUpdate is the fake for method QueryPacksClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, queryPackName string, logAnalyticsQueryPackPayload armoperationalinsights.LogAnalyticsQueryPack, options *armoperationalinsights.QueryPacksClientCreateOrUpdateOptions) (resp azfake.Responder[armoperationalinsights.QueryPacksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// CreateOrUpdateWithoutName is the fake for method QueryPacksClient.CreateOrUpdateWithoutName
	// HTTP status codes to indicate success: http.StatusCreated
	CreateOrUpdateWithoutName func(ctx context.Context, resourceGroupName string, logAnalyticsQueryPackPayload armoperationalinsights.LogAnalyticsQueryPack, options *armoperationalinsights.QueryPacksClientCreateOrUpdateWithoutNameOptions) (resp azfake.Responder[armoperationalinsights.QueryPacksClientCreateOrUpdateWithoutNameResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method QueryPacksClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, queryPackName string, options *armoperationalinsights.QueryPacksClientDeleteOptions) (resp azfake.Responder[armoperationalinsights.QueryPacksClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method QueryPacksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, queryPackName string, options *armoperationalinsights.QueryPacksClientGetOptions) (resp azfake.Responder[armoperationalinsights.QueryPacksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method QueryPacksClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armoperationalinsights.QueryPacksClientListOptions) (resp azfake.PagerResponder[armoperationalinsights.QueryPacksClientListResponse])

	// NewListByResourceGroupPager is the fake for method QueryPacksClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armoperationalinsights.QueryPacksClientListByResourceGroupOptions) (resp azfake.PagerResponder[armoperationalinsights.QueryPacksClientListByResourceGroupResponse])

	// UpdateTags is the fake for method QueryPacksClient.UpdateTags
	// HTTP status codes to indicate success: http.StatusOK
	UpdateTags func(ctx context.Context, resourceGroupName string, queryPackName string, queryPackTags armoperationalinsights.TagsResource, options *armoperationalinsights.QueryPacksClientUpdateTagsOptions) (resp azfake.Responder[armoperationalinsights.QueryPacksClientUpdateTagsResponse], errResp azfake.ErrorResponder)
}

QueryPacksServer is a fake server for instances of the armoperationalinsights.QueryPacksClient type.

type QueryPacksServerTransport

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

QueryPacksServerTransport connects instances of armoperationalinsights.QueryPacksClient to instances of QueryPacksServer. Don't use this type directly, use NewQueryPacksServerTransport instead.

func NewQueryPacksServerTransport

func NewQueryPacksServerTransport(srv *QueryPacksServer) *QueryPacksServerTransport

NewQueryPacksServerTransport creates a new instance of QueryPacksServerTransport with the provided implementation. The returned QueryPacksServerTransport instance is connected to an instance of armoperationalinsights.QueryPacksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*QueryPacksServerTransport) Do

Do implements the policy.Transporter interface for QueryPacksServerTransport.

type SavedSearchesServer

type SavedSearchesServer struct {
	// CreateOrUpdate is the fake for method SavedSearchesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID string, parameters armoperationalinsights.SavedSearch, options *armoperationalinsights.SavedSearchesClientCreateOrUpdateOptions) (resp azfake.Responder[armoperationalinsights.SavedSearchesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method SavedSearchesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, workspaceName string, savedSearchID string, options *armoperationalinsights.SavedSearchesClientDeleteOptions) (resp azfake.Responder[armoperationalinsights.SavedSearchesClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// ListByWorkspace is the fake for method SavedSearchesClient.ListByWorkspace
	// HTTP status codes to indicate success: http.StatusOK
	ListByWorkspace func(ctx context.Context, resourceGroupName string, workspaceName string, options *armoperationalinsights.SavedSearchesClientListByWorkspaceOptions) (resp azfake.Responder[armoperationalinsights.SavedSearchesClientListByWorkspaceResponse], errResp azfake.ErrorResponder)
}

SavedSearchesServer is a fake server for instances of the armoperationalinsights.SavedSearchesClient type.

type SavedSearchesServerTransport

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

SavedSearchesServerTransport connects instances of armoperationalinsights.SavedSearchesClient to instances of SavedSearchesServer. Don't use this type directly, use NewSavedSearchesServerTransport instead.

func NewSavedSearchesServerTransport

func NewSavedSearchesServerTransport(srv *SavedSearchesServer) *SavedSearchesServerTransport

NewSavedSearchesServerTransport creates a new instance of SavedSearchesServerTransport with the provided implementation. The returned SavedSearchesServerTransport instance is connected to an instance of armoperationalinsights.SavedSearchesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SavedSearchesServerTransport) Do

Do implements the policy.Transporter interface for SavedSearchesServerTransport.

type SchemaServer

type SchemaServer struct {
	// Get is the fake for method SchemaClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, options *armoperationalinsights.SchemaClientGetOptions) (resp azfake.Responder[armoperationalinsights.SchemaClientGetResponse], errResp azfake.ErrorResponder)
}

SchemaServer is a fake server for instances of the armoperationalinsights.SchemaClient type.

type SchemaServerTransport

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

SchemaServerTransport connects instances of armoperationalinsights.SchemaClient to instances of SchemaServer. Don't use this type directly, use NewSchemaServerTransport instead.

func NewSchemaServerTransport

func NewSchemaServerTransport(srv *SchemaServer) *SchemaServerTransport

NewSchemaServerTransport creates a new instance of SchemaServerTransport with the provided implementation. The returned SchemaServerTransport instance is connected to an instance of armoperationalinsights.SchemaClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SchemaServerTransport) Do

Do implements the policy.Transporter interface for SchemaServerTransport.

type ServerFactory

type ServerFactory struct {
	AvailableServiceTiersServer AvailableServiceTiersServer
	ClustersServer              ClustersServer
	DataExportsServer           DataExportsServer
	DataSourcesServer           DataSourcesServer
	DeletedWorkspacesServer     DeletedWorkspacesServer
	GatewaysServer              GatewaysServer
	IntelligencePacksServer     IntelligencePacksServer
	LinkedServicesServer        LinkedServicesServer
	LinkedStorageAccountsServer LinkedStorageAccountsServer
	ManagementGroupsServer      ManagementGroupsServer
	OperationStatusesServer     OperationStatusesServer
	OperationsServer            OperationsServer
	QueriesServer               QueriesServer
	QueryPacksServer            QueryPacksServer
	SavedSearchesServer         SavedSearchesServer
	SchemaServer                SchemaServer
	SharedKeysServer            SharedKeysServer
	StorageInsightConfigsServer StorageInsightConfigsServer
	TablesServer                TablesServer
	UsagesServer                UsagesServer
	WorkspacePurgeServer        WorkspacePurgeServer
	WorkspacesServer            WorkspacesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armoperationalinsights.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 armoperationalinsights.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 SharedKeysServer

type SharedKeysServer struct {
	// GetSharedKeys is the fake for method SharedKeysClient.GetSharedKeys
	// HTTP status codes to indicate success: http.StatusOK
	GetSharedKeys func(ctx context.Context, resourceGroupName string, workspaceName string, options *armoperationalinsights.SharedKeysClientGetSharedKeysOptions) (resp azfake.Responder[armoperationalinsights.SharedKeysClientGetSharedKeysResponse], errResp azfake.ErrorResponder)

	// Regenerate is the fake for method SharedKeysClient.Regenerate
	// HTTP status codes to indicate success: http.StatusOK
	Regenerate func(ctx context.Context, resourceGroupName string, workspaceName string, options *armoperationalinsights.SharedKeysClientRegenerateOptions) (resp azfake.Responder[armoperationalinsights.SharedKeysClientRegenerateResponse], errResp azfake.ErrorResponder)
}

SharedKeysServer is a fake server for instances of the armoperationalinsights.SharedKeysClient type.

type SharedKeysServerTransport

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

SharedKeysServerTransport connects instances of armoperationalinsights.SharedKeysClient to instances of SharedKeysServer. Don't use this type directly, use NewSharedKeysServerTransport instead.

func NewSharedKeysServerTransport

func NewSharedKeysServerTransport(srv *SharedKeysServer) *SharedKeysServerTransport

NewSharedKeysServerTransport creates a new instance of SharedKeysServerTransport with the provided implementation. The returned SharedKeysServerTransport instance is connected to an instance of armoperationalinsights.SharedKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SharedKeysServerTransport) Do

Do implements the policy.Transporter interface for SharedKeysServerTransport.

type StorageInsightConfigsServer

type StorageInsightConfigsServer struct {
	// CreateOrUpdate is the fake for method StorageInsightConfigsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, storageInsightName string, parameters armoperationalinsights.StorageInsight, options *armoperationalinsights.StorageInsightConfigsClientCreateOrUpdateOptions) (resp azfake.Responder[armoperationalinsights.StorageInsightConfigsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

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

StorageInsightConfigsServer is a fake server for instances of the armoperationalinsights.StorageInsightConfigsClient type.

type StorageInsightConfigsServerTransport

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

StorageInsightConfigsServerTransport connects instances of armoperationalinsights.StorageInsightConfigsClient to instances of StorageInsightConfigsServer. Don't use this type directly, use NewStorageInsightConfigsServerTransport instead.

func NewStorageInsightConfigsServerTransport

func NewStorageInsightConfigsServerTransport(srv *StorageInsightConfigsServer) *StorageInsightConfigsServerTransport

NewStorageInsightConfigsServerTransport creates a new instance of StorageInsightConfigsServerTransport with the provided implementation. The returned StorageInsightConfigsServerTransport instance is connected to an instance of armoperationalinsights.StorageInsightConfigsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*StorageInsightConfigsServerTransport) Do

Do implements the policy.Transporter interface for StorageInsightConfigsServerTransport.

type TablesServer

type TablesServer struct {
	// BeginCreateOrUpdate is the fake for method TablesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, parameters armoperationalinsights.Table, options *armoperationalinsights.TablesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armoperationalinsights.TablesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method TablesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, options *armoperationalinsights.TablesClientBeginDeleteOptions) (resp azfake.PollerResponder[armoperationalinsights.TablesClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListByWorkspacePager is the fake for method TablesClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armoperationalinsights.TablesClientListByWorkspaceOptions) (resp azfake.PagerResponder[armoperationalinsights.TablesClientListByWorkspaceResponse])

	// Migrate is the fake for method TablesClient.Migrate
	// HTTP status codes to indicate success: http.StatusOK
	Migrate func(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, options *armoperationalinsights.TablesClientMigrateOptions) (resp azfake.Responder[armoperationalinsights.TablesClientMigrateResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method TablesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, tableName string, parameters armoperationalinsights.Table, options *armoperationalinsights.TablesClientBeginUpdateOptions) (resp azfake.PollerResponder[armoperationalinsights.TablesClientUpdateResponse], errResp azfake.ErrorResponder)
}

TablesServer is a fake server for instances of the armoperationalinsights.TablesClient type.

type TablesServerTransport

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

TablesServerTransport connects instances of armoperationalinsights.TablesClient to instances of TablesServer. Don't use this type directly, use NewTablesServerTransport instead.

func NewTablesServerTransport

func NewTablesServerTransport(srv *TablesServer) *TablesServerTransport

NewTablesServerTransport creates a new instance of TablesServerTransport with the provided implementation. The returned TablesServerTransport instance is connected to an instance of armoperationalinsights.TablesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TablesServerTransport) Do

Do implements the policy.Transporter interface for TablesServerTransport.

type UsagesServer

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

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

type UsagesServerTransport

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

UsagesServerTransport connects instances of armoperationalinsights.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 armoperationalinsights.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 WorkspacePurgeServer

type WorkspacePurgeServer struct {
	// GetPurgeStatus is the fake for method WorkspacePurgeClient.GetPurgeStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetPurgeStatus func(ctx context.Context, resourceGroupName string, workspaceName string, purgeID string, options *armoperationalinsights.WorkspacePurgeClientGetPurgeStatusOptions) (resp azfake.Responder[armoperationalinsights.WorkspacePurgeClientGetPurgeStatusResponse], errResp azfake.ErrorResponder)

	// Purge is the fake for method WorkspacePurgeClient.Purge
	// HTTP status codes to indicate success: http.StatusAccepted
	Purge func(ctx context.Context, resourceGroupName string, workspaceName string, body armoperationalinsights.WorkspacePurgeBody, options *armoperationalinsights.WorkspacePurgeClientPurgeOptions) (resp azfake.Responder[armoperationalinsights.WorkspacePurgeClientPurgeResponse], errResp azfake.ErrorResponder)
}

WorkspacePurgeServer is a fake server for instances of the armoperationalinsights.WorkspacePurgeClient type.

type WorkspacePurgeServerTransport

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

WorkspacePurgeServerTransport connects instances of armoperationalinsights.WorkspacePurgeClient to instances of WorkspacePurgeServer. Don't use this type directly, use NewWorkspacePurgeServerTransport instead.

func NewWorkspacePurgeServerTransport

func NewWorkspacePurgeServerTransport(srv *WorkspacePurgeServer) *WorkspacePurgeServerTransport

NewWorkspacePurgeServerTransport creates a new instance of WorkspacePurgeServerTransport with the provided implementation. The returned WorkspacePurgeServerTransport instance is connected to an instance of armoperationalinsights.WorkspacePurgeClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkspacePurgeServerTransport) Do

Do implements the policy.Transporter interface for WorkspacePurgeServerTransport.

type WorkspacesServer

type WorkspacesServer struct {
	// BeginCreateOrUpdate is the fake for method WorkspacesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, parameters armoperationalinsights.Workspace, options *armoperationalinsights.WorkspacesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armoperationalinsights.WorkspacesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListPager is the fake for method WorkspacesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armoperationalinsights.WorkspacesClientListOptions) (resp azfake.PagerResponder[armoperationalinsights.WorkspacesClientListResponse])

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

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

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

type WorkspacesServerTransport

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

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

func NewWorkspacesServerTransport

func NewWorkspacesServerTransport(srv *WorkspacesServer) *WorkspacesServerTransport

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

func (*WorkspacesServerTransport) Do

Do implements the policy.Transporter interface for WorkspacesServerTransport.

Jump to

Keyboard shortcuts

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