Documentation
¶
Index ¶
- type AccountsServer
- type AccountsServerTransport
- type BillingInfoServer
- type BillingInfoServerTransport
- type ConnectedPartnerResourcesServer
- type ConnectedPartnerResourcesServerTransport
- type MonitoredSubscriptionsServer
- type MonitoredSubscriptionsServerTransport
- type MonitorsServer
- type MonitorsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type OrganizationsServer
- type OrganizationsServerTransport
- type PlansServer
- type PlansServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type TagRulesServer
- type TagRulesServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsServer ¶
type AccountsServer struct { // NewListPager is the fake for method AccountsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(userEmail string, location string, options *armnewrelicobservability.AccountsClientListOptions) (resp azfake.PagerResponder[armnewrelicobservability.AccountsClientListResponse]) }
AccountsServer is a fake server for instances of the armnewrelicobservability.AccountsClient type.
type AccountsServerTransport ¶
type AccountsServerTransport struct {
// contains filtered or unexported fields
}
AccountsServerTransport connects instances of armnewrelicobservability.AccountsClient to instances of AccountsServer. Don't use this type directly, use NewAccountsServerTransport instead.
func NewAccountsServerTransport ¶
func NewAccountsServerTransport(srv *AccountsServer) *AccountsServerTransport
NewAccountsServerTransport creates a new instance of AccountsServerTransport with the provided implementation. The returned AccountsServerTransport instance is connected to an instance of armnewrelicobservability.AccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type BillingInfoServer ¶
type BillingInfoServer struct { // Get is the fake for method BillingInfoClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, monitorName string, options *armnewrelicobservability.BillingInfoClientGetOptions) (resp azfake.Responder[armnewrelicobservability.BillingInfoClientGetResponse], errResp azfake.ErrorResponder) }
BillingInfoServer is a fake server for instances of the armnewrelicobservability.BillingInfoClient type.
type BillingInfoServerTransport ¶
type BillingInfoServerTransport struct {
// contains filtered or unexported fields
}
BillingInfoServerTransport connects instances of armnewrelicobservability.BillingInfoClient to instances of BillingInfoServer. Don't use this type directly, use NewBillingInfoServerTransport instead.
func NewBillingInfoServerTransport ¶
func NewBillingInfoServerTransport(srv *BillingInfoServer) *BillingInfoServerTransport
NewBillingInfoServerTransport creates a new instance of BillingInfoServerTransport with the provided implementation. The returned BillingInfoServerTransport instance is connected to an instance of armnewrelicobservability.BillingInfoClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ConnectedPartnerResourcesServer ¶
type ConnectedPartnerResourcesServer struct { // NewListPager is the fake for method ConnectedPartnerResourcesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, monitorName string, options *armnewrelicobservability.ConnectedPartnerResourcesClientListOptions) (resp azfake.PagerResponder[armnewrelicobservability.ConnectedPartnerResourcesClientListResponse]) }
ConnectedPartnerResourcesServer is a fake server for instances of the armnewrelicobservability.ConnectedPartnerResourcesClient type.
type ConnectedPartnerResourcesServerTransport ¶
type ConnectedPartnerResourcesServerTransport struct {
// contains filtered or unexported fields
}
ConnectedPartnerResourcesServerTransport connects instances of armnewrelicobservability.ConnectedPartnerResourcesClient to instances of ConnectedPartnerResourcesServer. Don't use this type directly, use NewConnectedPartnerResourcesServerTransport instead.
func NewConnectedPartnerResourcesServerTransport ¶
func NewConnectedPartnerResourcesServerTransport(srv *ConnectedPartnerResourcesServer) *ConnectedPartnerResourcesServerTransport
NewConnectedPartnerResourcesServerTransport creates a new instance of ConnectedPartnerResourcesServerTransport with the provided implementation. The returned ConnectedPartnerResourcesServerTransport instance is connected to an instance of armnewrelicobservability.ConnectedPartnerResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type MonitoredSubscriptionsServer ¶
type MonitoredSubscriptionsServer struct { // BeginCreateorUpdate is the fake for method MonitoredSubscriptionsClient.BeginCreateorUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateorUpdate func(ctx context.Context, resourceGroupName string, monitorName string, configurationName armnewrelicobservability.ConfigurationName, body armnewrelicobservability.MonitoredSubscriptionProperties, options *armnewrelicobservability.MonitoredSubscriptionsClientBeginCreateorUpdateOptions) (resp azfake.PollerResponder[armnewrelicobservability.MonitoredSubscriptionsClientCreateorUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method MonitoredSubscriptionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, monitorName string, configurationName armnewrelicobservability.ConfigurationName, options *armnewrelicobservability.MonitoredSubscriptionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnewrelicobservability.MonitoredSubscriptionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method MonitoredSubscriptionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, monitorName string, configurationName armnewrelicobservability.ConfigurationName, options *armnewrelicobservability.MonitoredSubscriptionsClientGetOptions) (resp azfake.Responder[armnewrelicobservability.MonitoredSubscriptionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method MonitoredSubscriptionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, monitorName string, options *armnewrelicobservability.MonitoredSubscriptionsClientListOptions) (resp azfake.PagerResponder[armnewrelicobservability.MonitoredSubscriptionsClientListResponse]) // BeginUpdate is the fake for method MonitoredSubscriptionsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, monitorName string, configurationName armnewrelicobservability.ConfigurationName, body armnewrelicobservability.MonitoredSubscriptionProperties, options *armnewrelicobservability.MonitoredSubscriptionsClientBeginUpdateOptions) (resp azfake.PollerResponder[armnewrelicobservability.MonitoredSubscriptionsClientUpdateResponse], errResp azfake.ErrorResponder) }
MonitoredSubscriptionsServer is a fake server for instances of the armnewrelicobservability.MonitoredSubscriptionsClient type.
type MonitoredSubscriptionsServerTransport ¶
type MonitoredSubscriptionsServerTransport struct {
// contains filtered or unexported fields
}
MonitoredSubscriptionsServerTransport connects instances of armnewrelicobservability.MonitoredSubscriptionsClient to instances of MonitoredSubscriptionsServer. Don't use this type directly, use NewMonitoredSubscriptionsServerTransport instead.
func NewMonitoredSubscriptionsServerTransport ¶
func NewMonitoredSubscriptionsServerTransport(srv *MonitoredSubscriptionsServer) *MonitoredSubscriptionsServerTransport
NewMonitoredSubscriptionsServerTransport creates a new instance of MonitoredSubscriptionsServerTransport with the provided implementation. The returned MonitoredSubscriptionsServerTransport instance is connected to an instance of armnewrelicobservability.MonitoredSubscriptionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type MonitorsServer ¶
type MonitorsServer struct { // BeginCreateOrUpdate is the fake for method MonitorsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, monitorName string, resource armnewrelicobservability.NewRelicMonitorResource, options *armnewrelicobservability.MonitorsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnewrelicobservability.MonitorsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method MonitorsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, userEmail string, monitorName string, options *armnewrelicobservability.MonitorsClientBeginDeleteOptions) (resp azfake.PollerResponder[armnewrelicobservability.MonitorsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method MonitorsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, monitorName string, options *armnewrelicobservability.MonitorsClientGetOptions) (resp azfake.Responder[armnewrelicobservability.MonitorsClientGetResponse], errResp azfake.ErrorResponder) // GetMetricRules is the fake for method MonitorsClient.GetMetricRules // HTTP status codes to indicate success: http.StatusOK GetMetricRules func(ctx context.Context, resourceGroupName string, monitorName string, request armnewrelicobservability.MetricsRequest, options *armnewrelicobservability.MonitorsClientGetMetricRulesOptions) (resp azfake.Responder[armnewrelicobservability.MonitorsClientGetMetricRulesResponse], errResp azfake.ErrorResponder) // GetMetricStatus is the fake for method MonitorsClient.GetMetricStatus // HTTP status codes to indicate success: http.StatusOK GetMetricStatus func(ctx context.Context, resourceGroupName string, monitorName string, request armnewrelicobservability.MetricsStatusRequest, options *armnewrelicobservability.MonitorsClientGetMetricStatusOptions) (resp azfake.Responder[armnewrelicobservability.MonitorsClientGetMetricStatusResponse], errResp azfake.ErrorResponder) // NewListAppServicesPager is the fake for method MonitorsClient.NewListAppServicesPager // HTTP status codes to indicate success: http.StatusOK NewListAppServicesPager func(resourceGroupName string, monitorName string, request armnewrelicobservability.AppServicesGetRequest, options *armnewrelicobservability.MonitorsClientListAppServicesOptions) (resp azfake.PagerResponder[armnewrelicobservability.MonitorsClientListAppServicesResponse]) // NewListByResourceGroupPager is the fake for method MonitorsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armnewrelicobservability.MonitorsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armnewrelicobservability.MonitorsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method MonitorsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armnewrelicobservability.MonitorsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armnewrelicobservability.MonitorsClientListBySubscriptionResponse]) // NewListHostsPager is the fake for method MonitorsClient.NewListHostsPager // HTTP status codes to indicate success: http.StatusOK NewListHostsPager func(resourceGroupName string, monitorName string, request armnewrelicobservability.HostsGetRequest, options *armnewrelicobservability.MonitorsClientListHostsOptions) (resp azfake.PagerResponder[armnewrelicobservability.MonitorsClientListHostsResponse]) // NewListLinkedResourcesPager is the fake for method MonitorsClient.NewListLinkedResourcesPager // HTTP status codes to indicate success: http.StatusOK NewListLinkedResourcesPager func(resourceGroupName string, monitorName string, options *armnewrelicobservability.MonitorsClientListLinkedResourcesOptions) (resp azfake.PagerResponder[armnewrelicobservability.MonitorsClientListLinkedResourcesResponse]) // NewListMonitoredResourcesPager is the fake for method MonitorsClient.NewListMonitoredResourcesPager // HTTP status codes to indicate success: http.StatusOK NewListMonitoredResourcesPager func(resourceGroupName string, monitorName string, options *armnewrelicobservability.MonitorsClientListMonitoredResourcesOptions) (resp azfake.PagerResponder[armnewrelicobservability.MonitorsClientListMonitoredResourcesResponse]) // SwitchBilling is the fake for method MonitorsClient.SwitchBilling // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent SwitchBilling func(ctx context.Context, resourceGroupName string, monitorName string, request armnewrelicobservability.SwitchBillingRequest, options *armnewrelicobservability.MonitorsClientSwitchBillingOptions) (resp azfake.Responder[armnewrelicobservability.MonitorsClientSwitchBillingResponse], errResp azfake.ErrorResponder) // Update is the fake for method MonitorsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, monitorName string, properties armnewrelicobservability.NewRelicMonitorResourceUpdate, options *armnewrelicobservability.MonitorsClientUpdateOptions) (resp azfake.Responder[armnewrelicobservability.MonitorsClientUpdateResponse], errResp azfake.ErrorResponder) // VMHostPayload is the fake for method MonitorsClient.VMHostPayload // HTTP status codes to indicate success: http.StatusOK VMHostPayload func(ctx context.Context, resourceGroupName string, monitorName string, options *armnewrelicobservability.MonitorsClientVMHostPayloadOptions) (resp azfake.Responder[armnewrelicobservability.MonitorsClientVMHostPayloadResponse], errResp azfake.ErrorResponder) }
MonitorsServer is a fake server for instances of the armnewrelicobservability.MonitorsClient type.
type MonitorsServerTransport ¶
type MonitorsServerTransport struct {
// contains filtered or unexported fields
}
MonitorsServerTransport connects instances of armnewrelicobservability.MonitorsClient to instances of MonitorsServer. Don't use this type directly, use NewMonitorsServerTransport instead.
func NewMonitorsServerTransport ¶
func NewMonitorsServerTransport(srv *MonitorsServer) *MonitorsServerTransport
NewMonitorsServerTransport creates a new instance of MonitorsServerTransport with the provided implementation. The returned MonitorsServerTransport instance is connected to an instance of armnewrelicobservability.MonitorsClient 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 *armnewrelicobservability.OperationsClientListOptions) (resp azfake.PagerResponder[armnewrelicobservability.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armnewrelicobservability.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armnewrelicobservability.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 armnewrelicobservability.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OrganizationsServer ¶
type OrganizationsServer struct { // NewListPager is the fake for method OrganizationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(userEmail string, location string, options *armnewrelicobservability.OrganizationsClientListOptions) (resp azfake.PagerResponder[armnewrelicobservability.OrganizationsClientListResponse]) }
OrganizationsServer is a fake server for instances of the armnewrelicobservability.OrganizationsClient type.
type OrganizationsServerTransport ¶
type OrganizationsServerTransport struct {
// contains filtered or unexported fields
}
OrganizationsServerTransport connects instances of armnewrelicobservability.OrganizationsClient to instances of OrganizationsServer. Don't use this type directly, use NewOrganizationsServerTransport instead.
func NewOrganizationsServerTransport ¶
func NewOrganizationsServerTransport(srv *OrganizationsServer) *OrganizationsServerTransport
NewOrganizationsServerTransport creates a new instance of OrganizationsServerTransport with the provided implementation. The returned OrganizationsServerTransport instance is connected to an instance of armnewrelicobservability.OrganizationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PlansServer ¶
type PlansServer struct { // NewListPager is the fake for method PlansClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armnewrelicobservability.PlansClientListOptions) (resp azfake.PagerResponder[armnewrelicobservability.PlansClientListResponse]) }
PlansServer is a fake server for instances of the armnewrelicobservability.PlansClient type.
type PlansServerTransport ¶
type PlansServerTransport struct {
// contains filtered or unexported fields
}
PlansServerTransport connects instances of armnewrelicobservability.PlansClient to instances of PlansServer. Don't use this type directly, use NewPlansServerTransport instead.
func NewPlansServerTransport ¶
func NewPlansServerTransport(srv *PlansServer) *PlansServerTransport
NewPlansServerTransport creates a new instance of PlansServerTransport with the provided implementation. The returned PlansServerTransport instance is connected to an instance of armnewrelicobservability.PlansClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AccountsServer AccountsServer BillingInfoServer BillingInfoServer ConnectedPartnerResourcesServer ConnectedPartnerResourcesServer MonitoredSubscriptionsServer MonitoredSubscriptionsServer MonitorsServer MonitorsServer OperationsServer OperationsServer OrganizationsServer OrganizationsServer PlansServer PlansServer TagRulesServer TagRulesServer }
ServerFactory is a fake server for instances of the armnewrelicobservability.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armnewrelicobservability.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 armnewrelicobservability.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type TagRulesServer ¶
type TagRulesServer struct { // BeginCreateOrUpdate is the fake for method TagRulesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, resource armnewrelicobservability.TagRule, options *armnewrelicobservability.TagRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armnewrelicobservability.TagRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method TagRulesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, options *armnewrelicobservability.TagRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armnewrelicobservability.TagRulesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method TagRulesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, options *armnewrelicobservability.TagRulesClientGetOptions) (resp azfake.Responder[armnewrelicobservability.TagRulesClientGetResponse], errResp azfake.ErrorResponder) // NewListByNewRelicMonitorResourcePager is the fake for method TagRulesClient.NewListByNewRelicMonitorResourcePager // HTTP status codes to indicate success: http.StatusOK NewListByNewRelicMonitorResourcePager func(resourceGroupName string, monitorName string, options *armnewrelicobservability.TagRulesClientListByNewRelicMonitorResourceOptions) (resp azfake.PagerResponder[armnewrelicobservability.TagRulesClientListByNewRelicMonitorResourceResponse]) // Update is the fake for method TagRulesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, properties armnewrelicobservability.TagRuleUpdate, options *armnewrelicobservability.TagRulesClientUpdateOptions) (resp azfake.Responder[armnewrelicobservability.TagRulesClientUpdateResponse], errResp azfake.ErrorResponder) }
TagRulesServer is a fake server for instances of the armnewrelicobservability.TagRulesClient type.
type TagRulesServerTransport ¶
type TagRulesServerTransport struct {
// contains filtered or unexported fields
}
TagRulesServerTransport connects instances of armnewrelicobservability.TagRulesClient to instances of TagRulesServer. Don't use this type directly, use NewTagRulesServerTransport instead.
func NewTagRulesServerTransport ¶
func NewTagRulesServerTransport(srv *TagRulesServer) *TagRulesServerTransport
NewTagRulesServerTransport creates a new instance of TagRulesServerTransport with the provided implementation. The returned TagRulesServerTransport instance is connected to an instance of armnewrelicobservability.TagRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.