fake

package
v5.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdministratorsServer

type AdministratorsServer struct {
	// BeginCreate is the fake for method AdministratorsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, serverName string, objectID string, parameters armpostgresqlflexibleservers.ActiveDirectoryAdministratorAdd, options *armpostgresqlflexibleservers.AdministratorsClientBeginCreateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.AdministratorsClientCreateResponse], errResp azfake.ErrorResponder)

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

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

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

AdministratorsServer is a fake server for instances of the armpostgresqlflexibleservers.AdministratorsClient type.

type AdministratorsServerTransport

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

AdministratorsServerTransport connects instances of armpostgresqlflexibleservers.AdministratorsClient to instances of AdministratorsServer. Don't use this type directly, use NewAdministratorsServerTransport instead.

func NewAdministratorsServerTransport

func NewAdministratorsServerTransport(srv *AdministratorsServer) *AdministratorsServerTransport

NewAdministratorsServerTransport creates a new instance of AdministratorsServerTransport with the provided implementation. The returned AdministratorsServerTransport instance is connected to an instance of armpostgresqlflexibleservers.AdministratorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AdministratorsServerTransport) Do

Do implements the policy.Transporter interface for AdministratorsServerTransport.

type BackupsServer

type BackupsServer struct {
	// BeginCreate is the fake for method BackupsClient.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 *armpostgresqlflexibleservers.BackupsClientBeginCreateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.BackupsClientCreateResponse], errResp azfake.ErrorResponder)

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

	// 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 *armpostgresqlflexibleservers.BackupsClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.BackupsClientListByServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.BackupsClientListByServerResponse])
}

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

type BackupsServerTransport

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

BackupsServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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, nameAvailabilityRequest armpostgresqlflexibleservers.CheckNameAvailabilityRequest, options *armpostgresqlflexibleservers.CheckNameAvailabilityClientExecuteOptions) (resp azfake.Responder[armpostgresqlflexibleservers.CheckNameAvailabilityClientExecuteResponse], errResp azfake.ErrorResponder)
}

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

type CheckNameAvailabilityServerTransport

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

CheckNameAvailabilityServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 CheckNameAvailabilityWithLocationServer

type CheckNameAvailabilityWithLocationServer struct {
	// Execute is the fake for method CheckNameAvailabilityWithLocationClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, locationName string, nameAvailabilityRequest armpostgresqlflexibleservers.CheckNameAvailabilityRequest, options *armpostgresqlflexibleservers.CheckNameAvailabilityWithLocationClientExecuteOptions) (resp azfake.Responder[armpostgresqlflexibleservers.CheckNameAvailabilityWithLocationClientExecuteResponse], errResp azfake.ErrorResponder)
}

CheckNameAvailabilityWithLocationServer is a fake server for instances of the armpostgresqlflexibleservers.CheckNameAvailabilityWithLocationClient type.

type CheckNameAvailabilityWithLocationServerTransport

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

CheckNameAvailabilityWithLocationServerTransport connects instances of armpostgresqlflexibleservers.CheckNameAvailabilityWithLocationClient to instances of CheckNameAvailabilityWithLocationServer. Don't use this type directly, use NewCheckNameAvailabilityWithLocationServerTransport instead.

func NewCheckNameAvailabilityWithLocationServerTransport

func NewCheckNameAvailabilityWithLocationServerTransport(srv *CheckNameAvailabilityWithLocationServer) *CheckNameAvailabilityWithLocationServerTransport

NewCheckNameAvailabilityWithLocationServerTransport creates a new instance of CheckNameAvailabilityWithLocationServerTransport with the provided implementation. The returned CheckNameAvailabilityWithLocationServerTransport instance is connected to an instance of armpostgresqlflexibleservers.CheckNameAvailabilityWithLocationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CheckNameAvailabilityWithLocationServerTransport) Do

Do implements the policy.Transporter interface for CheckNameAvailabilityWithLocationServerTransport.

type ConfigurationsServer

type ConfigurationsServer struct {
	// 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 *armpostgresqlflexibleservers.ConfigurationsClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.ConfigurationsClientListByServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.ConfigurationsClientListByServerResponse])

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

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

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

type ConfigurationsServerTransport

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

ConfigurationsServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 {
	// BeginCreate is the fake for method DatabasesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters armpostgresqlflexibleservers.Database, options *armpostgresqlflexibleservers.DatabasesClientBeginCreateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.DatabasesClientCreateResponse], 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 *armpostgresqlflexibleservers.DatabasesClientBeginDeleteOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.DatabasesClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.DatabasesClientListByServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.DatabasesClientListByServerResponse])
}

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

type DatabasesServerTransport

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

DatabasesServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.FirewallRule, options *armpostgresqlflexibleservers.FirewallRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.FirewallRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.FirewallRulesClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.FirewallRulesClientListByServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.FirewallRulesClientListByServerResponse])
}

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

type FirewallRulesServerTransport

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

FirewallRulesServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 FlexibleServerServer

type FlexibleServerServer struct {
	// BeginStartLtrBackup is the fake for method FlexibleServerClient.BeginStartLtrBackup
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStartLtrBackup func(ctx context.Context, resourceGroupName string, serverName string, parameters armpostgresqlflexibleservers.LtrBackupRequest, options *armpostgresqlflexibleservers.FlexibleServerClientBeginStartLtrBackupOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.FlexibleServerClientStartLtrBackupResponse], errResp azfake.ErrorResponder)

	// TriggerLtrPreBackup is the fake for method FlexibleServerClient.TriggerLtrPreBackup
	// HTTP status codes to indicate success: http.StatusOK
	TriggerLtrPreBackup func(ctx context.Context, resourceGroupName string, serverName string, parameters armpostgresqlflexibleservers.LtrPreBackupRequest, options *armpostgresqlflexibleservers.FlexibleServerClientTriggerLtrPreBackupOptions) (resp azfake.Responder[armpostgresqlflexibleservers.FlexibleServerClientTriggerLtrPreBackupResponse], errResp azfake.ErrorResponder)
}

FlexibleServerServer is a fake server for instances of the armpostgresqlflexibleservers.FlexibleServerClient type.

type FlexibleServerServerTransport

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

FlexibleServerServerTransport connects instances of armpostgresqlflexibleservers.FlexibleServerClient to instances of FlexibleServerServer. Don't use this type directly, use NewFlexibleServerServerTransport instead.

func NewFlexibleServerServerTransport

func NewFlexibleServerServerTransport(srv *FlexibleServerServer) *FlexibleServerServerTransport

NewFlexibleServerServerTransport creates a new instance of FlexibleServerServerTransport with the provided implementation. The returned FlexibleServerServerTransport instance is connected to an instance of armpostgresqlflexibleservers.FlexibleServerClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FlexibleServerServerTransport) Do

Do implements the policy.Transporter interface for FlexibleServerServerTransport.

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 *armpostgresqlflexibleservers.GetPrivateDNSZoneSuffixClientExecuteOptions) (resp azfake.Responder[armpostgresqlflexibleservers.GetPrivateDNSZoneSuffixClientExecuteResponse], errResp azfake.ErrorResponder)
}

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

type GetPrivateDNSZoneSuffixServerTransport

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

GetPrivateDNSZoneSuffixServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 {
	// NewExecutePager is the fake for method LocationBasedCapabilitiesClient.NewExecutePager
	// HTTP status codes to indicate success: http.StatusOK
	NewExecutePager func(locationName string, options *armpostgresqlflexibleservers.LocationBasedCapabilitiesClientExecuteOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.LocationBasedCapabilitiesClientExecuteResponse])
}

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

type LocationBasedCapabilitiesServerTransport

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

LocationBasedCapabilitiesServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 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 *armpostgresqlflexibleservers.LogFilesClientListByServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.LogFilesClientListByServerResponse])
}

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

type LogFilesServerTransport

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

LogFilesServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 LtrBackupOperationsServer

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

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

LtrBackupOperationsServer is a fake server for instances of the armpostgresqlflexibleservers.LtrBackupOperationsClient type.

type LtrBackupOperationsServerTransport

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

LtrBackupOperationsServerTransport connects instances of armpostgresqlflexibleservers.LtrBackupOperationsClient to instances of LtrBackupOperationsServer. Don't use this type directly, use NewLtrBackupOperationsServerTransport instead.

func NewLtrBackupOperationsServerTransport

func NewLtrBackupOperationsServerTransport(srv *LtrBackupOperationsServer) *LtrBackupOperationsServerTransport

NewLtrBackupOperationsServerTransport creates a new instance of LtrBackupOperationsServerTransport with the provided implementation. The returned LtrBackupOperationsServerTransport instance is connected to an instance of armpostgresqlflexibleservers.LtrBackupOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LtrBackupOperationsServerTransport) Do

Do implements the policy.Transporter interface for LtrBackupOperationsServerTransport.

type MigrationsServer

type MigrationsServer struct {
	// Create is the fake for method MigrationsClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, subscriptionID string, resourceGroupName string, targetDbServerName string, migrationName string, parameters armpostgresqlflexibleservers.MigrationResource, options *armpostgresqlflexibleservers.MigrationsClientCreateOptions) (resp azfake.Responder[armpostgresqlflexibleservers.MigrationsClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method MigrationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, subscriptionID string, resourceGroupName string, targetDbServerName string, migrationName string, options *armpostgresqlflexibleservers.MigrationsClientDeleteOptions) (resp azfake.Responder[armpostgresqlflexibleservers.MigrationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method MigrationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, subscriptionID string, resourceGroupName string, targetDbServerName string, migrationName string, options *armpostgresqlflexibleservers.MigrationsClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.MigrationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByTargetServerPager is the fake for method MigrationsClient.NewListByTargetServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByTargetServerPager func(subscriptionID string, resourceGroupName string, targetDbServerName string, options *armpostgresqlflexibleservers.MigrationsClientListByTargetServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.MigrationsClientListByTargetServerResponse])

	// Update is the fake for method MigrationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, subscriptionID string, resourceGroupName string, targetDbServerName string, migrationName string, parameters armpostgresqlflexibleservers.MigrationResourceForPatch, options *armpostgresqlflexibleservers.MigrationsClientUpdateOptions) (resp azfake.Responder[armpostgresqlflexibleservers.MigrationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

MigrationsServer is a fake server for instances of the armpostgresqlflexibleservers.MigrationsClient type.

type MigrationsServerTransport

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

MigrationsServerTransport connects instances of armpostgresqlflexibleservers.MigrationsClient to instances of MigrationsServer. Don't use this type directly, use NewMigrationsServerTransport instead.

func NewMigrationsServerTransport

func NewMigrationsServerTransport(srv *MigrationsServer) *MigrationsServerTransport

NewMigrationsServerTransport creates a new instance of MigrationsServerTransport with the provided implementation. The returned MigrationsServerTransport instance is connected to an instance of armpostgresqlflexibleservers.MigrationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MigrationsServerTransport) Do

Do implements the policy.Transporter interface for MigrationsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 PostgreSQLManagementServer

type PostgreSQLManagementServer struct {
	// CheckMigrationNameAvailability is the fake for method PostgreSQLManagementClient.CheckMigrationNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckMigrationNameAvailability func(ctx context.Context, subscriptionID string, resourceGroupName string, targetDbServerName string, parameters armpostgresqlflexibleservers.MigrationNameAvailabilityResource, options *armpostgresqlflexibleservers.PostgreSQLManagementClientCheckMigrationNameAvailabilityOptions) (resp azfake.Responder[armpostgresqlflexibleservers.PostgreSQLManagementClientCheckMigrationNameAvailabilityResponse], errResp azfake.ErrorResponder)
}

PostgreSQLManagementServer is a fake server for instances of the armpostgresqlflexibleservers.PostgreSQLManagementClient type.

type PostgreSQLManagementServerTransport

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

PostgreSQLManagementServerTransport connects instances of armpostgresqlflexibleservers.PostgreSQLManagementClient to instances of PostgreSQLManagementServer. Don't use this type directly, use NewPostgreSQLManagementServerTransport instead.

func NewPostgreSQLManagementServerTransport

func NewPostgreSQLManagementServerTransport(srv *PostgreSQLManagementServer) *PostgreSQLManagementServerTransport

NewPostgreSQLManagementServerTransport creates a new instance of PostgreSQLManagementServerTransport with the provided implementation. The returned PostgreSQLManagementServerTransport instance is connected to an instance of armpostgresqlflexibleservers.PostgreSQLManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PostgreSQLManagementServerTransport) Do

Do implements the policy.Transporter interface for PostgreSQLManagementServerTransport.

type PrivateEndpointConnectionServer

type PrivateEndpointConnectionServer struct {
	// BeginDelete is the fake for method PrivateEndpointConnectionClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, options *armpostgresqlflexibleservers.PrivateEndpointConnectionClientBeginDeleteOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.PrivateEndpointConnectionClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method PrivateEndpointConnectionClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters armpostgresqlflexibleservers.PrivateEndpointConnection, options *armpostgresqlflexibleservers.PrivateEndpointConnectionClientBeginUpdateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.PrivateEndpointConnectionClientUpdateResponse], errResp azfake.ErrorResponder)
}

PrivateEndpointConnectionServer is a fake server for instances of the armpostgresqlflexibleservers.PrivateEndpointConnectionClient type.

type PrivateEndpointConnectionServerTransport

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

PrivateEndpointConnectionServerTransport connects instances of armpostgresqlflexibleservers.PrivateEndpointConnectionClient to instances of PrivateEndpointConnectionServer. Don't use this type directly, use NewPrivateEndpointConnectionServerTransport instead.

func NewPrivateEndpointConnectionServerTransport

func NewPrivateEndpointConnectionServerTransport(srv *PrivateEndpointConnectionServer) *PrivateEndpointConnectionServerTransport

NewPrivateEndpointConnectionServerTransport creates a new instance of PrivateEndpointConnectionServerTransport with the provided implementation. The returned PrivateEndpointConnectionServerTransport instance is connected to an instance of armpostgresqlflexibleservers.PrivateEndpointConnectionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateEndpointConnectionServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionServerTransport.

type PrivateEndpointConnectionsServer

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

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

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

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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, serverName string, groupName string, options *armpostgresqlflexibleservers.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

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

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

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 QuotaUsagesServer

type QuotaUsagesServer struct {
	// NewListPager is the fake for method QuotaUsagesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(locationName string, options *armpostgresqlflexibleservers.QuotaUsagesClientListOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.QuotaUsagesClientListResponse])
}

QuotaUsagesServer is a fake server for instances of the armpostgresqlflexibleservers.QuotaUsagesClient type.

type QuotaUsagesServerTransport

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

QuotaUsagesServerTransport connects instances of armpostgresqlflexibleservers.QuotaUsagesClient to instances of QuotaUsagesServer. Don't use this type directly, use NewQuotaUsagesServerTransport instead.

func NewQuotaUsagesServerTransport

func NewQuotaUsagesServerTransport(srv *QuotaUsagesServer) *QuotaUsagesServerTransport

NewQuotaUsagesServerTransport creates a new instance of QuotaUsagesServerTransport with the provided implementation. The returned QuotaUsagesServerTransport instance is connected to an instance of armpostgresqlflexibleservers.QuotaUsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*QuotaUsagesServerTransport) Do

Do implements the policy.Transporter interface for QuotaUsagesServerTransport.

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 *armpostgresqlflexibleservers.ReplicasClientListByServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.ReplicasClientListByServerResponse])
}

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

type ReplicasServerTransport

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

ReplicasServerTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 ServerCapabilitiesServer

type ServerCapabilitiesServer struct {
	// NewListPager is the fake for method ServerCapabilitiesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serverName string, options *armpostgresqlflexibleservers.ServerCapabilitiesClientListOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.ServerCapabilitiesClientListResponse])
}

ServerCapabilitiesServer is a fake server for instances of the armpostgresqlflexibleservers.ServerCapabilitiesClient type.

type ServerCapabilitiesServerTransport

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

ServerCapabilitiesServerTransport connects instances of armpostgresqlflexibleservers.ServerCapabilitiesClient to instances of ServerCapabilitiesServer. Don't use this type directly, use NewServerCapabilitiesServerTransport instead.

func NewServerCapabilitiesServerTransport

func NewServerCapabilitiesServerTransport(srv *ServerCapabilitiesServer) *ServerCapabilitiesServerTransport

NewServerCapabilitiesServerTransport creates a new instance of ServerCapabilitiesServerTransport with the provided implementation. The returned ServerCapabilitiesServerTransport instance is connected to an instance of armpostgresqlflexibleservers.ServerCapabilitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerCapabilitiesServerTransport) Do

Do implements the policy.Transporter interface for ServerCapabilitiesServerTransport.

type ServerFactory

type ServerFactory struct {
	// AdministratorsServer contains the fakes for client AdministratorsClient
	AdministratorsServer AdministratorsServer

	// BackupsServer contains the fakes for client BackupsClient
	BackupsServer BackupsServer

	// CheckNameAvailabilityServer contains the fakes for client CheckNameAvailabilityClient
	CheckNameAvailabilityServer CheckNameAvailabilityServer

	// CheckNameAvailabilityWithLocationServer contains the fakes for client CheckNameAvailabilityWithLocationClient
	CheckNameAvailabilityWithLocationServer CheckNameAvailabilityWithLocationServer

	// ConfigurationsServer contains the fakes for client ConfigurationsClient
	ConfigurationsServer ConfigurationsServer

	// DatabasesServer contains the fakes for client DatabasesClient
	DatabasesServer DatabasesServer

	// FirewallRulesServer contains the fakes for client FirewallRulesClient
	FirewallRulesServer FirewallRulesServer

	// FlexibleServerServer contains the fakes for client FlexibleServerClient
	FlexibleServerServer FlexibleServerServer

	// GetPrivateDNSZoneSuffixServer contains the fakes for client GetPrivateDNSZoneSuffixClient
	GetPrivateDNSZoneSuffixServer GetPrivateDNSZoneSuffixServer

	// LocationBasedCapabilitiesServer contains the fakes for client LocationBasedCapabilitiesClient
	LocationBasedCapabilitiesServer LocationBasedCapabilitiesServer

	// LogFilesServer contains the fakes for client LogFilesClient
	LogFilesServer LogFilesServer

	// LtrBackupOperationsServer contains the fakes for client LtrBackupOperationsClient
	LtrBackupOperationsServer LtrBackupOperationsServer

	// MigrationsServer contains the fakes for client MigrationsClient
	MigrationsServer MigrationsServer

	// OperationsServer contains the fakes for client OperationsClient
	OperationsServer OperationsServer

	// PostgreSQLManagementServer contains the fakes for client PostgreSQLManagementClient
	PostgreSQLManagementServer PostgreSQLManagementServer

	// PrivateEndpointConnectionServer contains the fakes for client PrivateEndpointConnectionClient
	PrivateEndpointConnectionServer PrivateEndpointConnectionServer

	// PrivateEndpointConnectionsServer contains the fakes for client PrivateEndpointConnectionsClient
	PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer

	// PrivateLinkResourcesServer contains the fakes for client PrivateLinkResourcesClient
	PrivateLinkResourcesServer PrivateLinkResourcesServer

	// QuotaUsagesServer contains the fakes for client QuotaUsagesClient
	QuotaUsagesServer QuotaUsagesServer

	// ReplicasServer contains the fakes for client ReplicasClient
	ReplicasServer ReplicasServer

	// ServerCapabilitiesServer contains the fakes for client ServerCapabilitiesClient
	ServerCapabilitiesServer ServerCapabilitiesServer

	// ServerThreatProtectionSettingsServer contains the fakes for client ServerThreatProtectionSettingsClient
	ServerThreatProtectionSettingsServer ServerThreatProtectionSettingsServer

	// ServersServer contains the fakes for client ServersClient
	ServersServer ServersServer

	// TuningConfigurationServer contains the fakes for client TuningConfigurationClient
	TuningConfigurationServer TuningConfigurationServer

	// TuningIndexServer contains the fakes for client TuningIndexClient
	TuningIndexServer TuningIndexServer

	// TuningOptionsServer contains the fakes for client TuningOptionsClient
	TuningOptionsServer TuningOptionsServer

	// VirtualEndpointsServer contains the fakes for client VirtualEndpointsClient
	VirtualEndpointsServer VirtualEndpointsServer

	// VirtualNetworkSubnetUsageServer contains the fakes for client VirtualNetworkSubnetUsageClient
	VirtualNetworkSubnetUsageServer VirtualNetworkSubnetUsageServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.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 ServerThreatProtectionSettingsServer

type ServerThreatProtectionSettingsServer struct {
	// BeginCreateOrUpdate is the fake for method ServerThreatProtectionSettingsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, threatProtectionName armpostgresqlflexibleservers.ThreatProtectionName, parameters armpostgresqlflexibleservers.ServerThreatProtectionSettingsModel, options *armpostgresqlflexibleservers.ServerThreatProtectionSettingsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.ServerThreatProtectionSettingsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServerThreatProtectionSettingsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, threatProtectionName armpostgresqlflexibleservers.ThreatProtectionName, options *armpostgresqlflexibleservers.ServerThreatProtectionSettingsClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.ServerThreatProtectionSettingsClientGetResponse], errResp azfake.ErrorResponder)

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

ServerThreatProtectionSettingsServer is a fake server for instances of the armpostgresqlflexibleservers.ServerThreatProtectionSettingsClient type.

type ServerThreatProtectionSettingsServerTransport

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

ServerThreatProtectionSettingsServerTransport connects instances of armpostgresqlflexibleservers.ServerThreatProtectionSettingsClient to instances of ServerThreatProtectionSettingsServer. Don't use this type directly, use NewServerThreatProtectionSettingsServerTransport instead.

func NewServerThreatProtectionSettingsServerTransport

func NewServerThreatProtectionSettingsServerTransport(srv *ServerThreatProtectionSettingsServer) *ServerThreatProtectionSettingsServerTransport

NewServerThreatProtectionSettingsServerTransport creates a new instance of ServerThreatProtectionSettingsServerTransport with the provided implementation. The returned ServerThreatProtectionSettingsServerTransport instance is connected to an instance of armpostgresqlflexibleservers.ServerThreatProtectionSettingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerThreatProtectionSettingsServerTransport) Do

Do implements the policy.Transporter interface for ServerThreatProtectionSettingsServerTransport.

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 armpostgresqlflexibleservers.Server, options *armpostgresqlflexibleservers.ServersClientBeginCreateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.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 *armpostgresqlflexibleservers.ServersClientBeginDeleteOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.ServersClientDeleteResponse], 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 *armpostgresqlflexibleservers.ServersClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.ServersClientGetResponse], errResp azfake.ErrorResponder)

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

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

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

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

	// BeginStop is the fake for method ServersClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginStop func(ctx context.Context, resourceGroupName string, serverName string, options *armpostgresqlflexibleservers.ServersClientBeginStopOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.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 armpostgresqlflexibleservers.ServerForUpdate, options *armpostgresqlflexibleservers.ServersClientBeginUpdateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.ServersClientUpdateResponse], errResp azfake.ErrorResponder)
}

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

type ServersServerTransport

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

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

func (*ServersServerTransport) Do

Do implements the policy.Transporter interface for ServersServerTransport.

type TuningConfigurationServer

type TuningConfigurationServer struct {
	// BeginDisable is the fake for method TuningConfigurationClient.BeginDisable
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDisable func(ctx context.Context, resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, options *armpostgresqlflexibleservers.TuningConfigurationClientBeginDisableOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.TuningConfigurationClientDisableResponse], errResp azfake.ErrorResponder)

	// BeginEnable is the fake for method TuningConfigurationClient.BeginEnable
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginEnable func(ctx context.Context, resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, options *armpostgresqlflexibleservers.TuningConfigurationClientBeginEnableOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.TuningConfigurationClientEnableResponse], errResp azfake.ErrorResponder)

	// NewListSessionDetailsPager is the fake for method TuningConfigurationClient.NewListSessionDetailsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSessionDetailsPager func(resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, sessionID string, options *armpostgresqlflexibleservers.TuningConfigurationClientListSessionDetailsOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.TuningConfigurationClientListSessionDetailsResponse])

	// NewListSessionsPager is the fake for method TuningConfigurationClient.NewListSessionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSessionsPager func(resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, options *armpostgresqlflexibleservers.TuningConfigurationClientListSessionsOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.TuningConfigurationClientListSessionsResponse])

	// BeginStartSession is the fake for method TuningConfigurationClient.BeginStartSession
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginStartSession func(ctx context.Context, resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, configTuningRequest armpostgresqlflexibleservers.ConfigTuningRequestParameter, options *armpostgresqlflexibleservers.TuningConfigurationClientBeginStartSessionOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.TuningConfigurationClientStartSessionResponse], errResp azfake.ErrorResponder)

	// BeginStopSession is the fake for method TuningConfigurationClient.BeginStopSession
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginStopSession func(ctx context.Context, resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, options *armpostgresqlflexibleservers.TuningConfigurationClientBeginStopSessionOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.TuningConfigurationClientStopSessionResponse], errResp azfake.ErrorResponder)
}

TuningConfigurationServer is a fake server for instances of the armpostgresqlflexibleservers.TuningConfigurationClient type.

type TuningConfigurationServerTransport

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

TuningConfigurationServerTransport connects instances of armpostgresqlflexibleservers.TuningConfigurationClient to instances of TuningConfigurationServer. Don't use this type directly, use NewTuningConfigurationServerTransport instead.

func NewTuningConfigurationServerTransport

func NewTuningConfigurationServerTransport(srv *TuningConfigurationServer) *TuningConfigurationServerTransport

NewTuningConfigurationServerTransport creates a new instance of TuningConfigurationServerTransport with the provided implementation. The returned TuningConfigurationServerTransport instance is connected to an instance of armpostgresqlflexibleservers.TuningConfigurationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TuningConfigurationServerTransport) Do

Do implements the policy.Transporter interface for TuningConfigurationServerTransport.

type TuningIndexServer

type TuningIndexServer struct {
	// NewListRecommendationsPager is the fake for method TuningIndexClient.NewListRecommendationsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListRecommendationsPager func(resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, options *armpostgresqlflexibleservers.TuningIndexClientListRecommendationsOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.TuningIndexClientListRecommendationsResponse])
}

TuningIndexServer is a fake server for instances of the armpostgresqlflexibleservers.TuningIndexClient type.

type TuningIndexServerTransport

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

TuningIndexServerTransport connects instances of armpostgresqlflexibleservers.TuningIndexClient to instances of TuningIndexServer. Don't use this type directly, use NewTuningIndexServerTransport instead.

func NewTuningIndexServerTransport

func NewTuningIndexServerTransport(srv *TuningIndexServer) *TuningIndexServerTransport

NewTuningIndexServerTransport creates a new instance of TuningIndexServerTransport with the provided implementation. The returned TuningIndexServerTransport instance is connected to an instance of armpostgresqlflexibleservers.TuningIndexClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TuningIndexServerTransport) Do

Do implements the policy.Transporter interface for TuningIndexServerTransport.

type TuningOptionsServer

type TuningOptionsServer struct {
	// Get is the fake for method TuningOptionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, tuningOption armpostgresqlflexibleservers.TuningOptionEnum, options *armpostgresqlflexibleservers.TuningOptionsClientGetOptions) (resp azfake.Responder[armpostgresqlflexibleservers.TuningOptionsClientGetResponse], errResp azfake.ErrorResponder)

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

TuningOptionsServer is a fake server for instances of the armpostgresqlflexibleservers.TuningOptionsClient type.

type TuningOptionsServerTransport

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

TuningOptionsServerTransport connects instances of armpostgresqlflexibleservers.TuningOptionsClient to instances of TuningOptionsServer. Don't use this type directly, use NewTuningOptionsServerTransport instead.

func NewTuningOptionsServerTransport

func NewTuningOptionsServerTransport(srv *TuningOptionsServer) *TuningOptionsServerTransport

NewTuningOptionsServerTransport creates a new instance of TuningOptionsServerTransport with the provided implementation. The returned TuningOptionsServerTransport instance is connected to an instance of armpostgresqlflexibleservers.TuningOptionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TuningOptionsServerTransport) Do

Do implements the policy.Transporter interface for TuningOptionsServerTransport.

type VirtualEndpointsServer

type VirtualEndpointsServer struct {
	// BeginCreate is the fake for method VirtualEndpointsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, serverName string, virtualEndpointName string, parameters armpostgresqlflexibleservers.VirtualEndpointResource, options *armpostgresqlflexibleservers.VirtualEndpointsClientBeginCreateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.VirtualEndpointsClientCreateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListByServerPager is the fake for method VirtualEndpointsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armpostgresqlflexibleservers.VirtualEndpointsClientListByServerOptions) (resp azfake.PagerResponder[armpostgresqlflexibleservers.VirtualEndpointsClientListByServerResponse])

	// BeginUpdate is the fake for method VirtualEndpointsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, virtualEndpointName string, parameters armpostgresqlflexibleservers.VirtualEndpointResourceForPatch, options *armpostgresqlflexibleservers.VirtualEndpointsClientBeginUpdateOptions) (resp azfake.PollerResponder[armpostgresqlflexibleservers.VirtualEndpointsClientUpdateResponse], errResp azfake.ErrorResponder)
}

VirtualEndpointsServer is a fake server for instances of the armpostgresqlflexibleservers.VirtualEndpointsClient type.

type VirtualEndpointsServerTransport

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

VirtualEndpointsServerTransport connects instances of armpostgresqlflexibleservers.VirtualEndpointsClient to instances of VirtualEndpointsServer. Don't use this type directly, use NewVirtualEndpointsServerTransport instead.

func NewVirtualEndpointsServerTransport

func NewVirtualEndpointsServerTransport(srv *VirtualEndpointsServer) *VirtualEndpointsServerTransport

NewVirtualEndpointsServerTransport creates a new instance of VirtualEndpointsServerTransport with the provided implementation. The returned VirtualEndpointsServerTransport instance is connected to an instance of armpostgresqlflexibleservers.VirtualEndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualEndpointsServerTransport) Do

Do implements the policy.Transporter interface for VirtualEndpointsServerTransport.

type VirtualNetworkSubnetUsageServer

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

VirtualNetworkSubnetUsageServer is a fake server for instances of the armpostgresqlflexibleservers.VirtualNetworkSubnetUsageClient type.

type VirtualNetworkSubnetUsageServerTransport

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

VirtualNetworkSubnetUsageServerTransport connects instances of armpostgresqlflexibleservers.VirtualNetworkSubnetUsageClient to instances of VirtualNetworkSubnetUsageServer. Don't use this type directly, use NewVirtualNetworkSubnetUsageServerTransport instead.

func NewVirtualNetworkSubnetUsageServerTransport

func NewVirtualNetworkSubnetUsageServerTransport(srv *VirtualNetworkSubnetUsageServer) *VirtualNetworkSubnetUsageServerTransport

NewVirtualNetworkSubnetUsageServerTransport creates a new instance of VirtualNetworkSubnetUsageServerTransport with the provided implementation. The returned VirtualNetworkSubnetUsageServerTransport instance is connected to an instance of armpostgresqlflexibleservers.VirtualNetworkSubnetUsageClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualNetworkSubnetUsageServerTransport) Do

Do implements the policy.Transporter interface for VirtualNetworkSubnetUsageServerTransport.

Jump to

Keyboard shortcuts

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