fake

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AFDCustomDomainsServer

type AFDCustomDomainsServer struct {
	// BeginCreate is the fake for method AFDCustomDomainsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomain armcdn.AFDDomain, options *armcdn.AFDCustomDomainsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.AFDCustomDomainsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AFDCustomDomainsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, options *armcdn.AFDCustomDomainsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.AFDCustomDomainsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AFDCustomDomainsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, options *armcdn.AFDCustomDomainsClientGetOptions) (resp azfake.Responder[armcdn.AFDCustomDomainsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProfilePager is the fake for method AFDCustomDomainsClient.NewListByProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProfilePager func(resourceGroupName string, profileName string, options *armcdn.AFDCustomDomainsClientListByProfileOptions) (resp azfake.PagerResponder[armcdn.AFDCustomDomainsClientListByProfileResponse])

	// BeginRefreshValidationToken is the fake for method AFDCustomDomainsClient.BeginRefreshValidationToken
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRefreshValidationToken func(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, options *armcdn.AFDCustomDomainsClientBeginRefreshValidationTokenOptions) (resp azfake.PollerResponder[armcdn.AFDCustomDomainsClientRefreshValidationTokenResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method AFDCustomDomainsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomainUpdateProperties armcdn.AFDDomainUpdateParameters, options *armcdn.AFDCustomDomainsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.AFDCustomDomainsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AFDCustomDomainsServer is a fake server for instances of the armcdn.AFDCustomDomainsClient type.

type AFDCustomDomainsServerTransport

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

AFDCustomDomainsServerTransport connects instances of armcdn.AFDCustomDomainsClient to instances of AFDCustomDomainsServer. Don't use this type directly, use NewAFDCustomDomainsServerTransport instead.

func NewAFDCustomDomainsServerTransport

func NewAFDCustomDomainsServerTransport(srv *AFDCustomDomainsServer) *AFDCustomDomainsServerTransport

NewAFDCustomDomainsServerTransport creates a new instance of AFDCustomDomainsServerTransport with the provided implementation. The returned AFDCustomDomainsServerTransport instance is connected to an instance of armcdn.AFDCustomDomainsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AFDCustomDomainsServerTransport) Do

Do implements the policy.Transporter interface for AFDCustomDomainsServerTransport.

type AFDEndpointsServer

type AFDEndpointsServer struct {
	// BeginCreate is the fake for method AFDEndpointsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint armcdn.AFDEndpoint, options *armcdn.AFDEndpointsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.AFDEndpointsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AFDEndpointsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *armcdn.AFDEndpointsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.AFDEndpointsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AFDEndpointsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *armcdn.AFDEndpointsClientGetOptions) (resp azfake.Responder[armcdn.AFDEndpointsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProfilePager is the fake for method AFDEndpointsClient.NewListByProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProfilePager func(resourceGroupName string, profileName string, options *armcdn.AFDEndpointsClientListByProfileOptions) (resp azfake.PagerResponder[armcdn.AFDEndpointsClientListByProfileResponse])

	// NewListResourceUsagePager is the fake for method AFDEndpointsClient.NewListResourceUsagePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListResourceUsagePager func(resourceGroupName string, profileName string, endpointName string, options *armcdn.AFDEndpointsClientListResourceUsageOptions) (resp azfake.PagerResponder[armcdn.AFDEndpointsClientListResourceUsageResponse])

	// BeginPurgeContent is the fake for method AFDEndpointsClient.BeginPurgeContent
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginPurgeContent func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contents armcdn.AfdPurgeParameters, options *armcdn.AFDEndpointsClientBeginPurgeContentOptions) (resp azfake.PollerResponder[armcdn.AFDEndpointsClientPurgeContentResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method AFDEndpointsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties armcdn.AFDEndpointUpdateParameters, options *armcdn.AFDEndpointsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.AFDEndpointsClientUpdateResponse], errResp azfake.ErrorResponder)

	// ValidateCustomDomain is the fake for method AFDEndpointsClient.ValidateCustomDomain
	// HTTP status codes to indicate success: http.StatusOK
	ValidateCustomDomain func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainProperties armcdn.ValidateCustomDomainInput, options *armcdn.AFDEndpointsClientValidateCustomDomainOptions) (resp azfake.Responder[armcdn.AFDEndpointsClientValidateCustomDomainResponse], errResp azfake.ErrorResponder)
}

AFDEndpointsServer is a fake server for instances of the armcdn.AFDEndpointsClient type.

type AFDEndpointsServerTransport

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

AFDEndpointsServerTransport connects instances of armcdn.AFDEndpointsClient to instances of AFDEndpointsServer. Don't use this type directly, use NewAFDEndpointsServerTransport instead.

func NewAFDEndpointsServerTransport

func NewAFDEndpointsServerTransport(srv *AFDEndpointsServer) *AFDEndpointsServerTransport

NewAFDEndpointsServerTransport creates a new instance of AFDEndpointsServerTransport with the provided implementation. The returned AFDEndpointsServerTransport instance is connected to an instance of armcdn.AFDEndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AFDEndpointsServerTransport) Do

Do implements the policy.Transporter interface for AFDEndpointsServerTransport.

type AFDOriginGroupsServer

type AFDOriginGroupsServer struct {
	// BeginCreate is the fake for method AFDOriginGroupsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroup armcdn.AFDOriginGroup, options *armcdn.AFDOriginGroupsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.AFDOriginGroupsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AFDOriginGroupsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, options *armcdn.AFDOriginGroupsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.AFDOriginGroupsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AFDOriginGroupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, options *armcdn.AFDOriginGroupsClientGetOptions) (resp azfake.Responder[armcdn.AFDOriginGroupsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProfilePager is the fake for method AFDOriginGroupsClient.NewListByProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProfilePager func(resourceGroupName string, profileName string, options *armcdn.AFDOriginGroupsClientListByProfileOptions) (resp azfake.PagerResponder[armcdn.AFDOriginGroupsClientListByProfileResponse])

	// NewListResourceUsagePager is the fake for method AFDOriginGroupsClient.NewListResourceUsagePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListResourceUsagePager func(resourceGroupName string, profileName string, originGroupName string, options *armcdn.AFDOriginGroupsClientListResourceUsageOptions) (resp azfake.PagerResponder[armcdn.AFDOriginGroupsClientListResourceUsageResponse])

	// BeginUpdate is the fake for method AFDOriginGroupsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroupUpdateProperties armcdn.AFDOriginGroupUpdateParameters, options *armcdn.AFDOriginGroupsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.AFDOriginGroupsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AFDOriginGroupsServer is a fake server for instances of the armcdn.AFDOriginGroupsClient type.

type AFDOriginGroupsServerTransport

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

AFDOriginGroupsServerTransport connects instances of armcdn.AFDOriginGroupsClient to instances of AFDOriginGroupsServer. Don't use this type directly, use NewAFDOriginGroupsServerTransport instead.

func NewAFDOriginGroupsServerTransport

func NewAFDOriginGroupsServerTransport(srv *AFDOriginGroupsServer) *AFDOriginGroupsServerTransport

NewAFDOriginGroupsServerTransport creates a new instance of AFDOriginGroupsServerTransport with the provided implementation. The returned AFDOriginGroupsServerTransport instance is connected to an instance of armcdn.AFDOriginGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AFDOriginGroupsServerTransport) Do

Do implements the policy.Transporter interface for AFDOriginGroupsServerTransport.

type AFDOriginsServer

type AFDOriginsServer struct {
	// BeginCreate is the fake for method AFDOriginsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, origin armcdn.AFDOrigin, options *armcdn.AFDOriginsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.AFDOriginsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AFDOriginsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, options *armcdn.AFDOriginsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.AFDOriginsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AFDOriginsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, options *armcdn.AFDOriginsClientGetOptions) (resp azfake.Responder[armcdn.AFDOriginsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByOriginGroupPager is the fake for method AFDOriginsClient.NewListByOriginGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByOriginGroupPager func(resourceGroupName string, profileName string, originGroupName string, options *armcdn.AFDOriginsClientListByOriginGroupOptions) (resp azfake.PagerResponder[armcdn.AFDOriginsClientListByOriginGroupResponse])

	// BeginUpdate is the fake for method AFDOriginsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, originUpdateProperties armcdn.AFDOriginUpdateParameters, options *armcdn.AFDOriginsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.AFDOriginsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AFDOriginsServer is a fake server for instances of the armcdn.AFDOriginsClient type.

type AFDOriginsServerTransport

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

AFDOriginsServerTransport connects instances of armcdn.AFDOriginsClient to instances of AFDOriginsServer. Don't use this type directly, use NewAFDOriginsServerTransport instead.

func NewAFDOriginsServerTransport

func NewAFDOriginsServerTransport(srv *AFDOriginsServer) *AFDOriginsServerTransport

NewAFDOriginsServerTransport creates a new instance of AFDOriginsServerTransport with the provided implementation. The returned AFDOriginsServerTransport instance is connected to an instance of armcdn.AFDOriginsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AFDOriginsServerTransport) Do

Do implements the policy.Transporter interface for AFDOriginsServerTransport.

type AFDProfilesServer

type AFDProfilesServer struct {
	// CheckEndpointNameAvailability is the fake for method AFDProfilesClient.CheckEndpointNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckEndpointNameAvailability func(ctx context.Context, resourceGroupName string, profileName string, checkEndpointNameAvailabilityInput armcdn.CheckEndpointNameAvailabilityInput, options *armcdn.AFDProfilesClientCheckEndpointNameAvailabilityOptions) (resp azfake.Responder[armcdn.AFDProfilesClientCheckEndpointNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// CheckHostNameAvailability is the fake for method AFDProfilesClient.CheckHostNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckHostNameAvailability func(ctx context.Context, resourceGroupName string, profileName string, checkHostNameAvailabilityInput armcdn.CheckHostNameAvailabilityInput, options *armcdn.AFDProfilesClientCheckHostNameAvailabilityOptions) (resp azfake.Responder[armcdn.AFDProfilesClientCheckHostNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// NewListResourceUsagePager is the fake for method AFDProfilesClient.NewListResourceUsagePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListResourceUsagePager func(resourceGroupName string, profileName string, options *armcdn.AFDProfilesClientListResourceUsageOptions) (resp azfake.PagerResponder[armcdn.AFDProfilesClientListResourceUsageResponse])

	// BeginUpgrade is the fake for method AFDProfilesClient.BeginUpgrade
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpgrade func(ctx context.Context, resourceGroupName string, profileName string, profileUpgradeParameters armcdn.ProfileUpgradeParameters, options *armcdn.AFDProfilesClientBeginUpgradeOptions) (resp azfake.PollerResponder[armcdn.AFDProfilesClientUpgradeResponse], errResp azfake.ErrorResponder)

	// ValidateSecret is the fake for method AFDProfilesClient.ValidateSecret
	// HTTP status codes to indicate success: http.StatusOK
	ValidateSecret func(ctx context.Context, resourceGroupName string, profileName string, validateSecretInput armcdn.ValidateSecretInput, options *armcdn.AFDProfilesClientValidateSecretOptions) (resp azfake.Responder[armcdn.AFDProfilesClientValidateSecretResponse], errResp azfake.ErrorResponder)
}

AFDProfilesServer is a fake server for instances of the armcdn.AFDProfilesClient type.

type AFDProfilesServerTransport

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

AFDProfilesServerTransport connects instances of armcdn.AFDProfilesClient to instances of AFDProfilesServer. Don't use this type directly, use NewAFDProfilesServerTransport instead.

func NewAFDProfilesServerTransport

func NewAFDProfilesServerTransport(srv *AFDProfilesServer) *AFDProfilesServerTransport

NewAFDProfilesServerTransport creates a new instance of AFDProfilesServerTransport with the provided implementation. The returned AFDProfilesServerTransport instance is connected to an instance of armcdn.AFDProfilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AFDProfilesServerTransport) Do

Do implements the policy.Transporter interface for AFDProfilesServerTransport.

type CustomDomainsServer

type CustomDomainsServer struct {
	// BeginCreate is the fake for method CustomDomainsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainProperties armcdn.CustomDomainParameters, options *armcdn.CustomDomainsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.CustomDomainsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CustomDomainsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *armcdn.CustomDomainsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.CustomDomainsClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginDisableCustomHTTPS is the fake for method CustomDomainsClient.BeginDisableCustomHTTPS
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDisableCustomHTTPS func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *armcdn.CustomDomainsClientBeginDisableCustomHTTPSOptions) (resp azfake.PollerResponder[armcdn.CustomDomainsClientDisableCustomHTTPSResponse], errResp azfake.ErrorResponder)

	// BeginEnableCustomHTTPS is the fake for method CustomDomainsClient.BeginEnableCustomHTTPS
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginEnableCustomHTTPS func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *armcdn.CustomDomainsClientBeginEnableCustomHTTPSOptions) (resp azfake.PollerResponder[armcdn.CustomDomainsClientEnableCustomHTTPSResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CustomDomainsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *armcdn.CustomDomainsClientGetOptions) (resp azfake.Responder[armcdn.CustomDomainsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByEndpointPager is the fake for method CustomDomainsClient.NewListByEndpointPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByEndpointPager func(resourceGroupName string, profileName string, endpointName string, options *armcdn.CustomDomainsClientListByEndpointOptions) (resp azfake.PagerResponder[armcdn.CustomDomainsClientListByEndpointResponse])
}

CustomDomainsServer is a fake server for instances of the armcdn.CustomDomainsClient type.

type CustomDomainsServerTransport

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

CustomDomainsServerTransport connects instances of armcdn.CustomDomainsClient to instances of CustomDomainsServer. Don't use this type directly, use NewCustomDomainsServerTransport instead.

func NewCustomDomainsServerTransport

func NewCustomDomainsServerTransport(srv *CustomDomainsServer) *CustomDomainsServerTransport

NewCustomDomainsServerTransport creates a new instance of CustomDomainsServerTransport with the provided implementation. The returned CustomDomainsServerTransport instance is connected to an instance of armcdn.CustomDomainsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CustomDomainsServerTransport) Do

Do implements the policy.Transporter interface for CustomDomainsServerTransport.

type EdgeNodesServer

type EdgeNodesServer struct {
	// NewListPager is the fake for method EdgeNodesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcdn.EdgeNodesClientListOptions) (resp azfake.PagerResponder[armcdn.EdgeNodesClientListResponse])
}

EdgeNodesServer is a fake server for instances of the armcdn.EdgeNodesClient type.

type EdgeNodesServerTransport

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

EdgeNodesServerTransport connects instances of armcdn.EdgeNodesClient to instances of EdgeNodesServer. Don't use this type directly, use NewEdgeNodesServerTransport instead.

func NewEdgeNodesServerTransport

func NewEdgeNodesServerTransport(srv *EdgeNodesServer) *EdgeNodesServerTransport

NewEdgeNodesServerTransport creates a new instance of EdgeNodesServerTransport with the provided implementation. The returned EdgeNodesServerTransport instance is connected to an instance of armcdn.EdgeNodesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EdgeNodesServerTransport) Do

Do implements the policy.Transporter interface for EdgeNodesServerTransport.

type EndpointsServer

type EndpointsServer struct {
	// BeginCreate is the fake for method EndpointsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint armcdn.Endpoint, options *armcdn.EndpointsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.EndpointsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method EndpointsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *armcdn.EndpointsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.EndpointsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method EndpointsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *armcdn.EndpointsClientGetOptions) (resp azfake.Responder[armcdn.EndpointsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProfilePager is the fake for method EndpointsClient.NewListByProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProfilePager func(resourceGroupName string, profileName string, options *armcdn.EndpointsClientListByProfileOptions) (resp azfake.PagerResponder[armcdn.EndpointsClientListByProfileResponse])

	// NewListResourceUsagePager is the fake for method EndpointsClient.NewListResourceUsagePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListResourceUsagePager func(resourceGroupName string, profileName string, endpointName string, options *armcdn.EndpointsClientListResourceUsageOptions) (resp azfake.PagerResponder[armcdn.EndpointsClientListResourceUsageResponse])

	// BeginLoadContent is the fake for method EndpointsClient.BeginLoadContent
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginLoadContent func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths armcdn.LoadParameters, options *armcdn.EndpointsClientBeginLoadContentOptions) (resp azfake.PollerResponder[armcdn.EndpointsClientLoadContentResponse], errResp azfake.ErrorResponder)

	// BeginPurgeContent is the fake for method EndpointsClient.BeginPurgeContent
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginPurgeContent func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths armcdn.PurgeParameters, options *armcdn.EndpointsClientBeginPurgeContentOptions) (resp azfake.PollerResponder[armcdn.EndpointsClientPurgeContentResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method EndpointsClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *armcdn.EndpointsClientBeginStartOptions) (resp azfake.PollerResponder[armcdn.EndpointsClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method EndpointsClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *armcdn.EndpointsClientBeginStopOptions) (resp azfake.PollerResponder[armcdn.EndpointsClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method EndpointsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties armcdn.EndpointUpdateParameters, options *armcdn.EndpointsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.EndpointsClientUpdateResponse], errResp azfake.ErrorResponder)

	// ValidateCustomDomain is the fake for method EndpointsClient.ValidateCustomDomain
	// HTTP status codes to indicate success: http.StatusOK
	ValidateCustomDomain func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainProperties armcdn.ValidateCustomDomainInput, options *armcdn.EndpointsClientValidateCustomDomainOptions) (resp azfake.Responder[armcdn.EndpointsClientValidateCustomDomainResponse], errResp azfake.ErrorResponder)
}

EndpointsServer is a fake server for instances of the armcdn.EndpointsClient type.

type EndpointsServerTransport

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

EndpointsServerTransport connects instances of armcdn.EndpointsClient to instances of EndpointsServer. Don't use this type directly, use NewEndpointsServerTransport instead.

func NewEndpointsServerTransport

func NewEndpointsServerTransport(srv *EndpointsServer) *EndpointsServerTransport

NewEndpointsServerTransport creates a new instance of EndpointsServerTransport with the provided implementation. The returned EndpointsServerTransport instance is connected to an instance of armcdn.EndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EndpointsServerTransport) Do

Do implements the policy.Transporter interface for EndpointsServerTransport.

type LogAnalyticsServer

type LogAnalyticsServer struct {
	// GetLogAnalyticsLocations is the fake for method LogAnalyticsClient.GetLogAnalyticsLocations
	// HTTP status codes to indicate success: http.StatusOK
	GetLogAnalyticsLocations func(ctx context.Context, resourceGroupName string, profileName string, options *armcdn.LogAnalyticsClientGetLogAnalyticsLocationsOptions) (resp azfake.Responder[armcdn.LogAnalyticsClientGetLogAnalyticsLocationsResponse], errResp azfake.ErrorResponder)

	// GetLogAnalyticsMetrics is the fake for method LogAnalyticsClient.GetLogAnalyticsMetrics
	// HTTP status codes to indicate success: http.StatusOK
	GetLogAnalyticsMetrics func(ctx context.Context, resourceGroupName string, profileName string, metrics []armcdn.LogMetric, dateTimeBegin time.Time, dateTimeEnd time.Time, granularity armcdn.LogMetricsGranularity, customDomains []string, protocols []string, options *armcdn.LogAnalyticsClientGetLogAnalyticsMetricsOptions) (resp azfake.Responder[armcdn.LogAnalyticsClientGetLogAnalyticsMetricsResponse], errResp azfake.ErrorResponder)

	// GetLogAnalyticsRankings is the fake for method LogAnalyticsClient.GetLogAnalyticsRankings
	// HTTP status codes to indicate success: http.StatusOK
	GetLogAnalyticsRankings func(ctx context.Context, resourceGroupName string, profileName string, rankings []armcdn.LogRanking, metrics []armcdn.LogRankingMetric, maxRanking int32, dateTimeBegin time.Time, dateTimeEnd time.Time, options *armcdn.LogAnalyticsClientGetLogAnalyticsRankingsOptions) (resp azfake.Responder[armcdn.LogAnalyticsClientGetLogAnalyticsRankingsResponse], errResp azfake.ErrorResponder)

	// GetLogAnalyticsResources is the fake for method LogAnalyticsClient.GetLogAnalyticsResources
	// HTTP status codes to indicate success: http.StatusOK
	GetLogAnalyticsResources func(ctx context.Context, resourceGroupName string, profileName string, options *armcdn.LogAnalyticsClientGetLogAnalyticsResourcesOptions) (resp azfake.Responder[armcdn.LogAnalyticsClientGetLogAnalyticsResourcesResponse], errResp azfake.ErrorResponder)

	// GetWafLogAnalyticsMetrics is the fake for method LogAnalyticsClient.GetWafLogAnalyticsMetrics
	// HTTP status codes to indicate success: http.StatusOK
	GetWafLogAnalyticsMetrics func(ctx context.Context, resourceGroupName string, profileName string, metrics []armcdn.WafMetric, dateTimeBegin time.Time, dateTimeEnd time.Time, granularity armcdn.WafGranularity, options *armcdn.LogAnalyticsClientGetWafLogAnalyticsMetricsOptions) (resp azfake.Responder[armcdn.LogAnalyticsClientGetWafLogAnalyticsMetricsResponse], errResp azfake.ErrorResponder)

	// GetWafLogAnalyticsRankings is the fake for method LogAnalyticsClient.GetWafLogAnalyticsRankings
	// HTTP status codes to indicate success: http.StatusOK
	GetWafLogAnalyticsRankings func(ctx context.Context, resourceGroupName string, profileName string, metrics []armcdn.WafMetric, dateTimeBegin time.Time, dateTimeEnd time.Time, maxRanking int32, rankings []armcdn.WafRankingType, options *armcdn.LogAnalyticsClientGetWafLogAnalyticsRankingsOptions) (resp azfake.Responder[armcdn.LogAnalyticsClientGetWafLogAnalyticsRankingsResponse], errResp azfake.ErrorResponder)
}

LogAnalyticsServer is a fake server for instances of the armcdn.LogAnalyticsClient type.

type LogAnalyticsServerTransport

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

LogAnalyticsServerTransport connects instances of armcdn.LogAnalyticsClient to instances of LogAnalyticsServer. Don't use this type directly, use NewLogAnalyticsServerTransport instead.

func NewLogAnalyticsServerTransport

func NewLogAnalyticsServerTransport(srv *LogAnalyticsServer) *LogAnalyticsServerTransport

NewLogAnalyticsServerTransport creates a new instance of LogAnalyticsServerTransport with the provided implementation. The returned LogAnalyticsServerTransport instance is connected to an instance of armcdn.LogAnalyticsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LogAnalyticsServerTransport) Do

Do implements the policy.Transporter interface for LogAnalyticsServerTransport.

type ManagedRuleSetsServer

type ManagedRuleSetsServer struct {
	// NewListPager is the fake for method ManagedRuleSetsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcdn.ManagedRuleSetsClientListOptions) (resp azfake.PagerResponder[armcdn.ManagedRuleSetsClientListResponse])
}

ManagedRuleSetsServer is a fake server for instances of the armcdn.ManagedRuleSetsClient type.

type ManagedRuleSetsServerTransport

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

ManagedRuleSetsServerTransport connects instances of armcdn.ManagedRuleSetsClient to instances of ManagedRuleSetsServer. Don't use this type directly, use NewManagedRuleSetsServerTransport instead.

func NewManagedRuleSetsServerTransport

func NewManagedRuleSetsServerTransport(srv *ManagedRuleSetsServer) *ManagedRuleSetsServerTransport

NewManagedRuleSetsServerTransport creates a new instance of ManagedRuleSetsServerTransport with the provided implementation. The returned ManagedRuleSetsServerTransport instance is connected to an instance of armcdn.ManagedRuleSetsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ManagedRuleSetsServerTransport) Do

Do implements the policy.Transporter interface for ManagedRuleSetsServerTransport.

type ManagementServer

type ManagementServer struct {
	// CheckEndpointNameAvailability is the fake for method ManagementClient.CheckEndpointNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckEndpointNameAvailability func(ctx context.Context, resourceGroupName string, checkEndpointNameAvailabilityInput armcdn.CheckEndpointNameAvailabilityInput, options *armcdn.ManagementClientCheckEndpointNameAvailabilityOptions) (resp azfake.Responder[armcdn.ManagementClientCheckEndpointNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// CheckNameAvailability is the fake for method ManagementClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, checkNameAvailabilityInput armcdn.CheckNameAvailabilityInput, options *armcdn.ManagementClientCheckNameAvailabilityOptions) (resp azfake.Responder[armcdn.ManagementClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// CheckNameAvailabilityWithSubscription is the fake for method ManagementClient.CheckNameAvailabilityWithSubscription
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailabilityWithSubscription func(ctx context.Context, checkNameAvailabilityInput armcdn.CheckNameAvailabilityInput, options *armcdn.ManagementClientCheckNameAvailabilityWithSubscriptionOptions) (resp azfake.Responder[armcdn.ManagementClientCheckNameAvailabilityWithSubscriptionResponse], errResp azfake.ErrorResponder)

	// ValidateProbe is the fake for method ManagementClient.ValidateProbe
	// HTTP status codes to indicate success: http.StatusOK
	ValidateProbe func(ctx context.Context, validateProbeInput armcdn.ValidateProbeInput, options *armcdn.ManagementClientValidateProbeOptions) (resp azfake.Responder[armcdn.ManagementClientValidateProbeResponse], errResp azfake.ErrorResponder)
}

ManagementServer is a fake server for instances of the armcdn.ManagementClient type.

type ManagementServerTransport

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

ManagementServerTransport connects instances of armcdn.ManagementClient to instances of ManagementServer. Don't use this type directly, use NewManagementServerTransport instead.

func NewManagementServerTransport

func NewManagementServerTransport(srv *ManagementServer) *ManagementServerTransport

NewManagementServerTransport creates a new instance of ManagementServerTransport with the provided implementation. The returned ManagementServerTransport instance is connected to an instance of armcdn.ManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ManagementServerTransport) Do

Do implements the policy.Transporter interface for ManagementServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armcdn.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 armcdn.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 OriginGroupsServer

type OriginGroupsServer struct {
	// BeginCreate is the fake for method OriginGroupsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroup armcdn.OriginGroup, options *armcdn.OriginGroupsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.OriginGroupsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method OriginGroupsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, options *armcdn.OriginGroupsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.OriginGroupsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method OriginGroupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, options *armcdn.OriginGroupsClientGetOptions) (resp azfake.Responder[armcdn.OriginGroupsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByEndpointPager is the fake for method OriginGroupsClient.NewListByEndpointPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByEndpointPager func(resourceGroupName string, profileName string, endpointName string, options *armcdn.OriginGroupsClientListByEndpointOptions) (resp azfake.PagerResponder[armcdn.OriginGroupsClientListByEndpointResponse])

	// BeginUpdate is the fake for method OriginGroupsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroupUpdateProperties armcdn.OriginGroupUpdateParameters, options *armcdn.OriginGroupsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.OriginGroupsClientUpdateResponse], errResp azfake.ErrorResponder)
}

OriginGroupsServer is a fake server for instances of the armcdn.OriginGroupsClient type.

type OriginGroupsServerTransport

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

OriginGroupsServerTransport connects instances of armcdn.OriginGroupsClient to instances of OriginGroupsServer. Don't use this type directly, use NewOriginGroupsServerTransport instead.

func NewOriginGroupsServerTransport

func NewOriginGroupsServerTransport(srv *OriginGroupsServer) *OriginGroupsServerTransport

NewOriginGroupsServerTransport creates a new instance of OriginGroupsServerTransport with the provided implementation. The returned OriginGroupsServerTransport instance is connected to an instance of armcdn.OriginGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OriginGroupsServerTransport) Do

Do implements the policy.Transporter interface for OriginGroupsServerTransport.

type OriginsServer

type OriginsServer struct {
	// BeginCreate is the fake for method OriginsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, origin armcdn.Origin, options *armcdn.OriginsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.OriginsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method OriginsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, options *armcdn.OriginsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.OriginsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method OriginsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, options *armcdn.OriginsClientGetOptions) (resp azfake.Responder[armcdn.OriginsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByEndpointPager is the fake for method OriginsClient.NewListByEndpointPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByEndpointPager func(resourceGroupName string, profileName string, endpointName string, options *armcdn.OriginsClientListByEndpointOptions) (resp azfake.PagerResponder[armcdn.OriginsClientListByEndpointResponse])

	// BeginUpdate is the fake for method OriginsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, originUpdateProperties armcdn.OriginUpdateParameters, options *armcdn.OriginsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.OriginsClientUpdateResponse], errResp azfake.ErrorResponder)
}

OriginsServer is a fake server for instances of the armcdn.OriginsClient type.

type OriginsServerTransport

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

OriginsServerTransport connects instances of armcdn.OriginsClient to instances of OriginsServer. Don't use this type directly, use NewOriginsServerTransport instead.

func NewOriginsServerTransport

func NewOriginsServerTransport(srv *OriginsServer) *OriginsServerTransport

NewOriginsServerTransport creates a new instance of OriginsServerTransport with the provided implementation. The returned OriginsServerTransport instance is connected to an instance of armcdn.OriginsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OriginsServerTransport) Do

Do implements the policy.Transporter interface for OriginsServerTransport.

type PoliciesServer

type PoliciesServer struct {
	// BeginCreateOrUpdate is the fake for method PoliciesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, policyName string, cdnWebApplicationFirewallPolicy armcdn.WebApplicationFirewallPolicy, options *armcdn.PoliciesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcdn.PoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method PoliciesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, policyName string, options *armcdn.PoliciesClientDeleteOptions) (resp azfake.Responder[armcdn.PoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, policyName string, options *armcdn.PoliciesClientGetOptions) (resp azfake.Responder[armcdn.PoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method PoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armcdn.PoliciesClientListOptions) (resp azfake.PagerResponder[armcdn.PoliciesClientListResponse])

	// BeginUpdate is the fake for method PoliciesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, policyName string, cdnWebApplicationFirewallPolicyPatchParameters armcdn.WebApplicationFirewallPolicyPatchParameters, options *armcdn.PoliciesClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.PoliciesClientUpdateResponse], errResp azfake.ErrorResponder)
}

PoliciesServer is a fake server for instances of the armcdn.PoliciesClient type.

type PoliciesServerTransport

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

PoliciesServerTransport connects instances of armcdn.PoliciesClient to instances of PoliciesServer. Don't use this type directly, use NewPoliciesServerTransport instead.

func NewPoliciesServerTransport

func NewPoliciesServerTransport(srv *PoliciesServer) *PoliciesServerTransport

NewPoliciesServerTransport creates a new instance of PoliciesServerTransport with the provided implementation. The returned PoliciesServerTransport instance is connected to an instance of armcdn.PoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PoliciesServerTransport) Do

Do implements the policy.Transporter interface for PoliciesServerTransport.

type ProfilesServer

type ProfilesServer struct {
	// BeginCanMigrate is the fake for method ProfilesClient.BeginCanMigrate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCanMigrate func(ctx context.Context, resourceGroupName string, canMigrateParameters armcdn.CanMigrateParameters, options *armcdn.ProfilesClientBeginCanMigrateOptions) (resp azfake.PollerResponder[armcdn.ProfilesClientCanMigrateResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method ProfilesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, profile armcdn.Profile, options *armcdn.ProfilesClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.ProfilesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ProfilesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, options *armcdn.ProfilesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.ProfilesClientDeleteResponse], errResp azfake.ErrorResponder)

	// GenerateSsoURI is the fake for method ProfilesClient.GenerateSsoURI
	// HTTP status codes to indicate success: http.StatusOK
	GenerateSsoURI func(ctx context.Context, resourceGroupName string, profileName string, options *armcdn.ProfilesClientGenerateSsoURIOptions) (resp azfake.Responder[armcdn.ProfilesClientGenerateSsoURIResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ProfilesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, options *armcdn.ProfilesClientGetOptions) (resp azfake.Responder[armcdn.ProfilesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ProfilesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcdn.ProfilesClientListOptions) (resp azfake.PagerResponder[armcdn.ProfilesClientListResponse])

	// NewListByResourceGroupPager is the fake for method ProfilesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armcdn.ProfilesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armcdn.ProfilesClientListByResourceGroupResponse])

	// NewListResourceUsagePager is the fake for method ProfilesClient.NewListResourceUsagePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListResourceUsagePager func(resourceGroupName string, profileName string, options *armcdn.ProfilesClientListResourceUsageOptions) (resp azfake.PagerResponder[armcdn.ProfilesClientListResourceUsageResponse])

	// ListSupportedOptimizationTypes is the fake for method ProfilesClient.ListSupportedOptimizationTypes
	// HTTP status codes to indicate success: http.StatusOK
	ListSupportedOptimizationTypes func(ctx context.Context, resourceGroupName string, profileName string, options *armcdn.ProfilesClientListSupportedOptimizationTypesOptions) (resp azfake.Responder[armcdn.ProfilesClientListSupportedOptimizationTypesResponse], errResp azfake.ErrorResponder)

	// BeginMigrate is the fake for method ProfilesClient.BeginMigrate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrate func(ctx context.Context, resourceGroupName string, migrationParameters armcdn.MigrationParameters, options *armcdn.ProfilesClientBeginMigrateOptions) (resp azfake.PollerResponder[armcdn.ProfilesClientMigrateResponse], errResp azfake.ErrorResponder)

	// BeginMigrationCommit is the fake for method ProfilesClient.BeginMigrationCommit
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrationCommit func(ctx context.Context, resourceGroupName string, profileName string, options *armcdn.ProfilesClientBeginMigrationCommitOptions) (resp azfake.PollerResponder[armcdn.ProfilesClientMigrationCommitResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method ProfilesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, profileUpdateParameters armcdn.ProfileUpdateParameters, options *armcdn.ProfilesClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.ProfilesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ProfilesServer is a fake server for instances of the armcdn.ProfilesClient type.

type ProfilesServerTransport

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

ProfilesServerTransport connects instances of armcdn.ProfilesClient to instances of ProfilesServer. Don't use this type directly, use NewProfilesServerTransport instead.

func NewProfilesServerTransport

func NewProfilesServerTransport(srv *ProfilesServer) *ProfilesServerTransport

NewProfilesServerTransport creates a new instance of ProfilesServerTransport with the provided implementation. The returned ProfilesServerTransport instance is connected to an instance of armcdn.ProfilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProfilesServerTransport) Do

Do implements the policy.Transporter interface for ProfilesServerTransport.

type ResourceUsageServer

type ResourceUsageServer struct {
	// NewListPager is the fake for method ResourceUsageClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcdn.ResourceUsageClientListOptions) (resp azfake.PagerResponder[armcdn.ResourceUsageClientListResponse])
}

ResourceUsageServer is a fake server for instances of the armcdn.ResourceUsageClient type.

type ResourceUsageServerTransport

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

ResourceUsageServerTransport connects instances of armcdn.ResourceUsageClient to instances of ResourceUsageServer. Don't use this type directly, use NewResourceUsageServerTransport instead.

func NewResourceUsageServerTransport

func NewResourceUsageServerTransport(srv *ResourceUsageServer) *ResourceUsageServerTransport

NewResourceUsageServerTransport creates a new instance of ResourceUsageServerTransport with the provided implementation. The returned ResourceUsageServerTransport instance is connected to an instance of armcdn.ResourceUsageClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceUsageServerTransport) Do

Do implements the policy.Transporter interface for ResourceUsageServerTransport.

type RoutesServer

type RoutesServer struct {
	// BeginCreate is the fake for method RoutesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, route armcdn.Route, options *armcdn.RoutesClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.RoutesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method RoutesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, options *armcdn.RoutesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.RoutesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RoutesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, options *armcdn.RoutesClientGetOptions) (resp azfake.Responder[armcdn.RoutesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByEndpointPager is the fake for method RoutesClient.NewListByEndpointPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByEndpointPager func(resourceGroupName string, profileName string, endpointName string, options *armcdn.RoutesClientListByEndpointOptions) (resp azfake.PagerResponder[armcdn.RoutesClientListByEndpointResponse])

	// BeginUpdate is the fake for method RoutesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, routeUpdateProperties armcdn.RouteUpdateParameters, options *armcdn.RoutesClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.RoutesClientUpdateResponse], errResp azfake.ErrorResponder)
}

RoutesServer is a fake server for instances of the armcdn.RoutesClient type.

type RoutesServerTransport

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

RoutesServerTransport connects instances of armcdn.RoutesClient to instances of RoutesServer. Don't use this type directly, use NewRoutesServerTransport instead.

func NewRoutesServerTransport

func NewRoutesServerTransport(srv *RoutesServer) *RoutesServerTransport

NewRoutesServerTransport creates a new instance of RoutesServerTransport with the provided implementation. The returned RoutesServerTransport instance is connected to an instance of armcdn.RoutesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RoutesServerTransport) Do

Do implements the policy.Transporter interface for RoutesServerTransport.

type RuleSetsServer

type RuleSetsServer struct {
	// Create is the fake for method RuleSetsClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, options *armcdn.RuleSetsClientCreateOptions) (resp azfake.Responder[armcdn.RuleSetsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method RuleSetsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, options *armcdn.RuleSetsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.RuleSetsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RuleSetsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, options *armcdn.RuleSetsClientGetOptions) (resp azfake.Responder[armcdn.RuleSetsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProfilePager is the fake for method RuleSetsClient.NewListByProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProfilePager func(resourceGroupName string, profileName string, options *armcdn.RuleSetsClientListByProfileOptions) (resp azfake.PagerResponder[armcdn.RuleSetsClientListByProfileResponse])

	// NewListResourceUsagePager is the fake for method RuleSetsClient.NewListResourceUsagePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListResourceUsagePager func(resourceGroupName string, profileName string, ruleSetName string, options *armcdn.RuleSetsClientListResourceUsageOptions) (resp azfake.PagerResponder[armcdn.RuleSetsClientListResourceUsageResponse])
}

RuleSetsServer is a fake server for instances of the armcdn.RuleSetsClient type.

type RuleSetsServerTransport

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

RuleSetsServerTransport connects instances of armcdn.RuleSetsClient to instances of RuleSetsServer. Don't use this type directly, use NewRuleSetsServerTransport instead.

func NewRuleSetsServerTransport

func NewRuleSetsServerTransport(srv *RuleSetsServer) *RuleSetsServerTransport

NewRuleSetsServerTransport creates a new instance of RuleSetsServerTransport with the provided implementation. The returned RuleSetsServerTransport instance is connected to an instance of armcdn.RuleSetsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RuleSetsServerTransport) Do

Do implements the policy.Transporter interface for RuleSetsServerTransport.

type RulesServer

type RulesServer struct {
	// BeginCreate is the fake for method RulesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, rule armcdn.Rule, options *armcdn.RulesClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.RulesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method RulesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, options *armcdn.RulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.RulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, options *armcdn.RulesClientGetOptions) (resp azfake.Responder[armcdn.RulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByRuleSetPager is the fake for method RulesClient.NewListByRuleSetPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByRuleSetPager func(resourceGroupName string, profileName string, ruleSetName string, options *armcdn.RulesClientListByRuleSetOptions) (resp azfake.PagerResponder[armcdn.RulesClientListByRuleSetResponse])

	// BeginUpdate is the fake for method RulesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, ruleUpdateProperties armcdn.RuleUpdateParameters, options *armcdn.RulesClientBeginUpdateOptions) (resp azfake.PollerResponder[armcdn.RulesClientUpdateResponse], errResp azfake.ErrorResponder)
}

RulesServer is a fake server for instances of the armcdn.RulesClient type.

type RulesServerTransport

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

RulesServerTransport connects instances of armcdn.RulesClient to instances of RulesServer. Don't use this type directly, use NewRulesServerTransport instead.

func NewRulesServerTransport

func NewRulesServerTransport(srv *RulesServer) *RulesServerTransport

NewRulesServerTransport creates a new instance of RulesServerTransport with the provided implementation. The returned RulesServerTransport instance is connected to an instance of armcdn.RulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RulesServerTransport) Do

Do implements the policy.Transporter interface for RulesServerTransport.

type SecretsServer

type SecretsServer struct {
	// BeginCreate is the fake for method SecretsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, secretName string, secret armcdn.Secret, options *armcdn.SecretsClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.SecretsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method SecretsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, secretName string, options *armcdn.SecretsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.SecretsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SecretsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, secretName string, options *armcdn.SecretsClientGetOptions) (resp azfake.Responder[armcdn.SecretsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProfilePager is the fake for method SecretsClient.NewListByProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProfilePager func(resourceGroupName string, profileName string, options *armcdn.SecretsClientListByProfileOptions) (resp azfake.PagerResponder[armcdn.SecretsClientListByProfileResponse])
}

SecretsServer is a fake server for instances of the armcdn.SecretsClient type.

type SecretsServerTransport

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

SecretsServerTransport connects instances of armcdn.SecretsClient to instances of SecretsServer. Don't use this type directly, use NewSecretsServerTransport instead.

func NewSecretsServerTransport

func NewSecretsServerTransport(srv *SecretsServer) *SecretsServerTransport

NewSecretsServerTransport creates a new instance of SecretsServerTransport with the provided implementation. The returned SecretsServerTransport instance is connected to an instance of armcdn.SecretsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SecretsServerTransport) Do

Do implements the policy.Transporter interface for SecretsServerTransport.

type SecurityPoliciesServer

type SecurityPoliciesServer struct {
	// BeginCreate is the fake for method SecurityPoliciesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicy armcdn.SecurityPolicy, options *armcdn.SecurityPoliciesClientBeginCreateOptions) (resp azfake.PollerResponder[armcdn.SecurityPoliciesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method SecurityPoliciesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, options *armcdn.SecurityPoliciesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcdn.SecurityPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SecurityPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, options *armcdn.SecurityPoliciesClientGetOptions) (resp azfake.Responder[armcdn.SecurityPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByProfilePager is the fake for method SecurityPoliciesClient.NewListByProfilePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByProfilePager func(resourceGroupName string, profileName string, options *armcdn.SecurityPoliciesClientListByProfileOptions) (resp azfake.PagerResponder[armcdn.SecurityPoliciesClientListByProfileResponse])

	// BeginPatch is the fake for method SecurityPoliciesClient.BeginPatch
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginPatch func(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicyUpdateProperties armcdn.SecurityPolicyUpdateParameters, options *armcdn.SecurityPoliciesClientBeginPatchOptions) (resp azfake.PollerResponder[armcdn.SecurityPoliciesClientPatchResponse], errResp azfake.ErrorResponder)
}

SecurityPoliciesServer is a fake server for instances of the armcdn.SecurityPoliciesClient type.

type SecurityPoliciesServerTransport

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

SecurityPoliciesServerTransport connects instances of armcdn.SecurityPoliciesClient to instances of SecurityPoliciesServer. Don't use this type directly, use NewSecurityPoliciesServerTransport instead.

func NewSecurityPoliciesServerTransport

func NewSecurityPoliciesServerTransport(srv *SecurityPoliciesServer) *SecurityPoliciesServerTransport

NewSecurityPoliciesServerTransport creates a new instance of SecurityPoliciesServerTransport with the provided implementation. The returned SecurityPoliciesServerTransport instance is connected to an instance of armcdn.SecurityPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SecurityPoliciesServerTransport) Do

Do implements the policy.Transporter interface for SecurityPoliciesServerTransport.

type ServerFactory

type ServerFactory struct {
	AFDCustomDomainsServer AFDCustomDomainsServer
	AFDEndpointsServer     AFDEndpointsServer
	AFDOriginGroupsServer  AFDOriginGroupsServer
	AFDOriginsServer       AFDOriginsServer
	AFDProfilesServer      AFDProfilesServer
	CustomDomainsServer    CustomDomainsServer
	EdgeNodesServer        EdgeNodesServer
	EndpointsServer        EndpointsServer
	LogAnalyticsServer     LogAnalyticsServer
	ManagedRuleSetsServer  ManagedRuleSetsServer
	ManagementServer       ManagementServer
	OperationsServer       OperationsServer
	OriginGroupsServer     OriginGroupsServer
	OriginsServer          OriginsServer
	PoliciesServer         PoliciesServer
	ProfilesServer         ProfilesServer
	ResourceUsageServer    ResourceUsageServer
	RoutesServer           RoutesServer
	RuleSetsServer         RuleSetsServer
	RulesServer            RulesServer
	SecretsServer          SecretsServer
	SecurityPoliciesServer SecurityPoliciesServer
}

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

type ServerFactoryTransport

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

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

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

Jump to

Keyboard shortcuts

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