fake

package
v2.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvancedThreatProtectionSettingsServer

type AdvancedThreatProtectionSettingsServer struct {
	// Get is the fake for method AdvancedThreatProtectionSettingsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, advancedThreatProtectionName armmysqlflexibleservers.AdvancedThreatProtectionName, options *armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AdvancedThreatProtectionSettingsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientListOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientListResponse])

	// BeginUpdate is the fake for method AdvancedThreatProtectionSettingsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, advancedThreatProtectionName armmysqlflexibleservers.AdvancedThreatProtectionName, parameters armmysqlflexibleservers.AdvancedThreatProtectionForUpdate, options *armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientBeginUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientUpdateResponse], errResp azfake.ErrorResponder)

	// BeginUpdatePut is the fake for method AdvancedThreatProtectionSettingsClient.BeginUpdatePut
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdatePut func(ctx context.Context, resourceGroupName string, serverName string, advancedThreatProtectionName armmysqlflexibleservers.AdvancedThreatProtectionName, parameters armmysqlflexibleservers.AdvancedThreatProtection, options *armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientBeginUpdatePutOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.AdvancedThreatProtectionSettingsClientUpdatePutResponse], errResp azfake.ErrorResponder)
}

AdvancedThreatProtectionSettingsServer is a fake server for instances of the armmysqlflexibleservers.AdvancedThreatProtectionSettingsClient type.

type AdvancedThreatProtectionSettingsServerTransport

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

AdvancedThreatProtectionSettingsServerTransport connects instances of armmysqlflexibleservers.AdvancedThreatProtectionSettingsClient to instances of AdvancedThreatProtectionSettingsServer. Don't use this type directly, use NewAdvancedThreatProtectionSettingsServerTransport instead.

func NewAdvancedThreatProtectionSettingsServerTransport

func NewAdvancedThreatProtectionSettingsServerTransport(srv *AdvancedThreatProtectionSettingsServer) *AdvancedThreatProtectionSettingsServerTransport

NewAdvancedThreatProtectionSettingsServerTransport creates a new instance of AdvancedThreatProtectionSettingsServerTransport with the provided implementation. The returned AdvancedThreatProtectionSettingsServerTransport instance is connected to an instance of armmysqlflexibleservers.AdvancedThreatProtectionSettingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AdvancedThreatProtectionSettingsServerTransport) Do

Do implements the policy.Transporter interface for AdvancedThreatProtectionSettingsServerTransport.

type AzureADAdministratorsServer

type AzureADAdministratorsServer struct {
	// BeginCreateOrUpdate is the fake for method AzureADAdministratorsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, administratorName armmysqlflexibleservers.AdministratorName, parameters armmysqlflexibleservers.AzureADAdministrator, options *armmysqlflexibleservers.AzureADAdministratorsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.AzureADAdministratorsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AzureADAdministratorsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, administratorName armmysqlflexibleservers.AdministratorName, options *armmysqlflexibleservers.AzureADAdministratorsClientBeginDeleteOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.AzureADAdministratorsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AzureADAdministratorsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, administratorName armmysqlflexibleservers.AdministratorName, options *armmysqlflexibleservers.AzureADAdministratorsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.AzureADAdministratorsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method AzureADAdministratorsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.AzureADAdministratorsClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.AzureADAdministratorsClientListByServerResponse])
}

AzureADAdministratorsServer is a fake server for instances of the armmysqlflexibleservers.AzureADAdministratorsClient type.

type AzureADAdministratorsServerTransport

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

AzureADAdministratorsServerTransport connects instances of armmysqlflexibleservers.AzureADAdministratorsClient to instances of AzureADAdministratorsServer. Don't use this type directly, use NewAzureADAdministratorsServerTransport instead.

func NewAzureADAdministratorsServerTransport

func NewAzureADAdministratorsServerTransport(srv *AzureADAdministratorsServer) *AzureADAdministratorsServerTransport

NewAzureADAdministratorsServerTransport creates a new instance of AzureADAdministratorsServerTransport with the provided implementation. The returned AzureADAdministratorsServerTransport instance is connected to an instance of armmysqlflexibleservers.AzureADAdministratorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AzureADAdministratorsServerTransport) Do

Do implements the policy.Transporter interface for AzureADAdministratorsServerTransport.

type BackupAndExportServer

type BackupAndExportServer struct {
	// BeginCreate is the fake for method BackupAndExportClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.BackupAndExportRequest, options *armmysqlflexibleservers.BackupAndExportClientBeginCreateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.BackupAndExportClientCreateResponse], errResp azfake.ErrorResponder)

	// ValidateBackup is the fake for method BackupAndExportClient.ValidateBackup
	// HTTP status codes to indicate success: http.StatusOK
	ValidateBackup func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.BackupAndExportClientValidateBackupOptions) (resp azfake.Responder[armmysqlflexibleservers.BackupAndExportClientValidateBackupResponse], errResp azfake.ErrorResponder)
}

BackupAndExportServer is a fake server for instances of the armmysqlflexibleservers.BackupAndExportClient type.

type BackupAndExportServerTransport

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

BackupAndExportServerTransport connects instances of armmysqlflexibleservers.BackupAndExportClient to instances of BackupAndExportServer. Don't use this type directly, use NewBackupAndExportServerTransport instead.

func NewBackupAndExportServerTransport

func NewBackupAndExportServerTransport(srv *BackupAndExportServer) *BackupAndExportServerTransport

NewBackupAndExportServerTransport creates a new instance of BackupAndExportServerTransport with the provided implementation. The returned BackupAndExportServerTransport instance is connected to an instance of armmysqlflexibleservers.BackupAndExportClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupAndExportServerTransport) Do

Do implements the policy.Transporter interface for BackupAndExportServerTransport.

type BackupsServer

type BackupsServer struct {
	// Get is the fake for method BackupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, backupName string, options *armmysqlflexibleservers.BackupsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.BackupsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method BackupsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.BackupsClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.BackupsClientListByServerResponse])

	// Put is the fake for method BackupsClient.Put
	// HTTP status codes to indicate success: http.StatusOK
	Put func(ctx context.Context, resourceGroupName string, serverName string, backupName string, options *armmysqlflexibleservers.BackupsClientPutOptions) (resp azfake.Responder[armmysqlflexibleservers.BackupsClientPutResponse], errResp azfake.ErrorResponder)
}

BackupsServer is a fake server for instances of the armmysqlflexibleservers.BackupsClient type.

type BackupsServerTransport

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

BackupsServerTransport connects instances of armmysqlflexibleservers.BackupsClient to instances of BackupsServer. Don't use this type directly, use NewBackupsServerTransport instead.

func NewBackupsServerTransport

func NewBackupsServerTransport(srv *BackupsServer) *BackupsServerTransport

NewBackupsServerTransport creates a new instance of BackupsServerTransport with the provided implementation. The returned BackupsServerTransport instance is connected to an instance of armmysqlflexibleservers.BackupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupsServerTransport) Do

Do implements the policy.Transporter interface for BackupsServerTransport.

type CheckNameAvailabilityServer

type CheckNameAvailabilityServer struct {
	// Execute is the fake for method CheckNameAvailabilityClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, locationName string, nameAvailabilityRequest armmysqlflexibleservers.NameAvailabilityRequest, options *armmysqlflexibleservers.CheckNameAvailabilityClientExecuteOptions) (resp azfake.Responder[armmysqlflexibleservers.CheckNameAvailabilityClientExecuteResponse], errResp azfake.ErrorResponder)
}

CheckNameAvailabilityServer is a fake server for instances of the armmysqlflexibleservers.CheckNameAvailabilityClient type.

type CheckNameAvailabilityServerTransport

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

CheckNameAvailabilityServerTransport connects instances of armmysqlflexibleservers.CheckNameAvailabilityClient to instances of CheckNameAvailabilityServer. Don't use this type directly, use NewCheckNameAvailabilityServerTransport instead.

func NewCheckNameAvailabilityServerTransport

func NewCheckNameAvailabilityServerTransport(srv *CheckNameAvailabilityServer) *CheckNameAvailabilityServerTransport

NewCheckNameAvailabilityServerTransport creates a new instance of CheckNameAvailabilityServerTransport with the provided implementation. The returned CheckNameAvailabilityServerTransport instance is connected to an instance of armmysqlflexibleservers.CheckNameAvailabilityClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CheckNameAvailabilityServerTransport) Do

Do implements the policy.Transporter interface for CheckNameAvailabilityServerTransport.

type CheckNameAvailabilityWithoutLocationServer

type CheckNameAvailabilityWithoutLocationServer struct {
	// Execute is the fake for method CheckNameAvailabilityWithoutLocationClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, nameAvailabilityRequest armmysqlflexibleservers.NameAvailabilityRequest, options *armmysqlflexibleservers.CheckNameAvailabilityWithoutLocationClientExecuteOptions) (resp azfake.Responder[armmysqlflexibleservers.CheckNameAvailabilityWithoutLocationClientExecuteResponse], errResp azfake.ErrorResponder)
}

CheckNameAvailabilityWithoutLocationServer is a fake server for instances of the armmysqlflexibleservers.CheckNameAvailabilityWithoutLocationClient type.

type CheckNameAvailabilityWithoutLocationServerTransport

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

CheckNameAvailabilityWithoutLocationServerTransport connects instances of armmysqlflexibleservers.CheckNameAvailabilityWithoutLocationClient to instances of CheckNameAvailabilityWithoutLocationServer. Don't use this type directly, use NewCheckNameAvailabilityWithoutLocationServerTransport instead.

func NewCheckNameAvailabilityWithoutLocationServerTransport

func NewCheckNameAvailabilityWithoutLocationServerTransport(srv *CheckNameAvailabilityWithoutLocationServer) *CheckNameAvailabilityWithoutLocationServerTransport

NewCheckNameAvailabilityWithoutLocationServerTransport creates a new instance of CheckNameAvailabilityWithoutLocationServerTransport with the provided implementation. The returned CheckNameAvailabilityWithoutLocationServerTransport instance is connected to an instance of armmysqlflexibleservers.CheckNameAvailabilityWithoutLocationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CheckNameAvailabilityWithoutLocationServerTransport) Do

Do implements the policy.Transporter interface for CheckNameAvailabilityWithoutLocationServerTransport.

type CheckVirtualNetworkSubnetUsageServer

type CheckVirtualNetworkSubnetUsageServer struct {
	// Execute is the fake for method CheckVirtualNetworkSubnetUsageClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, locationName string, parameters armmysqlflexibleservers.VirtualNetworkSubnetUsageParameter, options *armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClientExecuteOptions) (resp azfake.Responder[armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClientExecuteResponse], errResp azfake.ErrorResponder)
}

CheckVirtualNetworkSubnetUsageServer is a fake server for instances of the armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClient type.

type CheckVirtualNetworkSubnetUsageServerTransport

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

CheckVirtualNetworkSubnetUsageServerTransport connects instances of armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClient to instances of CheckVirtualNetworkSubnetUsageServer. Don't use this type directly, use NewCheckVirtualNetworkSubnetUsageServerTransport instead.

func NewCheckVirtualNetworkSubnetUsageServerTransport

func NewCheckVirtualNetworkSubnetUsageServerTransport(srv *CheckVirtualNetworkSubnetUsageServer) *CheckVirtualNetworkSubnetUsageServerTransport

NewCheckVirtualNetworkSubnetUsageServerTransport creates a new instance of CheckVirtualNetworkSubnetUsageServerTransport with the provided implementation. The returned CheckVirtualNetworkSubnetUsageServerTransport instance is connected to an instance of armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CheckVirtualNetworkSubnetUsageServerTransport) Do

Do implements the policy.Transporter interface for CheckVirtualNetworkSubnetUsageServerTransport.

type ConfigurationsServer

type ConfigurationsServer struct {
	// BeginBatchUpdate is the fake for method ConfigurationsClient.BeginBatchUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginBatchUpdate func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.ConfigurationListForBatchUpdate, options *armmysqlflexibleservers.ConfigurationsClientBeginBatchUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ConfigurationsClientBatchUpdateResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ConfigurationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, configurationName string, parameters armmysqlflexibleservers.Configuration, options *armmysqlflexibleservers.ConfigurationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ConfigurationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, configurationName string, options *armmysqlflexibleservers.ConfigurationsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.ConfigurationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method ConfigurationsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.ConfigurationsClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.ConfigurationsClientListByServerResponse])

	// BeginUpdate is the fake for method ConfigurationsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, configurationName string, parameters armmysqlflexibleservers.Configuration, options *armmysqlflexibleservers.ConfigurationsClientBeginUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ConfigurationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ConfigurationsServer is a fake server for instances of the armmysqlflexibleservers.ConfigurationsClient type.

type ConfigurationsServerTransport

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

ConfigurationsServerTransport connects instances of armmysqlflexibleservers.ConfigurationsClient to instances of ConfigurationsServer. Don't use this type directly, use NewConfigurationsServerTransport instead.

func NewConfigurationsServerTransport

func NewConfigurationsServerTransport(srv *ConfigurationsServer) *ConfigurationsServerTransport

NewConfigurationsServerTransport creates a new instance of ConfigurationsServerTransport with the provided implementation. The returned ConfigurationsServerTransport instance is connected to an instance of armmysqlflexibleservers.ConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationsServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationsServerTransport.

type DatabasesServer

type DatabasesServer struct {
	// BeginCreateOrUpdate is the fake for method DatabasesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters armmysqlflexibleservers.Database, options *armmysqlflexibleservers.DatabasesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.DatabasesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DatabasesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, databaseName string, options *armmysqlflexibleservers.DatabasesClientBeginDeleteOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.DatabasesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DatabasesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, databaseName string, options *armmysqlflexibleservers.DatabasesClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.DatabasesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method DatabasesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.DatabasesClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.DatabasesClientListByServerResponse])
}

DatabasesServer is a fake server for instances of the armmysqlflexibleservers.DatabasesClient type.

type DatabasesServerTransport

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

DatabasesServerTransport connects instances of armmysqlflexibleservers.DatabasesClient to instances of DatabasesServer. Don't use this type directly, use NewDatabasesServerTransport instead.

func NewDatabasesServerTransport

func NewDatabasesServerTransport(srv *DatabasesServer) *DatabasesServerTransport

NewDatabasesServerTransport creates a new instance of DatabasesServerTransport with the provided implementation. The returned DatabasesServerTransport instance is connected to an instance of armmysqlflexibleservers.DatabasesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabasesServerTransport) Do

Do implements the policy.Transporter interface for DatabasesServerTransport.

type FirewallRulesServer

type FirewallRulesServer struct {
	// BeginCreateOrUpdate is the fake for method FirewallRulesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters armmysqlflexibleservers.FirewallRule, options *armmysqlflexibleservers.FirewallRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.FirewallRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method FirewallRulesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, options *armmysqlflexibleservers.FirewallRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.FirewallRulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FirewallRulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, options *armmysqlflexibleservers.FirewallRulesClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.FirewallRulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method FirewallRulesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.FirewallRulesClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.FirewallRulesClientListByServerResponse])
}

FirewallRulesServer is a fake server for instances of the armmysqlflexibleservers.FirewallRulesClient type.

type FirewallRulesServerTransport

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

FirewallRulesServerTransport connects instances of armmysqlflexibleservers.FirewallRulesClient to instances of FirewallRulesServer. Don't use this type directly, use NewFirewallRulesServerTransport instead.

func NewFirewallRulesServerTransport

func NewFirewallRulesServerTransport(srv *FirewallRulesServer) *FirewallRulesServerTransport

NewFirewallRulesServerTransport creates a new instance of FirewallRulesServerTransport with the provided implementation. The returned FirewallRulesServerTransport instance is connected to an instance of armmysqlflexibleservers.FirewallRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FirewallRulesServerTransport) Do

Do implements the policy.Transporter interface for FirewallRulesServerTransport.

type GetPrivateDNSZoneSuffixServer

type GetPrivateDNSZoneSuffixServer struct {
	// Execute is the fake for method GetPrivateDNSZoneSuffixClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, options *armmysqlflexibleservers.GetPrivateDNSZoneSuffixClientExecuteOptions) (resp azfake.Responder[armmysqlflexibleservers.GetPrivateDNSZoneSuffixClientExecuteResponse], errResp azfake.ErrorResponder)
}

GetPrivateDNSZoneSuffixServer is a fake server for instances of the armmysqlflexibleservers.GetPrivateDNSZoneSuffixClient type.

type GetPrivateDNSZoneSuffixServerTransport

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

GetPrivateDNSZoneSuffixServerTransport connects instances of armmysqlflexibleservers.GetPrivateDNSZoneSuffixClient to instances of GetPrivateDNSZoneSuffixServer. Don't use this type directly, use NewGetPrivateDNSZoneSuffixServerTransport instead.

func NewGetPrivateDNSZoneSuffixServerTransport

func NewGetPrivateDNSZoneSuffixServerTransport(srv *GetPrivateDNSZoneSuffixServer) *GetPrivateDNSZoneSuffixServerTransport

NewGetPrivateDNSZoneSuffixServerTransport creates a new instance of GetPrivateDNSZoneSuffixServerTransport with the provided implementation. The returned GetPrivateDNSZoneSuffixServerTransport instance is connected to an instance of armmysqlflexibleservers.GetPrivateDNSZoneSuffixClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GetPrivateDNSZoneSuffixServerTransport) Do

Do implements the policy.Transporter interface for GetPrivateDNSZoneSuffixServerTransport.

type LocationBasedCapabilitiesServer

type LocationBasedCapabilitiesServer struct {
	// NewListPager is the fake for method LocationBasedCapabilitiesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(locationName string, options *armmysqlflexibleservers.LocationBasedCapabilitiesClientListOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.LocationBasedCapabilitiesClientListResponse])
}

LocationBasedCapabilitiesServer is a fake server for instances of the armmysqlflexibleservers.LocationBasedCapabilitiesClient type.

type LocationBasedCapabilitiesServerTransport

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

LocationBasedCapabilitiesServerTransport connects instances of armmysqlflexibleservers.LocationBasedCapabilitiesClient to instances of LocationBasedCapabilitiesServer. Don't use this type directly, use NewLocationBasedCapabilitiesServerTransport instead.

func NewLocationBasedCapabilitiesServerTransport

func NewLocationBasedCapabilitiesServerTransport(srv *LocationBasedCapabilitiesServer) *LocationBasedCapabilitiesServerTransport

NewLocationBasedCapabilitiesServerTransport creates a new instance of LocationBasedCapabilitiesServerTransport with the provided implementation. The returned LocationBasedCapabilitiesServerTransport instance is connected to an instance of armmysqlflexibleservers.LocationBasedCapabilitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationBasedCapabilitiesServerTransport) Do

Do implements the policy.Transporter interface for LocationBasedCapabilitiesServerTransport.

type LocationBasedCapabilitySetServer

type LocationBasedCapabilitySetServer struct {
	// Get is the fake for method LocationBasedCapabilitySetClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, locationName string, capabilitySetName string, options *armmysqlflexibleservers.LocationBasedCapabilitySetClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.LocationBasedCapabilitySetClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LocationBasedCapabilitySetClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(locationName string, options *armmysqlflexibleservers.LocationBasedCapabilitySetClientListOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.LocationBasedCapabilitySetClientListResponse])
}

LocationBasedCapabilitySetServer is a fake server for instances of the armmysqlflexibleservers.LocationBasedCapabilitySetClient type.

type LocationBasedCapabilitySetServerTransport

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

LocationBasedCapabilitySetServerTransport connects instances of armmysqlflexibleservers.LocationBasedCapabilitySetClient to instances of LocationBasedCapabilitySetServer. Don't use this type directly, use NewLocationBasedCapabilitySetServerTransport instead.

func NewLocationBasedCapabilitySetServerTransport

func NewLocationBasedCapabilitySetServerTransport(srv *LocationBasedCapabilitySetServer) *LocationBasedCapabilitySetServerTransport

NewLocationBasedCapabilitySetServerTransport creates a new instance of LocationBasedCapabilitySetServerTransport with the provided implementation. The returned LocationBasedCapabilitySetServerTransport instance is connected to an instance of armmysqlflexibleservers.LocationBasedCapabilitySetClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationBasedCapabilitySetServerTransport) Do

Do implements the policy.Transporter interface for LocationBasedCapabilitySetServerTransport.

type LogFilesServer

type LogFilesServer struct {
	// NewListByServerPager is the fake for method LogFilesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.LogFilesClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.LogFilesClientListByServerResponse])
}

LogFilesServer is a fake server for instances of the armmysqlflexibleservers.LogFilesClient type.

type LogFilesServerTransport

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

LogFilesServerTransport connects instances of armmysqlflexibleservers.LogFilesClient to instances of LogFilesServer. Don't use this type directly, use NewLogFilesServerTransport instead.

func NewLogFilesServerTransport

func NewLogFilesServerTransport(srv *LogFilesServer) *LogFilesServerTransport

NewLogFilesServerTransport creates a new instance of LogFilesServerTransport with the provided implementation. The returned LogFilesServerTransport instance is connected to an instance of armmysqlflexibleservers.LogFilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LogFilesServerTransport) Do

Do implements the policy.Transporter interface for LogFilesServerTransport.

type LongRunningBackupServer

type LongRunningBackupServer struct {
	// BeginCreate is the fake for method LongRunningBackupClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, serverName string, backupName string, options *armmysqlflexibleservers.LongRunningBackupClientBeginCreateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.LongRunningBackupClientCreateResponse], errResp azfake.ErrorResponder)
}

LongRunningBackupServer is a fake server for instances of the armmysqlflexibleservers.LongRunningBackupClient type.

type LongRunningBackupServerTransport

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

LongRunningBackupServerTransport connects instances of armmysqlflexibleservers.LongRunningBackupClient to instances of LongRunningBackupServer. Don't use this type directly, use NewLongRunningBackupServerTransport instead.

func NewLongRunningBackupServerTransport

func NewLongRunningBackupServerTransport(srv *LongRunningBackupServer) *LongRunningBackupServerTransport

NewLongRunningBackupServerTransport creates a new instance of LongRunningBackupServerTransport with the provided implementation. The returned LongRunningBackupServerTransport instance is connected to an instance of armmysqlflexibleservers.LongRunningBackupClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LongRunningBackupServerTransport) Do

Do implements the policy.Transporter interface for LongRunningBackupServerTransport.

type LongRunningBackupsServer

type LongRunningBackupsServer struct {
	// Get is the fake for method LongRunningBackupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, backupName string, options *armmysqlflexibleservers.LongRunningBackupsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.LongRunningBackupsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LongRunningBackupsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.LongRunningBackupsClientListOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.LongRunningBackupsClientListResponse])
}

LongRunningBackupsServer is a fake server for instances of the armmysqlflexibleservers.LongRunningBackupsClient type.

type LongRunningBackupsServerTransport

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

LongRunningBackupsServerTransport connects instances of armmysqlflexibleservers.LongRunningBackupsClient to instances of LongRunningBackupsServer. Don't use this type directly, use NewLongRunningBackupsServerTransport instead.

func NewLongRunningBackupsServerTransport

func NewLongRunningBackupsServerTransport(srv *LongRunningBackupsServer) *LongRunningBackupsServerTransport

NewLongRunningBackupsServerTransport creates a new instance of LongRunningBackupsServerTransport with the provided implementation. The returned LongRunningBackupsServerTransport instance is connected to an instance of armmysqlflexibleservers.LongRunningBackupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LongRunningBackupsServerTransport) Do

Do implements the policy.Transporter interface for LongRunningBackupsServerTransport.

type MaintenancesServer

type MaintenancesServer struct {
	// NewListPager is the fake for method MaintenancesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.MaintenancesClientListOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.MaintenancesClientListResponse])

	// Read is the fake for method MaintenancesClient.Read
	// HTTP status codes to indicate success: http.StatusOK
	Read func(ctx context.Context, resourceGroupName string, serverName string, maintenanceName string, options *armmysqlflexibleservers.MaintenancesClientReadOptions) (resp azfake.Responder[armmysqlflexibleservers.MaintenancesClientReadResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method MaintenancesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, maintenanceName string, options *armmysqlflexibleservers.MaintenancesClientBeginUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.MaintenancesClientUpdateResponse], errResp azfake.ErrorResponder)
}

MaintenancesServer is a fake server for instances of the armmysqlflexibleservers.MaintenancesClient type.

type MaintenancesServerTransport

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

MaintenancesServerTransport connects instances of armmysqlflexibleservers.MaintenancesClient to instances of MaintenancesServer. Don't use this type directly, use NewMaintenancesServerTransport instead.

func NewMaintenancesServerTransport

func NewMaintenancesServerTransport(srv *MaintenancesServer) *MaintenancesServerTransport

NewMaintenancesServerTransport creates a new instance of MaintenancesServerTransport with the provided implementation. The returned MaintenancesServerTransport instance is connected to an instance of armmysqlflexibleservers.MaintenancesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MaintenancesServerTransport) Do

Do implements the policy.Transporter interface for MaintenancesServerTransport.

type OperationProgressServer

type OperationProgressServer struct {
	// Get is the fake for method OperationProgressClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, locationName string, operationID string, options *armmysqlflexibleservers.OperationProgressClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.OperationProgressClientGetResponse], errResp azfake.ErrorResponder)
}

OperationProgressServer is a fake server for instances of the armmysqlflexibleservers.OperationProgressClient type.

type OperationProgressServerTransport

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

OperationProgressServerTransport connects instances of armmysqlflexibleservers.OperationProgressClient to instances of OperationProgressServer. Don't use this type directly, use NewOperationProgressServerTransport instead.

func NewOperationProgressServerTransport

func NewOperationProgressServerTransport(srv *OperationProgressServer) *OperationProgressServerTransport

NewOperationProgressServerTransport creates a new instance of OperationProgressServerTransport with the provided implementation. The returned OperationProgressServerTransport instance is connected to an instance of armmysqlflexibleservers.OperationProgressClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationProgressServerTransport) Do

Do implements the policy.Transporter interface for OperationProgressServerTransport.

type OperationResultsServer

type OperationResultsServer struct {
	// Get is the fake for method OperationResultsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, locationName string, operationID string, options *armmysqlflexibleservers.OperationResultsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.OperationResultsClientGetResponse], errResp azfake.ErrorResponder)
}

OperationResultsServer is a fake server for instances of the armmysqlflexibleservers.OperationResultsClient type.

type OperationResultsServerTransport

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

OperationResultsServerTransport connects instances of armmysqlflexibleservers.OperationResultsClient to instances of OperationResultsServer. Don't use this type directly, use NewOperationResultsServerTransport instead.

func NewOperationResultsServerTransport

func NewOperationResultsServerTransport(srv *OperationResultsServer) *OperationResultsServerTransport

NewOperationResultsServerTransport creates a new instance of OperationResultsServerTransport with the provided implementation. The returned OperationResultsServerTransport instance is connected to an instance of armmysqlflexibleservers.OperationResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationResultsServerTransport) Do

Do implements the policy.Transporter interface for OperationResultsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 ReplicasServer

type ReplicasServer struct {
	// NewListByServerPager is the fake for method ReplicasClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmysqlflexibleservers.ReplicasClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.ReplicasClientListByServerResponse])
}

ReplicasServer is a fake server for instances of the armmysqlflexibleservers.ReplicasClient type.

type ReplicasServerTransport

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

ReplicasServerTransport connects instances of armmysqlflexibleservers.ReplicasClient to instances of ReplicasServer. Don't use this type directly, use NewReplicasServerTransport instead.

func NewReplicasServerTransport

func NewReplicasServerTransport(srv *ReplicasServer) *ReplicasServerTransport

NewReplicasServerTransport creates a new instance of ReplicasServerTransport with the provided implementation. The returned ReplicasServerTransport instance is connected to an instance of armmysqlflexibleservers.ReplicasClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReplicasServerTransport) Do

Do implements the policy.Transporter interface for ReplicasServerTransport.

type ServerFactory

type ServerFactory struct {
	AdvancedThreatProtectionSettingsServer     AdvancedThreatProtectionSettingsServer
	AzureADAdministratorsServer                AzureADAdministratorsServer
	BackupAndExportServer                      BackupAndExportServer
	BackupsServer                              BackupsServer
	CheckNameAvailabilityServer                CheckNameAvailabilityServer
	CheckNameAvailabilityWithoutLocationServer CheckNameAvailabilityWithoutLocationServer
	CheckVirtualNetworkSubnetUsageServer       CheckVirtualNetworkSubnetUsageServer
	ConfigurationsServer                       ConfigurationsServer
	DatabasesServer                            DatabasesServer
	FirewallRulesServer                        FirewallRulesServer
	GetPrivateDNSZoneSuffixServer              GetPrivateDNSZoneSuffixServer
	LocationBasedCapabilitiesServer            LocationBasedCapabilitiesServer
	LocationBasedCapabilitySetServer           LocationBasedCapabilitySetServer
	LogFilesServer                             LogFilesServer
	LongRunningBackupServer                    LongRunningBackupServer
	LongRunningBackupsServer                   LongRunningBackupsServer
	MaintenancesServer                         MaintenancesServer
	OperationProgressServer                    OperationProgressServer
	OperationResultsServer                     OperationResultsServer
	OperationsServer                           OperationsServer
	ReplicasServer                             ReplicasServer
	ServersServer                              ServersServer
	ServersMigrationServer                     ServersMigrationServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 ServersMigrationServer

type ServersMigrationServer struct {
	// BeginCutoverMigration is the fake for method ServersMigrationClient.BeginCutoverMigration
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCutoverMigration func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.ServersMigrationClientBeginCutoverMigrationOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersMigrationClientCutoverMigrationResponse], errResp azfake.ErrorResponder)
}

ServersMigrationServer is a fake server for instances of the armmysqlflexibleservers.ServersMigrationClient type.

type ServersMigrationServerTransport

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

ServersMigrationServerTransport connects instances of armmysqlflexibleservers.ServersMigrationClient to instances of ServersMigrationServer. Don't use this type directly, use NewServersMigrationServerTransport instead.

func NewServersMigrationServerTransport

func NewServersMigrationServerTransport(srv *ServersMigrationServer) *ServersMigrationServerTransport

NewServersMigrationServerTransport creates a new instance of ServersMigrationServerTransport with the provided implementation. The returned ServersMigrationServerTransport instance is connected to an instance of armmysqlflexibleservers.ServersMigrationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServersMigrationServerTransport) Do

Do implements the policy.Transporter interface for ServersMigrationServerTransport.

type ServersServer

type ServersServer struct {
	// BeginCreate is the fake for method ServersClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.Server, options *armmysqlflexibleservers.ServersClientBeginCreateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ServersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.ServersClientBeginDeleteOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginFailover is the fake for method ServersClient.BeginFailover
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginFailover func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.ServersClientBeginFailoverOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientFailoverResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.ServersClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.ServersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ServersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armmysqlflexibleservers.ServersClientListOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.ServersClientListResponse])

	// NewListByResourceGroupPager is the fake for method ServersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armmysqlflexibleservers.ServersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.ServersClientListByResourceGroupResponse])

	// BeginResetGtid is the fake for method ServersClient.BeginResetGtid
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginResetGtid func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.ServerGtidSetParameter, options *armmysqlflexibleservers.ServersClientBeginResetGtidOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientResetGtidResponse], errResp azfake.ErrorResponder)

	// BeginRestart is the fake for method ServersClient.BeginRestart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRestart func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.ServerRestartParameter, options *armmysqlflexibleservers.ServersClientBeginRestartOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientRestartResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method ServersClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.ServersClientBeginStartOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method ServersClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.ServersClientBeginStopOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method ServersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.ServerForUpdate, options *armmysqlflexibleservers.ServersClientBeginUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientUpdateResponse], errResp azfake.ErrorResponder)

	// ValidateEstimateHighAvailability is the fake for method ServersClient.ValidateEstimateHighAvailability
	// HTTP status codes to indicate success: http.StatusOK
	ValidateEstimateHighAvailability func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.HighAvailabilityValidationEstimation, options *armmysqlflexibleservers.ServersClientValidateEstimateHighAvailabilityOptions) (resp azfake.Responder[armmysqlflexibleservers.ServersClientValidateEstimateHighAvailabilityResponse], errResp azfake.ErrorResponder)
}

ServersServer is a fake server for instances of the armmysqlflexibleservers.ServersClient type.

type ServersServerTransport

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

ServersServerTransport connects instances of armmysqlflexibleservers.ServersClient to instances of ServersServer. Don't use this type directly, use NewServersServerTransport instead.

func NewServersServerTransport

func NewServersServerTransport(srv *ServersServer) *ServersServerTransport

NewServersServerTransport creates a new instance of ServersServerTransport with the provided implementation. The returned ServersServerTransport instance is connected to an instance of armmysqlflexibleservers.ServersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServersServerTransport) Do

Do implements the policy.Transporter interface for ServersServerTransport.

Jump to

Keyboard shortcuts

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