Documentation ¶
Index ¶
- func PossibleValuesForPatchOperation() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSendAadLogsStatus() []string
- func PossibleValuesForSendActivityLogsStatus() []string
- func PossibleValuesForSendMetricsStatus() []string
- func PossibleValuesForSendSubscriptionLogsStatus() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForTagAction() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FilteringTag
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type LogRules
- type MetricRules
- type MonitorId
- type MonitoredSubscription
- type MonitoredSubscriptionProperties
- type MonitoredSubscriptionPropertiesOperationPredicate
- type MonitoredSubscriptionsClient
- func (c MonitoredSubscriptionsClient) CreateOrUpdate(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) (result CreateOrUpdateOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) CreateOrUpdateThenPoll(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) error
- func (c MonitoredSubscriptionsClient) Delete(ctx context.Context, id MonitorId) (result DeleteOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) DeleteThenPoll(ctx context.Context, id MonitorId) error
- func (c MonitoredSubscriptionsClient) Get(ctx context.Context, id MonitorId) (result GetOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
- func (c MonitoredSubscriptionsClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result ListCompleteResult, err error)
- func (c MonitoredSubscriptionsClient) Update(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) (result UpdateOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) UpdateThenPoll(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) error
- type MonitoringTagRulesProperties
- type PatchOperation
- type ProvisioningState
- type SendAadLogsStatus
- type SendActivityLogsStatus
- type SendMetricsStatus
- type SendSubscriptionLogsStatus
- type Status
- type SubscriptionList
- type TagAction
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPatchOperation ¶
func PossibleValuesForPatchOperation() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSendAadLogsStatus ¶
func PossibleValuesForSendAadLogsStatus() []string
func PossibleValuesForSendActivityLogsStatus ¶
func PossibleValuesForSendActivityLogsStatus() []string
func PossibleValuesForSendMetricsStatus ¶
func PossibleValuesForSendMetricsStatus() []string
func PossibleValuesForSendSubscriptionLogsStatus ¶
func PossibleValuesForSendSubscriptionLogsStatus() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForTagAction ¶
func PossibleValuesForTagAction() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type DeleteOperationResponse ¶
type FilteringTag ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoredSubscriptionProperties }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []MonitoredSubscriptionProperties }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoredSubscriptionProperties }
type LogRules ¶
type LogRules struct { FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` SendAadLogs *SendAadLogsStatus `json:"sendAadLogs,omitempty"` SendActivityLogs *SendActivityLogsStatus `json:"sendActivityLogs,omitempty"` SendSubscriptionLogs *SendSubscriptionLogsStatus `json:"sendSubscriptionLogs,omitempty"` }
type MetricRules ¶
type MetricRules struct { FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` SendMetrics *SendMetricsStatus `json:"sendMetrics,omitempty"` UserEmail *string `json:"userEmail,omitempty"` }
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 MonitoredSubscription ¶
type MonitoredSubscription struct { Error *string `json:"error,omitempty"` Status *Status `json:"status,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` TagRules *MonitoringTagRulesProperties `json:"tagRules,omitempty"` }
type MonitoredSubscriptionProperties ¶
type MonitoredSubscriptionProperties struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubscriptionList `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type MonitoredSubscriptionPropertiesOperationPredicate ¶
type MonitoredSubscriptionPropertiesOperationPredicate struct { Id *string Name *string Type *string }
func (MonitoredSubscriptionPropertiesOperationPredicate) Matches ¶
func (p MonitoredSubscriptionPropertiesOperationPredicate) Matches(input MonitoredSubscriptionProperties) bool
type MonitoredSubscriptionsClient ¶
type MonitoredSubscriptionsClient struct {
Client *resourcemanager.Client
}
func NewMonitoredSubscriptionsClientWithBaseURI ¶
func NewMonitoredSubscriptionsClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitoredSubscriptionsClient, error)
func (MonitoredSubscriptionsClient) CreateOrUpdate ¶
func (c MonitoredSubscriptionsClient) CreateOrUpdate(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MonitoredSubscriptionsClient) CreateOrUpdateThenPoll ¶
func (c MonitoredSubscriptionsClient) CreateOrUpdateThenPoll(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (MonitoredSubscriptionsClient) Delete ¶
func (c MonitoredSubscriptionsClient) Delete(ctx context.Context, id MonitorId) (result DeleteOperationResponse, err error)
Delete ...
func (MonitoredSubscriptionsClient) DeleteThenPoll ¶
func (c MonitoredSubscriptionsClient) DeleteThenPoll(ctx context.Context, id MonitorId) error
DeleteThenPoll performs Delete then polls until it's completed
func (MonitoredSubscriptionsClient) Get ¶
func (c MonitoredSubscriptionsClient) Get(ctx context.Context, id MonitorId) (result GetOperationResponse, err error)
Get ...
func (MonitoredSubscriptionsClient) List ¶
func (c MonitoredSubscriptionsClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
List ...
func (MonitoredSubscriptionsClient) ListComplete ¶
func (c MonitoredSubscriptionsClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MonitoredSubscriptionsClient) ListCompleteMatchingPredicate ¶
func (c MonitoredSubscriptionsClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoredSubscriptionPropertiesOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitoredSubscriptionsClient) Update ¶
func (c MonitoredSubscriptionsClient) Update(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) (result UpdateOperationResponse, err error)
Update ...
func (MonitoredSubscriptionsClient) UpdateThenPoll ¶
func (c MonitoredSubscriptionsClient) UpdateThenPoll(ctx context.Context, id MonitorId, input MonitoredSubscriptionProperties) error
UpdateThenPoll performs Update then polls until it's completed
type MonitoringTagRulesProperties ¶
type MonitoringTagRulesProperties struct { LogRules *LogRules `json:"logRules,omitempty"` MetricRules *MetricRules `json:"metricRules,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type PatchOperation ¶
type PatchOperation string
const ( PatchOperationActive PatchOperation = "Active" PatchOperationAddBegin PatchOperation = "AddBegin" PatchOperationAddComplete PatchOperation = "AddComplete" PatchOperationDeleteBegin PatchOperation = "DeleteBegin" PatchOperationDeleteComplete PatchOperation = "DeleteComplete" )
func (*PatchOperation) UnmarshalJSON ¶
func (s *PatchOperation) UnmarshalJSON(bytes []byte) error
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 SendAadLogsStatus ¶
type SendAadLogsStatus string
const ( SendAadLogsStatusDisabled SendAadLogsStatus = "Disabled" SendAadLogsStatusEnabled SendAadLogsStatus = "Enabled" )
func (*SendAadLogsStatus) UnmarshalJSON ¶
func (s *SendAadLogsStatus) UnmarshalJSON(bytes []byte) error
type SendActivityLogsStatus ¶
type SendActivityLogsStatus string
const ( SendActivityLogsStatusDisabled SendActivityLogsStatus = "Disabled" SendActivityLogsStatusEnabled SendActivityLogsStatus = "Enabled" )
func (*SendActivityLogsStatus) UnmarshalJSON ¶
func (s *SendActivityLogsStatus) UnmarshalJSON(bytes []byte) error
type SendMetricsStatus ¶
type SendMetricsStatus string
const ( SendMetricsStatusDisabled SendMetricsStatus = "Disabled" SendMetricsStatusEnabled SendMetricsStatus = "Enabled" )
func (*SendMetricsStatus) UnmarshalJSON ¶
func (s *SendMetricsStatus) UnmarshalJSON(bytes []byte) error
type SendSubscriptionLogsStatus ¶
type SendSubscriptionLogsStatus string
const ( SendSubscriptionLogsStatusDisabled SendSubscriptionLogsStatus = "Disabled" SendSubscriptionLogsStatusEnabled SendSubscriptionLogsStatus = "Enabled" )
func (*SendSubscriptionLogsStatus) UnmarshalJSON ¶
func (s *SendSubscriptionLogsStatus) UnmarshalJSON(bytes []byte) error
type SubscriptionList ¶
type SubscriptionList struct { MonitoredSubscriptionList *[]MonitoredSubscription `json:"monitoredSubscriptionList,omitempty"` PatchOperation *PatchOperation `json:"patchOperation,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_filteringtag.go
- model_logrules.go
- model_metricrules.go
- model_monitoredsubscription.go
- model_monitoredsubscriptionproperties.go
- model_monitoringtagrulesproperties.go
- model_subscriptionlist.go
- predicates.go
- version.go