Documentation ¶
Index ¶
- type AlertsServer
- type AlertsServerTransport
- type BenefitRecommendationsServer
- type BenefitRecommendationsServerTransport
- type BenefitUtilizationSummariesServer
- type BenefitUtilizationSummariesServerTransport
- type DimensionsServer
- type DimensionsServerTransport
- type ExportsServer
- type ExportsServerTransport
- type ForecastServer
- type ForecastServerTransport
- type GenerateCostDetailsReportServer
- type GenerateCostDetailsReportServerTransport
- type GenerateDetailedCostReportOperationResultsServer
- type GenerateDetailedCostReportOperationResultsServerTransport
- type GenerateDetailedCostReportOperationStatusServer
- type GenerateDetailedCostReportOperationStatusServerTransport
- type GenerateDetailedCostReportServer
- type GenerateDetailedCostReportServerTransport
- type GenerateReservationDetailsReportServer
- type GenerateReservationDetailsReportServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PriceSheetServer
- type PriceSheetServerTransport
- type QueryServer
- type QueryServerTransport
- type ScheduledActionsServer
- type ScheduledActionsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type ViewsServer
- type ViewsServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertsServer ¶
type AlertsServer struct { // Dismiss is the fake for method AlertsClient.Dismiss // HTTP status codes to indicate success: http.StatusOK Dismiss func(ctx context.Context, scope string, alertID string, parameters armcostmanagement.DismissAlertPayload, options *armcostmanagement.AlertsClientDismissOptions) (resp azfake.Responder[armcostmanagement.AlertsClientDismissResponse], errResp azfake.ErrorResponder) // Get is the fake for method AlertsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, scope string, alertID string, options *armcostmanagement.AlertsClientGetOptions) (resp azfake.Responder[armcostmanagement.AlertsClientGetResponse], errResp azfake.ErrorResponder) // List is the fake for method AlertsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, scope string, options *armcostmanagement.AlertsClientListOptions) (resp azfake.Responder[armcostmanagement.AlertsClientListResponse], errResp azfake.ErrorResponder) // ListExternal is the fake for method AlertsClient.ListExternal // HTTP status codes to indicate success: http.StatusOK ListExternal func(ctx context.Context, externalCloudProviderType armcostmanagement.ExternalCloudProviderType, externalCloudProviderID string, options *armcostmanagement.AlertsClientListExternalOptions) (resp azfake.Responder[armcostmanagement.AlertsClientListExternalResponse], errResp azfake.ErrorResponder) }
AlertsServer is a fake server for instances of the armcostmanagement.AlertsClient type.
type AlertsServerTransport ¶
type AlertsServerTransport struct {
// contains filtered or unexported fields
}
AlertsServerTransport connects instances of armcostmanagement.AlertsClient to instances of AlertsServer. Don't use this type directly, use NewAlertsServerTransport instead.
func NewAlertsServerTransport ¶
func NewAlertsServerTransport(srv *AlertsServer) *AlertsServerTransport
NewAlertsServerTransport creates a new instance of AlertsServerTransport with the provided implementation. The returned AlertsServerTransport instance is connected to an instance of armcostmanagement.AlertsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type BenefitRecommendationsServer ¶
type BenefitRecommendationsServer struct { // NewListPager is the fake for method BenefitRecommendationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(billingScope string, options *armcostmanagement.BenefitRecommendationsClientListOptions) (resp azfake.PagerResponder[armcostmanagement.BenefitRecommendationsClientListResponse]) }
BenefitRecommendationsServer is a fake server for instances of the armcostmanagement.BenefitRecommendationsClient type.
type BenefitRecommendationsServerTransport ¶
type BenefitRecommendationsServerTransport struct {
// contains filtered or unexported fields
}
BenefitRecommendationsServerTransport connects instances of armcostmanagement.BenefitRecommendationsClient to instances of BenefitRecommendationsServer. Don't use this type directly, use NewBenefitRecommendationsServerTransport instead.
func NewBenefitRecommendationsServerTransport ¶
func NewBenefitRecommendationsServerTransport(srv *BenefitRecommendationsServer) *BenefitRecommendationsServerTransport
NewBenefitRecommendationsServerTransport creates a new instance of BenefitRecommendationsServerTransport with the provided implementation. The returned BenefitRecommendationsServerTransport instance is connected to an instance of armcostmanagement.BenefitRecommendationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type BenefitUtilizationSummariesServer ¶
type BenefitUtilizationSummariesServer struct { // NewListByBillingAccountIDPager is the fake for method BenefitUtilizationSummariesClient.NewListByBillingAccountIDPager // HTTP status codes to indicate success: http.StatusOK NewListByBillingAccountIDPager func(billingAccountID string, options *armcostmanagement.BenefitUtilizationSummariesClientListByBillingAccountIDOptions) (resp azfake.PagerResponder[armcostmanagement.BenefitUtilizationSummariesClientListByBillingAccountIDResponse]) // NewListByBillingProfileIDPager is the fake for method BenefitUtilizationSummariesClient.NewListByBillingProfileIDPager // HTTP status codes to indicate success: http.StatusOK NewListByBillingProfileIDPager func(billingAccountID string, billingProfileID string, options *armcostmanagement.BenefitUtilizationSummariesClientListByBillingProfileIDOptions) (resp azfake.PagerResponder[armcostmanagement.BenefitUtilizationSummariesClientListByBillingProfileIDResponse]) // NewListBySavingsPlanIDPager is the fake for method BenefitUtilizationSummariesClient.NewListBySavingsPlanIDPager // HTTP status codes to indicate success: http.StatusOK NewListBySavingsPlanIDPager func(savingsPlanOrderID string, savingsPlanID string, options *armcostmanagement.BenefitUtilizationSummariesClientListBySavingsPlanIDOptions) (resp azfake.PagerResponder[armcostmanagement.BenefitUtilizationSummariesClientListBySavingsPlanIDResponse]) // NewListBySavingsPlanOrderPager is the fake for method BenefitUtilizationSummariesClient.NewListBySavingsPlanOrderPager // HTTP status codes to indicate success: http.StatusOK NewListBySavingsPlanOrderPager func(savingsPlanOrderID string, options *armcostmanagement.BenefitUtilizationSummariesClientListBySavingsPlanOrderOptions) (resp azfake.PagerResponder[armcostmanagement.BenefitUtilizationSummariesClientListBySavingsPlanOrderResponse]) }
BenefitUtilizationSummariesServer is a fake server for instances of the armcostmanagement.BenefitUtilizationSummariesClient type.
type BenefitUtilizationSummariesServerTransport ¶
type BenefitUtilizationSummariesServerTransport struct {
// contains filtered or unexported fields
}
BenefitUtilizationSummariesServerTransport connects instances of armcostmanagement.BenefitUtilizationSummariesClient to instances of BenefitUtilizationSummariesServer. Don't use this type directly, use NewBenefitUtilizationSummariesServerTransport instead.
func NewBenefitUtilizationSummariesServerTransport ¶
func NewBenefitUtilizationSummariesServerTransport(srv *BenefitUtilizationSummariesServer) *BenefitUtilizationSummariesServerTransport
NewBenefitUtilizationSummariesServerTransport creates a new instance of BenefitUtilizationSummariesServerTransport with the provided implementation. The returned BenefitUtilizationSummariesServerTransport instance is connected to an instance of armcostmanagement.BenefitUtilizationSummariesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DimensionsServer ¶
type DimensionsServer struct { // NewByExternalCloudProviderTypePager is the fake for method DimensionsClient.NewByExternalCloudProviderTypePager // HTTP status codes to indicate success: http.StatusOK NewByExternalCloudProviderTypePager func(externalCloudProviderType armcostmanagement.ExternalCloudProviderType, externalCloudProviderID string, options *armcostmanagement.DimensionsClientByExternalCloudProviderTypeOptions) (resp azfake.PagerResponder[armcostmanagement.DimensionsClientByExternalCloudProviderTypeResponse]) // NewListPager is the fake for method DimensionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent NewListPager func(scope string, options *armcostmanagement.DimensionsClientListOptions) (resp azfake.PagerResponder[armcostmanagement.DimensionsClientListResponse]) }
DimensionsServer is a fake server for instances of the armcostmanagement.DimensionsClient type.
type DimensionsServerTransport ¶
type DimensionsServerTransport struct {
// contains filtered or unexported fields
}
DimensionsServerTransport connects instances of armcostmanagement.DimensionsClient to instances of DimensionsServer. Don't use this type directly, use NewDimensionsServerTransport instead.
func NewDimensionsServerTransport ¶
func NewDimensionsServerTransport(srv *DimensionsServer) *DimensionsServerTransport
NewDimensionsServerTransport creates a new instance of DimensionsServerTransport with the provided implementation. The returned DimensionsServerTransport instance is connected to an instance of armcostmanagement.DimensionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ExportsServer ¶
type ExportsServer struct { // CreateOrUpdate is the fake for method ExportsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, scope string, exportName string, parameters armcostmanagement.Export, options *armcostmanagement.ExportsClientCreateOrUpdateOptions) (resp azfake.Responder[armcostmanagement.ExportsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ExportsClient.Delete // HTTP status codes to indicate success: http.StatusOK Delete func(ctx context.Context, scope string, exportName string, options *armcostmanagement.ExportsClientDeleteOptions) (resp azfake.Responder[armcostmanagement.ExportsClientDeleteResponse], errResp azfake.ErrorResponder) // Execute is the fake for method ExportsClient.Execute // HTTP status codes to indicate success: http.StatusOK Execute func(ctx context.Context, scope string, exportName string, options *armcostmanagement.ExportsClientExecuteOptions) (resp azfake.Responder[armcostmanagement.ExportsClientExecuteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ExportsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, scope string, exportName string, options *armcostmanagement.ExportsClientGetOptions) (resp azfake.Responder[armcostmanagement.ExportsClientGetResponse], errResp azfake.ErrorResponder) // GetExecutionHistory is the fake for method ExportsClient.GetExecutionHistory // HTTP status codes to indicate success: http.StatusOK GetExecutionHistory func(ctx context.Context, scope string, exportName string, options *armcostmanagement.ExportsClientGetExecutionHistoryOptions) (resp azfake.Responder[armcostmanagement.ExportsClientGetExecutionHistoryResponse], errResp azfake.ErrorResponder) // List is the fake for method ExportsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, scope string, options *armcostmanagement.ExportsClientListOptions) (resp azfake.Responder[armcostmanagement.ExportsClientListResponse], errResp azfake.ErrorResponder) }
ExportsServer is a fake server for instances of the armcostmanagement.ExportsClient type.
type ExportsServerTransport ¶
type ExportsServerTransport struct {
// contains filtered or unexported fields
}
ExportsServerTransport connects instances of armcostmanagement.ExportsClient to instances of ExportsServer. Don't use this type directly, use NewExportsServerTransport instead.
func NewExportsServerTransport ¶
func NewExportsServerTransport(srv *ExportsServer) *ExportsServerTransport
NewExportsServerTransport creates a new instance of ExportsServerTransport with the provided implementation. The returned ExportsServerTransport instance is connected to an instance of armcostmanagement.ExportsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ForecastServer ¶
type ForecastServer struct { // ExternalCloudProviderUsage is the fake for method ForecastClient.ExternalCloudProviderUsage // HTTP status codes to indicate success: http.StatusOK ExternalCloudProviderUsage func(ctx context.Context, externalCloudProviderType armcostmanagement.ExternalCloudProviderType, externalCloudProviderID string, parameters armcostmanagement.ForecastDefinition, options *armcostmanagement.ForecastClientExternalCloudProviderUsageOptions) (resp azfake.Responder[armcostmanagement.ForecastClientExternalCloudProviderUsageResponse], errResp azfake.ErrorResponder) // Usage is the fake for method ForecastClient.Usage // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Usage func(ctx context.Context, scope string, parameters armcostmanagement.ForecastDefinition, options *armcostmanagement.ForecastClientUsageOptions) (resp azfake.Responder[armcostmanagement.ForecastClientUsageResponse], errResp azfake.ErrorResponder) }
ForecastServer is a fake server for instances of the armcostmanagement.ForecastClient type.
type ForecastServerTransport ¶
type ForecastServerTransport struct {
// contains filtered or unexported fields
}
ForecastServerTransport connects instances of armcostmanagement.ForecastClient to instances of ForecastServer. Don't use this type directly, use NewForecastServerTransport instead.
func NewForecastServerTransport ¶
func NewForecastServerTransport(srv *ForecastServer) *ForecastServerTransport
NewForecastServerTransport creates a new instance of ForecastServerTransport with the provided implementation. The returned ForecastServerTransport instance is connected to an instance of armcostmanagement.ForecastClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GenerateCostDetailsReportServer ¶
type GenerateCostDetailsReportServer struct { // BeginCreateOperation is the fake for method GenerateCostDetailsReportClient.BeginCreateOperation // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginCreateOperation func(ctx context.Context, scope string, parameters armcostmanagement.GenerateCostDetailsReportRequestDefinition, options *armcostmanagement.GenerateCostDetailsReportClientBeginCreateOperationOptions) (resp azfake.PollerResponder[armcostmanagement.GenerateCostDetailsReportClientCreateOperationResponse], errResp azfake.ErrorResponder) // BeginGetOperationResults is the fake for method GenerateCostDetailsReportClient.BeginGetOperationResults // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginGetOperationResults func(ctx context.Context, scope string, operationID string, options *armcostmanagement.GenerateCostDetailsReportClientBeginGetOperationResultsOptions) (resp azfake.PollerResponder[armcostmanagement.GenerateCostDetailsReportClientGetOperationResultsResponse], errResp azfake.ErrorResponder) }
GenerateCostDetailsReportServer is a fake server for instances of the armcostmanagement.GenerateCostDetailsReportClient type.
type GenerateCostDetailsReportServerTransport ¶
type GenerateCostDetailsReportServerTransport struct {
// contains filtered or unexported fields
}
GenerateCostDetailsReportServerTransport connects instances of armcostmanagement.GenerateCostDetailsReportClient to instances of GenerateCostDetailsReportServer. Don't use this type directly, use NewGenerateCostDetailsReportServerTransport instead.
func NewGenerateCostDetailsReportServerTransport ¶
func NewGenerateCostDetailsReportServerTransport(srv *GenerateCostDetailsReportServer) *GenerateCostDetailsReportServerTransport
NewGenerateCostDetailsReportServerTransport creates a new instance of GenerateCostDetailsReportServerTransport with the provided implementation. The returned GenerateCostDetailsReportServerTransport instance is connected to an instance of armcostmanagement.GenerateCostDetailsReportClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GenerateDetailedCostReportOperationResultsServer ¶
type GenerateDetailedCostReportOperationResultsServer struct { // BeginGet is the fake for method GenerateDetailedCostReportOperationResultsClient.BeginGet // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginGet func(ctx context.Context, operationID string, scope string, options *armcostmanagement.GenerateDetailedCostReportOperationResultsClientBeginGetOptions) (resp azfake.PollerResponder[armcostmanagement.GenerateDetailedCostReportOperationResultsClientGetResponse], errResp azfake.ErrorResponder) }
GenerateDetailedCostReportOperationResultsServer is a fake server for instances of the armcostmanagement.GenerateDetailedCostReportOperationResultsClient type.
type GenerateDetailedCostReportOperationResultsServerTransport ¶
type GenerateDetailedCostReportOperationResultsServerTransport struct {
// contains filtered or unexported fields
}
GenerateDetailedCostReportOperationResultsServerTransport connects instances of armcostmanagement.GenerateDetailedCostReportOperationResultsClient to instances of GenerateDetailedCostReportOperationResultsServer. Don't use this type directly, use NewGenerateDetailedCostReportOperationResultsServerTransport instead.
func NewGenerateDetailedCostReportOperationResultsServerTransport ¶
func NewGenerateDetailedCostReportOperationResultsServerTransport(srv *GenerateDetailedCostReportOperationResultsServer) *GenerateDetailedCostReportOperationResultsServerTransport
NewGenerateDetailedCostReportOperationResultsServerTransport creates a new instance of GenerateDetailedCostReportOperationResultsServerTransport with the provided implementation. The returned GenerateDetailedCostReportOperationResultsServerTransport instance is connected to an instance of armcostmanagement.GenerateDetailedCostReportOperationResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GenerateDetailedCostReportOperationStatusServer ¶
type GenerateDetailedCostReportOperationStatusServer struct { // Get is the fake for method GenerateDetailedCostReportOperationStatusClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, operationID string, scope string, options *armcostmanagement.GenerateDetailedCostReportOperationStatusClientGetOptions) (resp azfake.Responder[armcostmanagement.GenerateDetailedCostReportOperationStatusClientGetResponse], errResp azfake.ErrorResponder) }
GenerateDetailedCostReportOperationStatusServer is a fake server for instances of the armcostmanagement.GenerateDetailedCostReportOperationStatusClient type.
type GenerateDetailedCostReportOperationStatusServerTransport ¶
type GenerateDetailedCostReportOperationStatusServerTransport struct {
// contains filtered or unexported fields
}
GenerateDetailedCostReportOperationStatusServerTransport connects instances of armcostmanagement.GenerateDetailedCostReportOperationStatusClient to instances of GenerateDetailedCostReportOperationStatusServer. Don't use this type directly, use NewGenerateDetailedCostReportOperationStatusServerTransport instead.
func NewGenerateDetailedCostReportOperationStatusServerTransport ¶
func NewGenerateDetailedCostReportOperationStatusServerTransport(srv *GenerateDetailedCostReportOperationStatusServer) *GenerateDetailedCostReportOperationStatusServerTransport
NewGenerateDetailedCostReportOperationStatusServerTransport creates a new instance of GenerateDetailedCostReportOperationStatusServerTransport with the provided implementation. The returned GenerateDetailedCostReportOperationStatusServerTransport instance is connected to an instance of armcostmanagement.GenerateDetailedCostReportOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GenerateDetailedCostReportServer ¶
type GenerateDetailedCostReportServer struct { // BeginCreateOperation is the fake for method GenerateDetailedCostReportClient.BeginCreateOperation // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateOperation func(ctx context.Context, scope string, parameters armcostmanagement.GenerateDetailedCostReportDefinition, options *armcostmanagement.GenerateDetailedCostReportClientBeginCreateOperationOptions) (resp azfake.PollerResponder[armcostmanagement.GenerateDetailedCostReportClientCreateOperationResponse], errResp azfake.ErrorResponder) }
GenerateDetailedCostReportServer is a fake server for instances of the armcostmanagement.GenerateDetailedCostReportClient type.
type GenerateDetailedCostReportServerTransport ¶
type GenerateDetailedCostReportServerTransport struct {
// contains filtered or unexported fields
}
GenerateDetailedCostReportServerTransport connects instances of armcostmanagement.GenerateDetailedCostReportClient to instances of GenerateDetailedCostReportServer. Don't use this type directly, use NewGenerateDetailedCostReportServerTransport instead.
func NewGenerateDetailedCostReportServerTransport ¶
func NewGenerateDetailedCostReportServerTransport(srv *GenerateDetailedCostReportServer) *GenerateDetailedCostReportServerTransport
NewGenerateDetailedCostReportServerTransport creates a new instance of GenerateDetailedCostReportServerTransport with the provided implementation. The returned GenerateDetailedCostReportServerTransport instance is connected to an instance of armcostmanagement.GenerateDetailedCostReportClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GenerateReservationDetailsReportServer ¶
type GenerateReservationDetailsReportServer struct { // BeginByBillingAccountID is the fake for method GenerateReservationDetailsReportClient.BeginByBillingAccountID // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginByBillingAccountID func(ctx context.Context, billingAccountID string, startDate string, endDate string, options *armcostmanagement.GenerateReservationDetailsReportClientBeginByBillingAccountIDOptions) (resp azfake.PollerResponder[armcostmanagement.GenerateReservationDetailsReportClientByBillingAccountIDResponse], errResp azfake.ErrorResponder) // BeginByBillingProfileID is the fake for method GenerateReservationDetailsReportClient.BeginByBillingProfileID // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginByBillingProfileID func(ctx context.Context, billingAccountID string, billingProfileID string, startDate string, endDate string, options *armcostmanagement.GenerateReservationDetailsReportClientBeginByBillingProfileIDOptions) (resp azfake.PollerResponder[armcostmanagement.GenerateReservationDetailsReportClientByBillingProfileIDResponse], errResp azfake.ErrorResponder) }
GenerateReservationDetailsReportServer is a fake server for instances of the armcostmanagement.GenerateReservationDetailsReportClient type.
type GenerateReservationDetailsReportServerTransport ¶
type GenerateReservationDetailsReportServerTransport struct {
// contains filtered or unexported fields
}
GenerateReservationDetailsReportServerTransport connects instances of armcostmanagement.GenerateReservationDetailsReportClient to instances of GenerateReservationDetailsReportServer. Don't use this type directly, use NewGenerateReservationDetailsReportServerTransport instead.
func NewGenerateReservationDetailsReportServerTransport ¶
func NewGenerateReservationDetailsReportServerTransport(srv *GenerateReservationDetailsReportServer) *GenerateReservationDetailsReportServerTransport
NewGenerateReservationDetailsReportServerTransport creates a new instance of GenerateReservationDetailsReportServerTransport with the provided implementation. The returned GenerateReservationDetailsReportServerTransport instance is connected to an instance of armcostmanagement.GenerateReservationDetailsReportClient 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 *armcostmanagement.OperationsClientListOptions) (resp azfake.PagerResponder[armcostmanagement.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armcostmanagement.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armcostmanagement.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 armcostmanagement.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PriceSheetServer ¶
type PriceSheetServer struct { // BeginDownload is the fake for method PriceSheetClient.BeginDownload // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDownload func(ctx context.Context, billingAccountName string, billingProfileName string, invoiceName string, options *armcostmanagement.PriceSheetClientBeginDownloadOptions) (resp azfake.PollerResponder[armcostmanagement.PriceSheetClientDownloadResponse], errResp azfake.ErrorResponder) // BeginDownloadByBillingProfile is the fake for method PriceSheetClient.BeginDownloadByBillingProfile // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDownloadByBillingProfile func(ctx context.Context, billingAccountName string, billingProfileName string, options *armcostmanagement.PriceSheetClientBeginDownloadByBillingProfileOptions) (resp azfake.PollerResponder[armcostmanagement.PriceSheetClientDownloadByBillingProfileResponse], errResp azfake.ErrorResponder) }
PriceSheetServer is a fake server for instances of the armcostmanagement.PriceSheetClient type.
type PriceSheetServerTransport ¶
type PriceSheetServerTransport struct {
// contains filtered or unexported fields
}
PriceSheetServerTransport connects instances of armcostmanagement.PriceSheetClient to instances of PriceSheetServer. Don't use this type directly, use NewPriceSheetServerTransport instead.
func NewPriceSheetServerTransport ¶
func NewPriceSheetServerTransport(srv *PriceSheetServer) *PriceSheetServerTransport
NewPriceSheetServerTransport creates a new instance of PriceSheetServerTransport with the provided implementation. The returned PriceSheetServerTransport instance is connected to an instance of armcostmanagement.PriceSheetClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type QueryServer ¶
type QueryServer struct { // Usage is the fake for method QueryClient.Usage // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Usage func(ctx context.Context, scope string, parameters armcostmanagement.QueryDefinition, options *armcostmanagement.QueryClientUsageOptions) (resp azfake.Responder[armcostmanagement.QueryClientUsageResponse], errResp azfake.ErrorResponder) // UsageByExternalCloudProviderType is the fake for method QueryClient.UsageByExternalCloudProviderType // HTTP status codes to indicate success: http.StatusOK UsageByExternalCloudProviderType func(ctx context.Context, externalCloudProviderType armcostmanagement.ExternalCloudProviderType, externalCloudProviderID string, parameters armcostmanagement.QueryDefinition, options *armcostmanagement.QueryClientUsageByExternalCloudProviderTypeOptions) (resp azfake.Responder[armcostmanagement.QueryClientUsageByExternalCloudProviderTypeResponse], errResp azfake.ErrorResponder) }
QueryServer is a fake server for instances of the armcostmanagement.QueryClient type.
type QueryServerTransport ¶
type QueryServerTransport struct {
// contains filtered or unexported fields
}
QueryServerTransport connects instances of armcostmanagement.QueryClient to instances of QueryServer. Don't use this type directly, use NewQueryServerTransport instead.
func NewQueryServerTransport ¶
func NewQueryServerTransport(srv *QueryServer) *QueryServerTransport
NewQueryServerTransport creates a new instance of QueryServerTransport with the provided implementation. The returned QueryServerTransport instance is connected to an instance of armcostmanagement.QueryClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ScheduledActionsServer ¶
type ScheduledActionsServer struct { // CheckNameAvailability is the fake for method ScheduledActionsClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, checkNameAvailabilityRequest armcostmanagement.CheckNameAvailabilityRequest, options *armcostmanagement.ScheduledActionsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // CheckNameAvailabilityByScope is the fake for method ScheduledActionsClient.CheckNameAvailabilityByScope // HTTP status codes to indicate success: http.StatusOK CheckNameAvailabilityByScope func(ctx context.Context, scope string, checkNameAvailabilityRequest armcostmanagement.CheckNameAvailabilityRequest, options *armcostmanagement.ScheduledActionsClientCheckNameAvailabilityByScopeOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientCheckNameAvailabilityByScopeResponse], errResp azfake.ErrorResponder) // CreateOrUpdate is the fake for method ScheduledActionsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, name string, scheduledAction armcostmanagement.ScheduledAction, options *armcostmanagement.ScheduledActionsClientCreateOrUpdateOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // CreateOrUpdateByScope is the fake for method ScheduledActionsClient.CreateOrUpdateByScope // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdateByScope func(ctx context.Context, scope string, name string, scheduledAction armcostmanagement.ScheduledAction, options *armcostmanagement.ScheduledActionsClientCreateOrUpdateByScopeOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientCreateOrUpdateByScopeResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ScheduledActionsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, name string, options *armcostmanagement.ScheduledActionsClientDeleteOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientDeleteResponse], errResp azfake.ErrorResponder) // DeleteByScope is the fake for method ScheduledActionsClient.DeleteByScope // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent DeleteByScope func(ctx context.Context, scope string, name string, options *armcostmanagement.ScheduledActionsClientDeleteByScopeOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientDeleteByScopeResponse], errResp azfake.ErrorResponder) // Get is the fake for method ScheduledActionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, name string, options *armcostmanagement.ScheduledActionsClientGetOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientGetResponse], errResp azfake.ErrorResponder) // GetByScope is the fake for method ScheduledActionsClient.GetByScope // HTTP status codes to indicate success: http.StatusOK GetByScope func(ctx context.Context, scope string, name string, options *armcostmanagement.ScheduledActionsClientGetByScopeOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientGetByScopeResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ScheduledActionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcostmanagement.ScheduledActionsClientListOptions) (resp azfake.PagerResponder[armcostmanagement.ScheduledActionsClientListResponse]) // NewListByScopePager is the fake for method ScheduledActionsClient.NewListByScopePager // HTTP status codes to indicate success: http.StatusOK NewListByScopePager func(scope string, options *armcostmanagement.ScheduledActionsClientListByScopeOptions) (resp azfake.PagerResponder[armcostmanagement.ScheduledActionsClientListByScopeResponse]) // Run is the fake for method ScheduledActionsClient.Run // HTTP status codes to indicate success: http.StatusOK Run func(ctx context.Context, name string, options *armcostmanagement.ScheduledActionsClientRunOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientRunResponse], errResp azfake.ErrorResponder) // RunByScope is the fake for method ScheduledActionsClient.RunByScope // HTTP status codes to indicate success: http.StatusOK RunByScope func(ctx context.Context, scope string, name string, options *armcostmanagement.ScheduledActionsClientRunByScopeOptions) (resp azfake.Responder[armcostmanagement.ScheduledActionsClientRunByScopeResponse], errResp azfake.ErrorResponder) }
ScheduledActionsServer is a fake server for instances of the armcostmanagement.ScheduledActionsClient type.
type ScheduledActionsServerTransport ¶
type ScheduledActionsServerTransport struct {
// contains filtered or unexported fields
}
ScheduledActionsServerTransport connects instances of armcostmanagement.ScheduledActionsClient to instances of ScheduledActionsServer. Don't use this type directly, use NewScheduledActionsServerTransport instead.
func NewScheduledActionsServerTransport ¶
func NewScheduledActionsServerTransport(srv *ScheduledActionsServer) *ScheduledActionsServerTransport
NewScheduledActionsServerTransport creates a new instance of ScheduledActionsServerTransport with the provided implementation. The returned ScheduledActionsServerTransport instance is connected to an instance of armcostmanagement.ScheduledActionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AlertsServer AlertsServer BenefitRecommendationsServer BenefitRecommendationsServer BenefitUtilizationSummariesServer BenefitUtilizationSummariesServer DimensionsServer DimensionsServer ExportsServer ExportsServer ForecastServer ForecastServer GenerateCostDetailsReportServer GenerateCostDetailsReportServer GenerateDetailedCostReportServer GenerateDetailedCostReportServer GenerateDetailedCostReportOperationResultsServer GenerateDetailedCostReportOperationResultsServer GenerateDetailedCostReportOperationStatusServer GenerateDetailedCostReportOperationStatusServer GenerateReservationDetailsReportServer GenerateReservationDetailsReportServer OperationsServer OperationsServer PriceSheetServer PriceSheetServer QueryServer QueryServer ScheduledActionsServer ScheduledActionsServer ViewsServer ViewsServer }
ServerFactory is a fake server for instances of the armcostmanagement.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armcostmanagement.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 armcostmanagement.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ViewsServer ¶
type ViewsServer struct { // CreateOrUpdate is the fake for method ViewsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, viewName string, parameters armcostmanagement.View, options *armcostmanagement.ViewsClientCreateOrUpdateOptions) (resp azfake.Responder[armcostmanagement.ViewsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // CreateOrUpdateByScope is the fake for method ViewsClient.CreateOrUpdateByScope // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdateByScope func(ctx context.Context, scope string, viewName string, parameters armcostmanagement.View, options *armcostmanagement.ViewsClientCreateOrUpdateByScopeOptions) (resp azfake.Responder[armcostmanagement.ViewsClientCreateOrUpdateByScopeResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ViewsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, viewName string, options *armcostmanagement.ViewsClientDeleteOptions) (resp azfake.Responder[armcostmanagement.ViewsClientDeleteResponse], errResp azfake.ErrorResponder) // DeleteByScope is the fake for method ViewsClient.DeleteByScope // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent DeleteByScope func(ctx context.Context, scope string, viewName string, options *armcostmanagement.ViewsClientDeleteByScopeOptions) (resp azfake.Responder[armcostmanagement.ViewsClientDeleteByScopeResponse], errResp azfake.ErrorResponder) // Get is the fake for method ViewsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, viewName string, options *armcostmanagement.ViewsClientGetOptions) (resp azfake.Responder[armcostmanagement.ViewsClientGetResponse], errResp azfake.ErrorResponder) // GetByScope is the fake for method ViewsClient.GetByScope // HTTP status codes to indicate success: http.StatusOK GetByScope func(ctx context.Context, scope string, viewName string, options *armcostmanagement.ViewsClientGetByScopeOptions) (resp azfake.Responder[armcostmanagement.ViewsClientGetByScopeResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ViewsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcostmanagement.ViewsClientListOptions) (resp azfake.PagerResponder[armcostmanagement.ViewsClientListResponse]) // NewListByScopePager is the fake for method ViewsClient.NewListByScopePager // HTTP status codes to indicate success: http.StatusOK NewListByScopePager func(scope string, options *armcostmanagement.ViewsClientListByScopeOptions) (resp azfake.PagerResponder[armcostmanagement.ViewsClientListByScopeResponse]) }
ViewsServer is a fake server for instances of the armcostmanagement.ViewsClient type.
type ViewsServerTransport ¶
type ViewsServerTransport struct {
// contains filtered or unexported fields
}
ViewsServerTransport connects instances of armcostmanagement.ViewsClient to instances of ViewsServer. Don't use this type directly, use NewViewsServerTransport instead.
func NewViewsServerTransport ¶
func NewViewsServerTransport(srv *ViewsServer) *ViewsServerTransport
NewViewsServerTransport creates a new instance of ViewsServerTransport with the provided implementation. The returned ViewsServerTransport instance is connected to an instance of armcostmanagement.ViewsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files ¶
- alerts_server.go
- benefitrecommendations_server.go
- benefitutilizationsummaries_server.go
- dimensions_server.go
- exports_server.go
- forecast_server.go
- generatecostdetailsreport_server.go
- generatedetailedcostreport_server.go
- generatedetailedcostreportoperationresults_server.go
- generatedetailedcostreportoperationstatus_server.go
- generatereservationdetailsreport_server.go
- internal.go
- operations_server.go
- pricesheet_server.go
- query_server.go
- scheduledactions_server.go
- server_factory.go
- time_rfc3339.go
- views_server.go