Documentation ¶
Index ¶
- type AlertProcessingRulesServer
- type AlertProcessingRulesServerTransport
- type AlertRuleRecommendationsServer
- type AlertRuleRecommendationsServerTransport
- type AlertsServer
- type AlertsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrometheusRuleGroupsServer
- type PrometheusRuleGroupsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type SmartGroupsServer
- type SmartGroupsServerTransport
- type TenantActivityLogAlertsServer
- type TenantActivityLogAlertsServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertProcessingRulesServer ¶
type AlertProcessingRulesServer struct { // CreateOrUpdate is the fake for method AlertProcessingRulesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, alertProcessingRuleName string, alertProcessingRule armalertsmanagement.AlertProcessingRule, options *armalertsmanagement.AlertProcessingRulesClientCreateOrUpdateOptions) (resp azfake.Responder[armalertsmanagement.AlertProcessingRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method AlertProcessingRulesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, alertProcessingRuleName string, options *armalertsmanagement.AlertProcessingRulesClientDeleteOptions) (resp azfake.Responder[armalertsmanagement.AlertProcessingRulesClientDeleteResponse], errResp azfake.ErrorResponder) // GetByName is the fake for method AlertProcessingRulesClient.GetByName // HTTP status codes to indicate success: http.StatusOK GetByName func(ctx context.Context, resourceGroupName string, alertProcessingRuleName string, options *armalertsmanagement.AlertProcessingRulesClientGetByNameOptions) (resp azfake.Responder[armalertsmanagement.AlertProcessingRulesClientGetByNameResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method AlertProcessingRulesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armalertsmanagement.AlertProcessingRulesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armalertsmanagement.AlertProcessingRulesClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method AlertProcessingRulesClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armalertsmanagement.AlertProcessingRulesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armalertsmanagement.AlertProcessingRulesClientListBySubscriptionResponse]) // Update is the fake for method AlertProcessingRulesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, alertProcessingRuleName string, alertProcessingRulePatch armalertsmanagement.PatchObject, options *armalertsmanagement.AlertProcessingRulesClientUpdateOptions) (resp azfake.Responder[armalertsmanagement.AlertProcessingRulesClientUpdateResponse], errResp azfake.ErrorResponder) }
AlertProcessingRulesServer is a fake server for instances of the armalertsmanagement.AlertProcessingRulesClient type.
type AlertProcessingRulesServerTransport ¶
type AlertProcessingRulesServerTransport struct {
// contains filtered or unexported fields
}
AlertProcessingRulesServerTransport connects instances of armalertsmanagement.AlertProcessingRulesClient to instances of AlertProcessingRulesServer. Don't use this type directly, use NewAlertProcessingRulesServerTransport instead.
func NewAlertProcessingRulesServerTransport ¶
func NewAlertProcessingRulesServerTransport(srv *AlertProcessingRulesServer) *AlertProcessingRulesServerTransport
NewAlertProcessingRulesServerTransport creates a new instance of AlertProcessingRulesServerTransport with the provided implementation. The returned AlertProcessingRulesServerTransport instance is connected to an instance of armalertsmanagement.AlertProcessingRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type AlertRuleRecommendationsServer ¶ added in v0.10.0
type AlertRuleRecommendationsServer struct { // NewListByResourcePager is the fake for method AlertRuleRecommendationsClient.NewListByResourcePager // HTTP status codes to indicate success: http.StatusOK NewListByResourcePager func(resourceURI string, options *armalertsmanagement.AlertRuleRecommendationsClientListByResourceOptions) (resp azfake.PagerResponder[armalertsmanagement.AlertRuleRecommendationsClientListByResourceResponse]) // NewListByTargetTypePager is the fake for method AlertRuleRecommendationsClient.NewListByTargetTypePager // HTTP status codes to indicate success: http.StatusOK NewListByTargetTypePager func(targetType string, options *armalertsmanagement.AlertRuleRecommendationsClientListByTargetTypeOptions) (resp azfake.PagerResponder[armalertsmanagement.AlertRuleRecommendationsClientListByTargetTypeResponse]) }
AlertRuleRecommendationsServer is a fake server for instances of the armalertsmanagement.AlertRuleRecommendationsClient type.
type AlertRuleRecommendationsServerTransport ¶ added in v0.10.0
type AlertRuleRecommendationsServerTransport struct {
// contains filtered or unexported fields
}
AlertRuleRecommendationsServerTransport connects instances of armalertsmanagement.AlertRuleRecommendationsClient to instances of AlertRuleRecommendationsServer. Don't use this type directly, use NewAlertRuleRecommendationsServerTransport instead.
func NewAlertRuleRecommendationsServerTransport ¶ added in v0.10.0
func NewAlertRuleRecommendationsServerTransport(srv *AlertRuleRecommendationsServer) *AlertRuleRecommendationsServerTransport
NewAlertRuleRecommendationsServerTransport creates a new instance of AlertRuleRecommendationsServerTransport with the provided implementation. The returned AlertRuleRecommendationsServerTransport instance is connected to an instance of armalertsmanagement.AlertRuleRecommendationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type AlertsServer ¶
type AlertsServer struct { // ChangeState is the fake for method AlertsClient.ChangeState // HTTP status codes to indicate success: http.StatusOK ChangeState func(ctx context.Context, alertID string, newState armalertsmanagement.AlertState, options *armalertsmanagement.AlertsClientChangeStateOptions) (resp azfake.Responder[armalertsmanagement.AlertsClientChangeStateResponse], errResp azfake.ErrorResponder) // NewGetAllPager is the fake for method AlertsClient.NewGetAllPager // HTTP status codes to indicate success: http.StatusOK NewGetAllPager func(options *armalertsmanagement.AlertsClientGetAllOptions) (resp azfake.PagerResponder[armalertsmanagement.AlertsClientGetAllResponse]) // GetByID is the fake for method AlertsClient.GetByID // HTTP status codes to indicate success: http.StatusOK GetByID func(ctx context.Context, alertID string, options *armalertsmanagement.AlertsClientGetByIDOptions) (resp azfake.Responder[armalertsmanagement.AlertsClientGetByIDResponse], errResp azfake.ErrorResponder) // GetHistory is the fake for method AlertsClient.GetHistory // HTTP status codes to indicate success: http.StatusOK GetHistory func(ctx context.Context, alertID string, options *armalertsmanagement.AlertsClientGetHistoryOptions) (resp azfake.Responder[armalertsmanagement.AlertsClientGetHistoryResponse], errResp azfake.ErrorResponder) // GetSummary is the fake for method AlertsClient.GetSummary // HTTP status codes to indicate success: http.StatusOK GetSummary func(ctx context.Context, groupby armalertsmanagement.AlertsSummaryGroupByFields, options *armalertsmanagement.AlertsClientGetSummaryOptions) (resp azfake.Responder[armalertsmanagement.AlertsClientGetSummaryResponse], errResp azfake.ErrorResponder) // MetaData is the fake for method AlertsClient.MetaData // HTTP status codes to indicate success: http.StatusOK MetaData func(ctx context.Context, identifier armalertsmanagement.Identifier, options *armalertsmanagement.AlertsClientMetaDataOptions) (resp azfake.Responder[armalertsmanagement.AlertsClientMetaDataResponse], errResp azfake.ErrorResponder) }
AlertsServer is a fake server for instances of the armalertsmanagement.AlertsClient type.
type AlertsServerTransport ¶
type AlertsServerTransport struct {
// contains filtered or unexported fields
}
AlertsServerTransport connects instances of armalertsmanagement.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 armalertsmanagement.AlertsClient 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 *armalertsmanagement.OperationsClientListOptions) (resp azfake.PagerResponder[armalertsmanagement.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armalertsmanagement.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armalertsmanagement.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 armalertsmanagement.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrometheusRuleGroupsServer ¶ added in v0.10.0
type PrometheusRuleGroupsServer struct { // CreateOrUpdate is the fake for method PrometheusRuleGroupsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, ruleGroupName string, parameters armalertsmanagement.PrometheusRuleGroupResource, options *armalertsmanagement.PrometheusRuleGroupsClientCreateOrUpdateOptions) (resp azfake.Responder[armalertsmanagement.PrometheusRuleGroupsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method PrometheusRuleGroupsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, ruleGroupName string, options *armalertsmanagement.PrometheusRuleGroupsClientDeleteOptions) (resp azfake.Responder[armalertsmanagement.PrometheusRuleGroupsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PrometheusRuleGroupsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, ruleGroupName string, options *armalertsmanagement.PrometheusRuleGroupsClientGetOptions) (resp azfake.Responder[armalertsmanagement.PrometheusRuleGroupsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method PrometheusRuleGroupsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armalertsmanagement.PrometheusRuleGroupsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armalertsmanagement.PrometheusRuleGroupsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method PrometheusRuleGroupsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armalertsmanagement.PrometheusRuleGroupsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armalertsmanagement.PrometheusRuleGroupsClientListBySubscriptionResponse]) // Update is the fake for method PrometheusRuleGroupsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, ruleGroupName string, parameters armalertsmanagement.PrometheusRuleGroupResourcePatch, options *armalertsmanagement.PrometheusRuleGroupsClientUpdateOptions) (resp azfake.Responder[armalertsmanagement.PrometheusRuleGroupsClientUpdateResponse], errResp azfake.ErrorResponder) }
PrometheusRuleGroupsServer is a fake server for instances of the armalertsmanagement.PrometheusRuleGroupsClient type.
type PrometheusRuleGroupsServerTransport ¶ added in v0.10.0
type PrometheusRuleGroupsServerTransport struct {
// contains filtered or unexported fields
}
PrometheusRuleGroupsServerTransport connects instances of armalertsmanagement.PrometheusRuleGroupsClient to instances of PrometheusRuleGroupsServer. Don't use this type directly, use NewPrometheusRuleGroupsServerTransport instead.
func NewPrometheusRuleGroupsServerTransport ¶ added in v0.10.0
func NewPrometheusRuleGroupsServerTransport(srv *PrometheusRuleGroupsServer) *PrometheusRuleGroupsServerTransport
NewPrometheusRuleGroupsServerTransport creates a new instance of PrometheusRuleGroupsServerTransport with the provided implementation. The returned PrometheusRuleGroupsServerTransport instance is connected to an instance of armalertsmanagement.PrometheusRuleGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AlertProcessingRulesServer AlertProcessingRulesServer AlertRuleRecommendationsServer AlertRuleRecommendationsServer AlertsServer AlertsServer OperationsServer OperationsServer PrometheusRuleGroupsServer PrometheusRuleGroupsServer SmartGroupsServer SmartGroupsServer TenantActivityLogAlertsServer TenantActivityLogAlertsServer }
ServerFactory is a fake server for instances of the armalertsmanagement.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armalertsmanagement.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 armalertsmanagement.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SmartGroupsServer ¶
type SmartGroupsServer struct { // ChangeState is the fake for method SmartGroupsClient.ChangeState // HTTP status codes to indicate success: http.StatusOK ChangeState func(ctx context.Context, smartGroupID string, newState armalertsmanagement.AlertState, options *armalertsmanagement.SmartGroupsClientChangeStateOptions) (resp azfake.Responder[armalertsmanagement.SmartGroupsClientChangeStateResponse], errResp azfake.ErrorResponder) // NewGetAllPager is the fake for method SmartGroupsClient.NewGetAllPager // HTTP status codes to indicate success: http.StatusOK NewGetAllPager func(options *armalertsmanagement.SmartGroupsClientGetAllOptions) (resp azfake.PagerResponder[armalertsmanagement.SmartGroupsClientGetAllResponse]) // GetByID is the fake for method SmartGroupsClient.GetByID // HTTP status codes to indicate success: http.StatusOK GetByID func(ctx context.Context, smartGroupID string, options *armalertsmanagement.SmartGroupsClientGetByIDOptions) (resp azfake.Responder[armalertsmanagement.SmartGroupsClientGetByIDResponse], errResp azfake.ErrorResponder) // GetHistory is the fake for method SmartGroupsClient.GetHistory // HTTP status codes to indicate success: http.StatusOK GetHistory func(ctx context.Context, smartGroupID string, options *armalertsmanagement.SmartGroupsClientGetHistoryOptions) (resp azfake.Responder[armalertsmanagement.SmartGroupsClientGetHistoryResponse], errResp azfake.ErrorResponder) }
SmartGroupsServer is a fake server for instances of the armalertsmanagement.SmartGroupsClient type.
type SmartGroupsServerTransport ¶
type SmartGroupsServerTransport struct {
// contains filtered or unexported fields
}
SmartGroupsServerTransport connects instances of armalertsmanagement.SmartGroupsClient to instances of SmartGroupsServer. Don't use this type directly, use NewSmartGroupsServerTransport instead.
func NewSmartGroupsServerTransport ¶
func NewSmartGroupsServerTransport(srv *SmartGroupsServer) *SmartGroupsServerTransport
NewSmartGroupsServerTransport creates a new instance of SmartGroupsServerTransport with the provided implementation. The returned SmartGroupsServerTransport instance is connected to an instance of armalertsmanagement.SmartGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type TenantActivityLogAlertsServer ¶ added in v0.10.0
type TenantActivityLogAlertsServer struct { // CreateOrUpdate is the fake for method TenantActivityLogAlertsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, managementGroupName string, alertRuleName string, tenantActivityLogAlertRule armalertsmanagement.TenantActivityLogAlertResource, options *armalertsmanagement.TenantActivityLogAlertsClientCreateOrUpdateOptions) (resp azfake.Responder[armalertsmanagement.TenantActivityLogAlertsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method TenantActivityLogAlertsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, managementGroupName string, alertRuleName string, options *armalertsmanagement.TenantActivityLogAlertsClientDeleteOptions) (resp azfake.Responder[armalertsmanagement.TenantActivityLogAlertsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method TenantActivityLogAlertsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, managementGroupName string, alertRuleName string, options *armalertsmanagement.TenantActivityLogAlertsClientGetOptions) (resp azfake.Responder[armalertsmanagement.TenantActivityLogAlertsClientGetResponse], errResp azfake.ErrorResponder) // NewListByManagementGroupPager is the fake for method TenantActivityLogAlertsClient.NewListByManagementGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByManagementGroupPager func(managementGroupName string, options *armalertsmanagement.TenantActivityLogAlertsClientListByManagementGroupOptions) (resp azfake.PagerResponder[armalertsmanagement.TenantActivityLogAlertsClientListByManagementGroupResponse]) // NewListByTenantPager is the fake for method TenantActivityLogAlertsClient.NewListByTenantPager // HTTP status codes to indicate success: http.StatusOK NewListByTenantPager func(options *armalertsmanagement.TenantActivityLogAlertsClientListByTenantOptions) (resp azfake.PagerResponder[armalertsmanagement.TenantActivityLogAlertsClientListByTenantResponse]) // Update is the fake for method TenantActivityLogAlertsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, managementGroupName string, alertRuleName string, tenantActivityLogAlertRulePatch armalertsmanagement.TenantAlertRulePatchObject, options *armalertsmanagement.TenantActivityLogAlertsClientUpdateOptions) (resp azfake.Responder[armalertsmanagement.TenantActivityLogAlertsClientUpdateResponse], errResp azfake.ErrorResponder) }
TenantActivityLogAlertsServer is a fake server for instances of the armalertsmanagement.TenantActivityLogAlertsClient type.
type TenantActivityLogAlertsServerTransport ¶ added in v0.10.0
type TenantActivityLogAlertsServerTransport struct {
// contains filtered or unexported fields
}
TenantActivityLogAlertsServerTransport connects instances of armalertsmanagement.TenantActivityLogAlertsClient to instances of TenantActivityLogAlertsServer. Don't use this type directly, use NewTenantActivityLogAlertsServerTransport instead.
func NewTenantActivityLogAlertsServerTransport ¶ added in v0.10.0
func NewTenantActivityLogAlertsServerTransport(srv *TenantActivityLogAlertsServer) *TenantActivityLogAlertsServerTransport
NewTenantActivityLogAlertsServerTransport creates a new instance of TenantActivityLogAlertsServerTransport with the provided implementation. The returned TenantActivityLogAlertsServerTransport instance is connected to an instance of armalertsmanagement.TenantActivityLogAlertsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.