Documentation ¶
Index ¶
- func PossibleValuesForSendingLogs() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type ListCompleteResult
- type ListOperationResponse
- type MonitorId
- type MonitoredResource
- type MonitoredResourceOperationPredicate
- type MonitoredResourcesClient
- func (c MonitoredResourcesClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
- func (c MonitoredResourcesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
- func (c MonitoredResourcesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result ListCompleteResult, err error)
- type SendingLogs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSendingLogs ¶
func PossibleValuesForSendingLogs() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []MonitoredResource
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoredResource }
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 MonitoredResource ¶
type MonitoredResource struct { Id *string `json:"id,omitempty"` ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"` SendingLogs *SendingLogs `json:"sendingLogs,omitempty"` }
type MonitoredResourceOperationPredicate ¶
func (MonitoredResourceOperationPredicate) Matches ¶
func (p MonitoredResourceOperationPredicate) Matches(input MonitoredResource) bool
type MonitoredResourcesClient ¶
type MonitoredResourcesClient struct {
Client *resourcemanager.Client
}
func NewMonitoredResourcesClientWithBaseURI ¶
func NewMonitoredResourcesClientWithBaseURI(api environments.Api) (*MonitoredResourcesClient, error)
func (MonitoredResourcesClient) List ¶
func (c MonitoredResourcesClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
List ...
func (MonitoredResourcesClient) ListComplete ¶
func (c MonitoredResourcesClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MonitoredResourcesClient) ListCompleteMatchingPredicate ¶
func (c MonitoredResourcesClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoredResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SendingLogs ¶
type SendingLogs string
const ( SendingLogsFalse SendingLogs = "False" SendingLogsTrue SendingLogs = "True" )
func (*SendingLogs) UnmarshalJSON ¶
func (s *SendingLogs) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.