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 PossibleValuesForSingleSignOnStates() []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 LiftrResourceCategories string + const LiftrResourceCategoriesMonitorLogs + const LiftrResourceCategoriesUnknown + func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error + type MarketplaceSubscriptionStatus string + const MarketplaceSubscriptionStatusActive + const MarketplaceSubscriptionStatusSuspended + func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error + 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 MonitoringStatus string + const MonitoringStatusDisabled + const MonitoringStatusEnabled + func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error + type MonitorsResubscribeOperationResponse struct + HttpResponse *http.Response + Model *NewRelicMonitorResource + OData *odata.OData + Poller pollers.Poller + type NewRelicAccountProperties struct + AccountInfo *AccountInfo + OrganizationInfo *OrganizationInfo + SingleSignOnProperties *NewRelicSingleSignOnProperties + UserId *string + type NewRelicMonitorResource struct + Id *string + Identity *identity.SystemAndUserAssignedMap + Location string + Name *string + Properties MonitorProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + 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 ResubscribeClient struct + Client *resourcemanager.Client + func NewResubscribeClientWithBaseURI(sdkApi sdkEnv.Api) (*ResubscribeClient, error) + func (c ResubscribeClient) MonitorsResubscribe(ctx context.Context, id MonitorId, input ResubscribeProperties) (result MonitorsResubscribeOperationResponse, err error) + func (c ResubscribeClient) MonitorsResubscribeThenPoll(ctx context.Context, id MonitorId, input ResubscribeProperties) error + type ResubscribeProperties struct + OfferId *string + OrganizationId *string + PlanId *string + PublisherId *string + ResourceGroup *string + SubscriptionId *string + TermId *string + type SingleSignOnStates string + const SingleSignOnStatesDisable + const SingleSignOnStatesEnable + const SingleSignOnStatesExisting + const SingleSignOnStatesInitial + func (s *SingleSignOnStates) UnmarshalJSON(bytes []byte) error + 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