Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScaleVCoresServer ¶
type AutoScaleVCoresServer struct { // Create is the fake for method AutoScaleVCoresClient.Create // HTTP status codes to indicate success: http.StatusOK Create func(ctx context.Context, resourceGroupName string, vcoreName string, vCoreParameters armpowerbidedicated.AutoScaleVCore, options *armpowerbidedicated.AutoScaleVCoresClientCreateOptions) (resp azfake.Responder[armpowerbidedicated.AutoScaleVCoresClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method AutoScaleVCoresClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, vcoreName string, options *armpowerbidedicated.AutoScaleVCoresClientDeleteOptions) (resp azfake.Responder[armpowerbidedicated.AutoScaleVCoresClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method AutoScaleVCoresClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, vcoreName string, options *armpowerbidedicated.AutoScaleVCoresClientGetOptions) (resp azfake.Responder[armpowerbidedicated.AutoScaleVCoresClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method AutoScaleVCoresClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armpowerbidedicated.AutoScaleVCoresClientListByResourceGroupOptions) (resp azfake.PagerResponder[armpowerbidedicated.AutoScaleVCoresClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method AutoScaleVCoresClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armpowerbidedicated.AutoScaleVCoresClientListBySubscriptionOptions) (resp azfake.PagerResponder[armpowerbidedicated.AutoScaleVCoresClientListBySubscriptionResponse]) // Update is the fake for method AutoScaleVCoresClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, vcoreName string, vCoreUpdateParameters armpowerbidedicated.AutoScaleVCoreUpdateParameters, options *armpowerbidedicated.AutoScaleVCoresClientUpdateOptions) (resp azfake.Responder[armpowerbidedicated.AutoScaleVCoresClientUpdateResponse], errResp azfake.ErrorResponder) }
AutoScaleVCoresServer is a fake server for instances of the armpowerbidedicated.AutoScaleVCoresClient type.
type AutoScaleVCoresServerTransport ¶
type AutoScaleVCoresServerTransport struct {
// contains filtered or unexported fields
}
AutoScaleVCoresServerTransport connects instances of armpowerbidedicated.AutoScaleVCoresClient to instances of AutoScaleVCoresServer. Don't use this type directly, use NewAutoScaleVCoresServerTransport instead.
func NewAutoScaleVCoresServerTransport ¶
func NewAutoScaleVCoresServerTransport(srv *AutoScaleVCoresServer) *AutoScaleVCoresServerTransport
NewAutoScaleVCoresServerTransport creates a new instance of AutoScaleVCoresServerTransport with the provided implementation. The returned AutoScaleVCoresServerTransport instance is connected to an instance of armpowerbidedicated.AutoScaleVCoresClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type CapacitiesServer ¶
type CapacitiesServer struct { // CheckNameAvailability is the fake for method CapacitiesClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, location string, capacityParameters armpowerbidedicated.CheckCapacityNameAvailabilityParameters, options *armpowerbidedicated.CapacitiesClientCheckNameAvailabilityOptions) (resp azfake.Responder[armpowerbidedicated.CapacitiesClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreate is the fake for method CapacitiesClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreate func(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityParameters armpowerbidedicated.DedicatedCapacity, options *armpowerbidedicated.CapacitiesClientBeginCreateOptions) (resp azfake.PollerResponder[armpowerbidedicated.CapacitiesClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method CapacitiesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, options *armpowerbidedicated.CapacitiesClientBeginDeleteOptions) (resp azfake.PollerResponder[armpowerbidedicated.CapacitiesClientDeleteResponse], errResp azfake.ErrorResponder) // GetDetails is the fake for method CapacitiesClient.GetDetails // HTTP status codes to indicate success: http.StatusOK GetDetails func(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, options *armpowerbidedicated.CapacitiesClientGetDetailsOptions) (resp azfake.Responder[armpowerbidedicated.CapacitiesClientGetDetailsResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method CapacitiesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armpowerbidedicated.CapacitiesClientListOptions) (resp azfake.PagerResponder[armpowerbidedicated.CapacitiesClientListResponse]) // NewListByResourceGroupPager is the fake for method CapacitiesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armpowerbidedicated.CapacitiesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armpowerbidedicated.CapacitiesClientListByResourceGroupResponse]) // ListSKUs is the fake for method CapacitiesClient.ListSKUs // HTTP status codes to indicate success: http.StatusOK ListSKUs func(ctx context.Context, options *armpowerbidedicated.CapacitiesClientListSKUsOptions) (resp azfake.Responder[armpowerbidedicated.CapacitiesClientListSKUsResponse], errResp azfake.ErrorResponder) // ListSKUsForCapacity is the fake for method CapacitiesClient.ListSKUsForCapacity // HTTP status codes to indicate success: http.StatusOK ListSKUsForCapacity func(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, options *armpowerbidedicated.CapacitiesClientListSKUsForCapacityOptions) (resp azfake.Responder[armpowerbidedicated.CapacitiesClientListSKUsForCapacityResponse], errResp azfake.ErrorResponder) // BeginResume is the fake for method CapacitiesClient.BeginResume // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginResume func(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, options *armpowerbidedicated.CapacitiesClientBeginResumeOptions) (resp azfake.PollerResponder[armpowerbidedicated.CapacitiesClientResumeResponse], errResp azfake.ErrorResponder) // BeginSuspend is the fake for method CapacitiesClient.BeginSuspend // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginSuspend func(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, options *armpowerbidedicated.CapacitiesClientBeginSuspendOptions) (resp azfake.PollerResponder[armpowerbidedicated.CapacitiesClientSuspendResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method CapacitiesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, dedicatedCapacityName string, capacityUpdateParameters armpowerbidedicated.DedicatedCapacityUpdateParameters, options *armpowerbidedicated.CapacitiesClientBeginUpdateOptions) (resp azfake.PollerResponder[armpowerbidedicated.CapacitiesClientUpdateResponse], errResp azfake.ErrorResponder) }
CapacitiesServer is a fake server for instances of the armpowerbidedicated.CapacitiesClient type.
type CapacitiesServerTransport ¶
type CapacitiesServerTransport struct {
// contains filtered or unexported fields
}
CapacitiesServerTransport connects instances of armpowerbidedicated.CapacitiesClient to instances of CapacitiesServer. Don't use this type directly, use NewCapacitiesServerTransport instead.
func NewCapacitiesServerTransport ¶
func NewCapacitiesServerTransport(srv *CapacitiesServer) *CapacitiesServerTransport
NewCapacitiesServerTransport creates a new instance of CapacitiesServerTransport with the provided implementation. The returned CapacitiesServerTransport instance is connected to an instance of armpowerbidedicated.CapacitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // NewListPager is the fake for method OperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armpowerbidedicated.OperationsClientListOptions) (resp azfake.PagerResponder[armpowerbidedicated.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armpowerbidedicated.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armpowerbidedicated.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 armpowerbidedicated.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AutoScaleVCoresServer AutoScaleVCoresServer CapacitiesServer CapacitiesServer OperationsServer OperationsServer }
ServerFactory is a fake server for instances of the armpowerbidedicated.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armpowerbidedicated.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 armpowerbidedicated.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.