Documentation ¶
Index ¶
- func PossibleValuesForOperation() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForTagAction() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMonitoredSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateorUpdateOperationResponse
- type DeleteOperationResponse
- type FilteringTag
- type GetOperationResponse
- type ListOperationResponse
- type LogRules
- type MetricRules
- type MonitorId
- type MonitoredSubscription
- type MonitoredSubscriptionId
- func NewMonitoredSubscriptionID(subscriptionId string, resourceGroupName string, monitorName string, ...) MonitoredSubscriptionId
- func ParseMonitoredSubscriptionID(input string) (*MonitoredSubscriptionId, error)
- func ParseMonitoredSubscriptionIDInsensitively(input string) (*MonitoredSubscriptionId, error)
- type MonitoredSubscriptionProperties
- type MonitoredSubscriptionPropertiesList
- type MonitoredSubscriptionsClient
- func (c MonitoredSubscriptionsClient) CreateorUpdate(ctx context.Context, id MonitoredSubscriptionId, ...) (result CreateorUpdateOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) CreateorUpdateThenPoll(ctx context.Context, id MonitoredSubscriptionId, ...) error
- func (c MonitoredSubscriptionsClient) Delete(ctx context.Context, id MonitoredSubscriptionId) (result DeleteOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) DeleteThenPoll(ctx context.Context, id MonitoredSubscriptionId) error
- func (c MonitoredSubscriptionsClient) Get(ctx context.Context, id MonitoredSubscriptionId) (result GetOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) Update(ctx context.Context, id MonitoredSubscriptionId, ...) (result UpdateOperationResponse, err error)
- func (c MonitoredSubscriptionsClient) UpdateThenPoll(ctx context.Context, id MonitoredSubscriptionId, ...) error
- type MonitoringTagRulesProperties
- type Operation
- type ProvisioningState
- type Status
- type SubscriptionList
- type TagAction
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperation ¶
func PossibleValuesForOperation() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForTagAction ¶
func PossibleValuesForTagAction() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
func ValidateMonitoredSubscriptionID ¶
func ValidateMonitoredSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateMonitoredSubscriptionID checks that 'input' can be parsed as a Monitored Subscription ID
Types ¶
type DeleteOperationResponse ¶
type FilteringTag ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoredSubscriptionProperties }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MonitoredSubscriptionPropertiesList }
type LogRules ¶
type LogRules struct { FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"` SendAadLogs *bool `json:"sendAadLogs,omitempty"` SendResourceLogs *bool `json:"sendResourceLogs,omitempty"` SendSubscriptionLogs *bool `json:"sendSubscriptionLogs,omitempty"` }
type MetricRules ¶
type MetricRules struct {
FilteringTags *[]FilteringTag `json:"filteringTags,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) 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 MonitoredSubscriptionId ¶
type MonitoredSubscriptionId struct { SubscriptionId string ResourceGroupName string MonitorName string MonitoredSubscriptionName string }
MonitoredSubscriptionId is a struct representing the Resource ID for a Monitored Subscription
func NewMonitoredSubscriptionID ¶
func NewMonitoredSubscriptionID(subscriptionId string, resourceGroupName string, monitorName string, monitoredSubscriptionName string) MonitoredSubscriptionId
NewMonitoredSubscriptionID returns a new MonitoredSubscriptionId struct
func ParseMonitoredSubscriptionID ¶
func ParseMonitoredSubscriptionID(input string) (*MonitoredSubscriptionId, error)
ParseMonitoredSubscriptionID parses 'input' into a MonitoredSubscriptionId
func ParseMonitoredSubscriptionIDInsensitively ¶
func ParseMonitoredSubscriptionIDInsensitively(input string) (*MonitoredSubscriptionId, error)
ParseMonitoredSubscriptionIDInsensitively parses 'input' case-insensitively into a MonitoredSubscriptionId note: this method should only be used for API response data and not user input
func (MonitoredSubscriptionId) ID ¶
func (id MonitoredSubscriptionId) ID() string
ID returns the formatted Monitored Subscription ID
func (MonitoredSubscriptionId) Segments ¶
func (id MonitoredSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitored Subscription ID
func (MonitoredSubscriptionId) String ¶
func (id MonitoredSubscriptionId) String() string
String returns a human-readable description of this Monitored Subscription ID
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 MonitoredSubscriptionPropertiesList ¶
type MonitoredSubscriptionPropertiesList struct {
Value *[]MonitoredSubscriptionProperties `json:"value,omitempty"`
}
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 MonitoredSubscriptionId, input MonitoredSubscriptionProperties) (result CreateorUpdateOperationResponse, err error)
CreateorUpdate ...
func (MonitoredSubscriptionsClient) CreateorUpdateThenPoll ¶
func (c MonitoredSubscriptionsClient) CreateorUpdateThenPoll(ctx context.Context, id MonitoredSubscriptionId, input MonitoredSubscriptionProperties) error
CreateorUpdateThenPoll performs CreateorUpdate then polls until it's completed
func (MonitoredSubscriptionsClient) Delete ¶
func (c MonitoredSubscriptionsClient) Delete(ctx context.Context, id MonitoredSubscriptionId) (result DeleteOperationResponse, err error)
Delete ...
func (MonitoredSubscriptionsClient) DeleteThenPoll ¶
func (c MonitoredSubscriptionsClient) DeleteThenPoll(ctx context.Context, id MonitoredSubscriptionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (MonitoredSubscriptionsClient) Get ¶
func (c MonitoredSubscriptionsClient) Get(ctx context.Context, id MonitoredSubscriptionId) (result GetOperationResponse, err error)
Get ...
func (MonitoredSubscriptionsClient) List ¶
func (c MonitoredSubscriptionsClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
List ...
func (MonitoredSubscriptionsClient) Update ¶
func (c MonitoredSubscriptionsClient) Update(ctx context.Context, id MonitoredSubscriptionId, input MonitoredSubscriptionProperties) (result UpdateOperationResponse, err error)
Update ...
func (MonitoredSubscriptionsClient) UpdateThenPoll ¶
func (c MonitoredSubscriptionsClient) UpdateThenPoll(ctx context.Context, id MonitoredSubscriptionId, input MonitoredSubscriptionProperties) error
UpdateThenPoll performs Update then polls until it's completed
type MonitoringTagRulesProperties ¶
type MonitoringTagRulesProperties struct { Automuting *bool `json:"automuting,omitempty"` LogRules *LogRules `json:"logRules,omitempty"` MetricRules *MetricRules `json:"metricRules,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
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 SubscriptionList ¶
type SubscriptionList struct { MonitoredSubscriptionList *[]MonitoredSubscription `json:"monitoredSubscriptionList,omitempty"` Operation *Operation `json:"operation,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- id_monitoredsubscription.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_monitoredsubscriptionpropertieslist.go
- model_monitoringtagrulesproperties.go
- model_subscriptionlist.go
- version.go