Documentation ¶
Index ¶
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type ApiKeyClient
- func (c ApiKeyClient) MonitorsGetDefaultKey(ctx context.Context, id MonitorId) (result MonitorsGetDefaultKeyOperationResponse, err error)
- func (c ApiKeyClient) MonitorsListApiKeys(ctx context.Context, id MonitorId) (result MonitorsListApiKeysOperationResponse, err error)
- func (c ApiKeyClient) MonitorsListApiKeysComplete(ctx context.Context, id MonitorId) (MonitorsListApiKeysCompleteResult, error)
- func (c ApiKeyClient) MonitorsListApiKeysCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate DatadogApiKeyOperationPredicate) (result MonitorsListApiKeysCompleteResult, err error)
- func (c ApiKeyClient) MonitorsSetDefaultKey(ctx context.Context, id MonitorId, input DatadogApiKey) (result MonitorsSetDefaultKeyOperationResponse, err error)
- type DatadogApiKey
- type DatadogApiKeyOperationPredicate
- type MonitorId
- type MonitorsGetDefaultKeyOperationResponse
- type MonitorsListApiKeysCompleteResult
- type MonitorsListApiKeysCustomPager
- type MonitorsListApiKeysOperationResponse
- type MonitorsSetDefaultKeyOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type ApiKeyClient ¶
type ApiKeyClient struct {
Client *resourcemanager.Client
}
func NewApiKeyClientWithBaseURI ¶
func NewApiKeyClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiKeyClient, error)
func (ApiKeyClient) MonitorsGetDefaultKey ¶
func (c ApiKeyClient) MonitorsGetDefaultKey(ctx context.Context, id MonitorId) (result MonitorsGetDefaultKeyOperationResponse, err error)
MonitorsGetDefaultKey ...
func (ApiKeyClient) MonitorsListApiKeys ¶
func (c ApiKeyClient) MonitorsListApiKeys(ctx context.Context, id MonitorId) (result MonitorsListApiKeysOperationResponse, err error)
MonitorsListApiKeys ...
func (ApiKeyClient) MonitorsListApiKeysComplete ¶
func (c ApiKeyClient) MonitorsListApiKeysComplete(ctx context.Context, id MonitorId) (MonitorsListApiKeysCompleteResult, error)
MonitorsListApiKeysComplete retrieves all the results into a single object
func (ApiKeyClient) MonitorsListApiKeysCompleteMatchingPredicate ¶
func (c ApiKeyClient) MonitorsListApiKeysCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate DatadogApiKeyOperationPredicate) (result MonitorsListApiKeysCompleteResult, err error)
MonitorsListApiKeysCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiKeyClient) MonitorsSetDefaultKey ¶
func (c ApiKeyClient) MonitorsSetDefaultKey(ctx context.Context, id MonitorId, input DatadogApiKey) (result MonitorsSetDefaultKeyOperationResponse, err error)
MonitorsSetDefaultKey ...
type DatadogApiKey ¶
type DatadogApiKeyOperationPredicate ¶
type DatadogApiKeyOperationPredicate struct { Created *string CreatedBy *string Key *string Name *string }
func (DatadogApiKeyOperationPredicate) Matches ¶
func (p DatadogApiKeyOperationPredicate) Matches(input DatadogApiKey) bool
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 MonitorsGetDefaultKeyOperationResponse ¶
type MonitorsGetDefaultKeyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatadogApiKey }
type MonitorsListApiKeysCompleteResult ¶
type MonitorsListApiKeysCompleteResult struct { LatestHttpResponse *http.Response Items []DatadogApiKey }
type MonitorsListApiKeysCustomPager ¶
func (*MonitorsListApiKeysCustomPager) NextPageLink ¶
func (p *MonitorsListApiKeysCustomPager) NextPageLink() *odata.Link
type MonitorsListApiKeysOperationResponse ¶
type MonitorsListApiKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatadogApiKey }