Documentation ¶
Index ¶
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type MonitorId
- type MonitoredResource
- type MonitoredResourceOperationPredicate
- type MonitoredResourcesClient
- func (c MonitoredResourcesClient) MonitorsListMonitoredResources(ctx context.Context, id MonitorId) (result MonitorsListMonitoredResourcesOperationResponse, err error)
- func (c MonitoredResourcesClient) MonitorsListMonitoredResourcesComplete(ctx context.Context, id MonitorId) (MonitorsListMonitoredResourcesCompleteResult, error)
- func (c MonitoredResourcesClient) MonitorsListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result MonitorsListMonitoredResourcesCompleteResult, err error)
- type MonitorsListMonitoredResourcesCompleteResult
- type MonitorsListMonitoredResourcesOperationResponse
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 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 ¶ added in v0.20231127.1171502
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 MonitoredResource ¶
type MonitoredResource struct { Id *string `json:"id,omitempty"` ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"` ReasonForMetricsStatus *string `json:"reasonForMetricsStatus,omitempty"` SendingLogs *bool `json:"sendingLogs,omitempty"` SendingMetrics *bool `json:"sendingMetrics,omitempty"` }
type MonitoredResourceOperationPredicate ¶
type MonitoredResourceOperationPredicate struct { Id *string ReasonForLogsStatus *string ReasonForMetricsStatus *string SendingLogs *bool SendingMetrics *bool }
func (MonitoredResourceOperationPredicate) Matches ¶
func (p MonitoredResourceOperationPredicate) Matches(input MonitoredResource) bool
type MonitoredResourcesClient ¶
type MonitoredResourcesClient struct {
Client *resourcemanager.Client
}
func NewMonitoredResourcesClientWithBaseURI ¶
func NewMonitoredResourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitoredResourcesClient, error)
func (MonitoredResourcesClient) MonitorsListMonitoredResources ¶
func (c MonitoredResourcesClient) MonitorsListMonitoredResources(ctx context.Context, id MonitorId) (result MonitorsListMonitoredResourcesOperationResponse, err error)
MonitorsListMonitoredResources ...
func (MonitoredResourcesClient) MonitorsListMonitoredResourcesComplete ¶
func (c MonitoredResourcesClient) MonitorsListMonitoredResourcesComplete(ctx context.Context, id MonitorId) (MonitorsListMonitoredResourcesCompleteResult, error)
MonitorsListMonitoredResourcesComplete retrieves all the results into a single object
func (MonitoredResourcesClient) MonitorsListMonitoredResourcesCompleteMatchingPredicate ¶
func (c MonitoredResourcesClient) MonitorsListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoredResourceOperationPredicate) (result MonitorsListMonitoredResourcesCompleteResult, err error)
MonitorsListMonitoredResourcesCompleteMatchingPredicate retrieves all the results and then applies the predicate
type MonitorsListMonitoredResourcesCompleteResult ¶
type MonitorsListMonitoredResourcesCompleteResult struct { LatestHttpResponse *http.Response Items []MonitoredResource }
type MonitorsListMonitoredResourcesOperationResponse ¶
type MonitorsListMonitoredResourcesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoredResource }