fake

package
v7.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsServer

type AccountsServer struct {
	// BeginCreateOrUpdate is the fake for method AccountsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, body armnetapp.Account, options *armnetapp.AccountsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnetapp.AccountsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListPager is the fake for method AccountsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armnetapp.AccountsClientListOptions) (resp azfake.PagerResponder[armnetapp.AccountsClientListResponse])

	// NewListBySubscriptionPager is the fake for method AccountsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armnetapp.AccountsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armnetapp.AccountsClientListBySubscriptionResponse])

	// BeginRenewCredentials is the fake for method AccountsClient.BeginRenewCredentials
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRenewCredentials func(ctx context.Context, resourceGroupName string, accountName string, options *armnetapp.AccountsClientBeginRenewCredentialsOptions) (resp azfake.PollerResponder[armnetapp.AccountsClientRenewCredentialsResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method AccountsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, body armnetapp.AccountPatch, options *armnetapp.AccountsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.AccountsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AccountsServer is a fake server for instances of the armnetapp.AccountsClient type.

type AccountsServerTransport

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

AccountsServerTransport connects instances of armnetapp.AccountsClient to instances of AccountsServer. Don't use this type directly, use NewAccountsServerTransport instead.

func NewAccountsServerTransport

func NewAccountsServerTransport(srv *AccountsServer) *AccountsServerTransport

NewAccountsServerTransport creates a new instance of AccountsServerTransport with the provided implementation. The returned AccountsServerTransport instance is connected to an instance of armnetapp.AccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AccountsServerTransport) Do

Do implements the policy.Transporter interface for AccountsServerTransport.

type BackupPoliciesServer

type BackupPoliciesServer struct {
	// BeginCreate is the fake for method BackupPoliciesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body armnetapp.BackupPolicy, options *armnetapp.BackupPoliciesClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.BackupPoliciesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method BackupPoliciesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, options *armnetapp.BackupPoliciesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.BackupPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListPager is the fake for method BackupPoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armnetapp.BackupPoliciesClientListOptions) (resp azfake.PagerResponder[armnetapp.BackupPoliciesClientListResponse])

	// BeginUpdate is the fake for method BackupPoliciesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body armnetapp.BackupPolicyPatch, options *armnetapp.BackupPoliciesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.BackupPoliciesClientUpdateResponse], errResp azfake.ErrorResponder)
}

BackupPoliciesServer is a fake server for instances of the armnetapp.BackupPoliciesClient type.

type BackupPoliciesServerTransport

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

BackupPoliciesServerTransport connects instances of armnetapp.BackupPoliciesClient to instances of BackupPoliciesServer. Don't use this type directly, use NewBackupPoliciesServerTransport instead.

func NewBackupPoliciesServerTransport

func NewBackupPoliciesServerTransport(srv *BackupPoliciesServer) *BackupPoliciesServerTransport

NewBackupPoliciesServerTransport creates a new instance of BackupPoliciesServerTransport with the provided implementation. The returned BackupPoliciesServerTransport instance is connected to an instance of armnetapp.BackupPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupPoliciesServerTransport) Do

Do implements the policy.Transporter interface for BackupPoliciesServerTransport.

type BackupVaultsServer

type BackupVaultsServer struct {
	// BeginCreateOrUpdate is the fake for method BackupVaultsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, backupVaultName string, body armnetapp.BackupVault, options *armnetapp.BackupVaultsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnetapp.BackupVaultsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListByNetAppAccountPager is the fake for method BackupVaultsClient.NewListByNetAppAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByNetAppAccountPager func(resourceGroupName string, accountName string, options *armnetapp.BackupVaultsClientListByNetAppAccountOptions) (resp azfake.PagerResponder[armnetapp.BackupVaultsClientListByNetAppAccountResponse])

	// BeginUpdate is the fake for method BackupVaultsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, backupVaultName string, body armnetapp.BackupVaultPatch, options *armnetapp.BackupVaultsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.BackupVaultsClientUpdateResponse], errResp azfake.ErrorResponder)
}

BackupVaultsServer is a fake server for instances of the armnetapp.BackupVaultsClient type.

type BackupVaultsServerTransport

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

BackupVaultsServerTransport connects instances of armnetapp.BackupVaultsClient to instances of BackupVaultsServer. Don't use this type directly, use NewBackupVaultsServerTransport instead.

func NewBackupVaultsServerTransport

func NewBackupVaultsServerTransport(srv *BackupVaultsServer) *BackupVaultsServerTransport

NewBackupVaultsServerTransport creates a new instance of BackupVaultsServerTransport with the provided implementation. The returned BackupVaultsServerTransport instance is connected to an instance of armnetapp.BackupVaultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupVaultsServerTransport) Do

Do implements the policy.Transporter interface for BackupVaultsServerTransport.

type BackupsServer

type BackupsServer struct {
	// BeginCreate is the fake for method BackupsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, backupVaultName string, backupName string, body armnetapp.Backup, options *armnetapp.BackupsClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.BackupsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method BackupsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, backupVaultName string, backupName string, options *armnetapp.BackupsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.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, accountName string, backupVaultName string, backupName string, options *armnetapp.BackupsClientGetOptions) (resp azfake.Responder[armnetapp.BackupsClientGetResponse], errResp azfake.ErrorResponder)

	// GetLatestStatus is the fake for method BackupsClient.GetLatestStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetLatestStatus func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.BackupsClientGetLatestStatusOptions) (resp azfake.Responder[armnetapp.BackupsClientGetLatestStatusResponse], errResp azfake.ErrorResponder)

	// GetVolumeLatestRestoreStatus is the fake for method BackupsClient.GetVolumeLatestRestoreStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetVolumeLatestRestoreStatus func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.BackupsClientGetVolumeLatestRestoreStatusOptions) (resp azfake.Responder[armnetapp.BackupsClientGetVolumeLatestRestoreStatusResponse], errResp azfake.ErrorResponder)

	// NewListByVaultPager is the fake for method BackupsClient.NewListByVaultPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByVaultPager func(resourceGroupName string, accountName string, backupVaultName string, options *armnetapp.BackupsClientListByVaultOptions) (resp azfake.PagerResponder[armnetapp.BackupsClientListByVaultResponse])

	// BeginUpdate is the fake for method BackupsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, backupVaultName string, backupName string, body armnetapp.BackupPatch, options *armnetapp.BackupsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.BackupsClientUpdateResponse], errResp azfake.ErrorResponder)
}

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

type BackupsServerTransport

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

BackupsServerTransport connects instances of armnetapp.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 armnetapp.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 BackupsUnderAccountServer

type BackupsUnderAccountServer struct {
	// BeginMigrateBackups is the fake for method BackupsUnderAccountClient.BeginMigrateBackups
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginMigrateBackups func(ctx context.Context, resourceGroupName string, accountName string, body armnetapp.BackupsMigrationRequest, options *armnetapp.BackupsUnderAccountClientBeginMigrateBackupsOptions) (resp azfake.PollerResponder[armnetapp.BackupsUnderAccountClientMigrateBackupsResponse], errResp azfake.ErrorResponder)
}

BackupsUnderAccountServer is a fake server for instances of the armnetapp.BackupsUnderAccountClient type.

type BackupsUnderAccountServerTransport

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

BackupsUnderAccountServerTransport connects instances of armnetapp.BackupsUnderAccountClient to instances of BackupsUnderAccountServer. Don't use this type directly, use NewBackupsUnderAccountServerTransport instead.

func NewBackupsUnderAccountServerTransport

func NewBackupsUnderAccountServerTransport(srv *BackupsUnderAccountServer) *BackupsUnderAccountServerTransport

NewBackupsUnderAccountServerTransport creates a new instance of BackupsUnderAccountServerTransport with the provided implementation. The returned BackupsUnderAccountServerTransport instance is connected to an instance of armnetapp.BackupsUnderAccountClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupsUnderAccountServerTransport) Do

Do implements the policy.Transporter interface for BackupsUnderAccountServerTransport.

type BackupsUnderBackupVaultServer

type BackupsUnderBackupVaultServer struct {
	// BeginRestoreFiles is the fake for method BackupsUnderBackupVaultClient.BeginRestoreFiles
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginRestoreFiles func(ctx context.Context, resourceGroupName string, accountName string, backupVaultName string, backupName string, body armnetapp.BackupRestoreFiles, options *armnetapp.BackupsUnderBackupVaultClientBeginRestoreFilesOptions) (resp azfake.PollerResponder[armnetapp.BackupsUnderBackupVaultClientRestoreFilesResponse], errResp azfake.ErrorResponder)
}

BackupsUnderBackupVaultServer is a fake server for instances of the armnetapp.BackupsUnderBackupVaultClient type.

type BackupsUnderBackupVaultServerTransport

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

BackupsUnderBackupVaultServerTransport connects instances of armnetapp.BackupsUnderBackupVaultClient to instances of BackupsUnderBackupVaultServer. Don't use this type directly, use NewBackupsUnderBackupVaultServerTransport instead.

func NewBackupsUnderBackupVaultServerTransport

func NewBackupsUnderBackupVaultServerTransport(srv *BackupsUnderBackupVaultServer) *BackupsUnderBackupVaultServerTransport

NewBackupsUnderBackupVaultServerTransport creates a new instance of BackupsUnderBackupVaultServerTransport with the provided implementation. The returned BackupsUnderBackupVaultServerTransport instance is connected to an instance of armnetapp.BackupsUnderBackupVaultClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupsUnderBackupVaultServerTransport) Do

Do implements the policy.Transporter interface for BackupsUnderBackupVaultServerTransport.

type BackupsUnderVolumeServer

type BackupsUnderVolumeServer struct {
	// BeginMigrateBackups is the fake for method BackupsUnderVolumeClient.BeginMigrateBackups
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginMigrateBackups func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.BackupsMigrationRequest, options *armnetapp.BackupsUnderVolumeClientBeginMigrateBackupsOptions) (resp azfake.PollerResponder[armnetapp.BackupsUnderVolumeClientMigrateBackupsResponse], errResp azfake.ErrorResponder)
}

BackupsUnderVolumeServer is a fake server for instances of the armnetapp.BackupsUnderVolumeClient type.

type BackupsUnderVolumeServerTransport

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

BackupsUnderVolumeServerTransport connects instances of armnetapp.BackupsUnderVolumeClient to instances of BackupsUnderVolumeServer. Don't use this type directly, use NewBackupsUnderVolumeServerTransport instead.

func NewBackupsUnderVolumeServerTransport

func NewBackupsUnderVolumeServerTransport(srv *BackupsUnderVolumeServer) *BackupsUnderVolumeServerTransport

NewBackupsUnderVolumeServerTransport creates a new instance of BackupsUnderVolumeServerTransport with the provided implementation. The returned BackupsUnderVolumeServerTransport instance is connected to an instance of armnetapp.BackupsUnderVolumeClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupsUnderVolumeServerTransport) Do

Do implements the policy.Transporter interface for BackupsUnderVolumeServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armnetapp.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 armnetapp.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 PoolsServer

type PoolsServer struct {
	// BeginCreateOrUpdate is the fake for method PoolsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, body armnetapp.CapacityPool, options *armnetapp.PoolsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnetapp.PoolsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListPager is the fake for method PoolsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armnetapp.PoolsClientListOptions) (resp azfake.PagerResponder[armnetapp.PoolsClientListResponse])

	// BeginUpdate is the fake for method PoolsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, body armnetapp.CapacityPoolPatch, options *armnetapp.PoolsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.PoolsClientUpdateResponse], errResp azfake.ErrorResponder)
}

PoolsServer is a fake server for instances of the armnetapp.PoolsClient type.

type PoolsServerTransport

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

PoolsServerTransport connects instances of armnetapp.PoolsClient to instances of PoolsServer. Don't use this type directly, use NewPoolsServerTransport instead.

func NewPoolsServerTransport

func NewPoolsServerTransport(srv *PoolsServer) *PoolsServerTransport

NewPoolsServerTransport creates a new instance of PoolsServerTransport with the provided implementation. The returned PoolsServerTransport instance is connected to an instance of armnetapp.PoolsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PoolsServerTransport) Do

Do implements the policy.Transporter interface for PoolsServerTransport.

type ResourceQuotaLimitsServer

type ResourceQuotaLimitsServer struct {
	// Get is the fake for method ResourceQuotaLimitsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, location string, quotaLimitName string, options *armnetapp.ResourceQuotaLimitsClientGetOptions) (resp azfake.Responder[armnetapp.ResourceQuotaLimitsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ResourceQuotaLimitsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, options *armnetapp.ResourceQuotaLimitsClientListOptions) (resp azfake.PagerResponder[armnetapp.ResourceQuotaLimitsClientListResponse])
}

ResourceQuotaLimitsServer is a fake server for instances of the armnetapp.ResourceQuotaLimitsClient type.

type ResourceQuotaLimitsServerTransport

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

ResourceQuotaLimitsServerTransport connects instances of armnetapp.ResourceQuotaLimitsClient to instances of ResourceQuotaLimitsServer. Don't use this type directly, use NewResourceQuotaLimitsServerTransport instead.

func NewResourceQuotaLimitsServerTransport

func NewResourceQuotaLimitsServerTransport(srv *ResourceQuotaLimitsServer) *ResourceQuotaLimitsServerTransport

NewResourceQuotaLimitsServerTransport creates a new instance of ResourceQuotaLimitsServerTransport with the provided implementation. The returned ResourceQuotaLimitsServerTransport instance is connected to an instance of armnetapp.ResourceQuotaLimitsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceQuotaLimitsServerTransport) Do

Do implements the policy.Transporter interface for ResourceQuotaLimitsServerTransport.

type ResourceRegionInfosServer

type ResourceRegionInfosServer struct {
	// Get is the fake for method ResourceRegionInfosClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, location string, options *armnetapp.ResourceRegionInfosClientGetOptions) (resp azfake.Responder[armnetapp.ResourceRegionInfosClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ResourceRegionInfosClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(location string, options *armnetapp.ResourceRegionInfosClientListOptions) (resp azfake.PagerResponder[armnetapp.ResourceRegionInfosClientListResponse])
}

ResourceRegionInfosServer is a fake server for instances of the armnetapp.ResourceRegionInfosClient type.

type ResourceRegionInfosServerTransport

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

ResourceRegionInfosServerTransport connects instances of armnetapp.ResourceRegionInfosClient to instances of ResourceRegionInfosServer. Don't use this type directly, use NewResourceRegionInfosServerTransport instead.

func NewResourceRegionInfosServerTransport

func NewResourceRegionInfosServerTransport(srv *ResourceRegionInfosServer) *ResourceRegionInfosServerTransport

NewResourceRegionInfosServerTransport creates a new instance of ResourceRegionInfosServerTransport with the provided implementation. The returned ResourceRegionInfosServerTransport instance is connected to an instance of armnetapp.ResourceRegionInfosClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceRegionInfosServerTransport) Do

Do implements the policy.Transporter interface for ResourceRegionInfosServerTransport.

type ResourceServer

type ResourceServer struct {
	// CheckFilePathAvailability is the fake for method ResourceClient.CheckFilePathAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckFilePathAvailability func(ctx context.Context, location string, body armnetapp.FilePathAvailabilityRequest, options *armnetapp.ResourceClientCheckFilePathAvailabilityOptions) (resp azfake.Responder[armnetapp.ResourceClientCheckFilePathAvailabilityResponse], errResp azfake.ErrorResponder)

	// CheckNameAvailability is the fake for method ResourceClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, location string, body armnetapp.ResourceNameAvailabilityRequest, options *armnetapp.ResourceClientCheckNameAvailabilityOptions) (resp azfake.Responder[armnetapp.ResourceClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// CheckQuotaAvailability is the fake for method ResourceClient.CheckQuotaAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckQuotaAvailability func(ctx context.Context, location string, body armnetapp.QuotaAvailabilityRequest, options *armnetapp.ResourceClientCheckQuotaAvailabilityOptions) (resp azfake.Responder[armnetapp.ResourceClientCheckQuotaAvailabilityResponse], errResp azfake.ErrorResponder)

	// QueryNetworkSiblingSet is the fake for method ResourceClient.QueryNetworkSiblingSet
	// HTTP status codes to indicate success: http.StatusOK
	QueryNetworkSiblingSet func(ctx context.Context, location string, body armnetapp.QueryNetworkSiblingSetRequest, options *armnetapp.ResourceClientQueryNetworkSiblingSetOptions) (resp azfake.Responder[armnetapp.ResourceClientQueryNetworkSiblingSetResponse], errResp azfake.ErrorResponder)

	// QueryRegionInfo is the fake for method ResourceClient.QueryRegionInfo
	// HTTP status codes to indicate success: http.StatusOK
	QueryRegionInfo func(ctx context.Context, location string, options *armnetapp.ResourceClientQueryRegionInfoOptions) (resp azfake.Responder[armnetapp.ResourceClientQueryRegionInfoResponse], errResp azfake.ErrorResponder)

	// BeginUpdateNetworkSiblingSet is the fake for method ResourceClient.BeginUpdateNetworkSiblingSet
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdateNetworkSiblingSet func(ctx context.Context, location string, body armnetapp.UpdateNetworkSiblingSetRequest, options *armnetapp.ResourceClientBeginUpdateNetworkSiblingSetOptions) (resp azfake.PollerResponder[armnetapp.ResourceClientUpdateNetworkSiblingSetResponse], errResp azfake.ErrorResponder)
}

ResourceServer is a fake server for instances of the armnetapp.ResourceClient type.

type ResourceServerTransport

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

ResourceServerTransport connects instances of armnetapp.ResourceClient to instances of ResourceServer. Don't use this type directly, use NewResourceServerTransport instead.

func NewResourceServerTransport

func NewResourceServerTransport(srv *ResourceServer) *ResourceServerTransport

NewResourceServerTransport creates a new instance of ResourceServerTransport with the provided implementation. The returned ResourceServerTransport instance is connected to an instance of armnetapp.ResourceClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceServerTransport) Do

Do implements the policy.Transporter interface for ResourceServerTransport.

type ServerFactory

type ServerFactory struct {
	AccountsServer                AccountsServer
	BackupPoliciesServer          BackupPoliciesServer
	BackupVaultsServer            BackupVaultsServer
	BackupsServer                 BackupsServer
	BackupsUnderAccountServer     BackupsUnderAccountServer
	BackupsUnderBackupVaultServer BackupsUnderBackupVaultServer
	BackupsUnderVolumeServer      BackupsUnderVolumeServer
	OperationsServer              OperationsServer
	PoolsServer                   PoolsServer
	ResourceServer                ResourceServer
	ResourceQuotaLimitsServer     ResourceQuotaLimitsServer
	ResourceRegionInfosServer     ResourceRegionInfosServer
	SnapshotPoliciesServer        SnapshotPoliciesServer
	SnapshotsServer               SnapshotsServer
	SubvolumesServer              SubvolumesServer
	VolumeGroupsServer            VolumeGroupsServer
	VolumeQuotaRulesServer        VolumeQuotaRulesServer
	VolumesServer                 VolumesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armnetapp.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 armnetapp.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 SnapshotPoliciesServer

type SnapshotPoliciesServer struct {
	// Create is the fake for method SnapshotPoliciesClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, body armnetapp.SnapshotPolicy, options *armnetapp.SnapshotPoliciesClientCreateOptions) (resp azfake.Responder[armnetapp.SnapshotPoliciesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method SnapshotPoliciesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, options *armnetapp.SnapshotPoliciesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.SnapshotPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListPager is the fake for method SnapshotPoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armnetapp.SnapshotPoliciesClientListOptions) (resp azfake.PagerResponder[armnetapp.SnapshotPoliciesClientListResponse])

	// ListVolumes is the fake for method SnapshotPoliciesClient.ListVolumes
	// HTTP status codes to indicate success: http.StatusOK
	ListVolumes func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, options *armnetapp.SnapshotPoliciesClientListVolumesOptions) (resp azfake.Responder[armnetapp.SnapshotPoliciesClientListVolumesResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method SnapshotPoliciesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string, body armnetapp.SnapshotPolicyPatch, options *armnetapp.SnapshotPoliciesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.SnapshotPoliciesClientUpdateResponse], errResp azfake.ErrorResponder)
}

SnapshotPoliciesServer is a fake server for instances of the armnetapp.SnapshotPoliciesClient type.

type SnapshotPoliciesServerTransport

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

SnapshotPoliciesServerTransport connects instances of armnetapp.SnapshotPoliciesClient to instances of SnapshotPoliciesServer. Don't use this type directly, use NewSnapshotPoliciesServerTransport instead.

func NewSnapshotPoliciesServerTransport

func NewSnapshotPoliciesServerTransport(srv *SnapshotPoliciesServer) *SnapshotPoliciesServerTransport

NewSnapshotPoliciesServerTransport creates a new instance of SnapshotPoliciesServerTransport with the provided implementation. The returned SnapshotPoliciesServerTransport instance is connected to an instance of armnetapp.SnapshotPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SnapshotPoliciesServerTransport) Do

Do implements the policy.Transporter interface for SnapshotPoliciesServerTransport.

type SnapshotsServer

type SnapshotsServer struct {
	// BeginCreate is the fake for method SnapshotsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, body armnetapp.Snapshot, options *armnetapp.SnapshotsClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method SnapshotsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, options *armnetapp.SnapshotsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SnapshotsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, options *armnetapp.SnapshotsClientGetOptions) (resp azfake.Responder[armnetapp.SnapshotsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method SnapshotsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.SnapshotsClientListOptions) (resp azfake.PagerResponder[armnetapp.SnapshotsClientListResponse])

	// BeginRestoreFiles is the fake for method SnapshotsClient.BeginRestoreFiles
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRestoreFiles func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, body armnetapp.SnapshotRestoreFiles, options *armnetapp.SnapshotsClientBeginRestoreFilesOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientRestoreFilesResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method SnapshotsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string, body any, options *armnetapp.SnapshotsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.SnapshotsClientUpdateResponse], errResp azfake.ErrorResponder)
}

SnapshotsServer is a fake server for instances of the armnetapp.SnapshotsClient type.

type SnapshotsServerTransport

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

SnapshotsServerTransport connects instances of armnetapp.SnapshotsClient to instances of SnapshotsServer. Don't use this type directly, use NewSnapshotsServerTransport instead.

func NewSnapshotsServerTransport

func NewSnapshotsServerTransport(srv *SnapshotsServer) *SnapshotsServerTransport

NewSnapshotsServerTransport creates a new instance of SnapshotsServerTransport with the provided implementation. The returned SnapshotsServerTransport instance is connected to an instance of armnetapp.SnapshotsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SnapshotsServerTransport) Do

Do implements the policy.Transporter interface for SnapshotsServerTransport.

type SubvolumesServer

type SubvolumesServer struct {
	// BeginCreate is the fake for method SubvolumesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, body armnetapp.SubvolumeInfo, options *armnetapp.SubvolumesClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method SubvolumesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, options *armnetapp.SubvolumesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SubvolumesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, options *armnetapp.SubvolumesClientGetOptions) (resp azfake.Responder[armnetapp.SubvolumesClientGetResponse], errResp azfake.ErrorResponder)

	// BeginGetMetadata is the fake for method SubvolumesClient.BeginGetMetadata
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginGetMetadata func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, options *armnetapp.SubvolumesClientBeginGetMetadataOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientGetMetadataResponse], errResp azfake.ErrorResponder)

	// NewListByVolumePager is the fake for method SubvolumesClient.NewListByVolumePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByVolumePager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.SubvolumesClientListByVolumeOptions) (resp azfake.PagerResponder[armnetapp.SubvolumesClientListByVolumeResponse])

	// BeginUpdate is the fake for method SubvolumesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, subvolumeName string, body armnetapp.SubvolumePatchRequest, options *armnetapp.SubvolumesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.SubvolumesClientUpdateResponse], errResp azfake.ErrorResponder)
}

SubvolumesServer is a fake server for instances of the armnetapp.SubvolumesClient type.

type SubvolumesServerTransport

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

SubvolumesServerTransport connects instances of armnetapp.SubvolumesClient to instances of SubvolumesServer. Don't use this type directly, use NewSubvolumesServerTransport instead.

func NewSubvolumesServerTransport

func NewSubvolumesServerTransport(srv *SubvolumesServer) *SubvolumesServerTransport

NewSubvolumesServerTransport creates a new instance of SubvolumesServerTransport with the provided implementation. The returned SubvolumesServerTransport instance is connected to an instance of armnetapp.SubvolumesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SubvolumesServerTransport) Do

Do implements the policy.Transporter interface for SubvolumesServerTransport.

type VolumeGroupsServer

type VolumeGroupsServer struct {
	// BeginCreate is the fake for method VolumeGroupsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, volumeGroupName string, body armnetapp.VolumeGroupDetails, options *armnetapp.VolumeGroupsClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.VolumeGroupsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VolumeGroupsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, volumeGroupName string, options *armnetapp.VolumeGroupsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.VolumeGroupsClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListByNetAppAccountPager is the fake for method VolumeGroupsClient.NewListByNetAppAccountPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByNetAppAccountPager func(resourceGroupName string, accountName string, options *armnetapp.VolumeGroupsClientListByNetAppAccountOptions) (resp azfake.PagerResponder[armnetapp.VolumeGroupsClientListByNetAppAccountResponse])
}

VolumeGroupsServer is a fake server for instances of the armnetapp.VolumeGroupsClient type.

type VolumeGroupsServerTransport

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

VolumeGroupsServerTransport connects instances of armnetapp.VolumeGroupsClient to instances of VolumeGroupsServer. Don't use this type directly, use NewVolumeGroupsServerTransport instead.

func NewVolumeGroupsServerTransport

func NewVolumeGroupsServerTransport(srv *VolumeGroupsServer) *VolumeGroupsServerTransport

NewVolumeGroupsServerTransport creates a new instance of VolumeGroupsServerTransport with the provided implementation. The returned VolumeGroupsServerTransport instance is connected to an instance of armnetapp.VolumeGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VolumeGroupsServerTransport) Do

Do implements the policy.Transporter interface for VolumeGroupsServerTransport.

type VolumeQuotaRulesServer

type VolumeQuotaRulesServer struct {
	// BeginCreate is the fake for method VolumeQuotaRulesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, body armnetapp.VolumeQuotaRule, options *armnetapp.VolumeQuotaRulesClientBeginCreateOptions) (resp azfake.PollerResponder[armnetapp.VolumeQuotaRulesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VolumeQuotaRulesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, options *armnetapp.VolumeQuotaRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.VolumeQuotaRulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VolumeQuotaRulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, options *armnetapp.VolumeQuotaRulesClientGetOptions) (resp azfake.Responder[armnetapp.VolumeQuotaRulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByVolumePager is the fake for method VolumeQuotaRulesClient.NewListByVolumePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByVolumePager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumeQuotaRulesClientListByVolumeOptions) (resp azfake.PagerResponder[armnetapp.VolumeQuotaRulesClientListByVolumeResponse])

	// BeginUpdate is the fake for method VolumeQuotaRulesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, volumeQuotaRuleName string, body armnetapp.VolumeQuotaRulePatch, options *armnetapp.VolumeQuotaRulesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.VolumeQuotaRulesClientUpdateResponse], errResp azfake.ErrorResponder)
}

VolumeQuotaRulesServer is a fake server for instances of the armnetapp.VolumeQuotaRulesClient type.

type VolumeQuotaRulesServerTransport

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

VolumeQuotaRulesServerTransport connects instances of armnetapp.VolumeQuotaRulesClient to instances of VolumeQuotaRulesServer. Don't use this type directly, use NewVolumeQuotaRulesServerTransport instead.

func NewVolumeQuotaRulesServerTransport

func NewVolumeQuotaRulesServerTransport(srv *VolumeQuotaRulesServer) *VolumeQuotaRulesServerTransport

NewVolumeQuotaRulesServerTransport creates a new instance of VolumeQuotaRulesServerTransport with the provided implementation. The returned VolumeQuotaRulesServerTransport instance is connected to an instance of armnetapp.VolumeQuotaRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VolumeQuotaRulesServerTransport) Do

Do implements the policy.Transporter interface for VolumeQuotaRulesServerTransport.

type VolumesServer

type VolumesServer struct {
	// BeginAuthorizeReplication is the fake for method VolumesClient.BeginAuthorizeReplication
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginAuthorizeReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.AuthorizeRequest, options *armnetapp.VolumesClientBeginAuthorizeReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientAuthorizeReplicationResponse], errResp azfake.ErrorResponder)

	// BeginBreakFileLocks is the fake for method VolumesClient.BeginBreakFileLocks
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginBreakFileLocks func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginBreakFileLocksOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientBreakFileLocksResponse], errResp azfake.ErrorResponder)

	// BeginBreakReplication is the fake for method VolumesClient.BeginBreakReplication
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginBreakReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginBreakReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientBreakReplicationResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method VolumesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.Volume, options *armnetapp.VolumesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VolumesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginDeleteReplication is the fake for method VolumesClient.BeginDeleteReplication
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDeleteReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginDeleteReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientDeleteReplicationResponse], errResp azfake.ErrorResponder)

	// BeginFinalizeRelocation is the fake for method VolumesClient.BeginFinalizeRelocation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginFinalizeRelocation func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginFinalizeRelocationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientFinalizeRelocationResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VolumesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientGetOptions) (resp azfake.Responder[armnetapp.VolumesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method VolumesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, poolName string, options *armnetapp.VolumesClientListOptions) (resp azfake.PagerResponder[armnetapp.VolumesClientListResponse])

	// BeginListGetGroupIDListForLdapUser is the fake for method VolumesClient.BeginListGetGroupIDListForLdapUser
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginListGetGroupIDListForLdapUser func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.GetGroupIDListForLDAPUserRequest, options *armnetapp.VolumesClientBeginListGetGroupIDListForLdapUserOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientListGetGroupIDListForLdapUserResponse], errResp azfake.ErrorResponder)

	// NewListReplicationsPager is the fake for method VolumesClient.NewListReplicationsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListReplicationsPager func(resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientListReplicationsOptions) (resp azfake.PagerResponder[armnetapp.VolumesClientListReplicationsResponse])

	// BeginPoolChange is the fake for method VolumesClient.BeginPoolChange
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginPoolChange func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.PoolChangeRequest, options *armnetapp.VolumesClientBeginPoolChangeOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientPoolChangeResponse], errResp azfake.ErrorResponder)

	// BeginPopulateAvailabilityZone is the fake for method VolumesClient.BeginPopulateAvailabilityZone
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginPopulateAvailabilityZone func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginPopulateAvailabilityZoneOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientPopulateAvailabilityZoneResponse], errResp azfake.ErrorResponder)

	// BeginReInitializeReplication is the fake for method VolumesClient.BeginReInitializeReplication
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginReInitializeReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginReInitializeReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientReInitializeReplicationResponse], errResp azfake.ErrorResponder)

	// BeginReestablishReplication is the fake for method VolumesClient.BeginReestablishReplication
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginReestablishReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.ReestablishReplicationRequest, options *armnetapp.VolumesClientBeginReestablishReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientReestablishReplicationResponse], errResp azfake.ErrorResponder)

	// BeginRelocate is the fake for method VolumesClient.BeginRelocate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRelocate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginRelocateOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientRelocateResponse], errResp azfake.ErrorResponder)

	// ReplicationStatus is the fake for method VolumesClient.ReplicationStatus
	// HTTP status codes to indicate success: http.StatusOK
	ReplicationStatus func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientReplicationStatusOptions) (resp azfake.Responder[armnetapp.VolumesClientReplicationStatusResponse], errResp azfake.ErrorResponder)

	// BeginResetCifsPassword is the fake for method VolumesClient.BeginResetCifsPassword
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginResetCifsPassword func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginResetCifsPasswordOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientResetCifsPasswordResponse], errResp azfake.ErrorResponder)

	// BeginResyncReplication is the fake for method VolumesClient.BeginResyncReplication
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginResyncReplication func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginResyncReplicationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientResyncReplicationResponse], errResp azfake.ErrorResponder)

	// BeginRevert is the fake for method VolumesClient.BeginRevert
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRevert func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.VolumeRevert, options *armnetapp.VolumesClientBeginRevertOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientRevertResponse], errResp azfake.ErrorResponder)

	// BeginRevertRelocation is the fake for method VolumesClient.BeginRevertRelocation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRevertRelocation func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, options *armnetapp.VolumesClientBeginRevertRelocationOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientRevertRelocationResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method VolumesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body armnetapp.VolumePatch, options *armnetapp.VolumesClientBeginUpdateOptions) (resp azfake.PollerResponder[armnetapp.VolumesClientUpdateResponse], errResp azfake.ErrorResponder)
}

VolumesServer is a fake server for instances of the armnetapp.VolumesClient type.

type VolumesServerTransport

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

VolumesServerTransport connects instances of armnetapp.VolumesClient to instances of VolumesServer. Don't use this type directly, use NewVolumesServerTransport instead.

func NewVolumesServerTransport

func NewVolumesServerTransport(srv *VolumesServer) *VolumesServerTransport

NewVolumesServerTransport creates a new instance of VolumesServerTransport with the provided implementation. The returned VolumesServerTransport instance is connected to an instance of armnetapp.VolumesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VolumesServerTransport) Do

Do implements the policy.Transporter interface for VolumesServerTransport.

Jump to

Keyboard shortcuts

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