Documentation ¶
Index ¶
- func PossibleValuesForAccountCreationSource() []string
- func PossibleValuesForLiftrResourceCategories() []string
- func PossibleValuesForMarketplaceSubscriptionStatus() []string
- func PossibleValuesForMonitoringStatus() []string
- func PossibleValuesForOrgCreationSource() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSendMetricsStatus() []string
- func PossibleValuesForSendingLogsStatus() []string
- func PossibleValuesForSendingMetricsStatus() []string
- func PossibleValuesForSingleSignOnStates() []string
- func PossibleValuesForTagAction() []string
- func PossibleValuesForUsageType() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type AccountCreationSource
- type AccountInfo
- type AppServiceInfo
- type AppServiceInfoOperationPredicate
- type AppServicesGetRequest
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type FilteringTag
- type GetMetricRulesOperationResponse
- type GetMetricStatusOperationResponse
- type GetOperationResponse
- type HostsGetRequest
- type LiftrResourceCategories
- type ListAppServicesCompleteResult
- type ListAppServicesCustomPager
- type ListAppServicesOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListHostsCompleteResult
- type ListHostsCustomPager
- type ListHostsOperationResponse
- type ListMonitoredResourcesCompleteResult
- type ListMonitoredResourcesCustomPager
- type ListMonitoredResourcesOperationResponse
- type MarketplaceSubscriptionStatus
- type MetricRules
- type MetricsRequest
- type MetricsStatusRequest
- type MetricsStatusResponse
- type MonitorId
- type MonitorProperties
- type MonitoredResource
- type MonitoredResourceOperationPredicate
- type MonitoringStatus
- type MonitorsClient
- func (c MonitorsClient) CreateOrUpdate(ctx context.Context, id MonitorId, input NewRelicMonitorResource) (result CreateOrUpdateOperationResponse, err error)
- func (c MonitorsClient) CreateOrUpdateThenPoll(ctx context.Context, id MonitorId, input NewRelicMonitorResource) error
- func (c MonitorsClient) Delete(ctx context.Context, id MonitorId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c MonitorsClient) DeleteThenPoll(ctx context.Context, id MonitorId, options DeleteOperationOptions) error
- func (c MonitorsClient) Get(ctx context.Context, id MonitorId) (result GetOperationResponse, err error)
- func (c MonitorsClient) GetMetricRules(ctx context.Context, id MonitorId, input MetricsRequest) (result GetMetricRulesOperationResponse, err error)
- func (c MonitorsClient) GetMetricStatus(ctx context.Context, id MonitorId, input MetricsStatusRequest) (result GetMetricStatusOperationResponse, err error)
- func (c MonitorsClient) ListAppServices(ctx context.Context, id MonitorId, input AppServicesGetRequest) (result ListAppServicesOperationResponse, err error)
- func (c MonitorsClient) ListAppServicesComplete(ctx context.Context, id MonitorId, input AppServicesGetRequest) (ListAppServicesCompleteResult, error)
- func (c MonitorsClient) ListAppServicesCompleteMatchingPredicate(ctx context.Context, id MonitorId, input AppServicesGetRequest, ...) (result ListAppServicesCompleteResult, err error)
- func (c MonitorsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c MonitorsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c MonitorsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c MonitorsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c MonitorsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c MonitorsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c MonitorsClient) ListHosts(ctx context.Context, id MonitorId, input HostsGetRequest) (result ListHostsOperationResponse, err error)
- func (c MonitorsClient) ListHostsComplete(ctx context.Context, id MonitorId, input HostsGetRequest) (ListHostsCompleteResult, error)
- func (c MonitorsClient) ListHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, input HostsGetRequest, ...) (result ListHostsCompleteResult, err error)
- func (c MonitorsClient) ListMonitoredResources(ctx context.Context, id MonitorId) (result ListMonitoredResourcesOperationResponse, err error)
- func (c MonitorsClient) ListMonitoredResourcesComplete(ctx context.Context, id MonitorId) (ListMonitoredResourcesCompleteResult, error)
- func (c MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result ListMonitoredResourcesCompleteResult, err error)
- func (c MonitorsClient) SwitchBilling(ctx context.Context, id MonitorId, input SwitchBillingRequest) (result SwitchBillingOperationResponse, err error)
- func (c MonitorsClient) Update(ctx context.Context, id MonitorId, input NewRelicMonitorResourceUpdate) (result UpdateOperationResponse, err error)
- func (c MonitorsClient) UpdateThenPoll(ctx context.Context, id MonitorId, input NewRelicMonitorResourceUpdate) error
- func (c MonitorsClient) VMHostPayload(ctx context.Context, id MonitorId) (result VMHostPayloadOperationResponse, err error)
- type NewRelicAccountProperties
- type NewRelicMonitorResource
- type NewRelicMonitorResourceOperationPredicate
- type NewRelicMonitorResourceUpdate
- type NewRelicMonitorResourceUpdateProperties
- type NewRelicSingleSignOnProperties
- type OrgCreationSource
- type OrganizationInfo
- type PlanData
- type ProvisioningState
- type SendMetricsStatus
- type SendingLogsStatus
- type SendingMetricsStatus
- type SingleSignOnStates
- type SwitchBillingOperationResponse
- type SwitchBillingRequest
- type TagAction
- type UpdateOperationResponse
- type UsageType
- type UserInfo
- type VMExtensionPayload
- type VMHostPayloadOperationResponse
- type VMInfo
- type VMInfoOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccountCreationSource ¶
func PossibleValuesForAccountCreationSource() []string
func PossibleValuesForLiftrResourceCategories ¶
func PossibleValuesForLiftrResourceCategories() []string
func PossibleValuesForMarketplaceSubscriptionStatus ¶
func PossibleValuesForMarketplaceSubscriptionStatus() []string
func PossibleValuesForMonitoringStatus ¶
func PossibleValuesForMonitoringStatus() []string
func PossibleValuesForOrgCreationSource ¶
func PossibleValuesForOrgCreationSource() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSendMetricsStatus ¶
func PossibleValuesForSendMetricsStatus() []string
func PossibleValuesForSendingLogsStatus ¶
func PossibleValuesForSendingLogsStatus() []string
func PossibleValuesForSendingMetricsStatus ¶
func PossibleValuesForSendingMetricsStatus() []string
func PossibleValuesForSingleSignOnStates ¶
func PossibleValuesForSingleSignOnStates() []string
func PossibleValuesForTagAction ¶
func PossibleValuesForTagAction() []string
func PossibleValuesForUsageType ¶
func PossibleValuesForUsageType() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type AccountCreationSource ¶
type AccountCreationSource string
const ( AccountCreationSourceLIFTR AccountCreationSource = "LIFTR" AccountCreationSourceNEWRELIC AccountCreationSource = "NEWRELIC" )
func (*AccountCreationSource) UnmarshalJSON ¶
func (s *AccountCreationSource) UnmarshalJSON(bytes []byte) error
type AccountInfo ¶
type AppServiceInfo ¶
type AppServiceInfoOperationPredicate ¶
type AppServiceInfoOperationPredicate struct { AgentStatus *string AgentVersion *string AzureResourceId *string }
func (AppServiceInfoOperationPredicate) Matches ¶
func (p AppServiceInfoOperationPredicate) Matches(input AppServiceInfo) bool
type AppServicesGetRequest ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
UserEmail *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type FilteringTag ¶
type GetMetricRulesOperationResponse ¶
type GetMetricRulesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MetricRules }
type GetMetricStatusOperationResponse ¶
type GetMetricStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MetricsStatusResponse }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NewRelicMonitorResource }
type HostsGetRequest ¶
type LiftrResourceCategories ¶
type LiftrResourceCategories string
const ( LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" )
func (*LiftrResourceCategories) UnmarshalJSON ¶
func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error
type ListAppServicesCompleteResult ¶
type ListAppServicesCompleteResult struct { LatestHttpResponse *http.Response Items []AppServiceInfo }
type ListAppServicesCustomPager ¶ added in v0.20240628.1153531
func (*ListAppServicesCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListAppServicesCustomPager) NextPageLink() *odata.Link
type ListAppServicesOperationResponse ¶
type ListAppServicesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AppServiceInfo }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []NewRelicMonitorResource }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NewRelicMonitorResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []NewRelicMonitorResource }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NewRelicMonitorResource }
type ListHostsCompleteResult ¶
type ListHostsCustomPager ¶ added in v0.20240628.1153531
func (*ListHostsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListHostsCustomPager) NextPageLink() *odata.Link
type ListMonitoredResourcesCompleteResult ¶
type ListMonitoredResourcesCompleteResult struct { LatestHttpResponse *http.Response Items []MonitoredResource }
type ListMonitoredResourcesCustomPager ¶ added in v0.20240628.1153531
func (*ListMonitoredResourcesCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListMonitoredResourcesCustomPager) NextPageLink() *odata.Link
type ListMonitoredResourcesOperationResponse ¶
type ListMonitoredResourcesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoredResource }
type MarketplaceSubscriptionStatus ¶
type MarketplaceSubscriptionStatus string
const ( MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" )
func (*MarketplaceSubscriptionStatus) UnmarshalJSON ¶
func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type MetricRules ¶
type MetricRules struct { FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` SendMetrics *SendMetricsStatus `json:"sendMetrics,omitempty"` UserEmail *string `json:"userEmail,omitempty"` }
type MetricsRequest ¶
type MetricsRequest struct {
UserEmail string `json:"userEmail"`
}
type MetricsStatusRequest ¶
type MetricsStatusResponse ¶
type MetricsStatusResponse struct {
AzureResourceIds *[]string `json:"azureResourceIds,omitempty"`
}
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (*MonitorId) FromParseResult ¶
func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type MonitorProperties ¶
type MonitorProperties struct { AccountCreationSource *AccountCreationSource `json:"accountCreationSource,omitempty"` LiftrResourceCategory *LiftrResourceCategories `json:"liftrResourceCategory,omitempty"` LiftrResourcePreference *int64 `json:"liftrResourcePreference,omitempty"` MarketplaceSubscriptionId *string `json:"marketplaceSubscriptionId,omitempty"` MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"` MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"` NewRelicAccountProperties *NewRelicAccountProperties `json:"newRelicAccountProperties,omitempty"` OrgCreationSource *OrgCreationSource `json:"orgCreationSource,omitempty"` PlanData *PlanData `json:"planData,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SaaSAzureSubscriptionStatus *string `json:"saaSAzureSubscriptionStatus,omitempty"` SubscriptionState *string `json:"subscriptionState,omitempty"` UserInfo *UserInfo `json:"userInfo,omitempty"` }
type MonitoredResource ¶
type MonitoredResource struct { Id *string `json:"id,omitempty"` ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"` ReasonForMetricsStatus *string `json:"reasonForMetricsStatus,omitempty"` SendingLogs *SendingLogsStatus `json:"sendingLogs,omitempty"` SendingMetrics *SendingMetricsStatus `json:"sendingMetrics,omitempty"` }
type MonitoredResourceOperationPredicate ¶
type MonitoredResourceOperationPredicate struct { Id *string ReasonForLogsStatus *string ReasonForMetricsStatus *string }
func (MonitoredResourceOperationPredicate) Matches ¶
func (p MonitoredResourceOperationPredicate) Matches(input MonitoredResource) bool
type MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
func (*MonitoringStatus) UnmarshalJSON ¶
func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error
type MonitorsClient ¶
type MonitorsClient struct {
Client *resourcemanager.Client
}
func NewMonitorsClientWithBaseURI ¶
func NewMonitorsClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitorsClient, error)
func (MonitorsClient) CreateOrUpdate ¶
func (c MonitorsClient) CreateOrUpdate(ctx context.Context, id MonitorId, input NewRelicMonitorResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MonitorsClient) CreateOrUpdateThenPoll ¶
func (c MonitorsClient) CreateOrUpdateThenPoll(ctx context.Context, id MonitorId, input NewRelicMonitorResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (MonitorsClient) Delete ¶
func (c MonitorsClient) Delete(ctx context.Context, id MonitorId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (MonitorsClient) DeleteThenPoll ¶
func (c MonitorsClient) DeleteThenPoll(ctx context.Context, id MonitorId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (MonitorsClient) Get ¶
func (c MonitorsClient) Get(ctx context.Context, id MonitorId) (result GetOperationResponse, err error)
Get ...
func (MonitorsClient) GetMetricRules ¶
func (c MonitorsClient) GetMetricRules(ctx context.Context, id MonitorId, input MetricsRequest) (result GetMetricRulesOperationResponse, err error)
GetMetricRules ...
func (MonitorsClient) GetMetricStatus ¶
func (c MonitorsClient) GetMetricStatus(ctx context.Context, id MonitorId, input MetricsStatusRequest) (result GetMetricStatusOperationResponse, err error)
GetMetricStatus ...
func (MonitorsClient) ListAppServices ¶
func (c MonitorsClient) ListAppServices(ctx context.Context, id MonitorId, input AppServicesGetRequest) (result ListAppServicesOperationResponse, err error)
ListAppServices ...
func (MonitorsClient) ListAppServicesComplete ¶
func (c MonitorsClient) ListAppServicesComplete(ctx context.Context, id MonitorId, input AppServicesGetRequest) (ListAppServicesCompleteResult, error)
ListAppServicesComplete retrieves all the results into a single object
func (MonitorsClient) ListAppServicesCompleteMatchingPredicate ¶
func (c MonitorsClient) ListAppServicesCompleteMatchingPredicate(ctx context.Context, id MonitorId, input AppServicesGetRequest, predicate AppServiceInfoOperationPredicate) (result ListAppServicesCompleteResult, err error)
ListAppServicesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) ListByResourceGroup ¶
func (c MonitorsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (MonitorsClient) ListByResourceGroupComplete ¶
func (c MonitorsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (MonitorsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c MonitorsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate NewRelicMonitorResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) ListBySubscription ¶
func (c MonitorsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (MonitorsClient) ListBySubscriptionComplete ¶
func (c MonitorsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (MonitorsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c MonitorsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate NewRelicMonitorResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) ListHosts ¶
func (c MonitorsClient) ListHosts(ctx context.Context, id MonitorId, input HostsGetRequest) (result ListHostsOperationResponse, err error)
ListHosts ...
func (MonitorsClient) ListHostsComplete ¶
func (c MonitorsClient) ListHostsComplete(ctx context.Context, id MonitorId, input HostsGetRequest) (ListHostsCompleteResult, error)
ListHostsComplete retrieves all the results into a single object
func (MonitorsClient) ListHostsCompleteMatchingPredicate ¶
func (c MonitorsClient) ListHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, input HostsGetRequest, predicate VMInfoOperationPredicate) (result ListHostsCompleteResult, err error)
ListHostsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) ListMonitoredResources ¶
func (c MonitorsClient) ListMonitoredResources(ctx context.Context, id MonitorId) (result ListMonitoredResourcesOperationResponse, err error)
ListMonitoredResources ...
func (MonitorsClient) ListMonitoredResourcesComplete ¶
func (c MonitorsClient) ListMonitoredResourcesComplete(ctx context.Context, id MonitorId) (ListMonitoredResourcesCompleteResult, error)
ListMonitoredResourcesComplete retrieves all the results into a single object
func (MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate ¶
func (c MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoredResourceOperationPredicate) (result ListMonitoredResourcesCompleteResult, err error)
ListMonitoredResourcesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) SwitchBilling ¶
func (c MonitorsClient) SwitchBilling(ctx context.Context, id MonitorId, input SwitchBillingRequest) (result SwitchBillingOperationResponse, err error)
SwitchBilling ...
func (MonitorsClient) Update ¶
func (c MonitorsClient) Update(ctx context.Context, id MonitorId, input NewRelicMonitorResourceUpdate) (result UpdateOperationResponse, err error)
Update ...
func (MonitorsClient) UpdateThenPoll ¶
func (c MonitorsClient) UpdateThenPoll(ctx context.Context, id MonitorId, input NewRelicMonitorResourceUpdate) error
UpdateThenPoll performs Update then polls until it's completed
func (MonitorsClient) VMHostPayload ¶
func (c MonitorsClient) VMHostPayload(ctx context.Context, id MonitorId) (result VMHostPayloadOperationResponse, err error)
VMHostPayload ...
type NewRelicAccountProperties ¶
type NewRelicAccountProperties struct { AccountInfo *AccountInfo `json:"accountInfo,omitempty"` OrganizationInfo *OrganizationInfo `json:"organizationInfo,omitempty"` SingleSignOnProperties *NewRelicSingleSignOnProperties `json:"singleSignOnProperties,omitempty"` UserId *string `json:"userId,omitempty"` }
type NewRelicMonitorResource ¶
type NewRelicMonitorResource struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties MonitorProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NewRelicMonitorResourceOperationPredicate ¶
type NewRelicMonitorResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (NewRelicMonitorResourceOperationPredicate) Matches ¶
func (p NewRelicMonitorResourceOperationPredicate) Matches(input NewRelicMonitorResource) bool
type NewRelicMonitorResourceUpdate ¶
type NewRelicMonitorResourceUpdate struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Properties *NewRelicMonitorResourceUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type NewRelicMonitorResourceUpdateProperties ¶
type NewRelicMonitorResourceUpdateProperties struct { AccountCreationSource *AccountCreationSource `json:"accountCreationSource,omitempty"` NewRelicAccountProperties *NewRelicAccountProperties `json:"newRelicAccountProperties,omitempty"` OrgCreationSource *OrgCreationSource `json:"orgCreationSource,omitempty"` PlanData *PlanData `json:"planData,omitempty"` UserInfo *UserInfo `json:"userInfo,omitempty"` }
type NewRelicSingleSignOnProperties ¶
type NewRelicSingleSignOnProperties struct { EnterpriseAppId *string `json:"enterpriseAppId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SingleSignOnState *SingleSignOnStates `json:"singleSignOnState,omitempty"` SingleSignOnUrl *string `json:"singleSignOnUrl,omitempty"` }
type OrgCreationSource ¶
type OrgCreationSource string
const ( OrgCreationSourceLIFTR OrgCreationSource = "LIFTR" OrgCreationSourceNEWRELIC OrgCreationSource = "NEWRELIC" )
func (*OrgCreationSource) UnmarshalJSON ¶
func (s *OrgCreationSource) UnmarshalJSON(bytes []byte) error
type OrganizationInfo ¶
type OrganizationInfo struct {
OrganizationId *string `json:"organizationId,omitempty"`
}
type PlanData ¶
type PlanData struct { BillingCycle *string `json:"billingCycle,omitempty"` EffectiveDate *string `json:"effectiveDate,omitempty"` PlanDetails *string `json:"planDetails,omitempty"` UsageType *UsageType `json:"usageType,omitempty"` }
func (*PlanData) GetEffectiveDateAsTime ¶
func (*PlanData) SetEffectiveDateAsTime ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SendMetricsStatus ¶
type SendMetricsStatus string
const ( SendMetricsStatusDisabled SendMetricsStatus = "Disabled" SendMetricsStatusEnabled SendMetricsStatus = "Enabled" )
func (*SendMetricsStatus) UnmarshalJSON ¶
func (s *SendMetricsStatus) UnmarshalJSON(bytes []byte) error
type SendingLogsStatus ¶
type SendingLogsStatus string
const ( SendingLogsStatusDisabled SendingLogsStatus = "Disabled" SendingLogsStatusEnabled SendingLogsStatus = "Enabled" )
func (*SendingLogsStatus) UnmarshalJSON ¶
func (s *SendingLogsStatus) UnmarshalJSON(bytes []byte) error
type SendingMetricsStatus ¶
type SendingMetricsStatus string
const ( SendingMetricsStatusDisabled SendingMetricsStatus = "Disabled" SendingMetricsStatusEnabled SendingMetricsStatus = "Enabled" )
func (*SendingMetricsStatus) UnmarshalJSON ¶
func (s *SendingMetricsStatus) UnmarshalJSON(bytes []byte) error
type SingleSignOnStates ¶
type SingleSignOnStates string
const ( SingleSignOnStatesDisable SingleSignOnStates = "Disable" SingleSignOnStatesEnable SingleSignOnStates = "Enable" SingleSignOnStatesExisting SingleSignOnStates = "Existing" SingleSignOnStatesInitial SingleSignOnStates = "Initial" )
func (*SingleSignOnStates) UnmarshalJSON ¶
func (s *SingleSignOnStates) UnmarshalJSON(bytes []byte) error
type SwitchBillingOperationResponse ¶
type SwitchBillingOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NewRelicMonitorResource }
type SwitchBillingRequest ¶
type UpdateOperationResponse ¶
type VMExtensionPayload ¶
type VMExtensionPayload struct {
IngestionKey *string `json:"ingestionKey,omitempty"`
}
type VMHostPayloadOperationResponse ¶
type VMHostPayloadOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VMExtensionPayload }
type VMInfoOperationPredicate ¶
func (VMInfoOperationPredicate) Matches ¶
func (p VMInfoOperationPredicate) Matches(input VMInfo) bool
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getmetricrules.go
- method_getmetricstatus.go
- method_listappservices.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listhosts.go
- method_listmonitoredresources.go
- method_switchbilling.go
- method_update.go
- method_vmhostpayload.go
- model_accountinfo.go
- model_appserviceinfo.go
- model_appservicesgetrequest.go
- model_filteringtag.go
- model_hostsgetrequest.go
- model_metricrules.go
- model_metricsrequest.go
- model_metricsstatusrequest.go
- model_metricsstatusresponse.go
- model_monitoredresource.go
- model_monitorproperties.go
- model_newrelicaccountproperties.go
- model_newrelicmonitorresource.go
- model_newrelicmonitorresourceupdate.go
- model_newrelicmonitorresourceupdateproperties.go
- model_newrelicsinglesignonproperties.go
- model_organizationinfo.go
- model_plandata.go
- model_switchbillingrequest.go
- model_userinfo.go
- model_vmextensionpayload.go
- model_vminfo.go
- predicates.go
- version.go