Documentation ¶
Index ¶
- 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
- type AccountInfo
- type LiftrResourceCategories
- type MarketplaceSubscriptionStatus
- type MonitorId
- type MonitorProperties
- type MonitoringStatus
- type MonitorsResubscribeOperationResponse
- type NewRelicAccountProperties
- type NewRelicMonitorResource
- type NewRelicSingleSignOnProperties
- type OrgCreationSource
- type OrganizationInfo
- type PlanData
- type ProvisioningState
- type ResubscribeClient
- type ResubscribeProperties
- type SingleSignOnStates
- type UsageType
- type UserInfo
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 PossibleValuesForSingleSignOnStates ¶
func PossibleValuesForSingleSignOnStates() []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 LiftrResourceCategories ¶
type LiftrResourceCategories string
const ( LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" )
func (*LiftrResourceCategories) UnmarshalJSON ¶
func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error
type MarketplaceSubscriptionStatus ¶
type MarketplaceSubscriptionStatus string
const ( MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" )
func (*MarketplaceSubscriptionStatus) UnmarshalJSON ¶
func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error
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 MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
func (*MonitoringStatus) UnmarshalJSON ¶
func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error
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.SystemAndUserAssignedMap `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 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 ResubscribeClient ¶
type ResubscribeClient struct {
Client *resourcemanager.Client
}
func NewResubscribeClientWithBaseURI ¶
func NewResubscribeClientWithBaseURI(sdkApi sdkEnv.Api) (*ResubscribeClient, error)
func (ResubscribeClient) MonitorsResubscribe ¶
func (c ResubscribeClient) MonitorsResubscribe(ctx context.Context, id MonitorId, input ResubscribeProperties) (result MonitorsResubscribeOperationResponse, err error)
MonitorsResubscribe ...
func (ResubscribeClient) MonitorsResubscribeThenPoll ¶
func (c ResubscribeClient) MonitorsResubscribeThenPoll(ctx context.Context, id MonitorId, input ResubscribeProperties) error
MonitorsResubscribeThenPoll performs MonitorsResubscribe then polls until it's completed
type ResubscribeProperties ¶
type ResubscribeProperties struct { OfferId *string `json:"offerId,omitempty"` OrganizationId *string `json:"organizationId,omitempty"` PlanId *string `json:"planId,omitempty"` PublisherId *string `json:"publisherId,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` TermId *string `json:"termId,omitempty"` }
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
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- method_monitorsresubscribe.go
- model_accountinfo.go
- model_monitorproperties.go
- model_newrelicaccountproperties.go
- model_newrelicmonitorresource.go
- model_newrelicsinglesignonproperties.go
- model_organizationinfo.go
- model_plandata.go
- model_resubscribeproperties.go
- model_userinfo.go
- version.go
Click to show internal directories.
Click to hide internal directories.