Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 string + const AccountCreationSourceLIFTR + const AccountCreationSourceNEWRELIC + func (s *AccountCreationSource) UnmarshalJSON(bytes []byte) error + type AccountInfo struct + AccountId *string + IngestionKey *string + Region *string + type AppServiceInfo struct + AgentStatus *string + AgentVersion *string + AzureResourceId *string + type AppServiceInfoOperationPredicate struct + AgentStatus *string + AgentVersion *string + AzureResourceId *string + func (p AppServiceInfoOperationPredicate) Matches(input AppServiceInfo) bool + type AppServicesGetRequest struct + AzureResourceIds *[]string + UserEmail string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *NewRelicMonitorResource + OData *odata.OData + Poller pollers.Poller + type DeleteOperationOptions struct + UserEmail *string + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type FilteringTag struct + Action *TagAction + Name *string + Value *string + type GetMetricRulesOperationResponse struct + HttpResponse *http.Response + Model *MetricRules + OData *odata.OData + type GetMetricStatusOperationResponse struct + HttpResponse *http.Response + Model *MetricsStatusResponse + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *NewRelicMonitorResource + OData *odata.OData + type HostsGetRequest struct + UserEmail string + VMIds *[]string + type LiftrResourceCategories string + const LiftrResourceCategoriesMonitorLogs + const LiftrResourceCategoriesUnknown + func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error + type ListAppServicesCompleteResult struct + Items []AppServiceInfo + LatestHttpResponse *http.Response + type ListAppServicesCustomPager struct + NextLink *odata.Link + func (p *ListAppServicesCustomPager) NextPageLink() *odata.Link + type ListAppServicesOperationResponse struct + HttpResponse *http.Response + Model *[]AppServiceInfo + OData *odata.OData + type ListByResourceGroupCompleteResult struct + Items []NewRelicMonitorResource + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]NewRelicMonitorResource + OData *odata.OData + type ListBySubscriptionCompleteResult struct + Items []NewRelicMonitorResource + LatestHttpResponse *http.Response + type ListBySubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link + type ListBySubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]NewRelicMonitorResource + OData *odata.OData + type ListHostsCompleteResult struct + Items []VMInfo + LatestHttpResponse *http.Response + type ListHostsCustomPager struct + NextLink *odata.Link + func (p *ListHostsCustomPager) NextPageLink() *odata.Link + type ListHostsOperationResponse struct + HttpResponse *http.Response + Model *[]VMInfo + OData *odata.OData + type ListMonitoredResourcesCompleteResult struct + Items []MonitoredResource + LatestHttpResponse *http.Response + type ListMonitoredResourcesCustomPager struct + NextLink *odata.Link + func (p *ListMonitoredResourcesCustomPager) NextPageLink() *odata.Link + type ListMonitoredResourcesOperationResponse struct + HttpResponse *http.Response + Model *[]MonitoredResource + OData *odata.OData + type MarketplaceSubscriptionStatus string + const MarketplaceSubscriptionStatusActive + const MarketplaceSubscriptionStatusSuspended + func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error + type MetricRules struct + FilteringTags *[]FilteringTag + SendMetrics *SendMetricsStatus + UserEmail *string + type MetricsRequest struct + UserEmail string + type MetricsStatusRequest struct + AzureResourceIds *[]string + UserEmail string + type MetricsStatusResponse struct + AzureResourceIds *[]string + type MonitorId struct + MonitorName string + ResourceGroupName string + SubscriptionId string + func NewMonitorID(subscriptionId string, resourceGroupName string, monitorName string) MonitorId + func ParseMonitorID(input string) (*MonitorId, error) + func ParseMonitorIDInsensitively(input string) (*MonitorId, error) + func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error + func (id MonitorId) ID() string + func (id MonitorId) Segments() []resourceids.Segment + func (id MonitorId) String() string + type MonitorProperties struct + AccountCreationSource *AccountCreationSource + LiftrResourceCategory *LiftrResourceCategories + LiftrResourcePreference *int64 + MarketplaceSubscriptionId *string + MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus + MonitoringStatus *MonitoringStatus + NewRelicAccountProperties *NewRelicAccountProperties + OrgCreationSource *OrgCreationSource + PlanData *PlanData + ProvisioningState *ProvisioningState + SaaSAzureSubscriptionStatus *string + SubscriptionState *string + UserInfo *UserInfo + type MonitoredResource struct + Id *string + ReasonForLogsStatus *string + ReasonForMetricsStatus *string + SendingLogs *SendingLogsStatus + SendingMetrics *SendingMetricsStatus + type MonitoredResourceOperationPredicate struct + Id *string + ReasonForLogsStatus *string + ReasonForMetricsStatus *string + func (p MonitoredResourceOperationPredicate) Matches(input MonitoredResource) bool + type MonitoringStatus string + const MonitoringStatusDisabled + const MonitoringStatusEnabled + func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error + type MonitorsClient struct + Client *resourcemanager.Client + func NewMonitorsClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitorsClient, error) + 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 struct + AccountInfo *AccountInfo + OrganizationInfo *OrganizationInfo + SingleSignOnProperties *NewRelicSingleSignOnProperties + UserId *string + type NewRelicMonitorResource struct + Id *string + Identity *identity.SystemAssigned + Location string + Name *string + Properties MonitorProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type NewRelicMonitorResourceOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p NewRelicMonitorResourceOperationPredicate) Matches(input NewRelicMonitorResource) bool + type NewRelicMonitorResourceUpdate struct + Identity *identity.SystemAssigned + Properties *NewRelicMonitorResourceUpdateProperties + Tags *map[string]string + type NewRelicMonitorResourceUpdateProperties struct + AccountCreationSource *AccountCreationSource + NewRelicAccountProperties *NewRelicAccountProperties + OrgCreationSource *OrgCreationSource + PlanData *PlanData + UserInfo *UserInfo + type NewRelicSingleSignOnProperties struct + EnterpriseAppId *string + ProvisioningState *ProvisioningState + SingleSignOnState *SingleSignOnStates + SingleSignOnURL *string + type OrgCreationSource string + const OrgCreationSourceLIFTR + const OrgCreationSourceNEWRELIC + func (s *OrgCreationSource) UnmarshalJSON(bytes []byte) error + type OrganizationInfo struct + OrganizationId *string + type PlanData struct + BillingCycle *string + EffectiveDate *string + PlanDetails *string + UsageType *UsageType + func (o *PlanData) GetEffectiveDateAsTime() (*time.Time, error) + func (o *PlanData) SetEffectiveDateAsTime(input time.Time) + type ProvisioningState string + const ProvisioningStateAccepted + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleted + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateNotSpecified + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type SendMetricsStatus string + const SendMetricsStatusDisabled + const SendMetricsStatusEnabled + func (s *SendMetricsStatus) UnmarshalJSON(bytes []byte) error + type SendingLogsStatus string + const SendingLogsStatusDisabled + const SendingLogsStatusEnabled + func (s *SendingLogsStatus) UnmarshalJSON(bytes []byte) error + type SendingMetricsStatus string + const SendingMetricsStatusDisabled + const SendingMetricsStatusEnabled + func (s *SendingMetricsStatus) UnmarshalJSON(bytes []byte) error + type SingleSignOnStates string + const SingleSignOnStatesDisable + const SingleSignOnStatesEnable + const SingleSignOnStatesExisting + const SingleSignOnStatesInitial + func (s *SingleSignOnStates) UnmarshalJSON(bytes []byte) error + type SwitchBillingOperationResponse struct + HttpResponse *http.Response + Model *NewRelicMonitorResource + OData *odata.OData + type SwitchBillingRequest struct + AzureResourceId *string + OrganizationId *string + PlanData *PlanData + UserEmail string + type TagAction string + const TagActionExclude + const TagActionInclude + func (s *TagAction) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *NewRelicMonitorResource + OData *odata.OData + Poller pollers.Poller + type UsageType string + const UsageTypeCOMMITTED + const UsageTypePAYG + func (s *UsageType) UnmarshalJSON(bytes []byte) error + type UserInfo struct + Country *string + EmailAddress *string + FirstName *string + LastName *string + PhoneNumber *string + type VMExtensionPayload struct + IngestionKey *string + type VMHostPayloadOperationResponse struct + HttpResponse *http.Response + Model *VMExtensionPayload + OData *odata.OData + type VMInfo struct + AgentStatus *string + AgentVersion *string + VMId *string + type VMInfoOperationPredicate struct + AgentStatus *string + AgentVersion *string + VMId *string + func (p VMInfoOperationPredicate) Matches(input VMInfo) bool