fake

package
v4.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 {
	// 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 {
	// List is the fake for method OperationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, options *armpostgresqlflexibleservers.OperationsClientListOptions) (resp azfake.Responder[armpostgresqlflexibleservers.OperationsClientListResponse], errResp azfake.ErrorResponder)
}

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.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                    AdministratorsServer
	BackupsServer                           BackupsServer
	CheckNameAvailabilityServer             CheckNameAvailabilityServer
	CheckNameAvailabilityWithLocationServer CheckNameAvailabilityWithLocationServer
	ConfigurationsServer                    ConfigurationsServer
	DatabasesServer                         DatabasesServer
	FirewallRulesServer                     FirewallRulesServer
	FlexibleServerServer                    FlexibleServerServer
	GetPrivateDNSZoneSuffixServer           GetPrivateDNSZoneSuffixServer
	LocationBasedCapabilitiesServer         LocationBasedCapabilitiesServer
	LogFilesServer                          LogFilesServer
	LtrBackupOperationsServer               LtrBackupOperationsServer
	MigrationsServer                        MigrationsServer
	OperationsServer                        OperationsServer
	PostgreSQLManagementServer              PostgreSQLManagementServer
	PrivateEndpointConnectionServer         PrivateEndpointConnectionServer
	PrivateEndpointConnectionsServer        PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer              PrivateLinkResourcesServer
	QuotaUsagesServer                       QuotaUsagesServer
	ReplicasServer                          ReplicasServer
	ServerCapabilitiesServer                ServerCapabilitiesServer
	ServerThreatProtectionSettingsServer    ServerThreatProtectionSettingsServer
	ServersServer                           ServersServer
	VirtualEndpointsServer                  VirtualEndpointsServer
	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
	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
	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
	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 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.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