fake

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CassandraClustersServer

type CassandraClustersServer struct {
	// BeginCreateUpdate is the fake for method CassandraClustersClient.BeginCreateUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateUpdate func(ctx context.Context, resourceGroupName string, clusterName string, body armcosmos.ClusterResource, options *armcosmos.CassandraClustersClientBeginCreateUpdateOptions) (resp azfake.PollerResponder[armcosmos.CassandraClustersClientCreateUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDeallocate is the fake for method CassandraClustersClient.BeginDeallocate
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginDeallocate func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmos.CassandraClustersClientBeginDeallocateOptions) (resp azfake.PollerResponder[armcosmos.CassandraClustersClientDeallocateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CassandraClustersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmos.CassandraClustersClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmos.CassandraClustersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CassandraClustersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmos.CassandraClustersClientGetOptions) (resp azfake.Responder[armcosmos.CassandraClustersClientGetResponse], errResp azfake.ErrorResponder)

	// BeginInvokeCommand is the fake for method CassandraClustersClient.BeginInvokeCommand
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginInvokeCommand func(ctx context.Context, resourceGroupName string, clusterName string, body armcosmos.CommandPostBody, options *armcosmos.CassandraClustersClientBeginInvokeCommandOptions) (resp azfake.PollerResponder[armcosmos.CassandraClustersClientInvokeCommandResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method CassandraClustersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armcosmos.CassandraClustersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armcosmos.CassandraClustersClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method CassandraClustersClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armcosmos.CassandraClustersClientListBySubscriptionOptions) (resp azfake.PagerResponder[armcosmos.CassandraClustersClientListBySubscriptionResponse])

	// BeginStart is the fake for method CassandraClustersClient.BeginStart
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmos.CassandraClustersClientBeginStartOptions) (resp azfake.PollerResponder[armcosmos.CassandraClustersClientStartResponse], errResp azfake.ErrorResponder)

	// Status is the fake for method CassandraClustersClient.Status
	// HTTP status codes to indicate success: http.StatusOK
	Status func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmos.CassandraClustersClientStatusOptions) (resp azfake.Responder[armcosmos.CassandraClustersClientStatusResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method CassandraClustersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, body armcosmos.ClusterResource, options *armcosmos.CassandraClustersClientBeginUpdateOptions) (resp azfake.PollerResponder[armcosmos.CassandraClustersClientUpdateResponse], errResp azfake.ErrorResponder)
}

CassandraClustersServer is a fake server for instances of the armcosmos.CassandraClustersClient type.

type CassandraClustersServerTransport

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

CassandraClustersServerTransport connects instances of armcosmos.CassandraClustersClient to instances of CassandraClustersServer. Don't use this type directly, use NewCassandraClustersServerTransport instead.

func NewCassandraClustersServerTransport

func NewCassandraClustersServerTransport(srv *CassandraClustersServer) *CassandraClustersServerTransport

NewCassandraClustersServerTransport creates a new instance of CassandraClustersServerTransport with the provided implementation. The returned CassandraClustersServerTransport instance is connected to an instance of armcosmos.CassandraClustersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CassandraClustersServerTransport) Do

Do implements the policy.Transporter interface for CassandraClustersServerTransport.

type CassandraDataCentersServer

type CassandraDataCentersServer struct {
	// BeginCreateUpdate is the fake for method CassandraDataCentersClient.BeginCreateUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateUpdate func(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, body armcosmos.DataCenterResource, options *armcosmos.CassandraDataCentersClientBeginCreateUpdateOptions) (resp azfake.PollerResponder[armcosmos.CassandraDataCentersClientCreateUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CassandraDataCentersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, options *armcosmos.CassandraDataCentersClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmos.CassandraDataCentersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CassandraDataCentersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, options *armcosmos.CassandraDataCentersClientGetOptions) (resp azfake.Responder[armcosmos.CassandraDataCentersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method CassandraDataCentersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, clusterName string, options *armcosmos.CassandraDataCentersClientListOptions) (resp azfake.PagerResponder[armcosmos.CassandraDataCentersClientListResponse])

	// BeginUpdate is the fake for method CassandraDataCentersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, body armcosmos.DataCenterResource, options *armcosmos.CassandraDataCentersClientBeginUpdateOptions) (resp azfake.PollerResponder[armcosmos.CassandraDataCentersClientUpdateResponse], errResp azfake.ErrorResponder)
}

CassandraDataCentersServer is a fake server for instances of the armcosmos.CassandraDataCentersClient type.

type CassandraDataCentersServerTransport

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

CassandraDataCentersServerTransport connects instances of armcosmos.CassandraDataCentersClient to instances of CassandraDataCentersServer. Don't use this type directly, use NewCassandraDataCentersServerTransport instead.

func NewCassandraDataCentersServerTransport

func NewCassandraDataCentersServerTransport(srv *CassandraDataCentersServer) *CassandraDataCentersServerTransport

NewCassandraDataCentersServerTransport creates a new instance of CassandraDataCentersServerTransport with the provided implementation. The returned CassandraDataCentersServerTransport instance is connected to an instance of armcosmos.CassandraDataCentersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CassandraDataCentersServerTransport) Do

Do implements the policy.Transporter interface for CassandraDataCentersServerTransport.

type CassandraResourcesServer

type CassandraResourcesServer struct {
	// BeginCreateUpdateCassandraKeyspace is the fake for method CassandraResourcesClient.BeginCreateUpdateCassandraKeyspace
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateCassandraKeyspace func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, createUpdateCassandraKeyspaceParameters armcosmos.CassandraKeyspaceCreateUpdateParameters, options *armcosmos.CassandraResourcesClientBeginCreateUpdateCassandraKeyspaceOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientCreateUpdateCassandraKeyspaceResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateCassandraTable is the fake for method CassandraResourcesClient.BeginCreateUpdateCassandraTable
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateCassandraTable func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, createUpdateCassandraTableParameters armcosmos.CassandraTableCreateUpdateParameters, options *armcosmos.CassandraResourcesClientBeginCreateUpdateCassandraTableOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientCreateUpdateCassandraTableResponse], errResp azfake.ErrorResponder)

	// BeginDeleteCassandraKeyspace is the fake for method CassandraResourcesClient.BeginDeleteCassandraKeyspace
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteCassandraKeyspace func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *armcosmos.CassandraResourcesClientBeginDeleteCassandraKeyspaceOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientDeleteCassandraKeyspaceResponse], errResp azfake.ErrorResponder)

	// BeginDeleteCassandraTable is the fake for method CassandraResourcesClient.BeginDeleteCassandraTable
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteCassandraTable func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *armcosmos.CassandraResourcesClientBeginDeleteCassandraTableOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientDeleteCassandraTableResponse], errResp azfake.ErrorResponder)

	// GetCassandraKeyspace is the fake for method CassandraResourcesClient.GetCassandraKeyspace
	// HTTP status codes to indicate success: http.StatusOK
	GetCassandraKeyspace func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *armcosmos.CassandraResourcesClientGetCassandraKeyspaceOptions) (resp azfake.Responder[armcosmos.CassandraResourcesClientGetCassandraKeyspaceResponse], errResp azfake.ErrorResponder)

	// GetCassandraKeyspaceThroughput is the fake for method CassandraResourcesClient.GetCassandraKeyspaceThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetCassandraKeyspaceThroughput func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *armcosmos.CassandraResourcesClientGetCassandraKeyspaceThroughputOptions) (resp azfake.Responder[armcosmos.CassandraResourcesClientGetCassandraKeyspaceThroughputResponse], errResp azfake.ErrorResponder)

	// GetCassandraTable is the fake for method CassandraResourcesClient.GetCassandraTable
	// HTTP status codes to indicate success: http.StatusOK
	GetCassandraTable func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *armcosmos.CassandraResourcesClientGetCassandraTableOptions) (resp azfake.Responder[armcosmos.CassandraResourcesClientGetCassandraTableResponse], errResp azfake.ErrorResponder)

	// GetCassandraTableThroughput is the fake for method CassandraResourcesClient.GetCassandraTableThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetCassandraTableThroughput func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *armcosmos.CassandraResourcesClientGetCassandraTableThroughputOptions) (resp azfake.Responder[armcosmos.CassandraResourcesClientGetCassandraTableThroughputResponse], errResp azfake.ErrorResponder)

	// NewListCassandraKeyspacesPager is the fake for method CassandraResourcesClient.NewListCassandraKeyspacesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListCassandraKeyspacesPager func(resourceGroupName string, accountName string, options *armcosmos.CassandraResourcesClientListCassandraKeyspacesOptions) (resp azfake.PagerResponder[armcosmos.CassandraResourcesClientListCassandraKeyspacesResponse])

	// NewListCassandraTablesPager is the fake for method CassandraResourcesClient.NewListCassandraTablesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListCassandraTablesPager func(resourceGroupName string, accountName string, keyspaceName string, options *armcosmos.CassandraResourcesClientListCassandraTablesOptions) (resp azfake.PagerResponder[armcosmos.CassandraResourcesClientListCassandraTablesResponse])

	// BeginMigrateCassandraKeyspaceToAutoscale is the fake for method CassandraResourcesClient.BeginMigrateCassandraKeyspaceToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateCassandraKeyspaceToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *armcosmos.CassandraResourcesClientBeginMigrateCassandraKeyspaceToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientMigrateCassandraKeyspaceToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateCassandraKeyspaceToManualThroughput is the fake for method CassandraResourcesClient.BeginMigrateCassandraKeyspaceToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateCassandraKeyspaceToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *armcosmos.CassandraResourcesClientBeginMigrateCassandraKeyspaceToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientMigrateCassandraKeyspaceToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginMigrateCassandraTableToAutoscale is the fake for method CassandraResourcesClient.BeginMigrateCassandraTableToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateCassandraTableToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *armcosmos.CassandraResourcesClientBeginMigrateCassandraTableToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientMigrateCassandraTableToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateCassandraTableToManualThroughput is the fake for method CassandraResourcesClient.BeginMigrateCassandraTableToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateCassandraTableToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *armcosmos.CassandraResourcesClientBeginMigrateCassandraTableToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientMigrateCassandraTableToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginUpdateCassandraKeyspaceThroughput is the fake for method CassandraResourcesClient.BeginUpdateCassandraKeyspaceThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateCassandraKeyspaceThroughput func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.CassandraResourcesClientBeginUpdateCassandraKeyspaceThroughputOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientUpdateCassandraKeyspaceThroughputResponse], errResp azfake.ErrorResponder)

	// BeginUpdateCassandraTableThroughput is the fake for method CassandraResourcesClient.BeginUpdateCassandraTableThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateCassandraTableThroughput func(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.CassandraResourcesClientBeginUpdateCassandraTableThroughputOptions) (resp azfake.PollerResponder[armcosmos.CassandraResourcesClientUpdateCassandraTableThroughputResponse], errResp azfake.ErrorResponder)
}

CassandraResourcesServer is a fake server for instances of the armcosmos.CassandraResourcesClient type.

type CassandraResourcesServerTransport

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

CassandraResourcesServerTransport connects instances of armcosmos.CassandraResourcesClient to instances of CassandraResourcesServer. Don't use this type directly, use NewCassandraResourcesServerTransport instead.

func NewCassandraResourcesServerTransport

func NewCassandraResourcesServerTransport(srv *CassandraResourcesServer) *CassandraResourcesServerTransport

NewCassandraResourcesServerTransport creates a new instance of CassandraResourcesServerTransport with the provided implementation. The returned CassandraResourcesServerTransport instance is connected to an instance of armcosmos.CassandraResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CassandraResourcesServerTransport) Do

Do implements the policy.Transporter interface for CassandraResourcesServerTransport.

type CollectionPartitionRegionServer

type CollectionPartitionRegionServer struct {
	// NewListMetricsPager is the fake for method CollectionPartitionRegionClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string, options *armcosmos.CollectionPartitionRegionClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.CollectionPartitionRegionClientListMetricsResponse])
}

CollectionPartitionRegionServer is a fake server for instances of the armcosmos.CollectionPartitionRegionClient type.

type CollectionPartitionRegionServerTransport

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

CollectionPartitionRegionServerTransport connects instances of armcosmos.CollectionPartitionRegionClient to instances of CollectionPartitionRegionServer. Don't use this type directly, use NewCollectionPartitionRegionServerTransport instead.

func NewCollectionPartitionRegionServerTransport

func NewCollectionPartitionRegionServerTransport(srv *CollectionPartitionRegionServer) *CollectionPartitionRegionServerTransport

NewCollectionPartitionRegionServerTransport creates a new instance of CollectionPartitionRegionServerTransport with the provided implementation. The returned CollectionPartitionRegionServerTransport instance is connected to an instance of armcosmos.CollectionPartitionRegionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CollectionPartitionRegionServerTransport) Do

Do implements the policy.Transporter interface for CollectionPartitionRegionServerTransport.

type CollectionPartitionServer

type CollectionPartitionServer struct {
	// NewListMetricsPager is the fake for method CollectionPartitionClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string, options *armcosmos.CollectionPartitionClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.CollectionPartitionClientListMetricsResponse])

	// NewListUsagesPager is the fake for method CollectionPartitionClient.NewListUsagesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListUsagesPager func(resourceGroupName string, accountName string, databaseRid string, collectionRid string, options *armcosmos.CollectionPartitionClientListUsagesOptions) (resp azfake.PagerResponder[armcosmos.CollectionPartitionClientListUsagesResponse])
}

CollectionPartitionServer is a fake server for instances of the armcosmos.CollectionPartitionClient type.

type CollectionPartitionServerTransport

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

CollectionPartitionServerTransport connects instances of armcosmos.CollectionPartitionClient to instances of CollectionPartitionServer. Don't use this type directly, use NewCollectionPartitionServerTransport instead.

func NewCollectionPartitionServerTransport

func NewCollectionPartitionServerTransport(srv *CollectionPartitionServer) *CollectionPartitionServerTransport

NewCollectionPartitionServerTransport creates a new instance of CollectionPartitionServerTransport with the provided implementation. The returned CollectionPartitionServerTransport instance is connected to an instance of armcosmos.CollectionPartitionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CollectionPartitionServerTransport) Do

Do implements the policy.Transporter interface for CollectionPartitionServerTransport.

type CollectionRegionServer

type CollectionRegionServer struct {
	// NewListMetricsPager is the fake for method CollectionRegionClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string, options *armcosmos.CollectionRegionClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.CollectionRegionClientListMetricsResponse])
}

CollectionRegionServer is a fake server for instances of the armcosmos.CollectionRegionClient type.

type CollectionRegionServerTransport

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

CollectionRegionServerTransport connects instances of armcosmos.CollectionRegionClient to instances of CollectionRegionServer. Don't use this type directly, use NewCollectionRegionServerTransport instead.

func NewCollectionRegionServerTransport

func NewCollectionRegionServerTransport(srv *CollectionRegionServer) *CollectionRegionServerTransport

NewCollectionRegionServerTransport creates a new instance of CollectionRegionServerTransport with the provided implementation. The returned CollectionRegionServerTransport instance is connected to an instance of armcosmos.CollectionRegionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CollectionRegionServerTransport) Do

Do implements the policy.Transporter interface for CollectionRegionServerTransport.

type CollectionServer

type CollectionServer struct {
	// NewListMetricDefinitionsPager is the fake for method CollectionClient.NewListMetricDefinitionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricDefinitionsPager func(resourceGroupName string, accountName string, databaseRid string, collectionRid string, options *armcosmos.CollectionClientListMetricDefinitionsOptions) (resp azfake.PagerResponder[armcosmos.CollectionClientListMetricDefinitionsResponse])

	// NewListMetricsPager is the fake for method CollectionClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string, options *armcosmos.CollectionClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.CollectionClientListMetricsResponse])

	// NewListUsagesPager is the fake for method CollectionClient.NewListUsagesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListUsagesPager func(resourceGroupName string, accountName string, databaseRid string, collectionRid string, options *armcosmos.CollectionClientListUsagesOptions) (resp azfake.PagerResponder[armcosmos.CollectionClientListUsagesResponse])
}

CollectionServer is a fake server for instances of the armcosmos.CollectionClient type.

type CollectionServerTransport

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

CollectionServerTransport connects instances of armcosmos.CollectionClient to instances of CollectionServer. Don't use this type directly, use NewCollectionServerTransport instead.

func NewCollectionServerTransport

func NewCollectionServerTransport(srv *CollectionServer) *CollectionServerTransport

NewCollectionServerTransport creates a new instance of CollectionServerTransport with the provided implementation. The returned CollectionServerTransport instance is connected to an instance of armcosmos.CollectionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CollectionServerTransport) Do

Do implements the policy.Transporter interface for CollectionServerTransport.

type DatabaseAccountRegionServer

type DatabaseAccountRegionServer struct {
	// NewListMetricsPager is the fake for method DatabaseAccountRegionClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, region string, filter string, options *armcosmos.DatabaseAccountRegionClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.DatabaseAccountRegionClientListMetricsResponse])
}

DatabaseAccountRegionServer is a fake server for instances of the armcosmos.DatabaseAccountRegionClient type.

type DatabaseAccountRegionServerTransport

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

DatabaseAccountRegionServerTransport connects instances of armcosmos.DatabaseAccountRegionClient to instances of DatabaseAccountRegionServer. Don't use this type directly, use NewDatabaseAccountRegionServerTransport instead.

func NewDatabaseAccountRegionServerTransport

func NewDatabaseAccountRegionServerTransport(srv *DatabaseAccountRegionServer) *DatabaseAccountRegionServerTransport

NewDatabaseAccountRegionServerTransport creates a new instance of DatabaseAccountRegionServerTransport with the provided implementation. The returned DatabaseAccountRegionServerTransport instance is connected to an instance of armcosmos.DatabaseAccountRegionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabaseAccountRegionServerTransport) Do

Do implements the policy.Transporter interface for DatabaseAccountRegionServerTransport.

type DatabaseAccountsServer

type DatabaseAccountsServer struct {
	// CheckNameExists is the fake for method DatabaseAccountsClient.CheckNameExists
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNotFound
	CheckNameExists func(ctx context.Context, accountName string, options *armcosmos.DatabaseAccountsClientCheckNameExistsOptions) (resp azfake.Responder[armcosmos.DatabaseAccountsClientCheckNameExistsResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method DatabaseAccountsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, createUpdateParameters armcosmos.DatabaseAccountCreateUpdateParameters, options *armcosmos.DatabaseAccountsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcosmos.DatabaseAccountsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DatabaseAccountsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmos.DatabaseAccountsClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginFailoverPriorityChange is the fake for method DatabaseAccountsClient.BeginFailoverPriorityChange
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginFailoverPriorityChange func(ctx context.Context, resourceGroupName string, accountName string, failoverParameters armcosmos.FailoverPolicies, options *armcosmos.DatabaseAccountsClientBeginFailoverPriorityChangeOptions) (resp azfake.PollerResponder[armcosmos.DatabaseAccountsClientFailoverPriorityChangeResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DatabaseAccountsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientGetOptions) (resp azfake.Responder[armcosmos.DatabaseAccountsClientGetResponse], errResp azfake.ErrorResponder)

	// GetReadOnlyKeys is the fake for method DatabaseAccountsClient.GetReadOnlyKeys
	// HTTP status codes to indicate success: http.StatusOK
	GetReadOnlyKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientGetReadOnlyKeysOptions) (resp azfake.Responder[armcosmos.DatabaseAccountsClientGetReadOnlyKeysResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method DatabaseAccountsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcosmos.DatabaseAccountsClientListOptions) (resp azfake.PagerResponder[armcosmos.DatabaseAccountsClientListResponse])

	// NewListByResourceGroupPager is the fake for method DatabaseAccountsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armcosmos.DatabaseAccountsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armcosmos.DatabaseAccountsClientListByResourceGroupResponse])

	// ListConnectionStrings is the fake for method DatabaseAccountsClient.ListConnectionStrings
	// HTTP status codes to indicate success: http.StatusOK
	ListConnectionStrings func(ctx context.Context, resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientListConnectionStringsOptions) (resp azfake.Responder[armcosmos.DatabaseAccountsClientListConnectionStringsResponse], errResp azfake.ErrorResponder)

	// ListKeys is the fake for method DatabaseAccountsClient.ListKeys
	// HTTP status codes to indicate success: http.StatusOK
	ListKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientListKeysOptions) (resp azfake.Responder[armcosmos.DatabaseAccountsClientListKeysResponse], errResp azfake.ErrorResponder)

	// NewListMetricDefinitionsPager is the fake for method DatabaseAccountsClient.NewListMetricDefinitionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricDefinitionsPager func(resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientListMetricDefinitionsOptions) (resp azfake.PagerResponder[armcosmos.DatabaseAccountsClientListMetricDefinitionsResponse])

	// NewListMetricsPager is the fake for method DatabaseAccountsClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, filter string, options *armcosmos.DatabaseAccountsClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.DatabaseAccountsClientListMetricsResponse])

	// ListReadOnlyKeys is the fake for method DatabaseAccountsClient.ListReadOnlyKeys
	// HTTP status codes to indicate success: http.StatusOK
	ListReadOnlyKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientListReadOnlyKeysOptions) (resp azfake.Responder[armcosmos.DatabaseAccountsClientListReadOnlyKeysResponse], errResp azfake.ErrorResponder)

	// NewListUsagesPager is the fake for method DatabaseAccountsClient.NewListUsagesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListUsagesPager func(resourceGroupName string, accountName string, options *armcosmos.DatabaseAccountsClientListUsagesOptions) (resp azfake.PagerResponder[armcosmos.DatabaseAccountsClientListUsagesResponse])

	// BeginOfflineRegion is the fake for method DatabaseAccountsClient.BeginOfflineRegion
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginOfflineRegion func(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOffline armcosmos.RegionForOnlineOffline, options *armcosmos.DatabaseAccountsClientBeginOfflineRegionOptions) (resp azfake.PollerResponder[armcosmos.DatabaseAccountsClientOfflineRegionResponse], errResp azfake.ErrorResponder)

	// BeginOnlineRegion is the fake for method DatabaseAccountsClient.BeginOnlineRegion
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginOnlineRegion func(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOnline armcosmos.RegionForOnlineOffline, options *armcosmos.DatabaseAccountsClientBeginOnlineRegionOptions) (resp azfake.PollerResponder[armcosmos.DatabaseAccountsClientOnlineRegionResponse], errResp azfake.ErrorResponder)

	// BeginRegenerateKey is the fake for method DatabaseAccountsClient.BeginRegenerateKey
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRegenerateKey func(ctx context.Context, resourceGroupName string, accountName string, keyToRegenerate armcosmos.DatabaseAccountRegenerateKeyParameters, options *armcosmos.DatabaseAccountsClientBeginRegenerateKeyOptions) (resp azfake.PollerResponder[armcosmos.DatabaseAccountsClientRegenerateKeyResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method DatabaseAccountsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, updateParameters armcosmos.DatabaseAccountUpdateParameters, options *armcosmos.DatabaseAccountsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcosmos.DatabaseAccountsClientUpdateResponse], errResp azfake.ErrorResponder)
}

DatabaseAccountsServer is a fake server for instances of the armcosmos.DatabaseAccountsClient type.

type DatabaseAccountsServerTransport

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

DatabaseAccountsServerTransport connects instances of armcosmos.DatabaseAccountsClient to instances of DatabaseAccountsServer. Don't use this type directly, use NewDatabaseAccountsServerTransport instead.

func NewDatabaseAccountsServerTransport

func NewDatabaseAccountsServerTransport(srv *DatabaseAccountsServer) *DatabaseAccountsServerTransport

NewDatabaseAccountsServerTransport creates a new instance of DatabaseAccountsServerTransport with the provided implementation. The returned DatabaseAccountsServerTransport instance is connected to an instance of armcosmos.DatabaseAccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabaseAccountsServerTransport) Do

Do implements the policy.Transporter interface for DatabaseAccountsServerTransport.

type DatabaseServer

type DatabaseServer struct {
	// NewListMetricDefinitionsPager is the fake for method DatabaseClient.NewListMetricDefinitionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricDefinitionsPager func(resourceGroupName string, accountName string, databaseRid string, options *armcosmos.DatabaseClientListMetricDefinitionsOptions) (resp azfake.PagerResponder[armcosmos.DatabaseClientListMetricDefinitionsResponse])

	// NewListMetricsPager is the fake for method DatabaseClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, databaseRid string, filter string, options *armcosmos.DatabaseClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.DatabaseClientListMetricsResponse])

	// NewListUsagesPager is the fake for method DatabaseClient.NewListUsagesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListUsagesPager func(resourceGroupName string, accountName string, databaseRid string, options *armcosmos.DatabaseClientListUsagesOptions) (resp azfake.PagerResponder[armcosmos.DatabaseClientListUsagesResponse])
}

DatabaseServer is a fake server for instances of the armcosmos.DatabaseClient type.

type DatabaseServerTransport

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

DatabaseServerTransport connects instances of armcosmos.DatabaseClient to instances of DatabaseServer. Don't use this type directly, use NewDatabaseServerTransport instead.

func NewDatabaseServerTransport

func NewDatabaseServerTransport(srv *DatabaseServer) *DatabaseServerTransport

NewDatabaseServerTransport creates a new instance of DatabaseServerTransport with the provided implementation. The returned DatabaseServerTransport instance is connected to an instance of armcosmos.DatabaseClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabaseServerTransport) Do

Do implements the policy.Transporter interface for DatabaseServerTransport.

type GremlinResourcesServer

type GremlinResourcesServer struct {
	// BeginCreateUpdateGremlinDatabase is the fake for method GremlinResourcesClient.BeginCreateUpdateGremlinDatabase
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateGremlinDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateGremlinDatabaseParameters armcosmos.GremlinDatabaseCreateUpdateParameters, options *armcosmos.GremlinResourcesClientBeginCreateUpdateGremlinDatabaseOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientCreateUpdateGremlinDatabaseResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateGremlinGraph is the fake for method GremlinResourcesClient.BeginCreateUpdateGremlinGraph
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateGremlinGraph func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, createUpdateGremlinGraphParameters armcosmos.GremlinGraphCreateUpdateParameters, options *armcosmos.GremlinResourcesClientBeginCreateUpdateGremlinGraphOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientCreateUpdateGremlinGraphResponse], errResp azfake.ErrorResponder)

	// BeginDeleteGremlinDatabase is the fake for method GremlinResourcesClient.BeginDeleteGremlinDatabase
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteGremlinDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.GremlinResourcesClientBeginDeleteGremlinDatabaseOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientDeleteGremlinDatabaseResponse], errResp azfake.ErrorResponder)

	// BeginDeleteGremlinGraph is the fake for method GremlinResourcesClient.BeginDeleteGremlinGraph
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteGremlinGraph func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *armcosmos.GremlinResourcesClientBeginDeleteGremlinGraphOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientDeleteGremlinGraphResponse], errResp azfake.ErrorResponder)

	// GetGremlinDatabase is the fake for method GremlinResourcesClient.GetGremlinDatabase
	// HTTP status codes to indicate success: http.StatusOK
	GetGremlinDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.GremlinResourcesClientGetGremlinDatabaseOptions) (resp azfake.Responder[armcosmos.GremlinResourcesClientGetGremlinDatabaseResponse], errResp azfake.ErrorResponder)

	// GetGremlinDatabaseThroughput is the fake for method GremlinResourcesClient.GetGremlinDatabaseThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetGremlinDatabaseThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.GremlinResourcesClientGetGremlinDatabaseThroughputOptions) (resp azfake.Responder[armcosmos.GremlinResourcesClientGetGremlinDatabaseThroughputResponse], errResp azfake.ErrorResponder)

	// GetGremlinGraph is the fake for method GremlinResourcesClient.GetGremlinGraph
	// HTTP status codes to indicate success: http.StatusOK
	GetGremlinGraph func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *armcosmos.GremlinResourcesClientGetGremlinGraphOptions) (resp azfake.Responder[armcosmos.GremlinResourcesClientGetGremlinGraphResponse], errResp azfake.ErrorResponder)

	// GetGremlinGraphThroughput is the fake for method GremlinResourcesClient.GetGremlinGraphThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetGremlinGraphThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *armcosmos.GremlinResourcesClientGetGremlinGraphThroughputOptions) (resp azfake.Responder[armcosmos.GremlinResourcesClientGetGremlinGraphThroughputResponse], errResp azfake.ErrorResponder)

	// NewListGremlinDatabasesPager is the fake for method GremlinResourcesClient.NewListGremlinDatabasesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListGremlinDatabasesPager func(resourceGroupName string, accountName string, options *armcosmos.GremlinResourcesClientListGremlinDatabasesOptions) (resp azfake.PagerResponder[armcosmos.GremlinResourcesClientListGremlinDatabasesResponse])

	// NewListGremlinGraphsPager is the fake for method GremlinResourcesClient.NewListGremlinGraphsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListGremlinGraphsPager func(resourceGroupName string, accountName string, databaseName string, options *armcosmos.GremlinResourcesClientListGremlinGraphsOptions) (resp azfake.PagerResponder[armcosmos.GremlinResourcesClientListGremlinGraphsResponse])

	// BeginMigrateGremlinDatabaseToAutoscale is the fake for method GremlinResourcesClient.BeginMigrateGremlinDatabaseToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateGremlinDatabaseToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.GremlinResourcesClientBeginMigrateGremlinDatabaseToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientMigrateGremlinDatabaseToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateGremlinDatabaseToManualThroughput is the fake for method GremlinResourcesClient.BeginMigrateGremlinDatabaseToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateGremlinDatabaseToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.GremlinResourcesClientBeginMigrateGremlinDatabaseToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientMigrateGremlinDatabaseToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginMigrateGremlinGraphToAutoscale is the fake for method GremlinResourcesClient.BeginMigrateGremlinGraphToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateGremlinGraphToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *armcosmos.GremlinResourcesClientBeginMigrateGremlinGraphToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientMigrateGremlinGraphToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateGremlinGraphToManualThroughput is the fake for method GremlinResourcesClient.BeginMigrateGremlinGraphToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateGremlinGraphToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *armcosmos.GremlinResourcesClientBeginMigrateGremlinGraphToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientMigrateGremlinGraphToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginRetrieveContinuousBackupInformation is the fake for method GremlinResourcesClient.BeginRetrieveContinuousBackupInformation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRetrieveContinuousBackupInformation func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, location armcosmos.ContinuousBackupRestoreLocation, options *armcosmos.GremlinResourcesClientBeginRetrieveContinuousBackupInformationOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientRetrieveContinuousBackupInformationResponse], errResp azfake.ErrorResponder)

	// BeginUpdateGremlinDatabaseThroughput is the fake for method GremlinResourcesClient.BeginUpdateGremlinDatabaseThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateGremlinDatabaseThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.GremlinResourcesClientBeginUpdateGremlinDatabaseThroughputOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientUpdateGremlinDatabaseThroughputResponse], errResp azfake.ErrorResponder)

	// BeginUpdateGremlinGraphThroughput is the fake for method GremlinResourcesClient.BeginUpdateGremlinGraphThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateGremlinGraphThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.GremlinResourcesClientBeginUpdateGremlinGraphThroughputOptions) (resp azfake.PollerResponder[armcosmos.GremlinResourcesClientUpdateGremlinGraphThroughputResponse], errResp azfake.ErrorResponder)
}

GremlinResourcesServer is a fake server for instances of the armcosmos.GremlinResourcesClient type.

type GremlinResourcesServerTransport

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

GremlinResourcesServerTransport connects instances of armcosmos.GremlinResourcesClient to instances of GremlinResourcesServer. Don't use this type directly, use NewGremlinResourcesServerTransport instead.

func NewGremlinResourcesServerTransport

func NewGremlinResourcesServerTransport(srv *GremlinResourcesServer) *GremlinResourcesServerTransport

NewGremlinResourcesServerTransport creates a new instance of GremlinResourcesServerTransport with the provided implementation. The returned GremlinResourcesServerTransport instance is connected to an instance of armcosmos.GremlinResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GremlinResourcesServerTransport) Do

Do implements the policy.Transporter interface for GremlinResourcesServerTransport.

type LocationsServer

type LocationsServer struct {
	// Get is the fake for method LocationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, location string, options *armcosmos.LocationsClientGetOptions) (resp azfake.Responder[armcosmos.LocationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LocationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcosmos.LocationsClientListOptions) (resp azfake.PagerResponder[armcosmos.LocationsClientListResponse])
}

LocationsServer is a fake server for instances of the armcosmos.LocationsClient type.

type LocationsServerTransport

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

LocationsServerTransport connects instances of armcosmos.LocationsClient to instances of LocationsServer. Don't use this type directly, use NewLocationsServerTransport instead.

func NewLocationsServerTransport

func NewLocationsServerTransport(srv *LocationsServer) *LocationsServerTransport

NewLocationsServerTransport creates a new instance of LocationsServerTransport with the provided implementation. The returned LocationsServerTransport instance is connected to an instance of armcosmos.LocationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationsServerTransport) Do

Do implements the policy.Transporter interface for LocationsServerTransport.

type MongoDBResourcesServer

type MongoDBResourcesServer struct {
	// BeginCreateUpdateMongoDBCollection is the fake for method MongoDBResourcesClient.BeginCreateUpdateMongoDBCollection
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateMongoDBCollection func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, createUpdateMongoDBCollectionParameters armcosmos.MongoDBCollectionCreateUpdateParameters, options *armcosmos.MongoDBResourcesClientBeginCreateUpdateMongoDBCollectionOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientCreateUpdateMongoDBCollectionResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateMongoDBDatabase is the fake for method MongoDBResourcesClient.BeginCreateUpdateMongoDBDatabase
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateMongoDBDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateMongoDBDatabaseParameters armcosmos.MongoDBDatabaseCreateUpdateParameters, options *armcosmos.MongoDBResourcesClientBeginCreateUpdateMongoDBDatabaseOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientCreateUpdateMongoDBDatabaseResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateMongoRoleDefinition is the fake for method MongoDBResourcesClient.BeginCreateUpdateMongoRoleDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateMongoRoleDefinition func(ctx context.Context, mongoRoleDefinitionID string, resourceGroupName string, accountName string, createUpdateMongoRoleDefinitionParameters armcosmos.MongoRoleDefinitionCreateUpdateParameters, options *armcosmos.MongoDBResourcesClientBeginCreateUpdateMongoRoleDefinitionOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientCreateUpdateMongoRoleDefinitionResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateMongoUserDefinition is the fake for method MongoDBResourcesClient.BeginCreateUpdateMongoUserDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateMongoUserDefinition func(ctx context.Context, mongoUserDefinitionID string, resourceGroupName string, accountName string, createUpdateMongoUserDefinitionParameters armcosmos.MongoUserDefinitionCreateUpdateParameters, options *armcosmos.MongoDBResourcesClientBeginCreateUpdateMongoUserDefinitionOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientCreateUpdateMongoUserDefinitionResponse], errResp azfake.ErrorResponder)

	// BeginDeleteMongoDBCollection is the fake for method MongoDBResourcesClient.BeginDeleteMongoDBCollection
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteMongoDBCollection func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *armcosmos.MongoDBResourcesClientBeginDeleteMongoDBCollectionOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientDeleteMongoDBCollectionResponse], errResp azfake.ErrorResponder)

	// BeginDeleteMongoDBDatabase is the fake for method MongoDBResourcesClient.BeginDeleteMongoDBDatabase
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteMongoDBDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.MongoDBResourcesClientBeginDeleteMongoDBDatabaseOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientDeleteMongoDBDatabaseResponse], errResp azfake.ErrorResponder)

	// BeginDeleteMongoRoleDefinition is the fake for method MongoDBResourcesClient.BeginDeleteMongoRoleDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDeleteMongoRoleDefinition func(ctx context.Context, mongoRoleDefinitionID string, resourceGroupName string, accountName string, options *armcosmos.MongoDBResourcesClientBeginDeleteMongoRoleDefinitionOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientDeleteMongoRoleDefinitionResponse], errResp azfake.ErrorResponder)

	// BeginDeleteMongoUserDefinition is the fake for method MongoDBResourcesClient.BeginDeleteMongoUserDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDeleteMongoUserDefinition func(ctx context.Context, mongoUserDefinitionID string, resourceGroupName string, accountName string, options *armcosmos.MongoDBResourcesClientBeginDeleteMongoUserDefinitionOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientDeleteMongoUserDefinitionResponse], errResp azfake.ErrorResponder)

	// GetMongoDBCollection is the fake for method MongoDBResourcesClient.GetMongoDBCollection
	// HTTP status codes to indicate success: http.StatusOK
	GetMongoDBCollection func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *armcosmos.MongoDBResourcesClientGetMongoDBCollectionOptions) (resp azfake.Responder[armcosmos.MongoDBResourcesClientGetMongoDBCollectionResponse], errResp azfake.ErrorResponder)

	// GetMongoDBCollectionThroughput is the fake for method MongoDBResourcesClient.GetMongoDBCollectionThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetMongoDBCollectionThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *armcosmos.MongoDBResourcesClientGetMongoDBCollectionThroughputOptions) (resp azfake.Responder[armcosmos.MongoDBResourcesClientGetMongoDBCollectionThroughputResponse], errResp azfake.ErrorResponder)

	// GetMongoDBDatabase is the fake for method MongoDBResourcesClient.GetMongoDBDatabase
	// HTTP status codes to indicate success: http.StatusOK
	GetMongoDBDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.MongoDBResourcesClientGetMongoDBDatabaseOptions) (resp azfake.Responder[armcosmos.MongoDBResourcesClientGetMongoDBDatabaseResponse], errResp azfake.ErrorResponder)

	// GetMongoDBDatabaseThroughput is the fake for method MongoDBResourcesClient.GetMongoDBDatabaseThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetMongoDBDatabaseThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.MongoDBResourcesClientGetMongoDBDatabaseThroughputOptions) (resp azfake.Responder[armcosmos.MongoDBResourcesClientGetMongoDBDatabaseThroughputResponse], errResp azfake.ErrorResponder)

	// GetMongoRoleDefinition is the fake for method MongoDBResourcesClient.GetMongoRoleDefinition
	// HTTP status codes to indicate success: http.StatusOK
	GetMongoRoleDefinition func(ctx context.Context, mongoRoleDefinitionID string, resourceGroupName string, accountName string, options *armcosmos.MongoDBResourcesClientGetMongoRoleDefinitionOptions) (resp azfake.Responder[armcosmos.MongoDBResourcesClientGetMongoRoleDefinitionResponse], errResp azfake.ErrorResponder)

	// GetMongoUserDefinition is the fake for method MongoDBResourcesClient.GetMongoUserDefinition
	// HTTP status codes to indicate success: http.StatusOK
	GetMongoUserDefinition func(ctx context.Context, mongoUserDefinitionID string, resourceGroupName string, accountName string, options *armcosmos.MongoDBResourcesClientGetMongoUserDefinitionOptions) (resp azfake.Responder[armcosmos.MongoDBResourcesClientGetMongoUserDefinitionResponse], errResp azfake.ErrorResponder)

	// NewListMongoDBCollectionsPager is the fake for method MongoDBResourcesClient.NewListMongoDBCollectionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMongoDBCollectionsPager func(resourceGroupName string, accountName string, databaseName string, options *armcosmos.MongoDBResourcesClientListMongoDBCollectionsOptions) (resp azfake.PagerResponder[armcosmos.MongoDBResourcesClientListMongoDBCollectionsResponse])

	// NewListMongoDBDatabasesPager is the fake for method MongoDBResourcesClient.NewListMongoDBDatabasesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMongoDBDatabasesPager func(resourceGroupName string, accountName string, options *armcosmos.MongoDBResourcesClientListMongoDBDatabasesOptions) (resp azfake.PagerResponder[armcosmos.MongoDBResourcesClientListMongoDBDatabasesResponse])

	// NewListMongoRoleDefinitionsPager is the fake for method MongoDBResourcesClient.NewListMongoRoleDefinitionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMongoRoleDefinitionsPager func(resourceGroupName string, accountName string, options *armcosmos.MongoDBResourcesClientListMongoRoleDefinitionsOptions) (resp azfake.PagerResponder[armcosmos.MongoDBResourcesClientListMongoRoleDefinitionsResponse])

	// NewListMongoUserDefinitionsPager is the fake for method MongoDBResourcesClient.NewListMongoUserDefinitionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMongoUserDefinitionsPager func(resourceGroupName string, accountName string, options *armcosmos.MongoDBResourcesClientListMongoUserDefinitionsOptions) (resp azfake.PagerResponder[armcosmos.MongoDBResourcesClientListMongoUserDefinitionsResponse])

	// BeginMigrateMongoDBCollectionToAutoscale is the fake for method MongoDBResourcesClient.BeginMigrateMongoDBCollectionToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateMongoDBCollectionToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *armcosmos.MongoDBResourcesClientBeginMigrateMongoDBCollectionToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientMigrateMongoDBCollectionToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateMongoDBCollectionToManualThroughput is the fake for method MongoDBResourcesClient.BeginMigrateMongoDBCollectionToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateMongoDBCollectionToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *armcosmos.MongoDBResourcesClientBeginMigrateMongoDBCollectionToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientMigrateMongoDBCollectionToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginMigrateMongoDBDatabaseToAutoscale is the fake for method MongoDBResourcesClient.BeginMigrateMongoDBDatabaseToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateMongoDBDatabaseToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.MongoDBResourcesClientBeginMigrateMongoDBDatabaseToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientMigrateMongoDBDatabaseToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateMongoDBDatabaseToManualThroughput is the fake for method MongoDBResourcesClient.BeginMigrateMongoDBDatabaseToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateMongoDBDatabaseToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.MongoDBResourcesClientBeginMigrateMongoDBDatabaseToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientMigrateMongoDBDatabaseToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginRetrieveContinuousBackupInformation is the fake for method MongoDBResourcesClient.BeginRetrieveContinuousBackupInformation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRetrieveContinuousBackupInformation func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, location armcosmos.ContinuousBackupRestoreLocation, options *armcosmos.MongoDBResourcesClientBeginRetrieveContinuousBackupInformationOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientRetrieveContinuousBackupInformationResponse], errResp azfake.ErrorResponder)

	// BeginUpdateMongoDBCollectionThroughput is the fake for method MongoDBResourcesClient.BeginUpdateMongoDBCollectionThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateMongoDBCollectionThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.MongoDBResourcesClientBeginUpdateMongoDBCollectionThroughputOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientUpdateMongoDBCollectionThroughputResponse], errResp azfake.ErrorResponder)

	// BeginUpdateMongoDBDatabaseThroughput is the fake for method MongoDBResourcesClient.BeginUpdateMongoDBDatabaseThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateMongoDBDatabaseThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.MongoDBResourcesClientBeginUpdateMongoDBDatabaseThroughputOptions) (resp azfake.PollerResponder[armcosmos.MongoDBResourcesClientUpdateMongoDBDatabaseThroughputResponse], errResp azfake.ErrorResponder)
}

MongoDBResourcesServer is a fake server for instances of the armcosmos.MongoDBResourcesClient type.

type MongoDBResourcesServerTransport

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

MongoDBResourcesServerTransport connects instances of armcosmos.MongoDBResourcesClient to instances of MongoDBResourcesServer. Don't use this type directly, use NewMongoDBResourcesServerTransport instead.

func NewMongoDBResourcesServerTransport

func NewMongoDBResourcesServerTransport(srv *MongoDBResourcesServer) *MongoDBResourcesServerTransport

NewMongoDBResourcesServerTransport creates a new instance of MongoDBResourcesServerTransport with the provided implementation. The returned MongoDBResourcesServerTransport instance is connected to an instance of armcosmos.MongoDBResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MongoDBResourcesServerTransport) Do

Do implements the policy.Transporter interface for MongoDBResourcesServerTransport.

type NotebookWorkspacesServer

type NotebookWorkspacesServer struct {
	// BeginCreateOrUpdate is the fake for method NotebookWorkspacesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName armcosmos.NotebookWorkspaceName, notebookCreateUpdateParameters armcosmos.NotebookWorkspaceCreateUpdateParameters, options *armcosmos.NotebookWorkspacesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcosmos.NotebookWorkspacesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method NotebookWorkspacesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName armcosmos.NotebookWorkspaceName, options *armcosmos.NotebookWorkspacesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmos.NotebookWorkspacesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method NotebookWorkspacesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName armcosmos.NotebookWorkspaceName, options *armcosmos.NotebookWorkspacesClientGetOptions) (resp azfake.Responder[armcosmos.NotebookWorkspacesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDatabaseAccountPager is the fake for method NotebookWorkspacesClient.NewListByDatabaseAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDatabaseAccountPager func(resourceGroupName string, accountName string, options *armcosmos.NotebookWorkspacesClientListByDatabaseAccountOptions) (resp azfake.PagerResponder[armcosmos.NotebookWorkspacesClientListByDatabaseAccountResponse])

	// ListConnectionInfo is the fake for method NotebookWorkspacesClient.ListConnectionInfo
	// HTTP status codes to indicate success: http.StatusOK
	ListConnectionInfo func(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName armcosmos.NotebookWorkspaceName, options *armcosmos.NotebookWorkspacesClientListConnectionInfoOptions) (resp azfake.Responder[armcosmos.NotebookWorkspacesClientListConnectionInfoResponse], errResp azfake.ErrorResponder)

	// BeginRegenerateAuthToken is the fake for method NotebookWorkspacesClient.BeginRegenerateAuthToken
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRegenerateAuthToken func(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName armcosmos.NotebookWorkspaceName, options *armcosmos.NotebookWorkspacesClientBeginRegenerateAuthTokenOptions) (resp azfake.PollerResponder[armcosmos.NotebookWorkspacesClientRegenerateAuthTokenResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method NotebookWorkspacesClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName armcosmos.NotebookWorkspaceName, options *armcosmos.NotebookWorkspacesClientBeginStartOptions) (resp azfake.PollerResponder[armcosmos.NotebookWorkspacesClientStartResponse], errResp azfake.ErrorResponder)
}

NotebookWorkspacesServer is a fake server for instances of the armcosmos.NotebookWorkspacesClient type.

type NotebookWorkspacesServerTransport

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

NotebookWorkspacesServerTransport connects instances of armcosmos.NotebookWorkspacesClient to instances of NotebookWorkspacesServer. Don't use this type directly, use NewNotebookWorkspacesServerTransport instead.

func NewNotebookWorkspacesServerTransport

func NewNotebookWorkspacesServerTransport(srv *NotebookWorkspacesServer) *NotebookWorkspacesServerTransport

NewNotebookWorkspacesServerTransport creates a new instance of NotebookWorkspacesServerTransport with the provided implementation. The returned NotebookWorkspacesServerTransport instance is connected to an instance of armcosmos.NotebookWorkspacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*NotebookWorkspacesServerTransport) Do

Do implements the policy.Transporter interface for NotebookWorkspacesServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armcosmos.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 armcosmos.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 PartitionKeyRangeIDRegionServer

type PartitionKeyRangeIDRegionServer struct {
	// NewListMetricsPager is the fake for method PartitionKeyRangeIDRegionClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string, options *armcosmos.PartitionKeyRangeIDRegionClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.PartitionKeyRangeIDRegionClientListMetricsResponse])
}

PartitionKeyRangeIDRegionServer is a fake server for instances of the armcosmos.PartitionKeyRangeIDRegionClient type.

type PartitionKeyRangeIDRegionServerTransport

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

PartitionKeyRangeIDRegionServerTransport connects instances of armcosmos.PartitionKeyRangeIDRegionClient to instances of PartitionKeyRangeIDRegionServer. Don't use this type directly, use NewPartitionKeyRangeIDRegionServerTransport instead.

func NewPartitionKeyRangeIDRegionServerTransport

func NewPartitionKeyRangeIDRegionServerTransport(srv *PartitionKeyRangeIDRegionServer) *PartitionKeyRangeIDRegionServerTransport

NewPartitionKeyRangeIDRegionServerTransport creates a new instance of PartitionKeyRangeIDRegionServerTransport with the provided implementation. The returned PartitionKeyRangeIDRegionServerTransport instance is connected to an instance of armcosmos.PartitionKeyRangeIDRegionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PartitionKeyRangeIDRegionServerTransport) Do

Do implements the policy.Transporter interface for PartitionKeyRangeIDRegionServerTransport.

type PartitionKeyRangeIDServer

type PartitionKeyRangeIDServer struct {
	// NewListMetricsPager is the fake for method PartitionKeyRangeIDClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string, options *armcosmos.PartitionKeyRangeIDClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.PartitionKeyRangeIDClientListMetricsResponse])
}

PartitionKeyRangeIDServer is a fake server for instances of the armcosmos.PartitionKeyRangeIDClient type.

type PartitionKeyRangeIDServerTransport

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

PartitionKeyRangeIDServerTransport connects instances of armcosmos.PartitionKeyRangeIDClient to instances of PartitionKeyRangeIDServer. Don't use this type directly, use NewPartitionKeyRangeIDServerTransport instead.

func NewPartitionKeyRangeIDServerTransport

func NewPartitionKeyRangeIDServerTransport(srv *PartitionKeyRangeIDServer) *PartitionKeyRangeIDServerTransport

NewPartitionKeyRangeIDServerTransport creates a new instance of PartitionKeyRangeIDServerTransport with the provided implementation. The returned PartitionKeyRangeIDServerTransport instance is connected to an instance of armcosmos.PartitionKeyRangeIDClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PartitionKeyRangeIDServerTransport) Do

Do implements the policy.Transporter interface for PartitionKeyRangeIDServerTransport.

type PercentileServer

type PercentileServer struct {
	// NewListMetricsPager is the fake for method PercentileClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, filter string, options *armcosmos.PercentileClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.PercentileClientListMetricsResponse])
}

PercentileServer is a fake server for instances of the armcosmos.PercentileClient type.

type PercentileServerTransport

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

PercentileServerTransport connects instances of armcosmos.PercentileClient to instances of PercentileServer. Don't use this type directly, use NewPercentileServerTransport instead.

func NewPercentileServerTransport

func NewPercentileServerTransport(srv *PercentileServer) *PercentileServerTransport

NewPercentileServerTransport creates a new instance of PercentileServerTransport with the provided implementation. The returned PercentileServerTransport instance is connected to an instance of armcosmos.PercentileClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PercentileServerTransport) Do

Do implements the policy.Transporter interface for PercentileServerTransport.

type PercentileSourceTargetServer

type PercentileSourceTargetServer struct {
	// NewListMetricsPager is the fake for method PercentileSourceTargetClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, sourceRegion string, targetRegion string, filter string, options *armcosmos.PercentileSourceTargetClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.PercentileSourceTargetClientListMetricsResponse])
}

PercentileSourceTargetServer is a fake server for instances of the armcosmos.PercentileSourceTargetClient type.

type PercentileSourceTargetServerTransport

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

PercentileSourceTargetServerTransport connects instances of armcosmos.PercentileSourceTargetClient to instances of PercentileSourceTargetServer. Don't use this type directly, use NewPercentileSourceTargetServerTransport instead.

func NewPercentileSourceTargetServerTransport

func NewPercentileSourceTargetServerTransport(srv *PercentileSourceTargetServer) *PercentileSourceTargetServerTransport

NewPercentileSourceTargetServerTransport creates a new instance of PercentileSourceTargetServerTransport with the provided implementation. The returned PercentileSourceTargetServerTransport instance is connected to an instance of armcosmos.PercentileSourceTargetClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PercentileSourceTargetServerTransport) Do

Do implements the policy.Transporter interface for PercentileSourceTargetServerTransport.

type PercentileTargetServer

type PercentileTargetServer struct {
	// NewListMetricsPager is the fake for method PercentileTargetClient.NewListMetricsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListMetricsPager func(resourceGroupName string, accountName string, targetRegion string, filter string, options *armcosmos.PercentileTargetClientListMetricsOptions) (resp azfake.PagerResponder[armcosmos.PercentileTargetClientListMetricsResponse])
}

PercentileTargetServer is a fake server for instances of the armcosmos.PercentileTargetClient type.

type PercentileTargetServerTransport

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

PercentileTargetServerTransport connects instances of armcosmos.PercentileTargetClient to instances of PercentileTargetServer. Don't use this type directly, use NewPercentileTargetServerTransport instead.

func NewPercentileTargetServerTransport

func NewPercentileTargetServerTransport(srv *PercentileTargetServer) *PercentileTargetServerTransport

NewPercentileTargetServerTransport creates a new instance of PercentileTargetServerTransport with the provided implementation. The returned PercentileTargetServerTransport instance is connected to an instance of armcosmos.PercentileTargetClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PercentileTargetServerTransport) Do

Do implements the policy.Transporter interface for PercentileTargetServerTransport.

type PrivateEndpointConnectionsServer

type PrivateEndpointConnectionsServer struct {
	// BeginCreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, parameters armcosmos.PrivateEndpointConnection, options *armcosmos.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcosmos.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armcosmos.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmos.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PrivateEndpointConnectionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armcosmos.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armcosmos.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDatabaseAccountPager is the fake for method PrivateEndpointConnectionsClient.NewListByDatabaseAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDatabaseAccountPager func(resourceGroupName string, accountName string, options *armcosmos.PrivateEndpointConnectionsClientListByDatabaseAccountOptions) (resp azfake.PagerResponder[armcosmos.PrivateEndpointConnectionsClientListByDatabaseAccountResponse])
}

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

type PrivateEndpointConnectionsServerTransport

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

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

func NewPrivateEndpointConnectionsServerTransport

func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport

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

func (*PrivateEndpointConnectionsServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionsServerTransport.

type PrivateLinkResourcesServer

type PrivateLinkResourcesServer struct {
	// Get is the fake for method PrivateLinkResourcesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, groupName string, options *armcosmos.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armcosmos.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDatabaseAccountPager is the fake for method PrivateLinkResourcesClient.NewListByDatabaseAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDatabaseAccountPager func(resourceGroupName string, accountName string, options *armcosmos.PrivateLinkResourcesClientListByDatabaseAccountOptions) (resp azfake.PagerResponder[armcosmos.PrivateLinkResourcesClientListByDatabaseAccountResponse])
}

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

type PrivateLinkResourcesServerTransport

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

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

func NewPrivateLinkResourcesServerTransport

func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport

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

func (*PrivateLinkResourcesServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkResourcesServerTransport.

type RestorableDatabaseAccountsServer

type RestorableDatabaseAccountsServer struct {
	// GetByLocation is the fake for method RestorableDatabaseAccountsClient.GetByLocation
	// HTTP status codes to indicate success: http.StatusOK
	GetByLocation func(ctx context.Context, location string, instanceID string, options *armcosmos.RestorableDatabaseAccountsClientGetByLocationOptions) (resp azfake.Responder[armcosmos.RestorableDatabaseAccountsClientGetByLocationResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method RestorableDatabaseAccountsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcosmos.RestorableDatabaseAccountsClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableDatabaseAccountsClientListResponse])

	// NewListByLocationPager is the fake for method RestorableDatabaseAccountsClient.NewListByLocationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByLocationPager func(location string, options *armcosmos.RestorableDatabaseAccountsClientListByLocationOptions) (resp azfake.PagerResponder[armcosmos.RestorableDatabaseAccountsClientListByLocationResponse])
}

RestorableDatabaseAccountsServer is a fake server for instances of the armcosmos.RestorableDatabaseAccountsClient type.

type RestorableDatabaseAccountsServerTransport

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

RestorableDatabaseAccountsServerTransport connects instances of armcosmos.RestorableDatabaseAccountsClient to instances of RestorableDatabaseAccountsServer. Don't use this type directly, use NewRestorableDatabaseAccountsServerTransport instead.

func NewRestorableDatabaseAccountsServerTransport

func NewRestorableDatabaseAccountsServerTransport(srv *RestorableDatabaseAccountsServer) *RestorableDatabaseAccountsServerTransport

NewRestorableDatabaseAccountsServerTransport creates a new instance of RestorableDatabaseAccountsServerTransport with the provided implementation. The returned RestorableDatabaseAccountsServerTransport instance is connected to an instance of armcosmos.RestorableDatabaseAccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableDatabaseAccountsServerTransport) Do

Do implements the policy.Transporter interface for RestorableDatabaseAccountsServerTransport.

type RestorableGremlinDatabasesServer

type RestorableGremlinDatabasesServer struct {
	// NewListPager is the fake for method RestorableGremlinDatabasesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableGremlinDatabasesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableGremlinDatabasesClientListResponse])
}

RestorableGremlinDatabasesServer is a fake server for instances of the armcosmos.RestorableGremlinDatabasesClient type.

type RestorableGremlinDatabasesServerTransport

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

RestorableGremlinDatabasesServerTransport connects instances of armcosmos.RestorableGremlinDatabasesClient to instances of RestorableGremlinDatabasesServer. Don't use this type directly, use NewRestorableGremlinDatabasesServerTransport instead.

func NewRestorableGremlinDatabasesServerTransport

func NewRestorableGremlinDatabasesServerTransport(srv *RestorableGremlinDatabasesServer) *RestorableGremlinDatabasesServerTransport

NewRestorableGremlinDatabasesServerTransport creates a new instance of RestorableGremlinDatabasesServerTransport with the provided implementation. The returned RestorableGremlinDatabasesServerTransport instance is connected to an instance of armcosmos.RestorableGremlinDatabasesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableGremlinDatabasesServerTransport) Do

Do implements the policy.Transporter interface for RestorableGremlinDatabasesServerTransport.

type RestorableGremlinGraphsServer

type RestorableGremlinGraphsServer struct {
	// NewListPager is the fake for method RestorableGremlinGraphsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableGremlinGraphsClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableGremlinGraphsClientListResponse])
}

RestorableGremlinGraphsServer is a fake server for instances of the armcosmos.RestorableGremlinGraphsClient type.

type RestorableGremlinGraphsServerTransport

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

RestorableGremlinGraphsServerTransport connects instances of armcosmos.RestorableGremlinGraphsClient to instances of RestorableGremlinGraphsServer. Don't use this type directly, use NewRestorableGremlinGraphsServerTransport instead.

func NewRestorableGremlinGraphsServerTransport

func NewRestorableGremlinGraphsServerTransport(srv *RestorableGremlinGraphsServer) *RestorableGremlinGraphsServerTransport

NewRestorableGremlinGraphsServerTransport creates a new instance of RestorableGremlinGraphsServerTransport with the provided implementation. The returned RestorableGremlinGraphsServerTransport instance is connected to an instance of armcosmos.RestorableGremlinGraphsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableGremlinGraphsServerTransport) Do

Do implements the policy.Transporter interface for RestorableGremlinGraphsServerTransport.

type RestorableGremlinResourcesServer

type RestorableGremlinResourcesServer struct {
	// NewListPager is the fake for method RestorableGremlinResourcesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableGremlinResourcesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableGremlinResourcesClientListResponse])
}

RestorableGremlinResourcesServer is a fake server for instances of the armcosmos.RestorableGremlinResourcesClient type.

type RestorableGremlinResourcesServerTransport

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

RestorableGremlinResourcesServerTransport connects instances of armcosmos.RestorableGremlinResourcesClient to instances of RestorableGremlinResourcesServer. Don't use this type directly, use NewRestorableGremlinResourcesServerTransport instead.

func NewRestorableGremlinResourcesServerTransport

func NewRestorableGremlinResourcesServerTransport(srv *RestorableGremlinResourcesServer) *RestorableGremlinResourcesServerTransport

NewRestorableGremlinResourcesServerTransport creates a new instance of RestorableGremlinResourcesServerTransport with the provided implementation. The returned RestorableGremlinResourcesServerTransport instance is connected to an instance of armcosmos.RestorableGremlinResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableGremlinResourcesServerTransport) Do

Do implements the policy.Transporter interface for RestorableGremlinResourcesServerTransport.

type RestorableMongodbCollectionsServer

type RestorableMongodbCollectionsServer struct {
	// NewListPager is the fake for method RestorableMongodbCollectionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableMongodbCollectionsClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableMongodbCollectionsClientListResponse])
}

RestorableMongodbCollectionsServer is a fake server for instances of the armcosmos.RestorableMongodbCollectionsClient type.

type RestorableMongodbCollectionsServerTransport

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

RestorableMongodbCollectionsServerTransport connects instances of armcosmos.RestorableMongodbCollectionsClient to instances of RestorableMongodbCollectionsServer. Don't use this type directly, use NewRestorableMongodbCollectionsServerTransport instead.

func NewRestorableMongodbCollectionsServerTransport

func NewRestorableMongodbCollectionsServerTransport(srv *RestorableMongodbCollectionsServer) *RestorableMongodbCollectionsServerTransport

NewRestorableMongodbCollectionsServerTransport creates a new instance of RestorableMongodbCollectionsServerTransport with the provided implementation. The returned RestorableMongodbCollectionsServerTransport instance is connected to an instance of armcosmos.RestorableMongodbCollectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableMongodbCollectionsServerTransport) Do

Do implements the policy.Transporter interface for RestorableMongodbCollectionsServerTransport.

type RestorableMongodbDatabasesServer

type RestorableMongodbDatabasesServer struct {
	// NewListPager is the fake for method RestorableMongodbDatabasesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableMongodbDatabasesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableMongodbDatabasesClientListResponse])
}

RestorableMongodbDatabasesServer is a fake server for instances of the armcosmos.RestorableMongodbDatabasesClient type.

type RestorableMongodbDatabasesServerTransport

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

RestorableMongodbDatabasesServerTransport connects instances of armcosmos.RestorableMongodbDatabasesClient to instances of RestorableMongodbDatabasesServer. Don't use this type directly, use NewRestorableMongodbDatabasesServerTransport instead.

func NewRestorableMongodbDatabasesServerTransport

func NewRestorableMongodbDatabasesServerTransport(srv *RestorableMongodbDatabasesServer) *RestorableMongodbDatabasesServerTransport

NewRestorableMongodbDatabasesServerTransport creates a new instance of RestorableMongodbDatabasesServerTransport with the provided implementation. The returned RestorableMongodbDatabasesServerTransport instance is connected to an instance of armcosmos.RestorableMongodbDatabasesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableMongodbDatabasesServerTransport) Do

Do implements the policy.Transporter interface for RestorableMongodbDatabasesServerTransport.

type RestorableMongodbResourcesServer

type RestorableMongodbResourcesServer struct {
	// NewListPager is the fake for method RestorableMongodbResourcesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableMongodbResourcesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableMongodbResourcesClientListResponse])
}

RestorableMongodbResourcesServer is a fake server for instances of the armcosmos.RestorableMongodbResourcesClient type.

type RestorableMongodbResourcesServerTransport

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

RestorableMongodbResourcesServerTransport connects instances of armcosmos.RestorableMongodbResourcesClient to instances of RestorableMongodbResourcesServer. Don't use this type directly, use NewRestorableMongodbResourcesServerTransport instead.

func NewRestorableMongodbResourcesServerTransport

func NewRestorableMongodbResourcesServerTransport(srv *RestorableMongodbResourcesServer) *RestorableMongodbResourcesServerTransport

NewRestorableMongodbResourcesServerTransport creates a new instance of RestorableMongodbResourcesServerTransport with the provided implementation. The returned RestorableMongodbResourcesServerTransport instance is connected to an instance of armcosmos.RestorableMongodbResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableMongodbResourcesServerTransport) Do

Do implements the policy.Transporter interface for RestorableMongodbResourcesServerTransport.

type RestorableSQLContainersServer

type RestorableSQLContainersServer struct {
	// NewListPager is the fake for method RestorableSQLContainersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableSQLContainersClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableSQLContainersClientListResponse])
}

RestorableSQLContainersServer is a fake server for instances of the armcosmos.RestorableSQLContainersClient type.

type RestorableSQLContainersServerTransport

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

RestorableSQLContainersServerTransport connects instances of armcosmos.RestorableSQLContainersClient to instances of RestorableSQLContainersServer. Don't use this type directly, use NewRestorableSQLContainersServerTransport instead.

func NewRestorableSQLContainersServerTransport

func NewRestorableSQLContainersServerTransport(srv *RestorableSQLContainersServer) *RestorableSQLContainersServerTransport

NewRestorableSQLContainersServerTransport creates a new instance of RestorableSQLContainersServerTransport with the provided implementation. The returned RestorableSQLContainersServerTransport instance is connected to an instance of armcosmos.RestorableSQLContainersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableSQLContainersServerTransport) Do

Do implements the policy.Transporter interface for RestorableSQLContainersServerTransport.

type RestorableSQLDatabasesServer

type RestorableSQLDatabasesServer struct {
	// NewListPager is the fake for method RestorableSQLDatabasesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableSQLDatabasesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableSQLDatabasesClientListResponse])
}

RestorableSQLDatabasesServer is a fake server for instances of the armcosmos.RestorableSQLDatabasesClient type.

type RestorableSQLDatabasesServerTransport

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

RestorableSQLDatabasesServerTransport connects instances of armcosmos.RestorableSQLDatabasesClient to instances of RestorableSQLDatabasesServer. Don't use this type directly, use NewRestorableSQLDatabasesServerTransport instead.

func NewRestorableSQLDatabasesServerTransport

func NewRestorableSQLDatabasesServerTransport(srv *RestorableSQLDatabasesServer) *RestorableSQLDatabasesServerTransport

NewRestorableSQLDatabasesServerTransport creates a new instance of RestorableSQLDatabasesServerTransport with the provided implementation. The returned RestorableSQLDatabasesServerTransport instance is connected to an instance of armcosmos.RestorableSQLDatabasesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableSQLDatabasesServerTransport) Do

Do implements the policy.Transporter interface for RestorableSQLDatabasesServerTransport.

type RestorableSQLResourcesServer

type RestorableSQLResourcesServer struct {
	// NewListPager is the fake for method RestorableSQLResourcesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableSQLResourcesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableSQLResourcesClientListResponse])
}

RestorableSQLResourcesServer is a fake server for instances of the armcosmos.RestorableSQLResourcesClient type.

type RestorableSQLResourcesServerTransport

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

RestorableSQLResourcesServerTransport connects instances of armcosmos.RestorableSQLResourcesClient to instances of RestorableSQLResourcesServer. Don't use this type directly, use NewRestorableSQLResourcesServerTransport instead.

func NewRestorableSQLResourcesServerTransport

func NewRestorableSQLResourcesServerTransport(srv *RestorableSQLResourcesServer) *RestorableSQLResourcesServerTransport

NewRestorableSQLResourcesServerTransport creates a new instance of RestorableSQLResourcesServerTransport with the provided implementation. The returned RestorableSQLResourcesServerTransport instance is connected to an instance of armcosmos.RestorableSQLResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableSQLResourcesServerTransport) Do

Do implements the policy.Transporter interface for RestorableSQLResourcesServerTransport.

type RestorableTableResourcesServer

type RestorableTableResourcesServer struct {
	// NewListPager is the fake for method RestorableTableResourcesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableTableResourcesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableTableResourcesClientListResponse])
}

RestorableTableResourcesServer is a fake server for instances of the armcosmos.RestorableTableResourcesClient type.

type RestorableTableResourcesServerTransport

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

RestorableTableResourcesServerTransport connects instances of armcosmos.RestorableTableResourcesClient to instances of RestorableTableResourcesServer. Don't use this type directly, use NewRestorableTableResourcesServerTransport instead.

func NewRestorableTableResourcesServerTransport

func NewRestorableTableResourcesServerTransport(srv *RestorableTableResourcesServer) *RestorableTableResourcesServerTransport

NewRestorableTableResourcesServerTransport creates a new instance of RestorableTableResourcesServerTransport with the provided implementation. The returned RestorableTableResourcesServerTransport instance is connected to an instance of armcosmos.RestorableTableResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableTableResourcesServerTransport) Do

Do implements the policy.Transporter interface for RestorableTableResourcesServerTransport.

type RestorableTablesServer

type RestorableTablesServer struct {
	// NewListPager is the fake for method RestorableTablesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, instanceID string, options *armcosmos.RestorableTablesClientListOptions) (resp azfake.PagerResponder[armcosmos.RestorableTablesClientListResponse])
}

RestorableTablesServer is a fake server for instances of the armcosmos.RestorableTablesClient type.

type RestorableTablesServerTransport

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

RestorableTablesServerTransport connects instances of armcosmos.RestorableTablesClient to instances of RestorableTablesServer. Don't use this type directly, use NewRestorableTablesServerTransport instead.

func NewRestorableTablesServerTransport

func NewRestorableTablesServerTransport(srv *RestorableTablesServer) *RestorableTablesServerTransport

NewRestorableTablesServerTransport creates a new instance of RestorableTablesServerTransport with the provided implementation. The returned RestorableTablesServerTransport instance is connected to an instance of armcosmos.RestorableTablesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RestorableTablesServerTransport) Do

Do implements the policy.Transporter interface for RestorableTablesServerTransport.

type SQLResourcesServer

type SQLResourcesServer struct {
	// BeginCreateUpdateClientEncryptionKey is the fake for method SQLResourcesClient.BeginCreateUpdateClientEncryptionKey
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateClientEncryptionKey func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, clientEncryptionKeyName string, createUpdateClientEncryptionKeyParameters armcosmos.ClientEncryptionKeyCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateClientEncryptionKeyOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateClientEncryptionKeyResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateSQLContainer is the fake for method SQLResourcesClient.BeginCreateUpdateSQLContainer
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateSQLContainer func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, createUpdateSQLContainerParameters armcosmos.SQLContainerCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateSQLContainerOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateSQLContainerResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateSQLDatabase is the fake for method SQLResourcesClient.BeginCreateUpdateSQLDatabase
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateSQLDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateSQLDatabaseParameters armcosmos.SQLDatabaseCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateSQLDatabaseOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateSQLDatabaseResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateSQLRoleAssignment is the fake for method SQLResourcesClient.BeginCreateUpdateSQLRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateSQLRoleAssignment func(ctx context.Context, roleAssignmentID string, resourceGroupName string, accountName string, createUpdateSQLRoleAssignmentParameters armcosmos.SQLRoleAssignmentCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateSQLRoleAssignmentOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateSQLRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateSQLRoleDefinition is the fake for method SQLResourcesClient.BeginCreateUpdateSQLRoleDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateSQLRoleDefinition func(ctx context.Context, roleDefinitionID string, resourceGroupName string, accountName string, createUpdateSQLRoleDefinitionParameters armcosmos.SQLRoleDefinitionCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateSQLRoleDefinitionOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateSQLRoleDefinitionResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateSQLStoredProcedure is the fake for method SQLResourcesClient.BeginCreateUpdateSQLStoredProcedure
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateSQLStoredProcedure func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, storedProcedureName string, createUpdateSQLStoredProcedureParameters armcosmos.SQLStoredProcedureCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateSQLStoredProcedureOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateSQLStoredProcedureResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateSQLTrigger is the fake for method SQLResourcesClient.BeginCreateUpdateSQLTrigger
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateSQLTrigger func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, triggerName string, createUpdateSQLTriggerParameters armcosmos.SQLTriggerCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateSQLTriggerOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateSQLTriggerResponse], errResp azfake.ErrorResponder)

	// BeginCreateUpdateSQLUserDefinedFunction is the fake for method SQLResourcesClient.BeginCreateUpdateSQLUserDefinedFunction
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateSQLUserDefinedFunction func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, userDefinedFunctionName string, createUpdateSQLUserDefinedFunctionParameters armcosmos.SQLUserDefinedFunctionCreateUpdateParameters, options *armcosmos.SQLResourcesClientBeginCreateUpdateSQLUserDefinedFunctionOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientCreateUpdateSQLUserDefinedFunctionResponse], errResp azfake.ErrorResponder)

	// BeginDeleteSQLContainer is the fake for method SQLResourcesClient.BeginDeleteSQLContainer
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteSQLContainer func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientBeginDeleteSQLContainerOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientDeleteSQLContainerResponse], errResp azfake.ErrorResponder)

	// BeginDeleteSQLDatabase is the fake for method SQLResourcesClient.BeginDeleteSQLDatabase
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteSQLDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.SQLResourcesClientBeginDeleteSQLDatabaseOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientDeleteSQLDatabaseResponse], errResp azfake.ErrorResponder)

	// BeginDeleteSQLRoleAssignment is the fake for method SQLResourcesClient.BeginDeleteSQLRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDeleteSQLRoleAssignment func(ctx context.Context, roleAssignmentID string, resourceGroupName string, accountName string, options *armcosmos.SQLResourcesClientBeginDeleteSQLRoleAssignmentOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientDeleteSQLRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// BeginDeleteSQLRoleDefinition is the fake for method SQLResourcesClient.BeginDeleteSQLRoleDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDeleteSQLRoleDefinition func(ctx context.Context, roleDefinitionID string, resourceGroupName string, accountName string, options *armcosmos.SQLResourcesClientBeginDeleteSQLRoleDefinitionOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientDeleteSQLRoleDefinitionResponse], errResp azfake.ErrorResponder)

	// BeginDeleteSQLStoredProcedure is the fake for method SQLResourcesClient.BeginDeleteSQLStoredProcedure
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteSQLStoredProcedure func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, storedProcedureName string, options *armcosmos.SQLResourcesClientBeginDeleteSQLStoredProcedureOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientDeleteSQLStoredProcedureResponse], errResp azfake.ErrorResponder)

	// BeginDeleteSQLTrigger is the fake for method SQLResourcesClient.BeginDeleteSQLTrigger
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteSQLTrigger func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, triggerName string, options *armcosmos.SQLResourcesClientBeginDeleteSQLTriggerOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientDeleteSQLTriggerResponse], errResp azfake.ErrorResponder)

	// BeginDeleteSQLUserDefinedFunction is the fake for method SQLResourcesClient.BeginDeleteSQLUserDefinedFunction
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteSQLUserDefinedFunction func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, userDefinedFunctionName string, options *armcosmos.SQLResourcesClientBeginDeleteSQLUserDefinedFunctionOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientDeleteSQLUserDefinedFunctionResponse], errResp azfake.ErrorResponder)

	// GetClientEncryptionKey is the fake for method SQLResourcesClient.GetClientEncryptionKey
	// HTTP status codes to indicate success: http.StatusOK
	GetClientEncryptionKey func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, clientEncryptionKeyName string, options *armcosmos.SQLResourcesClientGetClientEncryptionKeyOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetClientEncryptionKeyResponse], errResp azfake.ErrorResponder)

	// GetSQLContainer is the fake for method SQLResourcesClient.GetSQLContainer
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLContainer func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientGetSQLContainerOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLContainerResponse], errResp azfake.ErrorResponder)

	// GetSQLContainerThroughput is the fake for method SQLResourcesClient.GetSQLContainerThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLContainerThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientGetSQLContainerThroughputOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLContainerThroughputResponse], errResp azfake.ErrorResponder)

	// GetSQLDatabase is the fake for method SQLResourcesClient.GetSQLDatabase
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLDatabase func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.SQLResourcesClientGetSQLDatabaseOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLDatabaseResponse], errResp azfake.ErrorResponder)

	// GetSQLDatabaseThroughput is the fake for method SQLResourcesClient.GetSQLDatabaseThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLDatabaseThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.SQLResourcesClientGetSQLDatabaseThroughputOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLDatabaseThroughputResponse], errResp azfake.ErrorResponder)

	// GetSQLRoleAssignment is the fake for method SQLResourcesClient.GetSQLRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLRoleAssignment func(ctx context.Context, roleAssignmentID string, resourceGroupName string, accountName string, options *armcosmos.SQLResourcesClientGetSQLRoleAssignmentOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// GetSQLRoleDefinition is the fake for method SQLResourcesClient.GetSQLRoleDefinition
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLRoleDefinition func(ctx context.Context, roleDefinitionID string, resourceGroupName string, accountName string, options *armcosmos.SQLResourcesClientGetSQLRoleDefinitionOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLRoleDefinitionResponse], errResp azfake.ErrorResponder)

	// GetSQLStoredProcedure is the fake for method SQLResourcesClient.GetSQLStoredProcedure
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLStoredProcedure func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, storedProcedureName string, options *armcosmos.SQLResourcesClientGetSQLStoredProcedureOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLStoredProcedureResponse], errResp azfake.ErrorResponder)

	// GetSQLTrigger is the fake for method SQLResourcesClient.GetSQLTrigger
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLTrigger func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, triggerName string, options *armcosmos.SQLResourcesClientGetSQLTriggerOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLTriggerResponse], errResp azfake.ErrorResponder)

	// GetSQLUserDefinedFunction is the fake for method SQLResourcesClient.GetSQLUserDefinedFunction
	// HTTP status codes to indicate success: http.StatusOK
	GetSQLUserDefinedFunction func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, userDefinedFunctionName string, options *armcosmos.SQLResourcesClientGetSQLUserDefinedFunctionOptions) (resp azfake.Responder[armcosmos.SQLResourcesClientGetSQLUserDefinedFunctionResponse], errResp azfake.ErrorResponder)

	// NewListClientEncryptionKeysPager is the fake for method SQLResourcesClient.NewListClientEncryptionKeysPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListClientEncryptionKeysPager func(resourceGroupName string, accountName string, databaseName string, options *armcosmos.SQLResourcesClientListClientEncryptionKeysOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListClientEncryptionKeysResponse])

	// NewListSQLContainersPager is the fake for method SQLResourcesClient.NewListSQLContainersPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSQLContainersPager func(resourceGroupName string, accountName string, databaseName string, options *armcosmos.SQLResourcesClientListSQLContainersOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListSQLContainersResponse])

	// NewListSQLDatabasesPager is the fake for method SQLResourcesClient.NewListSQLDatabasesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSQLDatabasesPager func(resourceGroupName string, accountName string, options *armcosmos.SQLResourcesClientListSQLDatabasesOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListSQLDatabasesResponse])

	// NewListSQLRoleAssignmentsPager is the fake for method SQLResourcesClient.NewListSQLRoleAssignmentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSQLRoleAssignmentsPager func(resourceGroupName string, accountName string, options *armcosmos.SQLResourcesClientListSQLRoleAssignmentsOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListSQLRoleAssignmentsResponse])

	// NewListSQLRoleDefinitionsPager is the fake for method SQLResourcesClient.NewListSQLRoleDefinitionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSQLRoleDefinitionsPager func(resourceGroupName string, accountName string, options *armcosmos.SQLResourcesClientListSQLRoleDefinitionsOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListSQLRoleDefinitionsResponse])

	// NewListSQLStoredProceduresPager is the fake for method SQLResourcesClient.NewListSQLStoredProceduresPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSQLStoredProceduresPager func(resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientListSQLStoredProceduresOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListSQLStoredProceduresResponse])

	// NewListSQLTriggersPager is the fake for method SQLResourcesClient.NewListSQLTriggersPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSQLTriggersPager func(resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientListSQLTriggersOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListSQLTriggersResponse])

	// NewListSQLUserDefinedFunctionsPager is the fake for method SQLResourcesClient.NewListSQLUserDefinedFunctionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSQLUserDefinedFunctionsPager func(resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientListSQLUserDefinedFunctionsOptions) (resp azfake.PagerResponder[armcosmos.SQLResourcesClientListSQLUserDefinedFunctionsResponse])

	// BeginMigrateSQLContainerToAutoscale is the fake for method SQLResourcesClient.BeginMigrateSQLContainerToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateSQLContainerToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientBeginMigrateSQLContainerToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientMigrateSQLContainerToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateSQLContainerToManualThroughput is the fake for method SQLResourcesClient.BeginMigrateSQLContainerToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateSQLContainerToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *armcosmos.SQLResourcesClientBeginMigrateSQLContainerToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientMigrateSQLContainerToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginMigrateSQLDatabaseToAutoscale is the fake for method SQLResourcesClient.BeginMigrateSQLDatabaseToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateSQLDatabaseToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.SQLResourcesClientBeginMigrateSQLDatabaseToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientMigrateSQLDatabaseToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateSQLDatabaseToManualThroughput is the fake for method SQLResourcesClient.BeginMigrateSQLDatabaseToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateSQLDatabaseToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *armcosmos.SQLResourcesClientBeginMigrateSQLDatabaseToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientMigrateSQLDatabaseToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginRetrieveContinuousBackupInformation is the fake for method SQLResourcesClient.BeginRetrieveContinuousBackupInformation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRetrieveContinuousBackupInformation func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, location armcosmos.ContinuousBackupRestoreLocation, options *armcosmos.SQLResourcesClientBeginRetrieveContinuousBackupInformationOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientRetrieveContinuousBackupInformationResponse], errResp azfake.ErrorResponder)

	// BeginUpdateSQLContainerThroughput is the fake for method SQLResourcesClient.BeginUpdateSQLContainerThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateSQLContainerThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.SQLResourcesClientBeginUpdateSQLContainerThroughputOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientUpdateSQLContainerThroughputResponse], errResp azfake.ErrorResponder)

	// BeginUpdateSQLDatabaseThroughput is the fake for method SQLResourcesClient.BeginUpdateSQLDatabaseThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateSQLDatabaseThroughput func(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.SQLResourcesClientBeginUpdateSQLDatabaseThroughputOptions) (resp azfake.PollerResponder[armcosmos.SQLResourcesClientUpdateSQLDatabaseThroughputResponse], errResp azfake.ErrorResponder)
}

SQLResourcesServer is a fake server for instances of the armcosmos.SQLResourcesClient type.

type SQLResourcesServerTransport

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

SQLResourcesServerTransport connects instances of armcosmos.SQLResourcesClient to instances of SQLResourcesServer. Don't use this type directly, use NewSQLResourcesServerTransport instead.

func NewSQLResourcesServerTransport

func NewSQLResourcesServerTransport(srv *SQLResourcesServer) *SQLResourcesServerTransport

NewSQLResourcesServerTransport creates a new instance of SQLResourcesServerTransport with the provided implementation. The returned SQLResourcesServerTransport instance is connected to an instance of armcosmos.SQLResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SQLResourcesServerTransport) Do

Do implements the policy.Transporter interface for SQLResourcesServerTransport.

type ServerFactory

type ServerFactory struct {
	CassandraClustersServer            CassandraClustersServer
	CassandraDataCentersServer         CassandraDataCentersServer
	CassandraResourcesServer           CassandraResourcesServer
	CollectionServer                   CollectionServer
	CollectionPartitionServer          CollectionPartitionServer
	CollectionPartitionRegionServer    CollectionPartitionRegionServer
	CollectionRegionServer             CollectionRegionServer
	DatabaseAccountRegionServer        DatabaseAccountRegionServer
	DatabaseAccountsServer             DatabaseAccountsServer
	DatabaseServer                     DatabaseServer
	GremlinResourcesServer             GremlinResourcesServer
	LocationsServer                    LocationsServer
	MongoDBResourcesServer             MongoDBResourcesServer
	NotebookWorkspacesServer           NotebookWorkspacesServer
	OperationsServer                   OperationsServer
	PartitionKeyRangeIDServer          PartitionKeyRangeIDServer
	PartitionKeyRangeIDRegionServer    PartitionKeyRangeIDRegionServer
	PercentileServer                   PercentileServer
	PercentileSourceTargetServer       PercentileSourceTargetServer
	PercentileTargetServer             PercentileTargetServer
	PrivateEndpointConnectionsServer   PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer         PrivateLinkResourcesServer
	RestorableDatabaseAccountsServer   RestorableDatabaseAccountsServer
	RestorableGremlinDatabasesServer   RestorableGremlinDatabasesServer
	RestorableGremlinGraphsServer      RestorableGremlinGraphsServer
	RestorableGremlinResourcesServer   RestorableGremlinResourcesServer
	RestorableMongodbCollectionsServer RestorableMongodbCollectionsServer
	RestorableMongodbDatabasesServer   RestorableMongodbDatabasesServer
	RestorableMongodbResourcesServer   RestorableMongodbResourcesServer
	RestorableSQLContainersServer      RestorableSQLContainersServer
	RestorableSQLDatabasesServer       RestorableSQLDatabasesServer
	RestorableSQLResourcesServer       RestorableSQLResourcesServer
	RestorableTableResourcesServer     RestorableTableResourcesServer
	RestorableTablesServer             RestorableTablesServer
	SQLResourcesServer                 SQLResourcesServer
	ServiceServer                      ServiceServer
	TableResourcesServer               TableResourcesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armcosmos.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 armcosmos.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 ServiceServer

type ServiceServer struct {
	// BeginCreate is the fake for method ServiceClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, serviceName string, createUpdateParameters armcosmos.ServiceResourceCreateUpdateParameters, options *armcosmos.ServiceClientBeginCreateOptions) (resp azfake.PollerResponder[armcosmos.ServiceClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ServiceClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, serviceName string, options *armcosmos.ServiceClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmos.ServiceClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServiceClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, serviceName string, options *armcosmos.ServiceClientGetOptions) (resp azfake.Responder[armcosmos.ServiceClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ServiceClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armcosmos.ServiceClientListOptions) (resp azfake.PagerResponder[armcosmos.ServiceClientListResponse])
}

ServiceServer is a fake server for instances of the armcosmos.ServiceClient type.

type ServiceServerTransport

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

ServiceServerTransport connects instances of armcosmos.ServiceClient to instances of ServiceServer. Don't use this type directly, use NewServiceServerTransport instead.

func NewServiceServerTransport

func NewServiceServerTransport(srv *ServiceServer) *ServiceServerTransport

NewServiceServerTransport creates a new instance of ServiceServerTransport with the provided implementation. The returned ServiceServerTransport instance is connected to an instance of armcosmos.ServiceClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServiceServerTransport) Do

Do implements the policy.Transporter interface for ServiceServerTransport.

type TableResourcesServer

type TableResourcesServer struct {
	// BeginCreateUpdateTable is the fake for method TableResourcesClient.BeginCreateUpdateTable
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateUpdateTable func(ctx context.Context, resourceGroupName string, accountName string, tableName string, createUpdateTableParameters armcosmos.TableCreateUpdateParameters, options *armcosmos.TableResourcesClientBeginCreateUpdateTableOptions) (resp azfake.PollerResponder[armcosmos.TableResourcesClientCreateUpdateTableResponse], errResp azfake.ErrorResponder)

	// BeginDeleteTable is the fake for method TableResourcesClient.BeginDeleteTable
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDeleteTable func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armcosmos.TableResourcesClientBeginDeleteTableOptions) (resp azfake.PollerResponder[armcosmos.TableResourcesClientDeleteTableResponse], errResp azfake.ErrorResponder)

	// GetTable is the fake for method TableResourcesClient.GetTable
	// HTTP status codes to indicate success: http.StatusOK
	GetTable func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armcosmos.TableResourcesClientGetTableOptions) (resp azfake.Responder[armcosmos.TableResourcesClientGetTableResponse], errResp azfake.ErrorResponder)

	// GetTableThroughput is the fake for method TableResourcesClient.GetTableThroughput
	// HTTP status codes to indicate success: http.StatusOK
	GetTableThroughput func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armcosmos.TableResourcesClientGetTableThroughputOptions) (resp azfake.Responder[armcosmos.TableResourcesClientGetTableThroughputResponse], errResp azfake.ErrorResponder)

	// NewListTablesPager is the fake for method TableResourcesClient.NewListTablesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListTablesPager func(resourceGroupName string, accountName string, options *armcosmos.TableResourcesClientListTablesOptions) (resp azfake.PagerResponder[armcosmos.TableResourcesClientListTablesResponse])

	// BeginMigrateTableToAutoscale is the fake for method TableResourcesClient.BeginMigrateTableToAutoscale
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateTableToAutoscale func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armcosmos.TableResourcesClientBeginMigrateTableToAutoscaleOptions) (resp azfake.PollerResponder[armcosmos.TableResourcesClientMigrateTableToAutoscaleResponse], errResp azfake.ErrorResponder)

	// BeginMigrateTableToManualThroughput is the fake for method TableResourcesClient.BeginMigrateTableToManualThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrateTableToManualThroughput func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armcosmos.TableResourcesClientBeginMigrateTableToManualThroughputOptions) (resp azfake.PollerResponder[armcosmos.TableResourcesClientMigrateTableToManualThroughputResponse], errResp azfake.ErrorResponder)

	// BeginRetrieveContinuousBackupInformation is the fake for method TableResourcesClient.BeginRetrieveContinuousBackupInformation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRetrieveContinuousBackupInformation func(ctx context.Context, resourceGroupName string, accountName string, tableName string, location armcosmos.ContinuousBackupRestoreLocation, options *armcosmos.TableResourcesClientBeginRetrieveContinuousBackupInformationOptions) (resp azfake.PollerResponder[armcosmos.TableResourcesClientRetrieveContinuousBackupInformationResponse], errResp azfake.ErrorResponder)

	// BeginUpdateTableThroughput is the fake for method TableResourcesClient.BeginUpdateTableThroughput
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateTableThroughput func(ctx context.Context, resourceGroupName string, accountName string, tableName string, updateThroughputParameters armcosmos.ThroughputSettingsUpdateParameters, options *armcosmos.TableResourcesClientBeginUpdateTableThroughputOptions) (resp azfake.PollerResponder[armcosmos.TableResourcesClientUpdateTableThroughputResponse], errResp azfake.ErrorResponder)
}

TableResourcesServer is a fake server for instances of the armcosmos.TableResourcesClient type.

type TableResourcesServerTransport

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

TableResourcesServerTransport connects instances of armcosmos.TableResourcesClient to instances of TableResourcesServer. Don't use this type directly, use NewTableResourcesServerTransport instead.

func NewTableResourcesServerTransport

func NewTableResourcesServerTransport(srv *TableResourcesServer) *TableResourcesServerTransport

NewTableResourcesServerTransport creates a new instance of TableResourcesServerTransport with the provided implementation. The returned TableResourcesServerTransport instance is connected to an instance of armcosmos.TableResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TableResourcesServerTransport) Do

Do implements the policy.Transporter interface for TableResourcesServerTransport.

Jump to

Keyboard shortcuts

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