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 MonitorsListByResourceGroupCustomPager
- type MonitorsListByResourceGroupOperationResponse
- type MonitorsListCompleteResult
- type MonitorsListCustomPager
- 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) (result MonitorsListOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result 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, ...) (result 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, ...) (result 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"` Cspm *bool `json:"cspm,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" )
func (*LiftrResourceCategories) UnmarshalJSON ¶
func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error
type ManagedIdentityTypes ¶
type ManagedIdentityTypes string
const ( ManagedIdentityTypesSystemAssigned ManagedIdentityTypes = "SystemAssigned" ManagedIdentityTypesUserAssigned ManagedIdentityTypes = "UserAssigned" )
func (*ManagedIdentityTypes) UnmarshalJSON ¶
func (s *ManagedIdentityTypes) UnmarshalJSON(bytes []byte) error
type MarketplaceSubscriptionStatus ¶
type MarketplaceSubscriptionStatus string
const ( MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" MarketplaceSubscriptionStatusProvisioning MarketplaceSubscriptionStatus = "Provisioning" MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" MarketplaceSubscriptionStatusUnsubscribed MarketplaceSubscriptionStatus = "Unsubscribed" )
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 { 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 { Cspm *bool `json:"cspm,omitempty"` MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"` }
type MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
func (*MonitoringStatus) UnmarshalJSON ¶
func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error
type MonitorsGetOperationResponse ¶
type MonitorsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatadogMonitorResource }
type MonitorsListByResourceGroupCompleteResult ¶
type MonitorsListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []DatadogMonitorResource }
type MonitorsListByResourceGroupCustomPager ¶
func (*MonitorsListByResourceGroupCustomPager) NextPageLink ¶
func (p *MonitorsListByResourceGroupCustomPager) NextPageLink() *odata.Link
type MonitorsListByResourceGroupOperationResponse ¶
type MonitorsListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatadogMonitorResource }
type MonitorsListCompleteResult ¶
type MonitorsListCompleteResult struct { LatestHttpResponse *http.Response Items []DatadogMonitorResource }
type MonitorsListCustomPager ¶
func (*MonitorsListCustomPager) NextPageLink ¶
func (p *MonitorsListCustomPager) NextPageLink() *odata.Link
type MonitorsListOperationResponse ¶
type MonitorsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatadogMonitorResource }
type MonitorsResourceClient ¶
type MonitorsResourceClient struct {
Client *resourcemanager.Client
}
func NewMonitorsResourceClientWithBaseURI ¶
func NewMonitorsResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitorsResourceClient, error)
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) (result MonitorsListOperationResponse, err error)
MonitorsList ...
func (MonitorsResourceClient) MonitorsListByResourceGroup ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result MonitorsListByResourceGroupOperationResponse, err error)
MonitorsListByResourceGroup ...
func (MonitorsResourceClient) MonitorsListByResourceGroupComplete ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (MonitorsListByResourceGroupCompleteResult, error)
MonitorsListByResourceGroupComplete retrieves all the results into a single object
func (MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DatadogMonitorResourceOperationPredicate) (result MonitorsListByResourceGroupCompleteResult, err error)
MonitorsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsResourceClient) MonitorsListComplete ¶
func (c MonitorsResourceClient) MonitorsListComplete(ctx context.Context, id commonids.SubscriptionId) (MonitorsListCompleteResult, error)
MonitorsListComplete retrieves all the results into a single object
func (MonitorsResourceClient) MonitorsListCompleteMatchingPredicate ¶
func (c MonitorsResourceClient) MonitorsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DatadogMonitorResourceOperationPredicate) (result MonitorsListCompleteResult, err error)
MonitorsListCompleteMatchingPredicate retrieves all the results and then applies 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 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 ResourceSku ¶
type ResourceSku struct {
Name string `json:"name"`
}
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- method_monitorscreate.go
- method_monitorsdelete.go
- method_monitorsget.go
- method_monitorslist.go
- method_monitorslistbyresourcegroup.go
- method_monitorsupdate.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