Documentation ¶
Index ¶
- func PossibleValuesForLiftrResourceCategories() []string
- func PossibleValuesForManagedIdentityTypes() []string
- func PossibleValuesForMarketplaceSubscriptionStatus() []string
- func PossibleValuesForMonitoringStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type DatadogMonitorResource
- type DatadogMonitorResourceOperationPredicate
- type DatadogMonitorResourceUpdateParameters
- type DatadogOrganizationProperties
- type IdentityProperties
- type LiftrResourceCategories
- type ManagedIdentityTypes
- type MarketplaceSubscriptionStatus
- type MonitorId
- type MonitorProperties
- type MonitorUpdateProperties
- type MonitoringStatus
- type MonitorsCreateOperationResponse
- type MonitorsDeleteOperationResponse
- type MonitorsGetOperationResponse
- type MonitorsListByResourceGroupCompleteResult
- type MonitorsListByResourceGroupOperationResponse
- type MonitorsListCompleteResult
- type MonitorsListOperationResponse
- type MonitorsResourceClient
- func (c MonitorsResourceClient) MonitorsCreate(ctx context.Context, id MonitorId, input DatadogMonitorResource) (result MonitorsCreateOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsCreateThenPoll(ctx context.Context, id MonitorId, input DatadogMonitorResource) error
- func (c MonitorsResourceClient) MonitorsDelete(ctx context.Context, id MonitorId) (result MonitorsDeleteOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsDeleteThenPoll(ctx context.Context, id MonitorId) error
- func (c MonitorsResourceClient) MonitorsGet(ctx context.Context, id MonitorId) (result MonitorsGetOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsList(ctx context.Context, id commonids.SubscriptionId) (resp MonitorsListOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp MonitorsListByResourceGroupOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (MonitorsListByResourceGroupCompleteResult, error)
- func (c MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp MonitorsListByResourceGroupCompleteResult, err error)
- func (c MonitorsResourceClient) MonitorsListComplete(ctx context.Context, id commonids.SubscriptionId) (MonitorsListCompleteResult, error)
- func (c MonitorsResourceClient) MonitorsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp MonitorsListCompleteResult, err error)
- func (c MonitorsResourceClient) MonitorsUpdate(ctx context.Context, id MonitorId, ...) (result MonitorsUpdateOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsUpdateThenPoll(ctx context.Context, id MonitorId, ...) error
- type MonitorsUpdateOperationResponse
- type ProvisioningState
- type ResourceSku
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLiftrResourceCategories ¶
func PossibleValuesForLiftrResourceCategories() []string
func PossibleValuesForManagedIdentityTypes ¶
func PossibleValuesForManagedIdentityTypes() []string
func PossibleValuesForMarketplaceSubscriptionStatus ¶
func PossibleValuesForMarketplaceSubscriptionStatus() []string
func PossibleValuesForMonitoringStatus ¶
func PossibleValuesForMonitoringStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type DatadogMonitorResource ¶
type DatadogMonitorResource struct { Id *string `json:"id,omitempty"` Identity *IdentityProperties `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MonitorProperties `json:"properties,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DatadogMonitorResourceOperationPredicate ¶
type DatadogMonitorResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (DatadogMonitorResourceOperationPredicate) Matches ¶
func (p DatadogMonitorResourceOperationPredicate) Matches(input DatadogMonitorResource) bool
type DatadogMonitorResourceUpdateParameters ¶
type DatadogMonitorResourceUpdateParameters struct { Properties *MonitorUpdateProperties `json:"properties,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DatadogOrganizationProperties ¶
type DatadogOrganizationProperties struct { ApiKey *string `json:"apiKey,omitempty"` ApplicationKey *string `json:"applicationKey,omitempty"` EnterpriseAppId *string `json:"enterpriseAppId,omitempty"` Id *string `json:"id,omitempty"` LinkingAuthCode *string `json:"linkingAuthCode,omitempty"` LinkingClientId *string `json:"linkingClientId,omitempty"` Name *string `json:"name,omitempty"` RedirectUri *string `json:"redirectUri,omitempty"` }
type IdentityProperties ¶
type IdentityProperties struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *ManagedIdentityTypes `json:"type,omitempty"` }
type LiftrResourceCategories ¶
type LiftrResourceCategories string
const ( LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" )
type ManagedIdentityTypes ¶
type ManagedIdentityTypes string
const ( ManagedIdentityTypesSystemAssigned ManagedIdentityTypes = "SystemAssigned" ManagedIdentityTypesUserAssigned ManagedIdentityTypes = "UserAssigned" )
type MarketplaceSubscriptionStatus ¶
type MarketplaceSubscriptionStatus string
const ( MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" MarketplaceSubscriptionStatusProvisioning MarketplaceSubscriptionStatus = "Provisioning" MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" MarketplaceSubscriptionStatusUnsubscribed MarketplaceSubscriptionStatus = "Unsubscribed" )
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) 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 { DatadogOrganizationProperties *DatadogOrganizationProperties `json:"datadogOrganizationProperties,omitempty"` LiftrResourceCategory *LiftrResourceCategories `json:"liftrResourceCategory,omitempty"` LiftrResourcePreference *int64 `json:"liftrResourcePreference,omitempty"` MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"` MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` UserInfo *UserInfo `json:"userInfo,omitempty"` }
type MonitorUpdateProperties ¶
type MonitorUpdateProperties struct {
MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"`
}
type MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
type MonitorsCreateOperationResponse ¶
type MonitorsCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type MonitorsDeleteOperationResponse ¶
type MonitorsDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type MonitorsGetOperationResponse ¶
type MonitorsGetOperationResponse struct { HttpResponse *http.Response Model *DatadogMonitorResource }
type MonitorsListByResourceGroupCompleteResult ¶
type MonitorsListByResourceGroupCompleteResult struct {
Items []DatadogMonitorResource
}
type MonitorsListByResourceGroupOperationResponse ¶
type MonitorsListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]DatadogMonitorResource // contains filtered or unexported fields }
func (MonitorsListByResourceGroupOperationResponse) HasMore ¶
func (r MonitorsListByResourceGroupOperationResponse) HasMore() bool
func (MonitorsListByResourceGroupOperationResponse) LoadMore ¶
func (r MonitorsListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp MonitorsListByResourceGroupOperationResponse, err error)
type MonitorsListCompleteResult ¶
type MonitorsListCompleteResult struct {
Items []DatadogMonitorResource
}
type MonitorsListOperationResponse ¶
type MonitorsListOperationResponse struct { HttpResponse *http.Response Model *[]DatadogMonitorResource // contains filtered or unexported fields }
func (MonitorsListOperationResponse) HasMore ¶
func (r MonitorsListOperationResponse) HasMore() bool
func (MonitorsListOperationResponse) LoadMore ¶
func (r MonitorsListOperationResponse) LoadMore(ctx context.Context) (resp MonitorsListOperationResponse, err error)
type MonitorsResourceClient ¶
type MonitorsResourceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewMonitorsResourceClientWithBaseURI ¶
func NewMonitorsResourceClientWithBaseURI(endpoint string) MonitorsResourceClient
func (MonitorsResourceClient) MonitorsCreate ¶
func (c MonitorsResourceClient) MonitorsCreate(ctx context.Context, id MonitorId, input DatadogMonitorResource) (result MonitorsCreateOperationResponse, err error)
MonitorsCreate ...
func (MonitorsResourceClient) MonitorsCreateThenPoll ¶
func (c MonitorsResourceClient) MonitorsCreateThenPoll(ctx context.Context, id MonitorId, input DatadogMonitorResource) error
MonitorsCreateThenPoll performs MonitorsCreate then polls until it's completed
func (MonitorsResourceClient) MonitorsDelete ¶
func (c MonitorsResourceClient) MonitorsDelete(ctx context.Context, id MonitorId) (result MonitorsDeleteOperationResponse, err error)
MonitorsDelete ...
func (MonitorsResourceClient) MonitorsDeleteThenPoll ¶
func (c MonitorsResourceClient) MonitorsDeleteThenPoll(ctx context.Context, id MonitorId) error
MonitorsDeleteThenPoll performs MonitorsDelete then polls until it's completed
func (MonitorsResourceClient) MonitorsGet ¶
func (c MonitorsResourceClient) MonitorsGet(ctx context.Context, id MonitorId) (result MonitorsGetOperationResponse, err error)
MonitorsGet ...
func (MonitorsResourceClient) MonitorsList ¶
func (c MonitorsResourceClient) MonitorsList(ctx context.Context, id commonids.SubscriptionId) (resp MonitorsListOperationResponse, err error)
MonitorsList ...
func (MonitorsResourceClient) MonitorsListByResourceGroup ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp MonitorsListByResourceGroupOperationResponse, err error)
MonitorsListByResourceGroup ...
func (MonitorsResourceClient) MonitorsListByResourceGroupComplete ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (MonitorsListByResourceGroupCompleteResult, error)
MonitorsListByResourceGroupComplete retrieves all of the results into a single object
func (MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DatadogMonitorResourceOperationPredicate) (resp MonitorsListByResourceGroupCompleteResult, err error)
MonitorsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (MonitorsResourceClient) MonitorsListComplete ¶
func (c MonitorsResourceClient) MonitorsListComplete(ctx context.Context, id commonids.SubscriptionId) (MonitorsListCompleteResult, error)
MonitorsListComplete retrieves all of the results into a single object
func (MonitorsResourceClient) MonitorsListCompleteMatchingPredicate ¶
func (c MonitorsResourceClient) MonitorsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DatadogMonitorResourceOperationPredicate) (resp MonitorsListCompleteResult, err error)
MonitorsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (MonitorsResourceClient) MonitorsUpdate ¶
func (c MonitorsResourceClient) MonitorsUpdate(ctx context.Context, id MonitorId, input DatadogMonitorResourceUpdateParameters) (result MonitorsUpdateOperationResponse, err error)
MonitorsUpdate ...
func (MonitorsResourceClient) MonitorsUpdateThenPoll ¶
func (c MonitorsResourceClient) MonitorsUpdateThenPoll(ctx context.Context, id MonitorId, input DatadogMonitorResourceUpdateParameters) error
MonitorsUpdateThenPoll performs MonitorsUpdate then polls until it's completed
type MonitorsUpdateOperationResponse ¶
type MonitorsUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
type ResourceSku ¶
type ResourceSku struct {
Name string `json:"name"`
}
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- method_monitorscreate_autorest.go
- method_monitorsdelete_autorest.go
- method_monitorsget_autorest.go
- method_monitorslist_autorest.go
- method_monitorslistbyresourcegroup_autorest.go
- method_monitorsupdate_autorest.go
- model_datadogmonitorresource.go
- model_datadogmonitorresourceupdateparameters.go
- model_datadogorganizationproperties.go
- model_identityproperties.go
- model_monitorproperties.go
- model_monitorupdateproperties.go
- model_resourcesku.go
- model_userinfo.go
- predicates.go
- version.go