...

Package insights

import "github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-09-01-preview/insights"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package insights implements the Azure ARM Insights service API version .

Monitor Management Client

Index ▾

Constants
func UserAgent() string
func Version() string
type Action
    func (a Action) AsAction() (*Action, bool)
    func (a Action) AsAlertingAction() (*AlertingAction, bool)
    func (a Action) AsBasicAction() (BasicAction, bool)
    func (a Action) AsLogToMetricAction() (*LogToMetricAction, bool)
    func (a Action) MarshalJSON() ([]byte, error)
type ActionDetail
type ActionGroup
type ActionGroupList
type ActionGroupPatch
type ActionGroupPatchBody
    func (agpb ActionGroupPatchBody) MarshalJSON() ([]byte, error)
    func (agpb *ActionGroupPatchBody) UnmarshalJSON(body []byte) error
type ActionGroupResource
    func (agr ActionGroupResource) MarshalJSON() ([]byte, error)
    func (agr *ActionGroupResource) UnmarshalJSON(body []byte) error
type ActionGroupsClient
    func NewActionGroupsClient(subscriptionID string) ActionGroupsClient
    func NewActionGroupsClientWithBaseURI(baseURI string, subscriptionID string) ActionGroupsClient
    func (client ActionGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroup ActionGroupResource) (result ActionGroupResource, err error)
    func (client ActionGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroup ActionGroupResource) (*http.Request, error)
    func (client ActionGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ActionGroupResource, err error)
    func (client ActionGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ActionGroupsClient) Delete(ctx context.Context, resourceGroupName string, actionGroupName string) (result autorest.Response, err error)
    func (client ActionGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, actionGroupName string) (*http.Request, error)
    func (client ActionGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ActionGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ActionGroupsClient) EnableReceiver(ctx context.Context, resourceGroupName string, actionGroupName string, enableRequest EnableRequest) (result autorest.Response, err error)
    func (client ActionGroupsClient) EnableReceiverPreparer(ctx context.Context, resourceGroupName string, actionGroupName string, enableRequest EnableRequest) (*http.Request, error)
    func (client ActionGroupsClient) EnableReceiverResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ActionGroupsClient) EnableReceiverSender(req *http.Request) (*http.Response, error)
    func (client ActionGroupsClient) Get(ctx context.Context, resourceGroupName string, actionGroupName string) (result ActionGroupResource, err error)
    func (client ActionGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, actionGroupName string) (*http.Request, error)
    func (client ActionGroupsClient) GetResponder(resp *http.Response) (result ActionGroupResource, err error)
    func (client ActionGroupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ActionGroupsClient) GetTestNotifications(ctx context.Context, notificationID string) (result TestNotificationDetailsResponse, err error)
    func (client ActionGroupsClient) GetTestNotificationsPreparer(ctx context.Context, notificationID string) (*http.Request, error)
    func (client ActionGroupsClient) GetTestNotificationsResponder(resp *http.Response) (result TestNotificationDetailsResponse, err error)
    func (client ActionGroupsClient) GetTestNotificationsSender(req *http.Request) (*http.Response, error)
    func (client ActionGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ActionGroupList, err error)
    func (client ActionGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ActionGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ActionGroupList, err error)
    func (client ActionGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ActionGroupsClient) ListBySubscriptionID(ctx context.Context) (result ActionGroupList, err error)
    func (client ActionGroupsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error)
    func (client ActionGroupsClient) ListBySubscriptionIDResponder(resp *http.Response) (result ActionGroupList, err error)
    func (client ActionGroupsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error)
    func (client ActionGroupsClient) PostTestNotifications(ctx context.Context, notificationRequest NotificationRequestBody) (result ActionGroupsPostTestNotificationsFuture, err error)
    func (client ActionGroupsClient) PostTestNotificationsPreparer(ctx context.Context, notificationRequest NotificationRequestBody) (*http.Request, error)
    func (client ActionGroupsClient) PostTestNotificationsResponder(resp *http.Response) (result TestNotificationResponse, err error)
    func (client ActionGroupsClient) PostTestNotificationsSender(req *http.Request) (future ActionGroupsPostTestNotificationsFuture, err error)
    func (client ActionGroupsClient) Update(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroupPatch ActionGroupPatchBody) (result ActionGroupResource, err error)
    func (client ActionGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroupPatch ActionGroupPatchBody) (*http.Request, error)
    func (client ActionGroupsClient) UpdateResponder(resp *http.Response) (result ActionGroupResource, err error)
    func (client ActionGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ActionGroupsPostTestNotificationsFuture
    func (future *ActionGroupsPostTestNotificationsFuture) UnmarshalJSON(body []byte) error
type ActionList
type ActivityLogAlertResource
    func (alar ActivityLogAlertResource) MarshalJSON() ([]byte, error)
    func (alar *ActivityLogAlertResource) UnmarshalJSON(body []byte) error
type ActivityLogAlertsClient
    func NewActivityLogAlertsClient(subscriptionID string) ActivityLogAlertsClient
    func NewActivityLogAlertsClientWithBaseURI(baseURI string, subscriptionID string) ActivityLogAlertsClient
    func (client ActivityLogAlertsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRule ActivityLogAlertResource) (result ActivityLogAlertResource, err error)
    func (client ActivityLogAlertsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRule ActivityLogAlertResource) (*http.Request, error)
    func (client ActivityLogAlertsClient) CreateOrUpdateResponder(resp *http.Response) (result ActivityLogAlertResource, err error)
    func (client ActivityLogAlertsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ActivityLogAlertsClient) Delete(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result autorest.Response, err error)
    func (client ActivityLogAlertsClient) DeletePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error)
    func (client ActivityLogAlertsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ActivityLogAlertsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ActivityLogAlertsClient) Get(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result ActivityLogAlertResource, err error)
    func (client ActivityLogAlertsClient) GetPreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error)
    func (client ActivityLogAlertsClient) GetResponder(resp *http.Response) (result ActivityLogAlertResource, err error)
    func (client ActivityLogAlertsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ActivityLogAlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AlertRuleListPage, err error)
    func (client ActivityLogAlertsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AlertRuleListIterator, err error)
    func (client ActivityLogAlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ActivityLogAlertsClient) ListByResourceGroupResponder(resp *http.Response) (result AlertRuleList, err error)
    func (client ActivityLogAlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ActivityLogAlertsClient) ListBySubscriptionID(ctx context.Context) (result AlertRuleListPage, err error)
    func (client ActivityLogAlertsClient) ListBySubscriptionIDComplete(ctx context.Context) (result AlertRuleListIterator, err error)
    func (client ActivityLogAlertsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error)
    func (client ActivityLogAlertsClient) ListBySubscriptionIDResponder(resp *http.Response) (result AlertRuleList, err error)
    func (client ActivityLogAlertsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error)
    func (client ActivityLogAlertsClient) Update(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRulePatch AlertRulePatchObject) (result ActivityLogAlertResource, err error)
    func (client ActivityLogAlertsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRulePatch AlertRulePatchObject) (*http.Request, error)
    func (client ActivityLogAlertsClient) UpdateResponder(resp *http.Response) (result ActivityLogAlertResource, err error)
    func (client ActivityLogAlertsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ActivityLogsClient
    func NewActivityLogsClient(subscriptionID string) ActivityLogsClient
    func NewActivityLogsClientWithBaseURI(baseURI string, subscriptionID string) ActivityLogsClient
    func (client ActivityLogsClient) List(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionPage, err error)
    func (client ActivityLogsClient) ListComplete(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionIterator, err error)
    func (client ActivityLogsClient) ListPreparer(ctx context.Context, filter string, selectParameter string) (*http.Request, error)
    func (client ActivityLogsClient) ListResponder(resp *http.Response) (result EventDataCollection, err error)
    func (client ActivityLogsClient) ListSender(req *http.Request) (*http.Response, error)
type AggregationType
    func PossibleAggregationTypeValues() []AggregationType
type AggregationTypeEnum
    func PossibleAggregationTypeEnumValues() []AggregationTypeEnum
type AlertRule
    func (ar AlertRule) MarshalJSON() ([]byte, error)
    func (ar *AlertRule) UnmarshalJSON(body []byte) error
type AlertRuleAllOfCondition
type AlertRuleAnyOfOrLeafCondition
type AlertRuleIncidentsClient
    func NewAlertRuleIncidentsClient(subscriptionID string) AlertRuleIncidentsClient
    func NewAlertRuleIncidentsClientWithBaseURI(baseURI string, subscriptionID string) AlertRuleIncidentsClient
    func (client AlertRuleIncidentsClient) Get(ctx context.Context, resourceGroupName string, ruleName string, incidentName string) (result Incident, err error)
    func (client AlertRuleIncidentsClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string, incidentName string) (*http.Request, error)
    func (client AlertRuleIncidentsClient) GetResponder(resp *http.Response) (result Incident, err error)
    func (client AlertRuleIncidentsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AlertRuleIncidentsClient) ListByAlertRule(ctx context.Context, resourceGroupName string, ruleName string) (result IncidentListResult, err error)
    func (client AlertRuleIncidentsClient) ListByAlertRulePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client AlertRuleIncidentsClient) ListByAlertRuleResponder(resp *http.Response) (result IncidentListResult, err error)
    func (client AlertRuleIncidentsClient) ListByAlertRuleSender(req *http.Request) (*http.Response, error)
type AlertRuleLeafCondition
type AlertRuleList
    func (arl AlertRuleList) IsEmpty() bool
type AlertRuleListIterator
    func NewAlertRuleListIterator(page AlertRuleListPage) AlertRuleListIterator
    func (iter *AlertRuleListIterator) Next() error
    func (iter *AlertRuleListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AlertRuleListIterator) NotDone() bool
    func (iter AlertRuleListIterator) Response() AlertRuleList
    func (iter AlertRuleListIterator) Value() ActivityLogAlertResource
type AlertRuleListPage
    func NewAlertRuleListPage(cur AlertRuleList, getNextPage func(context.Context, AlertRuleList) (AlertRuleList, error)) AlertRuleListPage
    func (page *AlertRuleListPage) Next() error
    func (page *AlertRuleListPage) NextWithContext(ctx context.Context) (err error)
    func (page AlertRuleListPage) NotDone() bool
    func (page AlertRuleListPage) Response() AlertRuleList
    func (page AlertRuleListPage) Values() []ActivityLogAlertResource
type AlertRulePatchObject
    func (arpo AlertRulePatchObject) MarshalJSON() ([]byte, error)
    func (arpo *AlertRulePatchObject) UnmarshalJSON(body []byte) error
type AlertRulePatchProperties
type AlertRuleProperties
type AlertRuleResource
    func (arr AlertRuleResource) MarshalJSON() ([]byte, error)
    func (arr *AlertRuleResource) UnmarshalJSON(body []byte) error
type AlertRuleResourceCollection
type AlertRuleResourcePatch
    func (arrp AlertRuleResourcePatch) MarshalJSON() ([]byte, error)
    func (arrp *AlertRuleResourcePatch) UnmarshalJSON(body []byte) error
type AlertRulesClient
    func NewAlertRulesClient(subscriptionID string) AlertRulesClient
    func NewAlertRulesClientWithBaseURI(baseURI string, subscriptionID string) AlertRulesClient
    func (client AlertRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters AlertRuleResource) (result AlertRuleResource, err error)
    func (client AlertRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters AlertRuleResource) (*http.Request, error)
    func (client AlertRulesClient) CreateOrUpdateResponder(resp *http.Response) (result AlertRuleResource, err error)
    func (client AlertRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client AlertRulesClient) Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)
    func (client AlertRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client AlertRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AlertRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AlertRulesClient) Get(ctx context.Context, resourceGroupName string, ruleName string) (result AlertRuleResource, err error)
    func (client AlertRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client AlertRulesClient) GetResponder(resp *http.Response) (result AlertRuleResource, err error)
    func (client AlertRulesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AlertRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AlertRuleResourceCollection, err error)
    func (client AlertRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client AlertRulesClient) ListByResourceGroupResponder(resp *http.Response) (result AlertRuleResourceCollection, err error)
    func (client AlertRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client AlertRulesClient) ListBySubscription(ctx context.Context) (result AlertRuleResourceCollection, err error)
    func (client AlertRulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client AlertRulesClient) ListBySubscriptionResponder(resp *http.Response) (result AlertRuleResourceCollection, err error)
    func (client AlertRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client AlertRulesClient) Update(ctx context.Context, resourceGroupName string, ruleName string, alertRulesResource AlertRuleResourcePatch) (result AlertRuleResource, err error)
    func (client AlertRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, alertRulesResource AlertRuleResourcePatch) (*http.Request, error)
    func (client AlertRulesClient) UpdateResponder(resp *http.Response) (result AlertRuleResource, err error)
    func (client AlertRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
type AlertSeverity
    func PossibleAlertSeverityValues() []AlertSeverity
type AlertingAction
    func (aa AlertingAction) AsAction() (*Action, bool)
    func (aa AlertingAction) AsAlertingAction() (*AlertingAction, bool)
    func (aa AlertingAction) AsBasicAction() (BasicAction, bool)
    func (aa AlertingAction) AsLogToMetricAction() (*LogToMetricAction, bool)
    func (aa AlertingAction) MarshalJSON() ([]byte, error)
type ArmRoleReceiver
type AutomationRunbookReceiver
type AutoscaleNotification
type AutoscaleProfile
type AutoscaleSetting
type AutoscaleSettingResource
    func (asr AutoscaleSettingResource) MarshalJSON() ([]byte, error)
    func (asr *AutoscaleSettingResource) UnmarshalJSON(body []byte) error
type AutoscaleSettingResourceCollection
    func (asrc AutoscaleSettingResourceCollection) IsEmpty() bool
type AutoscaleSettingResourceCollectionIterator
    func NewAutoscaleSettingResourceCollectionIterator(page AutoscaleSettingResourceCollectionPage) AutoscaleSettingResourceCollectionIterator
    func (iter *AutoscaleSettingResourceCollectionIterator) Next() error
    func (iter *AutoscaleSettingResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AutoscaleSettingResourceCollectionIterator) NotDone() bool
    func (iter AutoscaleSettingResourceCollectionIterator) Response() AutoscaleSettingResourceCollection
    func (iter AutoscaleSettingResourceCollectionIterator) Value() AutoscaleSettingResource
type AutoscaleSettingResourceCollectionPage
    func NewAutoscaleSettingResourceCollectionPage(cur AutoscaleSettingResourceCollection, getNextPage func(context.Context, AutoscaleSettingResourceCollection) (AutoscaleSettingResourceCollection, error)) AutoscaleSettingResourceCollectionPage
    func (page *AutoscaleSettingResourceCollectionPage) Next() error
    func (page *AutoscaleSettingResourceCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page AutoscaleSettingResourceCollectionPage) NotDone() bool
    func (page AutoscaleSettingResourceCollectionPage) Response() AutoscaleSettingResourceCollection
    func (page AutoscaleSettingResourceCollectionPage) Values() []AutoscaleSettingResource
type AutoscaleSettingResourcePatch
    func (asrp AutoscaleSettingResourcePatch) MarshalJSON() ([]byte, error)
    func (asrp *AutoscaleSettingResourcePatch) UnmarshalJSON(body []byte) error
type AutoscaleSettingsClient
    func NewAutoscaleSettingsClient(subscriptionID string) AutoscaleSettingsClient
    func NewAutoscaleSettingsClientWithBaseURI(baseURI string, subscriptionID string) AutoscaleSettingsClient
    func (client AutoscaleSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, autoscaleSettingName string, parameters AutoscaleSettingResource) (result AutoscaleSettingResource, err error)
    func (client AutoscaleSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string, parameters AutoscaleSettingResource) (*http.Request, error)
    func (client AutoscaleSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result AutoscaleSettingResource, err error)
    func (client AutoscaleSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client AutoscaleSettingsClient) Delete(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (result autorest.Response, err error)
    func (client AutoscaleSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (*http.Request, error)
    func (client AutoscaleSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AutoscaleSettingsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AutoscaleSettingsClient) Get(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (result AutoscaleSettingResource, err error)
    func (client AutoscaleSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (*http.Request, error)
    func (client AutoscaleSettingsClient) GetResponder(resp *http.Response) (result AutoscaleSettingResource, err error)
    func (client AutoscaleSettingsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AutoscaleSettingsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AutoscaleSettingResourceCollectionPage, err error)
    func (client AutoscaleSettingsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AutoscaleSettingResourceCollectionIterator, err error)
    func (client AutoscaleSettingsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client AutoscaleSettingsClient) ListByResourceGroupResponder(resp *http.Response) (result AutoscaleSettingResourceCollection, err error)
    func (client AutoscaleSettingsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client AutoscaleSettingsClient) ListBySubscription(ctx context.Context) (result AutoscaleSettingResourceCollectionPage, err error)
    func (client AutoscaleSettingsClient) ListBySubscriptionComplete(ctx context.Context) (result AutoscaleSettingResourceCollectionIterator, err error)
    func (client AutoscaleSettingsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client AutoscaleSettingsClient) ListBySubscriptionResponder(resp *http.Response) (result AutoscaleSettingResourceCollection, err error)
    func (client AutoscaleSettingsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client AutoscaleSettingsClient) Update(ctx context.Context, resourceGroupName string, autoscaleSettingName string, autoscaleSettingResource AutoscaleSettingResourcePatch) (result AutoscaleSettingResource, err error)
    func (client AutoscaleSettingsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string, autoscaleSettingResource AutoscaleSettingResourcePatch) (*http.Request, error)
    func (client AutoscaleSettingsClient) UpdateResponder(resp *http.Response) (result AutoscaleSettingResource, err error)
    func (client AutoscaleSettingsClient) UpdateSender(req *http.Request) (*http.Response, error)
type AzNsActionGroup
type AzureAppPushReceiver
type AzureFunctionReceiver
type AzureMonitorMetricsDestination
type AzureMonitorPrivateLinkScope
    func (ampls AzureMonitorPrivateLinkScope) MarshalJSON() ([]byte, error)
    func (ampls *AzureMonitorPrivateLinkScope) UnmarshalJSON(body []byte) error
type AzureMonitorPrivateLinkScopeListResult
    func (amplslr AzureMonitorPrivateLinkScopeListResult) IsEmpty() bool
type AzureMonitorPrivateLinkScopeListResultIterator
    func NewAzureMonitorPrivateLinkScopeListResultIterator(page AzureMonitorPrivateLinkScopeListResultPage) AzureMonitorPrivateLinkScopeListResultIterator
    func (iter *AzureMonitorPrivateLinkScopeListResultIterator) Next() error
    func (iter *AzureMonitorPrivateLinkScopeListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AzureMonitorPrivateLinkScopeListResultIterator) NotDone() bool
    func (iter AzureMonitorPrivateLinkScopeListResultIterator) Response() AzureMonitorPrivateLinkScopeListResult
    func (iter AzureMonitorPrivateLinkScopeListResultIterator) Value() AzureMonitorPrivateLinkScope
type AzureMonitorPrivateLinkScopeListResultPage
    func NewAzureMonitorPrivateLinkScopeListResultPage(cur AzureMonitorPrivateLinkScopeListResult, getNextPage func(context.Context, AzureMonitorPrivateLinkScopeListResult) (AzureMonitorPrivateLinkScopeListResult, error)) AzureMonitorPrivateLinkScopeListResultPage
    func (page *AzureMonitorPrivateLinkScopeListResultPage) Next() error
    func (page *AzureMonitorPrivateLinkScopeListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page AzureMonitorPrivateLinkScopeListResultPage) NotDone() bool
    func (page AzureMonitorPrivateLinkScopeListResultPage) Response() AzureMonitorPrivateLinkScopeListResult
    func (page AzureMonitorPrivateLinkScopeListResultPage) Values() []AzureMonitorPrivateLinkScope
type AzureMonitorPrivateLinkScopeProperties
    func (amplsp AzureMonitorPrivateLinkScopeProperties) MarshalJSON() ([]byte, error)
type AzureResource
    func (ar AzureResource) MarshalJSON() ([]byte, error)
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type BaselineMetadata
type BaselineSensitivity
    func PossibleBaselineSensitivityValues() []BaselineSensitivity
type BaselinesClient
    func NewBaselinesClient(subscriptionID string) BaselinesClient
    func NewBaselinesClientWithBaseURI(baseURI string, subscriptionID string) BaselinesClient
    func (client BaselinesClient) List(ctx context.Context, resourceURI string, metricnames string, metricnamespace string, timespan string, interval *string, aggregation string, sensitivities string, filter string, resultType ResultType) (result MetricBaselinesResponse, err error)
    func (client BaselinesClient) ListPreparer(ctx context.Context, resourceURI string, metricnames string, metricnamespace string, timespan string, interval *string, aggregation string, sensitivities string, filter string, resultType ResultType) (*http.Request, error)
    func (client BaselinesClient) ListResponder(resp *http.Response) (result MetricBaselinesResponse, err error)
    func (client BaselinesClient) ListSender(req *http.Request) (*http.Response, error)
type BasicAction
type BasicMetricAlertCriteria
type BasicMultiMetricCriteria
type BasicRuleAction
type BasicRuleCondition
type BasicRuleDataSource
type CategoryType
    func PossibleCategoryTypeValues() []CategoryType
type ComparisonOperationType
    func PossibleComparisonOperationTypeValues() []ComparisonOperationType
type ConditionOperator
    func PossibleConditionOperatorValues() []ConditionOperator
type ConditionalOperator
    func PossibleConditionalOperatorValues() []ConditionalOperator
type ConfigurationAccessEndpointSpec
    func (caes ConfigurationAccessEndpointSpec) MarshalJSON() ([]byte, error)
type Context
type CreatedByType
    func PossibleCreatedByTypeValues() []CreatedByType
type Criteria
type CriterionType
    func PossibleCriterionTypeValues() []CriterionType
type DataCollectionEndpoint
    func (dce DataCollectionEndpoint) MarshalJSON() ([]byte, error)
type DataCollectionEndpointConfigurationAccess
    func (dceA DataCollectionEndpointConfigurationAccess) MarshalJSON() ([]byte, error)
type DataCollectionEndpointLogsIngestion
    func (dceI DataCollectionEndpointLogsIngestion) MarshalJSON() ([]byte, error)
type DataCollectionEndpointNetworkAcls
type DataCollectionEndpointResource
    func (dcer DataCollectionEndpointResource) MarshalJSON() ([]byte, error)
    func (dcer *DataCollectionEndpointResource) UnmarshalJSON(body []byte) error
type DataCollectionEndpointResourceListResult
    func (dcerlr DataCollectionEndpointResourceListResult) IsEmpty() bool
type DataCollectionEndpointResourceListResultIterator
    func NewDataCollectionEndpointResourceListResultIterator(page DataCollectionEndpointResourceListResultPage) DataCollectionEndpointResourceListResultIterator
    func (iter *DataCollectionEndpointResourceListResultIterator) Next() error
    func (iter *DataCollectionEndpointResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DataCollectionEndpointResourceListResultIterator) NotDone() bool
    func (iter DataCollectionEndpointResourceListResultIterator) Response() DataCollectionEndpointResourceListResult
    func (iter DataCollectionEndpointResourceListResultIterator) Value() DataCollectionEndpointResource
type DataCollectionEndpointResourceListResultPage
    func NewDataCollectionEndpointResourceListResultPage(cur DataCollectionEndpointResourceListResult, getNextPage func(context.Context, DataCollectionEndpointResourceListResult) (DataCollectionEndpointResourceListResult, error)) DataCollectionEndpointResourceListResultPage
    func (page *DataCollectionEndpointResourceListResultPage) Next() error
    func (page *DataCollectionEndpointResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DataCollectionEndpointResourceListResultPage) NotDone() bool
    func (page DataCollectionEndpointResourceListResultPage) Response() DataCollectionEndpointResourceListResult
    func (page DataCollectionEndpointResourceListResultPage) Values() []DataCollectionEndpointResource
type DataCollectionEndpointResourceProperties
    func (dcer DataCollectionEndpointResourceProperties) MarshalJSON() ([]byte, error)
type DataCollectionEndpointResourceSystemData
type DataCollectionEndpointsClient
    func NewDataCollectionEndpointsClient(subscriptionID string) DataCollectionEndpointsClient
    func NewDataCollectionEndpointsClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionEndpointsClient
    func (client DataCollectionEndpointsClient) Create(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *DataCollectionEndpointResource) (result DataCollectionEndpointResource, err error)
    func (client DataCollectionEndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *DataCollectionEndpointResource) (*http.Request, error)
    func (client DataCollectionEndpointsClient) CreateResponder(resp *http.Response) (result DataCollectionEndpointResource, err error)
    func (client DataCollectionEndpointsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionEndpointsClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result autorest.Response, err error)
    func (client DataCollectionEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)
    func (client DataCollectionEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DataCollectionEndpointsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionEndpointsClient) Get(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result DataCollectionEndpointResource, err error)
    func (client DataCollectionEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)
    func (client DataCollectionEndpointsClient) GetResponder(resp *http.Response) (result DataCollectionEndpointResource, err error)
    func (client DataCollectionEndpointsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionEndpointsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DataCollectionEndpointResourceListResultPage, err error)
    func (client DataCollectionEndpointsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DataCollectionEndpointResourceListResultIterator, err error)
    func (client DataCollectionEndpointsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DataCollectionEndpointsClient) ListByResourceGroupResponder(resp *http.Response) (result DataCollectionEndpointResourceListResult, err error)
    func (client DataCollectionEndpointsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionEndpointsClient) ListBySubscription(ctx context.Context) (result DataCollectionEndpointResourceListResultPage, err error)
    func (client DataCollectionEndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result DataCollectionEndpointResourceListResultIterator, err error)
    func (client DataCollectionEndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client DataCollectionEndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result DataCollectionEndpointResourceListResult, err error)
    func (client DataCollectionEndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionEndpointsClient) Update(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (result DataCollectionEndpointResource, err error)
    func (client DataCollectionEndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (*http.Request, error)
    func (client DataCollectionEndpointsClient) UpdateResponder(resp *http.Response) (result DataCollectionEndpointResource, err error)
    func (client DataCollectionEndpointsClient) UpdateSender(req *http.Request) (*http.Response, error)
type DataCollectionRule
    func (dcr DataCollectionRule) MarshalJSON() ([]byte, error)
type DataCollectionRuleAssociation
    func (dcra DataCollectionRuleAssociation) MarshalJSON() ([]byte, error)
type DataCollectionRuleAssociationProxyOnlyResource
    func (dcrapor DataCollectionRuleAssociationProxyOnlyResource) MarshalJSON() ([]byte, error)
    func (dcrapor *DataCollectionRuleAssociationProxyOnlyResource) UnmarshalJSON(body []byte) error
type DataCollectionRuleAssociationProxyOnlyResourceListResult
    func (dcraporlr DataCollectionRuleAssociationProxyOnlyResourceListResult) IsEmpty() bool
type DataCollectionRuleAssociationProxyOnlyResourceListResultIterator
    func NewDataCollectionRuleAssociationProxyOnlyResourceListResultIterator(page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) DataCollectionRuleAssociationProxyOnlyResourceListResultIterator
    func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Next() error
    func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NotDone() bool
    func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult
    func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Value() DataCollectionRuleAssociationProxyOnlyResource
type DataCollectionRuleAssociationProxyOnlyResourceListResultPage
    func NewDataCollectionRuleAssociationProxyOnlyResourceListResultPage(cur DataCollectionRuleAssociationProxyOnlyResourceListResult, getNextPage func(context.Context, DataCollectionRuleAssociationProxyOnlyResourceListResult) (DataCollectionRuleAssociationProxyOnlyResourceListResult, error)) DataCollectionRuleAssociationProxyOnlyResourceListResultPage
    func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Next() error
    func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NotDone() bool
    func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult
    func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Values() []DataCollectionRuleAssociationProxyOnlyResource
type DataCollectionRuleAssociationProxyOnlyResourceProperties
    func (dcrapor DataCollectionRuleAssociationProxyOnlyResourceProperties) MarshalJSON() ([]byte, error)
type DataCollectionRuleAssociationProxyOnlyResourceSystemData
type DataCollectionRuleAssociationsClient
    func NewDataCollectionRuleAssociationsClient(subscriptionID string) DataCollectionRuleAssociationsClient
    func NewDataCollectionRuleAssociationsClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionRuleAssociationsClient
    func (client DataCollectionRuleAssociationsClient) Create(ctx context.Context, resourceURI string, associationName string, body *DataCollectionRuleAssociationProxyOnlyResource) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
    func (client DataCollectionRuleAssociationsClient) CreatePreparer(ctx context.Context, resourceURI string, associationName string, body *DataCollectionRuleAssociationProxyOnlyResource) (*http.Request, error)
    func (client DataCollectionRuleAssociationsClient) CreateResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
    func (client DataCollectionRuleAssociationsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRuleAssociationsClient) Delete(ctx context.Context, resourceURI string, associationName string) (result autorest.Response, err error)
    func (client DataCollectionRuleAssociationsClient) DeletePreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
    func (client DataCollectionRuleAssociationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DataCollectionRuleAssociationsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRuleAssociationsClient) Get(ctx context.Context, resourceURI string, associationName string) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
    func (client DataCollectionRuleAssociationsClient) GetPreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)
    func (client DataCollectionRuleAssociationsClient) GetResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)
    func (client DataCollectionRuleAssociationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRuleAssociationsClient) ListByResource(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)
    func (client DataCollectionRuleAssociationsClient) ListByResourceComplete(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)
    func (client DataCollectionRuleAssociationsClient) ListByResourcePreparer(ctx context.Context, resourceURI string) (*http.Request, error)
    func (client DataCollectionRuleAssociationsClient) ListByResourceResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)
    func (client DataCollectionRuleAssociationsClient) ListByResourceSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRuleAssociationsClient) ListByRule(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)
    func (client DataCollectionRuleAssociationsClient) ListByRuleComplete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)
    func (client DataCollectionRuleAssociationsClient) ListByRulePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
    func (client DataCollectionRuleAssociationsClient) ListByRuleResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)
    func (client DataCollectionRuleAssociationsClient) ListByRuleSender(req *http.Request) (*http.Response, error)
type DataCollectionRuleDataSources
type DataCollectionRuleDestinations
type DataCollectionRuleResource
    func (dcrr DataCollectionRuleResource) MarshalJSON() ([]byte, error)
    func (dcrr *DataCollectionRuleResource) UnmarshalJSON(body []byte) error
type DataCollectionRuleResourceListResult
    func (dcrrlr DataCollectionRuleResourceListResult) IsEmpty() bool
type DataCollectionRuleResourceListResultIterator
    func NewDataCollectionRuleResourceListResultIterator(page DataCollectionRuleResourceListResultPage) DataCollectionRuleResourceListResultIterator
    func (iter *DataCollectionRuleResourceListResultIterator) Next() error
    func (iter *DataCollectionRuleResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DataCollectionRuleResourceListResultIterator) NotDone() bool
    func (iter DataCollectionRuleResourceListResultIterator) Response() DataCollectionRuleResourceListResult
    func (iter DataCollectionRuleResourceListResultIterator) Value() DataCollectionRuleResource
type DataCollectionRuleResourceListResultPage
    func NewDataCollectionRuleResourceListResultPage(cur DataCollectionRuleResourceListResult, getNextPage func(context.Context, DataCollectionRuleResourceListResult) (DataCollectionRuleResourceListResult, error)) DataCollectionRuleResourceListResultPage
    func (page *DataCollectionRuleResourceListResultPage) Next() error
    func (page *DataCollectionRuleResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DataCollectionRuleResourceListResultPage) NotDone() bool
    func (page DataCollectionRuleResourceListResultPage) Response() DataCollectionRuleResourceListResult
    func (page DataCollectionRuleResourceListResultPage) Values() []DataCollectionRuleResource
type DataCollectionRuleResourceProperties
    func (dcrr DataCollectionRuleResourceProperties) MarshalJSON() ([]byte, error)
type DataCollectionRuleResourceSystemData
type DataCollectionRulesClient
    func NewDataCollectionRulesClient(subscriptionID string) DataCollectionRulesClient
    func NewDataCollectionRulesClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionRulesClient
    func (client DataCollectionRulesClient) Create(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *DataCollectionRuleResource) (result DataCollectionRuleResource, err error)
    func (client DataCollectionRulesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *DataCollectionRuleResource) (*http.Request, error)
    func (client DataCollectionRulesClient) CreateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
    func (client DataCollectionRulesClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRulesClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result autorest.Response, err error)
    func (client DataCollectionRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
    func (client DataCollectionRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DataCollectionRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRulesClient) Get(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleResource, err error)
    func (client DataCollectionRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)
    func (client DataCollectionRulesClient) GetResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
    func (client DataCollectionRulesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultPage, err error)
    func (client DataCollectionRulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultIterator, err error)
    func (client DataCollectionRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DataCollectionRulesClient) ListByResourceGroupResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)
    func (client DataCollectionRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRulesClient) ListBySubscription(ctx context.Context) (result DataCollectionRuleResourceListResultPage, err error)
    func (client DataCollectionRulesClient) ListBySubscriptionComplete(ctx context.Context) (result DataCollectionRuleResourceListResultIterator, err error)
    func (client DataCollectionRulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client DataCollectionRulesClient) ListBySubscriptionResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)
    func (client DataCollectionRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client DataCollectionRulesClient) Update(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (result DataCollectionRuleResource, err error)
    func (client DataCollectionRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (*http.Request, error)
    func (client DataCollectionRulesClient) UpdateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)
    func (client DataCollectionRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
type DataContainer
type DataFlow
type DataSourcesSpec
type DataStatus
    func PossibleDataStatusValues() []DataStatus
type DestinationsSpec
type DestinationsSpecAzureMonitorMetrics
type DiagnosticSettings
type DiagnosticSettingsCategory
type DiagnosticSettingsCategoryClient
    func NewDiagnosticSettingsCategoryClient(subscriptionID string) DiagnosticSettingsCategoryClient
    func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsCategoryClient
    func (client DiagnosticSettingsCategoryClient) Get(ctx context.Context, resourceURI string, name string) (result DiagnosticSettingsCategoryResource, err error)
    func (client DiagnosticSettingsCategoryClient) GetPreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error)
    func (client DiagnosticSettingsCategoryClient) GetResponder(resp *http.Response) (result DiagnosticSettingsCategoryResource, err error)
    func (client DiagnosticSettingsCategoryClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DiagnosticSettingsCategoryClient) List(ctx context.Context, resourceURI string) (result DiagnosticSettingsCategoryResourceCollection, err error)
    func (client DiagnosticSettingsCategoryClient) ListPreparer(ctx context.Context, resourceURI string) (*http.Request, error)
    func (client DiagnosticSettingsCategoryClient) ListResponder(resp *http.Response) (result DiagnosticSettingsCategoryResourceCollection, err error)
    func (client DiagnosticSettingsCategoryClient) ListSender(req *http.Request) (*http.Response, error)
type DiagnosticSettingsCategoryResource
    func (dscr DiagnosticSettingsCategoryResource) MarshalJSON() ([]byte, error)
    func (dscr *DiagnosticSettingsCategoryResource) UnmarshalJSON(body []byte) error
type DiagnosticSettingsCategoryResourceCollection
type DiagnosticSettingsClient
    func NewDiagnosticSettingsClient(subscriptionID string) DiagnosticSettingsClient
    func NewDiagnosticSettingsClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsClient
    func (client DiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, resourceURI string, parameters DiagnosticSettingsResource, name string) (result DiagnosticSettingsResource, err error)
    func (client DiagnosticSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceURI string, parameters DiagnosticSettingsResource, name string) (*http.Request, error)
    func (client DiagnosticSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result DiagnosticSettingsResource, err error)
    func (client DiagnosticSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client DiagnosticSettingsClient) Delete(ctx context.Context, resourceURI string, name string) (result autorest.Response, err error)
    func (client DiagnosticSettingsClient) DeletePreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error)
    func (client DiagnosticSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DiagnosticSettingsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client DiagnosticSettingsClient) Get(ctx context.Context, resourceURI string, name string) (result DiagnosticSettingsResource, err error)
    func (client DiagnosticSettingsClient) GetPreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error)
    func (client DiagnosticSettingsClient) GetResponder(resp *http.Response) (result DiagnosticSettingsResource, err error)
    func (client DiagnosticSettingsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DiagnosticSettingsClient) List(ctx context.Context, resourceURI string) (result DiagnosticSettingsResourceCollection, err error)
    func (client DiagnosticSettingsClient) ListPreparer(ctx context.Context, resourceURI string) (*http.Request, error)
    func (client DiagnosticSettingsClient) ListResponder(resp *http.Response) (result DiagnosticSettingsResourceCollection, err error)
    func (client DiagnosticSettingsClient) ListSender(req *http.Request) (*http.Response, error)
type DiagnosticSettingsResource
    func (dsr DiagnosticSettingsResource) MarshalJSON() ([]byte, error)
    func (dsr *DiagnosticSettingsResource) UnmarshalJSON(body []byte) error
type DiagnosticSettingsResourceCollection
type Dimension
type DynamicMetricCriteria
    func (dmc DynamicMetricCriteria) AsBasicMultiMetricCriteria() (BasicMultiMetricCriteria, bool)
    func (dmc DynamicMetricCriteria) AsDynamicMetricCriteria() (*DynamicMetricCriteria, bool)
    func (dmc DynamicMetricCriteria) AsMetricCriteria() (*MetricCriteria, bool)
    func (dmc DynamicMetricCriteria) AsMultiMetricCriteria() (*MultiMetricCriteria, bool)
    func (dmc DynamicMetricCriteria) MarshalJSON() ([]byte, error)
    func (dmc *DynamicMetricCriteria) UnmarshalJSON(body []byte) error
type DynamicThresholdFailingPeriods
type DynamicThresholdOperator
    func PossibleDynamicThresholdOperatorValues() []DynamicThresholdOperator
type DynamicThresholdSensitivity
    func PossibleDynamicThresholdSensitivityValues() []DynamicThresholdSensitivity
type EmailNotification
type EmailReceiver
    func (er EmailReceiver) MarshalJSON() ([]byte, error)
type EnableRequest
type Enabled
    func PossibleEnabledValues() []Enabled
type Error
type ErrorAdditionalInfo
    func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
type ErrorContract
type ErrorDetail
    func (ed ErrorDetail) MarshalJSON() ([]byte, error)
type ErrorResponse
type ErrorResponseCommon
    func (erc ErrorResponseCommon) MarshalJSON() ([]byte, error)
type ErrorResponseCommonV2
type EventCategoriesClient
    func NewEventCategoriesClient(subscriptionID string) EventCategoriesClient
    func NewEventCategoriesClientWithBaseURI(baseURI string, subscriptionID string) EventCategoriesClient
    func (client EventCategoriesClient) List(ctx context.Context) (result EventCategoryCollection, err error)
    func (client EventCategoriesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client EventCategoriesClient) ListResponder(resp *http.Response) (result EventCategoryCollection, err error)
    func (client EventCategoriesClient) ListSender(req *http.Request) (*http.Response, error)
type EventCategoryCollection
type EventData
    func (ed EventData) MarshalJSON() ([]byte, error)
type EventDataCollection
    func (edc EventDataCollection) IsEmpty() bool
type EventDataCollectionIterator
    func NewEventDataCollectionIterator(page EventDataCollectionPage) EventDataCollectionIterator
    func (iter *EventDataCollectionIterator) Next() error
    func (iter *EventDataCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter EventDataCollectionIterator) NotDone() bool
    func (iter EventDataCollectionIterator) Response() EventDataCollection
    func (iter EventDataCollectionIterator) Value() EventData
type EventDataCollectionPage
    func NewEventDataCollectionPage(cur EventDataCollection, getNextPage func(context.Context, EventDataCollection) (EventDataCollection, error)) EventDataCollectionPage
    func (page *EventDataCollectionPage) Next() error
    func (page *EventDataCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page EventDataCollectionPage) NotDone() bool
    func (page EventDataCollectionPage) Response() EventDataCollection
    func (page EventDataCollectionPage) Values() []EventData
type EventHubReceiver
type EventLevel
    func PossibleEventLevelValues() []EventLevel
type ExtensionDataSource
type HTTPRequestInfo
type Incident
    func (i Incident) MarshalJSON() ([]byte, error)
type IncidentListResult
type ItsmReceiver
type KnownDataCollectionEndpointProvisioningState
    func PossibleKnownDataCollectionEndpointProvisioningStateValues() []KnownDataCollectionEndpointProvisioningState
type KnownDataCollectionEndpointResourceKind
    func PossibleKnownDataCollectionEndpointResourceKindValues() []KnownDataCollectionEndpointResourceKind
type KnownDataCollectionRuleAssociationProvisioningState
    func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues() []KnownDataCollectionRuleAssociationProvisioningState
type KnownDataCollectionRuleProvisioningState
    func PossibleKnownDataCollectionRuleProvisioningStateValues() []KnownDataCollectionRuleProvisioningState
type KnownDataCollectionRuleResourceKind
    func PossibleKnownDataCollectionRuleResourceKindValues() []KnownDataCollectionRuleResourceKind
type KnownDataFlowStreams
    func PossibleKnownDataFlowStreamsValues() []KnownDataFlowStreams
type KnownExtensionDataSourceStreams
    func PossibleKnownExtensionDataSourceStreamsValues() []KnownExtensionDataSourceStreams
type KnownPerfCounterDataSourceStreams
    func PossibleKnownPerfCounterDataSourceStreamsValues() []KnownPerfCounterDataSourceStreams
type KnownPublicNetworkAccessOptions
    func PossibleKnownPublicNetworkAccessOptionsValues() []KnownPublicNetworkAccessOptions
type KnownSyslogDataSourceFacilityNames
    func PossibleKnownSyslogDataSourceFacilityNamesValues() []KnownSyslogDataSourceFacilityNames
type KnownSyslogDataSourceLogLevels
    func PossibleKnownSyslogDataSourceLogLevelsValues() []KnownSyslogDataSourceLogLevels
type KnownSyslogDataSourceStreams
    func PossibleKnownSyslogDataSourceStreamsValues() []KnownSyslogDataSourceStreams
type KnownWindowsEventLogDataSourceStreams
    func PossibleKnownWindowsEventLogDataSourceStreamsValues() []KnownWindowsEventLogDataSourceStreams
type LocalizableString
type LocationThresholdRuleCondition
    func (ltrc LocationThresholdRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)
    func (ltrc LocationThresholdRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)
    func (ltrc LocationThresholdRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)
    func (ltrc LocationThresholdRuleCondition) AsRuleCondition() (*RuleCondition, bool)
    func (ltrc LocationThresholdRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)
    func (ltrc LocationThresholdRuleCondition) MarshalJSON() ([]byte, error)
    func (ltrc *LocationThresholdRuleCondition) UnmarshalJSON(body []byte) error
type LogAnalyticsDestination
    func (lad LogAnalyticsDestination) MarshalJSON() ([]byte, error)
type LogMetricTrigger
type LogProfileCollection
type LogProfileProperties
type LogProfileResource
    func (lpr LogProfileResource) MarshalJSON() ([]byte, error)
    func (lpr *LogProfileResource) UnmarshalJSON(body []byte) error
type LogProfileResourcePatch
    func (lprp LogProfileResourcePatch) MarshalJSON() ([]byte, error)
    func (lprp *LogProfileResourcePatch) UnmarshalJSON(body []byte) error
type LogProfilesClient
    func NewLogProfilesClient(subscriptionID string) LogProfilesClient
    func NewLogProfilesClientWithBaseURI(baseURI string, subscriptionID string) LogProfilesClient
    func (client LogProfilesClient) CreateOrUpdate(ctx context.Context, logProfileName string, parameters LogProfileResource) (result LogProfileResource, err error)
    func (client LogProfilesClient) CreateOrUpdatePreparer(ctx context.Context, logProfileName string, parameters LogProfileResource) (*http.Request, error)
    func (client LogProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result LogProfileResource, err error)
    func (client LogProfilesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client LogProfilesClient) Delete(ctx context.Context, logProfileName string) (result autorest.Response, err error)
    func (client LogProfilesClient) DeletePreparer(ctx context.Context, logProfileName string) (*http.Request, error)
    func (client LogProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LogProfilesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client LogProfilesClient) Get(ctx context.Context, logProfileName string) (result LogProfileResource, err error)
    func (client LogProfilesClient) GetPreparer(ctx context.Context, logProfileName string) (*http.Request, error)
    func (client LogProfilesClient) GetResponder(resp *http.Response) (result LogProfileResource, err error)
    func (client LogProfilesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client LogProfilesClient) List(ctx context.Context) (result LogProfileCollection, err error)
    func (client LogProfilesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client LogProfilesClient) ListResponder(resp *http.Response) (result LogProfileCollection, err error)
    func (client LogProfilesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client LogProfilesClient) Update(ctx context.Context, logProfileName string, logProfilesResource LogProfileResourcePatch) (result LogProfileResource, err error)
    func (client LogProfilesClient) UpdatePreparer(ctx context.Context, logProfileName string, logProfilesResource LogProfileResourcePatch) (*http.Request, error)
    func (client LogProfilesClient) UpdateResponder(resp *http.Response) (result LogProfileResource, err error)
    func (client LogProfilesClient) UpdateSender(req *http.Request) (*http.Response, error)
type LogSearchRule
    func (lsr LogSearchRule) MarshalJSON() ([]byte, error)
    func (lsr *LogSearchRule) UnmarshalJSON(body []byte) error
type LogSearchRulePatch
type LogSearchRuleResource
    func (lsrr LogSearchRuleResource) MarshalJSON() ([]byte, error)
    func (lsrr *LogSearchRuleResource) UnmarshalJSON(body []byte) error
type LogSearchRuleResourceCollection
type LogSearchRuleResourcePatch
    func (lsrrp LogSearchRuleResourcePatch) MarshalJSON() ([]byte, error)
    func (lsrrp *LogSearchRuleResourcePatch) UnmarshalJSON(body []byte) error
type LogSettings
type LogToMetricAction
    func (ltma LogToMetricAction) AsAction() (*Action, bool)
    func (ltma LogToMetricAction) AsAlertingAction() (*AlertingAction, bool)
    func (ltma LogToMetricAction) AsBasicAction() (BasicAction, bool)
    func (ltma LogToMetricAction) AsLogToMetricAction() (*LogToMetricAction, bool)
    func (ltma LogToMetricAction) MarshalJSON() ([]byte, error)
type LogicAppReceiver
type LogsIngestionEndpointSpec
    func (lies LogsIngestionEndpointSpec) MarshalJSON() ([]byte, error)
type ManagementEventAggregationCondition
type ManagementEventRuleCondition
    func (merc ManagementEventRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)
    func (merc ManagementEventRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)
    func (merc ManagementEventRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)
    func (merc ManagementEventRuleCondition) AsRuleCondition() (*RuleCondition, bool)
    func (merc ManagementEventRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)
    func (merc ManagementEventRuleCondition) MarshalJSON() ([]byte, error)
    func (merc *ManagementEventRuleCondition) UnmarshalJSON(body []byte) error
type MetadataValue
type Metric
type MetricAlertAction
    func (maa MetricAlertAction) MarshalJSON() ([]byte, error)
type MetricAlertCriteria
    func (mac MetricAlertCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)
    func (mac MetricAlertCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)
    func (mac MetricAlertCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)
    func (mac MetricAlertCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)
    func (mac MetricAlertCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)
    func (mac MetricAlertCriteria) MarshalJSON() ([]byte, error)
    func (mac *MetricAlertCriteria) UnmarshalJSON(body []byte) error
type MetricAlertMultipleResourceMultipleMetricCriteria
    func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)
    func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)
    func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)
    func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)
    func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)
    func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) MarshalJSON() ([]byte, error)
    func (mamrmmc *MetricAlertMultipleResourceMultipleMetricCriteria) UnmarshalJSON(body []byte) error
type MetricAlertProperties
    func (mapVar MetricAlertProperties) MarshalJSON() ([]byte, error)
    func (mapVar *MetricAlertProperties) UnmarshalJSON(body []byte) error
type MetricAlertPropertiesPatch
    func (mapp MetricAlertPropertiesPatch) MarshalJSON() ([]byte, error)
    func (mapp *MetricAlertPropertiesPatch) UnmarshalJSON(body []byte) error
type MetricAlertResource
    func (mar MetricAlertResource) MarshalJSON() ([]byte, error)
    func (mar *MetricAlertResource) UnmarshalJSON(body []byte) error
type MetricAlertResourceCollection
type MetricAlertResourcePatch
    func (marp MetricAlertResourcePatch) MarshalJSON() ([]byte, error)
    func (marp *MetricAlertResourcePatch) UnmarshalJSON(body []byte) error
type MetricAlertSingleResourceMultipleMetricCriteria
    func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)
    func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)
    func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)
    func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)
    func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)
    func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) MarshalJSON() ([]byte, error)
    func (masrmmc *MetricAlertSingleResourceMultipleMetricCriteria) UnmarshalJSON(body []byte) error
type MetricAlertStatus
type MetricAlertStatusCollection
type MetricAlertStatusProperties
    func (masp MetricAlertStatusProperties) MarshalJSON() ([]byte, error)
type MetricAlertsClient
    func NewMetricAlertsClient(subscriptionID string) MetricAlertsClient
    func NewMetricAlertsClientWithBaseURI(baseURI string, subscriptionID string) MetricAlertsClient
    func (client MetricAlertsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResource) (result MetricAlertResource, err error)
    func (client MetricAlertsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResource) (*http.Request, error)
    func (client MetricAlertsClient) CreateOrUpdateResponder(resp *http.Response) (result MetricAlertResource, err error)
    func (client MetricAlertsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client MetricAlertsClient) Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)
    func (client MetricAlertsClient) DeletePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client MetricAlertsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client MetricAlertsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client MetricAlertsClient) Get(ctx context.Context, resourceGroupName string, ruleName string) (result MetricAlertResource, err error)
    func (client MetricAlertsClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client MetricAlertsClient) GetResponder(resp *http.Response) (result MetricAlertResource, err error)
    func (client MetricAlertsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client MetricAlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MetricAlertResourceCollection, err error)
    func (client MetricAlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client MetricAlertsClient) ListByResourceGroupResponder(resp *http.Response) (result MetricAlertResourceCollection, err error)
    func (client MetricAlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client MetricAlertsClient) ListBySubscription(ctx context.Context) (result MetricAlertResourceCollection, err error)
    func (client MetricAlertsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client MetricAlertsClient) ListBySubscriptionResponder(resp *http.Response) (result MetricAlertResourceCollection, err error)
    func (client MetricAlertsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client MetricAlertsClient) Update(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResourcePatch) (result MetricAlertResource, err error)
    func (client MetricAlertsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResourcePatch) (*http.Request, error)
    func (client MetricAlertsClient) UpdateResponder(resp *http.Response) (result MetricAlertResource, err error)
    func (client MetricAlertsClient) UpdateSender(req *http.Request) (*http.Response, error)
type MetricAlertsStatusClient
    func NewMetricAlertsStatusClient(subscriptionID string) MetricAlertsStatusClient
    func NewMetricAlertsStatusClientWithBaseURI(baseURI string, subscriptionID string) MetricAlertsStatusClient
    func (client MetricAlertsStatusClient) List(ctx context.Context, resourceGroupName string, ruleName string) (result MetricAlertStatusCollection, err error)
    func (client MetricAlertsStatusClient) ListByName(ctx context.Context, resourceGroupName string, ruleName string, statusName string) (result MetricAlertStatusCollection, err error)
    func (client MetricAlertsStatusClient) ListByNamePreparer(ctx context.Context, resourceGroupName string, ruleName string, statusName string) (*http.Request, error)
    func (client MetricAlertsStatusClient) ListByNameResponder(resp *http.Response) (result MetricAlertStatusCollection, err error)
    func (client MetricAlertsStatusClient) ListByNameSender(req *http.Request) (*http.Response, error)
    func (client MetricAlertsStatusClient) ListPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client MetricAlertsStatusClient) ListResponder(resp *http.Response) (result MetricAlertStatusCollection, err error)
    func (client MetricAlertsStatusClient) ListSender(req *http.Request) (*http.Response, error)
type MetricAvailability
type MetricBaselinesProperties
type MetricBaselinesResponse
type MetricClass
    func PossibleMetricClassValues() []MetricClass
type MetricCriteria
    func (mc MetricCriteria) AsBasicMultiMetricCriteria() (BasicMultiMetricCriteria, bool)
    func (mc MetricCriteria) AsDynamicMetricCriteria() (*DynamicMetricCriteria, bool)
    func (mc MetricCriteria) AsMetricCriteria() (*MetricCriteria, bool)
    func (mc MetricCriteria) AsMultiMetricCriteria() (*MultiMetricCriteria, bool)
    func (mc MetricCriteria) MarshalJSON() ([]byte, error)
    func (mc *MetricCriteria) UnmarshalJSON(body []byte) error
type MetricDefinition
type MetricDefinitionCollection
type MetricDefinitionsClient
    func NewMetricDefinitionsClient(subscriptionID string) MetricDefinitionsClient
    func NewMetricDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) MetricDefinitionsClient
    func (client MetricDefinitionsClient) List(ctx context.Context, resourceURI string, metricnamespace string) (result MetricDefinitionCollection, err error)
    func (client MetricDefinitionsClient) ListPreparer(ctx context.Context, resourceURI string, metricnamespace string) (*http.Request, error)
    func (client MetricDefinitionsClient) ListResponder(resp *http.Response) (result MetricDefinitionCollection, err error)
    func (client MetricDefinitionsClient) ListSender(req *http.Request) (*http.Response, error)
type MetricDimension
type MetricNamespace
type MetricNamespaceCollection
type MetricNamespaceName
type MetricNamespacesClient
    func NewMetricNamespacesClient(subscriptionID string) MetricNamespacesClient
    func NewMetricNamespacesClientWithBaseURI(baseURI string, subscriptionID string) MetricNamespacesClient
    func (client MetricNamespacesClient) List(ctx context.Context, resourceURI string, startTime string) (result MetricNamespaceCollection, err error)
    func (client MetricNamespacesClient) ListPreparer(ctx context.Context, resourceURI string, startTime string) (*http.Request, error)
    func (client MetricNamespacesClient) ListResponder(resp *http.Response) (result MetricNamespaceCollection, err error)
    func (client MetricNamespacesClient) ListSender(req *http.Request) (*http.Response, error)
type MetricSettings
type MetricSingleDimension
type MetricStatisticType
    func PossibleMetricStatisticTypeValues() []MetricStatisticType
type MetricTrigger
type MetricTriggerType
    func PossibleMetricTriggerTypeValues() []MetricTriggerType
type MetricUnit
    func PossibleMetricUnitValues() []MetricUnit
type MetricValue
type MetricsClient
    func NewMetricsClient(subscriptionID string) MetricsClient
    func NewMetricsClientWithBaseURI(baseURI string, subscriptionID string) MetricsClient
    func (client MetricsClient) List(ctx context.Context, resourceURI string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType ResultType, metricnamespace string) (result Response, err error)
    func (client MetricsClient) ListPreparer(ctx context.Context, resourceURI string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType ResultType, metricnamespace string) (*http.Request, error)
    func (client MetricsClient) ListResponder(resp *http.Response) (result Response, err error)
    func (client MetricsClient) ListSender(req *http.Request) (*http.Response, error)
type MultiMetricCriteria
    func (mmc MultiMetricCriteria) AsBasicMultiMetricCriteria() (BasicMultiMetricCriteria, bool)
    func (mmc MultiMetricCriteria) AsDynamicMetricCriteria() (*DynamicMetricCriteria, bool)
    func (mmc MultiMetricCriteria) AsMetricCriteria() (*MetricCriteria, bool)
    func (mmc MultiMetricCriteria) AsMultiMetricCriteria() (*MultiMetricCriteria, bool)
    func (mmc MultiMetricCriteria) MarshalJSON() ([]byte, error)
    func (mmc *MultiMetricCriteria) UnmarshalJSON(body []byte) error
type NamespaceClassification
    func PossibleNamespaceClassificationValues() []NamespaceClassification
type NetworkRuleSet
type NotificationRequestBody
type OdataType
    func PossibleOdataTypeValues() []OdataType
type OdataTypeBasicAction
    func PossibleOdataTypeBasicActionValues() []OdataTypeBasicAction
type OdataTypeBasicMetricAlertCriteria
    func PossibleOdataTypeBasicMetricAlertCriteriaValues() []OdataTypeBasicMetricAlertCriteria
type OdataTypeBasicRuleAction
    func PossibleOdataTypeBasicRuleActionValues() []OdataTypeBasicRuleAction
type OdataTypeBasicRuleCondition
    func PossibleOdataTypeBasicRuleConditionValues() []OdataTypeBasicRuleCondition
type OnboardingStatus
    func PossibleOnboardingStatusValues() []OnboardingStatus
type Operation
type OperationDisplay
type OperationListResult
type OperationStatus
type OperationsClient
    func NewOperationsClient(subscriptionID string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
    func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
    func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
    func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
type Operator
    func PossibleOperatorValues() []Operator
type PerfCounterDataSource
type PrivateEndpointConnection
    func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
    func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
type PrivateEndpointConnectionListResult
    func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool
    func (peclr PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)
type PrivateEndpointConnectionListResultIterator
    func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator
    func (iter *PrivateEndpointConnectionListResultIterator) Next() error
    func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
    func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
    func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
type PrivateEndpointConnectionListResultPage
    func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage
    func (page *PrivateEndpointConnectionListResultPage) Next() error
    func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page PrivateEndpointConnectionListResultPage) NotDone() bool
    func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
    func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
type PrivateEndpointConnectionProperties
    func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
type PrivateEndpointConnectionsClient
    func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient
    func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient
    func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
    func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
    func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
    func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)
    func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
    func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)
    func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
    func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateEndpointConnectionListResultPage, err error)
    func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateEndpointConnectionListResultIterator, err error)
    func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
    func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
    func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)
type PrivateEndpointConnectionsCreateOrUpdateFuture
    func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type PrivateEndpointConnectionsDeleteFuture
    func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error
type PrivateEndpointProperty
type PrivateLinkResource
    func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)
    func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error
type PrivateLinkResourceListResult
    func (plrlr PrivateLinkResourceListResult) IsEmpty() bool
    func (plrlr PrivateLinkResourceListResult) MarshalJSON() ([]byte, error)
type PrivateLinkResourceListResultIterator
    func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator
    func (iter *PrivateLinkResourceListResultIterator) Next() error
    func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter PrivateLinkResourceListResultIterator) NotDone() bool
    func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult
    func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource
type PrivateLinkResourceListResultPage
    func NewPrivateLinkResourceListResultPage(cur PrivateLinkResourceListResult, getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage
    func (page *PrivateLinkResourceListResultPage) Next() error
    func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page PrivateLinkResourceListResultPage) NotDone() bool
    func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult
    func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource
type PrivateLinkResourceProperties
    func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
type PrivateLinkResourcesClient
    func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient
    func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient
    func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, scopeName string, groupName string) (result PrivateLinkResource, err error)
    func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, groupName string) (*http.Request, error)
    func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
    func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PrivateLinkResourcesClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkResourceListResultPage, err error)
    func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkResourceListResultIterator, err error)
    func (client PrivateLinkResourcesClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
    func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
    func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)
type PrivateLinkScopeOperationStatusClient
    func NewPrivateLinkScopeOperationStatusClient(subscriptionID string) PrivateLinkScopeOperationStatusClient
    func NewPrivateLinkScopeOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkScopeOperationStatusClient
    func (client PrivateLinkScopeOperationStatusClient) Get(ctx context.Context, asyncOperationID string, resourceGroupName string) (result OperationStatus, err error)
    func (client PrivateLinkScopeOperationStatusClient) GetPreparer(ctx context.Context, asyncOperationID string, resourceGroupName string) (*http.Request, error)
    func (client PrivateLinkScopeOperationStatusClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
    func (client PrivateLinkScopeOperationStatusClient) GetSender(req *http.Request) (*http.Response, error)
type PrivateLinkScopedResourcesClient
    func NewPrivateLinkScopedResourcesClient(subscriptionID string) PrivateLinkScopedResourcesClient
    func NewPrivateLinkScopedResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkScopedResourcesClient
    func (client PrivateLinkScopedResourcesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, name string, parameters ScopedResource) (result PrivateLinkScopedResourcesCreateOrUpdateFuture, err error)
    func (client PrivateLinkScopedResourcesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, name string, parameters ScopedResource) (*http.Request, error)
    func (client PrivateLinkScopedResourcesClient) CreateOrUpdateResponder(resp *http.Response) (result ScopedResource, err error)
    func (client PrivateLinkScopedResourcesClient) CreateOrUpdateSender(req *http.Request) (future PrivateLinkScopedResourcesCreateOrUpdateFuture, err error)
    func (client PrivateLinkScopedResourcesClient) Delete(ctx context.Context, resourceGroupName string, scopeName string, name string) (result PrivateLinkScopedResourcesDeleteFuture, err error)
    func (client PrivateLinkScopedResourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string, name string) (*http.Request, error)
    func (client PrivateLinkScopedResourcesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PrivateLinkScopedResourcesClient) DeleteSender(req *http.Request) (future PrivateLinkScopedResourcesDeleteFuture, err error)
    func (client PrivateLinkScopedResourcesClient) Get(ctx context.Context, resourceGroupName string, scopeName string, name string) (result ScopedResource, err error)
    func (client PrivateLinkScopedResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, name string) (*http.Request, error)
    func (client PrivateLinkScopedResourcesClient) GetResponder(resp *http.Response) (result ScopedResource, err error)
    func (client PrivateLinkScopedResourcesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result ScopedResourceListResultPage, err error)
    func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result ScopedResourceListResultIterator, err error)
    func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
    func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result ScopedResourceListResult, err error)
    func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)
type PrivateLinkScopedResourcesCreateOrUpdateFuture
    func (future *PrivateLinkScopedResourcesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type PrivateLinkScopedResourcesDeleteFuture
    func (future *PrivateLinkScopedResourcesDeleteFuture) UnmarshalJSON(body []byte) error
type PrivateLinkScopesClient
    func NewPrivateLinkScopesClient(subscriptionID string) PrivateLinkScopesClient
    func NewPrivateLinkScopesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkScopesClient
    func (client PrivateLinkScopesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, azureMonitorPrivateLinkScopePayload AzureMonitorPrivateLinkScope) (result AzureMonitorPrivateLinkScope, err error)
    func (client PrivateLinkScopesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, azureMonitorPrivateLinkScopePayload AzureMonitorPrivateLinkScope) (*http.Request, error)
    func (client PrivateLinkScopesClient) CreateOrUpdateResponder(resp *http.Response) (result AzureMonitorPrivateLinkScope, err error)
    func (client PrivateLinkScopesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client PrivateLinkScopesClient) Delete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkScopesDeleteFuture, err error)
    func (client PrivateLinkScopesClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
    func (client PrivateLinkScopesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PrivateLinkScopesClient) DeleteSender(req *http.Request) (future PrivateLinkScopesDeleteFuture, err error)
    func (client PrivateLinkScopesClient) Get(ctx context.Context, resourceGroupName string, scopeName string) (result AzureMonitorPrivateLinkScope, err error)
    func (client PrivateLinkScopesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)
    func (client PrivateLinkScopesClient) GetResponder(resp *http.Response) (result AzureMonitorPrivateLinkScope, err error)
    func (client PrivateLinkScopesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PrivateLinkScopesClient) List(ctx context.Context) (result AzureMonitorPrivateLinkScopeListResultPage, err error)
    func (client PrivateLinkScopesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AzureMonitorPrivateLinkScopeListResultPage, err error)
    func (client PrivateLinkScopesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AzureMonitorPrivateLinkScopeListResultIterator, err error)
    func (client PrivateLinkScopesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client PrivateLinkScopesClient) ListByResourceGroupResponder(resp *http.Response) (result AzureMonitorPrivateLinkScopeListResult, err error)
    func (client PrivateLinkScopesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client PrivateLinkScopesClient) ListComplete(ctx context.Context) (result AzureMonitorPrivateLinkScopeListResultIterator, err error)
    func (client PrivateLinkScopesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client PrivateLinkScopesClient) ListResponder(resp *http.Response) (result AzureMonitorPrivateLinkScopeListResult, err error)
    func (client PrivateLinkScopesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client PrivateLinkScopesClient) UpdateTags(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags TagsResource) (result AzureMonitorPrivateLinkScope, err error)
    func (client PrivateLinkScopesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags TagsResource) (*http.Request, error)
    func (client PrivateLinkScopesClient) UpdateTagsResponder(resp *http.Response) (result AzureMonitorPrivateLinkScope, err error)
    func (client PrivateLinkScopesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)
type PrivateLinkScopesDeleteFuture
    func (future *PrivateLinkScopesDeleteFuture) UnmarshalJSON(body []byte) error
type PrivateLinkScopesResource
    func (plsr PrivateLinkScopesResource) MarshalJSON() ([]byte, error)
type PrivateLinkServiceConnectionStateProperty
    func (plscsp PrivateLinkServiceConnectionStateProperty) MarshalJSON() ([]byte, error)
type ProvisioningState
    func PossibleProvisioningStateValues() []ProvisioningState
type ProxyOnlyResource
    func (por ProxyOnlyResource) MarshalJSON() ([]byte, error)
type ProxyResource
    func (pr ProxyResource) MarshalJSON() ([]byte, error)
type QueryType
    func PossibleQueryTypeValues() []QueryType
type ReceiverStatus
    func PossibleReceiverStatusValues() []ReceiverStatus
type Recurrence
type RecurrenceFrequency
    func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency
type RecurrentSchedule
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceForUpdate
    func (rfu ResourceForUpdate) MarshalJSON() ([]byte, error)
type Response
type ResponseWithError
type ResultType
    func PossibleResultTypeValues() []ResultType
type RetentionPolicy
type RuleAction
    func (ra RuleAction) AsBasicRuleAction() (BasicRuleAction, bool)
    func (ra RuleAction) AsRuleAction() (*RuleAction, bool)
    func (ra RuleAction) AsRuleEmailAction() (*RuleEmailAction, bool)
    func (ra RuleAction) AsRuleWebhookAction() (*RuleWebhookAction, bool)
    func (ra RuleAction) MarshalJSON() ([]byte, error)
type RuleCondition
    func (rc RuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)
    func (rc RuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)
    func (rc RuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)
    func (rc RuleCondition) AsRuleCondition() (*RuleCondition, bool)
    func (rc RuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)
    func (rc RuleCondition) MarshalJSON() ([]byte, error)
    func (rc *RuleCondition) UnmarshalJSON(body []byte) error
type RuleDataSource
    func (rds RuleDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool)
    func (rds RuleDataSource) AsRuleDataSource() (*RuleDataSource, bool)
    func (rds RuleDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool)
    func (rds RuleDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool)
    func (rds RuleDataSource) MarshalJSON() ([]byte, error)
type RuleEmailAction
    func (rea RuleEmailAction) AsBasicRuleAction() (BasicRuleAction, bool)
    func (rea RuleEmailAction) AsRuleAction() (*RuleAction, bool)
    func (rea RuleEmailAction) AsRuleEmailAction() (*RuleEmailAction, bool)
    func (rea RuleEmailAction) AsRuleWebhookAction() (*RuleWebhookAction, bool)
    func (rea RuleEmailAction) MarshalJSON() ([]byte, error)
type RuleManagementEventClaimsDataSource
type RuleManagementEventDataSource
    func (rmeds RuleManagementEventDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool)
    func (rmeds RuleManagementEventDataSource) AsRuleDataSource() (*RuleDataSource, bool)
    func (rmeds RuleManagementEventDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool)
    func (rmeds RuleManagementEventDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool)
    func (rmeds RuleManagementEventDataSource) MarshalJSON() ([]byte, error)
type RuleMetricDataSource
    func (rmds RuleMetricDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool)
    func (rmds RuleMetricDataSource) AsRuleDataSource() (*RuleDataSource, bool)
    func (rmds RuleMetricDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool)
    func (rmds RuleMetricDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool)
    func (rmds RuleMetricDataSource) MarshalJSON() ([]byte, error)
type RuleWebhookAction
    func (rwa RuleWebhookAction) AsBasicRuleAction() (BasicRuleAction, bool)
    func (rwa RuleWebhookAction) AsRuleAction() (*RuleAction, bool)
    func (rwa RuleWebhookAction) AsRuleEmailAction() (*RuleEmailAction, bool)
    func (rwa RuleWebhookAction) AsRuleWebhookAction() (*RuleWebhookAction, bool)
    func (rwa RuleWebhookAction) MarshalJSON() ([]byte, error)
type ScaleAction
type ScaleCapacity
type ScaleDirection
    func PossibleScaleDirectionValues() []ScaleDirection
type ScaleRule
type ScaleRuleMetricDimension
type ScaleRuleMetricDimensionOperationType
    func PossibleScaleRuleMetricDimensionOperationTypeValues() []ScaleRuleMetricDimensionOperationType
type ScaleType
    func PossibleScaleTypeValues() []ScaleType
type Schedule
type ScheduledQueryRulesClient
    func NewScheduledQueryRulesClient(subscriptionID string) ScheduledQueryRulesClient
    func NewScheduledQueryRulesClientWithBaseURI(baseURI string, subscriptionID string) ScheduledQueryRulesClient
    func (client ScheduledQueryRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResource) (result LogSearchRuleResource, err error)
    func (client ScheduledQueryRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResource) (*http.Request, error)
    func (client ScheduledQueryRulesClient) CreateOrUpdateResponder(resp *http.Response) (result LogSearchRuleResource, err error)
    func (client ScheduledQueryRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ScheduledQueryRulesClient) Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)
    func (client ScheduledQueryRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client ScheduledQueryRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ScheduledQueryRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ScheduledQueryRulesClient) Get(ctx context.Context, resourceGroupName string, ruleName string) (result LogSearchRuleResource, err error)
    func (client ScheduledQueryRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)
    func (client ScheduledQueryRulesClient) GetResponder(resp *http.Response) (result LogSearchRuleResource, err error)
    func (client ScheduledQueryRulesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ScheduledQueryRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result LogSearchRuleResourceCollection, err error)
    func (client ScheduledQueryRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
    func (client ScheduledQueryRulesClient) ListByResourceGroupResponder(resp *http.Response) (result LogSearchRuleResourceCollection, err error)
    func (client ScheduledQueryRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ScheduledQueryRulesClient) ListBySubscription(ctx context.Context, filter string) (result LogSearchRuleResourceCollection, err error)
    func (client ScheduledQueryRulesClient) ListBySubscriptionPreparer(ctx context.Context, filter string) (*http.Request, error)
    func (client ScheduledQueryRulesClient) ListBySubscriptionResponder(resp *http.Response) (result LogSearchRuleResourceCollection, err error)
    func (client ScheduledQueryRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client ScheduledQueryRulesClient) Update(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResourcePatch) (result LogSearchRuleResource, err error)
    func (client ScheduledQueryRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResourcePatch) (*http.Request, error)
    func (client ScheduledQueryRulesClient) UpdateResponder(resp *http.Response) (result LogSearchRuleResource, err error)
    func (client ScheduledQueryRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
type ScopedResource
    func (sr ScopedResource) MarshalJSON() ([]byte, error)
    func (sr *ScopedResource) UnmarshalJSON(body []byte) error
type ScopedResourceListResult
    func (srlr ScopedResourceListResult) IsEmpty() bool
    func (srlr ScopedResourceListResult) MarshalJSON() ([]byte, error)
type ScopedResourceListResultIterator
    func NewScopedResourceListResultIterator(page ScopedResourceListResultPage) ScopedResourceListResultIterator
    func (iter *ScopedResourceListResultIterator) Next() error
    func (iter *ScopedResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ScopedResourceListResultIterator) NotDone() bool
    func (iter ScopedResourceListResultIterator) Response() ScopedResourceListResult
    func (iter ScopedResourceListResultIterator) Value() ScopedResource
type ScopedResourceListResultPage
    func NewScopedResourceListResultPage(cur ScopedResourceListResult, getNextPage func(context.Context, ScopedResourceListResult) (ScopedResourceListResult, error)) ScopedResourceListResultPage
    func (page *ScopedResourceListResultPage) Next() error
    func (page *ScopedResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ScopedResourceListResultPage) NotDone() bool
    func (page ScopedResourceListResultPage) Response() ScopedResourceListResult
    func (page ScopedResourceListResultPage) Values() []ScopedResource
type ScopedResourceProperties
    func (srp ScopedResourceProperties) MarshalJSON() ([]byte, error)
type SenderAuthorization
type SingleBaseline
type SingleMetricBaseline
    func (smb SingleMetricBaseline) MarshalJSON() ([]byte, error)
    func (smb *SingleMetricBaseline) UnmarshalJSON(body []byte) error
type SmsReceiver
    func (sr SmsReceiver) MarshalJSON() ([]byte, error)
type Source
type SyslogDataSource
type SystemData
type TagsResource
    func (tr TagsResource) MarshalJSON() ([]byte, error)
type TenantActivityLogsClient
    func NewTenantActivityLogsClient(subscriptionID string) TenantActivityLogsClient
    func NewTenantActivityLogsClientWithBaseURI(baseURI string, subscriptionID string) TenantActivityLogsClient
    func (client TenantActivityLogsClient) List(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionPage, err error)
    func (client TenantActivityLogsClient) ListComplete(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionIterator, err error)
    func (client TenantActivityLogsClient) ListPreparer(ctx context.Context, filter string, selectParameter string) (*http.Request, error)
    func (client TenantActivityLogsClient) ListResponder(resp *http.Response) (result EventDataCollection, err error)
    func (client TenantActivityLogsClient) ListSender(req *http.Request) (*http.Response, error)
type TestNotificationDetailsResponse
type TestNotificationResponse
type ThresholdRuleCondition
    func (trc ThresholdRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)
    func (trc ThresholdRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)
    func (trc ThresholdRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)
    func (trc ThresholdRuleCondition) AsRuleCondition() (*RuleCondition, bool)
    func (trc ThresholdRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)
    func (trc ThresholdRuleCondition) MarshalJSON() ([]byte, error)
    func (trc *ThresholdRuleCondition) UnmarshalJSON(body []byte) error
type TimeAggregationOperator
    func PossibleTimeAggregationOperatorValues() []TimeAggregationOperator
type TimeAggregationType
    func PossibleTimeAggregationTypeValues() []TimeAggregationType
type TimeSeriesBaseline
type TimeSeriesElement
type TimeWindow
type TriggerCondition
type VMInsightsClient
    func NewVMInsightsClient(subscriptionID string) VMInsightsClient
    func NewVMInsightsClientWithBaseURI(baseURI string, subscriptionID string) VMInsightsClient
    func (client VMInsightsClient) GetOnboardingStatus(ctx context.Context, resourceURI string) (result VMInsightsOnboardingStatus, err error)
    func (client VMInsightsClient) GetOnboardingStatusPreparer(ctx context.Context, resourceURI string) (*http.Request, error)
    func (client VMInsightsClient) GetOnboardingStatusResponder(resp *http.Response) (result VMInsightsOnboardingStatus, err error)
    func (client VMInsightsClient) GetOnboardingStatusSender(req *http.Request) (*http.Response, error)
type VMInsightsOnboardingStatus
    func (vios VMInsightsOnboardingStatus) MarshalJSON() ([]byte, error)
    func (vios *VMInsightsOnboardingStatus) UnmarshalJSON(body []byte) error
type VMInsightsOnboardingStatusProperties
type VoiceReceiver
type WebhookNotification
    func (wn WebhookNotification) MarshalJSON() ([]byte, error)
type WebhookReceiver
type WebtestLocationAvailabilityCriteria
    func (wlac WebtestLocationAvailabilityCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)
    func (wlac WebtestLocationAvailabilityCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)
    func (wlac WebtestLocationAvailabilityCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)
    func (wlac WebtestLocationAvailabilityCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)
    func (wlac WebtestLocationAvailabilityCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)
    func (wlac WebtestLocationAvailabilityCriteria) MarshalJSON() ([]byte, error)
    func (wlac *WebtestLocationAvailabilityCriteria) UnmarshalJSON(body []byte) error
type WindowsEventLogDataSource
type WorkspaceInfo
    func (wi WorkspaceInfo) MarshalJSON() ([]byte, error)
    func (wi *WorkspaceInfo) UnmarshalJSON(body []byte) error
type WorkspaceInfoProperties

Package files

actiongroups.go activitylogalerts.go activitylogs.go alertruleincidents.go alertrules.go autoscalesettings.go baselines.go client.go datacollectionendpoints.go datacollectionruleassociations.go datacollectionrules.go diagnosticsettings.go diagnosticsettingscategory.go enums.go eventcategories.go logprofiles.go metricalerts.go metricalertsstatus.go metricdefinitions.go metricnamespaces.go metrics.go models.go operations.go privateendpointconnections.go privatelinkresources.go privatelinkscopedresources.go privatelinkscopeoperationstatus.go privatelinkscopes.go scheduledqueryrules.go tenantactivitylogs.go version.go vminsights.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Insights
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type Action

Action action descriptor.

type Action struct {
    // OdataType - Possible values include: 'OdataTypeBasicActionOdataTypeAction', 'OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesAlertingAction', 'OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesLogToMetricAction'
    OdataType OdataTypeBasicAction `json:"odata.type,omitempty"`
}

func (Action) AsAction

func (a Action) AsAction() (*Action, bool)

AsAction is the BasicAction implementation for Action.

func (Action) AsAlertingAction

func (a Action) AsAlertingAction() (*AlertingAction, bool)

AsAlertingAction is the BasicAction implementation for Action.

func (Action) AsBasicAction

func (a Action) AsBasicAction() (BasicAction, bool)

AsBasicAction is the BasicAction implementation for Action.

func (Action) AsLogToMetricAction

func (a Action) AsLogToMetricAction() (*LogToMetricAction, bool)

AsLogToMetricAction is the BasicAction implementation for Action.

func (Action) MarshalJSON

func (a Action) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Action.

type ActionDetail

ActionDetail the action detail

type ActionDetail struct {
    // MechanismType - The mechanism type
    MechanismType *string `json:"MechanismType,omitempty"`
    // Name - The name of the action
    Name *string `json:"Name,omitempty"`
    // Status - The status of the action
    Status *string `json:"Status,omitempty"`
    // SubState - The substatus of the action
    SubState *string `json:"SubState,omitempty"`
    // SendTime - The send time
    SendTime *string `json:"SendTime,omitempty"`
    // Detail - The detail of the friendly error message
    Detail *string `json:"Detail,omitempty"`
}

type ActionGroup

ActionGroup an Azure action group.

type ActionGroup struct {
    // GroupShortName - The short name of the action group. This will be used in SMS messages.
    GroupShortName *string `json:"groupShortName,omitempty"`
    // Enabled - Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
    Enabled *bool `json:"enabled,omitempty"`
    // EmailReceivers - The list of email receivers that are part of this action group.
    EmailReceivers *[]EmailReceiver `json:"emailReceivers,omitempty"`
    // SmsReceivers - The list of SMS receivers that are part of this action group.
    SmsReceivers *[]SmsReceiver `json:"smsReceivers,omitempty"`
    // WebhookReceivers - The list of webhook receivers that are part of this action group.
    WebhookReceivers *[]WebhookReceiver `json:"webhookReceivers,omitempty"`
    // ItsmReceivers - The list of ITSM receivers that are part of this action group.
    ItsmReceivers *[]ItsmReceiver `json:"itsmReceivers,omitempty"`
    // AzureAppPushReceivers - The list of AzureAppPush receivers that are part of this action group.
    AzureAppPushReceivers *[]AzureAppPushReceiver `json:"azureAppPushReceivers,omitempty"`
    // AutomationRunbookReceivers - The list of AutomationRunbook receivers that are part of this action group.
    AutomationRunbookReceivers *[]AutomationRunbookReceiver `json:"automationRunbookReceivers,omitempty"`
    // VoiceReceivers - The list of voice receivers that are part of this action group.
    VoiceReceivers *[]VoiceReceiver `json:"voiceReceivers,omitempty"`
    // LogicAppReceivers - The list of logic app receivers that are part of this action group.
    LogicAppReceivers *[]LogicAppReceiver `json:"logicAppReceivers,omitempty"`
    // AzureFunctionReceivers - The list of azure function receivers that are part of this action group.
    AzureFunctionReceivers *[]AzureFunctionReceiver `json:"azureFunctionReceivers,omitempty"`
    // ArmRoleReceivers - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
    ArmRoleReceivers *[]ArmRoleReceiver `json:"armRoleReceivers,omitempty"`
    // EventHubReceivers - The list of event hub receivers that are part of this action group.
    EventHubReceivers *[]EventHubReceiver `json:"eventHubReceivers,omitempty"`
}

type ActionGroupList

ActionGroupList a list of action groups.

type ActionGroupList struct {
    autorest.Response `json:"-"`
    // Value - The list of action groups.
    Value *[]ActionGroupResource `json:"value,omitempty"`
    // NextLink - Provides the link to retrieve the next set of elements.
    NextLink *string `json:"nextLink,omitempty"`
}

type ActionGroupPatch

ActionGroupPatch an Azure action group for patch operations.

type ActionGroupPatch struct {
    // Enabled - Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated.
    Enabled *bool `json:"enabled,omitempty"`
}

type ActionGroupPatchBody

ActionGroupPatchBody an action group object for the body of patch operations.

type ActionGroupPatchBody struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // ActionGroupPatch - The action group settings for an update operation.
    *ActionGroupPatch `json:"properties,omitempty"`
}

func (ActionGroupPatchBody) MarshalJSON

func (agpb ActionGroupPatchBody) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ActionGroupPatchBody.

func (*ActionGroupPatchBody) UnmarshalJSON

func (agpb *ActionGroupPatchBody) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ActionGroupPatchBody struct.

type ActionGroupResource

ActionGroupResource an action group resource.

type ActionGroupResource struct {
    autorest.Response `json:"-"`
    // ActionGroup - The action groups properties of the resource.
    *ActionGroup `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Kind - READ-ONLY; Azure resource kind
    Kind *string `json:"kind,omitempty"`
    // Identity - READ-ONLY; Azure resource identity
    Identity *string `json:"identity,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (ActionGroupResource) MarshalJSON

func (agr ActionGroupResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ActionGroupResource.

func (*ActionGroupResource) UnmarshalJSON

func (agr *ActionGroupResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ActionGroupResource struct.

type ActionGroupsClient

ActionGroupsClient is the monitor Management Client

type ActionGroupsClient struct {
    BaseClient
}

func NewActionGroupsClient

func NewActionGroupsClient(subscriptionID string) ActionGroupsClient

NewActionGroupsClient creates an instance of the ActionGroupsClient client.

func NewActionGroupsClientWithBaseURI

func NewActionGroupsClientWithBaseURI(baseURI string, subscriptionID string) ActionGroupsClient

NewActionGroupsClientWithBaseURI creates an instance of the ActionGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ActionGroupsClient) CreateOrUpdate

func (client ActionGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroup ActionGroupResource) (result ActionGroupResource, err error)

CreateOrUpdate create a new action group or update an existing one. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. actionGroupName - the name of the action group. actionGroup - the action group to create or use for the update.

func (ActionGroupsClient) CreateOrUpdatePreparer

func (client ActionGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroup ActionGroupResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ActionGroupsClient) CreateOrUpdateResponder

func (client ActionGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ActionGroupResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ActionGroupsClient) CreateOrUpdateSender

func (client ActionGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) Delete

func (client ActionGroupsClient) Delete(ctx context.Context, resourceGroupName string, actionGroupName string) (result autorest.Response, err error)

Delete delete an action group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. actionGroupName - the name of the action group.

func (ActionGroupsClient) DeletePreparer

func (client ActionGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, actionGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ActionGroupsClient) DeleteResponder

func (client ActionGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ActionGroupsClient) DeleteSender

func (client ActionGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) EnableReceiver

func (client ActionGroupsClient) EnableReceiver(ctx context.Context, resourceGroupName string, actionGroupName string, enableRequest EnableRequest) (result autorest.Response, err error)

EnableReceiver enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. actionGroupName - the name of the action group. enableRequest - the receiver to re-enable.

func (ActionGroupsClient) EnableReceiverPreparer

func (client ActionGroupsClient) EnableReceiverPreparer(ctx context.Context, resourceGroupName string, actionGroupName string, enableRequest EnableRequest) (*http.Request, error)

EnableReceiverPreparer prepares the EnableReceiver request.

func (ActionGroupsClient) EnableReceiverResponder

func (client ActionGroupsClient) EnableReceiverResponder(resp *http.Response) (result autorest.Response, err error)

EnableReceiverResponder handles the response to the EnableReceiver request. The method always closes the http.Response Body.

func (ActionGroupsClient) EnableReceiverSender

func (client ActionGroupsClient) EnableReceiverSender(req *http.Request) (*http.Response, error)

EnableReceiverSender sends the EnableReceiver request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) Get

func (client ActionGroupsClient) Get(ctx context.Context, resourceGroupName string, actionGroupName string) (result ActionGroupResource, err error)

Get get an action group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. actionGroupName - the name of the action group.

func (ActionGroupsClient) GetPreparer

func (client ActionGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, actionGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ActionGroupsClient) GetResponder

func (client ActionGroupsClient) GetResponder(resp *http.Response) (result ActionGroupResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ActionGroupsClient) GetSender

func (client ActionGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) GetTestNotifications

func (client ActionGroupsClient) GetTestNotifications(ctx context.Context, notificationID string) (result TestNotificationDetailsResponse, err error)

GetTestNotifications get the test notifications by the notification id Parameters: notificationID - the notification id

func (ActionGroupsClient) GetTestNotificationsPreparer

func (client ActionGroupsClient) GetTestNotificationsPreparer(ctx context.Context, notificationID string) (*http.Request, error)

GetTestNotificationsPreparer prepares the GetTestNotifications request.

func (ActionGroupsClient) GetTestNotificationsResponder

func (client ActionGroupsClient) GetTestNotificationsResponder(resp *http.Response) (result TestNotificationDetailsResponse, err error)

GetTestNotificationsResponder handles the response to the GetTestNotifications request. The method always closes the http.Response Body.

func (ActionGroupsClient) GetTestNotificationsSender

func (client ActionGroupsClient) GetTestNotificationsSender(req *http.Request) (*http.Response, error)

GetTestNotificationsSender sends the GetTestNotifications request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) ListByResourceGroup

func (client ActionGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ActionGroupList, err error)

ListByResourceGroup get a list of all action groups in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ActionGroupsClient) ListByResourceGroupPreparer

func (client ActionGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ActionGroupsClient) ListByResourceGroupResponder

func (client ActionGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ActionGroupList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ActionGroupsClient) ListByResourceGroupSender

func (client ActionGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) ListBySubscriptionID

func (client ActionGroupsClient) ListBySubscriptionID(ctx context.Context) (result ActionGroupList, err error)

ListBySubscriptionID get a list of all action groups in a subscription.

func (ActionGroupsClient) ListBySubscriptionIDPreparer

func (client ActionGroupsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionIDPreparer prepares the ListBySubscriptionID request.

func (ActionGroupsClient) ListBySubscriptionIDResponder

func (client ActionGroupsClient) ListBySubscriptionIDResponder(resp *http.Response) (result ActionGroupList, err error)

ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always closes the http.Response Body.

func (ActionGroupsClient) ListBySubscriptionIDSender

func (client ActionGroupsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error)

ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) PostTestNotifications

func (client ActionGroupsClient) PostTestNotifications(ctx context.Context, notificationRequest NotificationRequestBody) (result ActionGroupsPostTestNotificationsFuture, err error)

PostTestNotifications send test notifications to a set of provided receivers Parameters: notificationRequest - the notification request body which includes the contact details

func (ActionGroupsClient) PostTestNotificationsPreparer

func (client ActionGroupsClient) PostTestNotificationsPreparer(ctx context.Context, notificationRequest NotificationRequestBody) (*http.Request, error)

PostTestNotificationsPreparer prepares the PostTestNotifications request.

func (ActionGroupsClient) PostTestNotificationsResponder

func (client ActionGroupsClient) PostTestNotificationsResponder(resp *http.Response) (result TestNotificationResponse, err error)

PostTestNotificationsResponder handles the response to the PostTestNotifications request. The method always closes the http.Response Body.

func (ActionGroupsClient) PostTestNotificationsSender

func (client ActionGroupsClient) PostTestNotificationsSender(req *http.Request) (future ActionGroupsPostTestNotificationsFuture, err error)

PostTestNotificationsSender sends the PostTestNotifications request. The method will close the http.Response Body if it receives an error.

func (ActionGroupsClient) Update

func (client ActionGroupsClient) Update(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroupPatch ActionGroupPatchBody) (result ActionGroupResource, err error)

Update updates an existing action group's tags. To update other fields use the CreateOrUpdate method. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. actionGroupName - the name of the action group. actionGroupPatch - parameters supplied to the operation.

func (ActionGroupsClient) UpdatePreparer

func (client ActionGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroupPatch ActionGroupPatchBody) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ActionGroupsClient) UpdateResponder

func (client ActionGroupsClient) UpdateResponder(resp *http.Response) (result ActionGroupResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ActionGroupsClient) UpdateSender

func (client ActionGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ActionGroupsPostTestNotificationsFuture

ActionGroupsPostTestNotificationsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ActionGroupsPostTestNotificationsFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ActionGroupsClient) (TestNotificationResponse, error)
}

func (*ActionGroupsPostTestNotificationsFuture) UnmarshalJSON

func (future *ActionGroupsPostTestNotificationsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ActionList

ActionList a list of Activity Log Alert rule actions.

type ActionList struct {
    // ActionGroups - The list of the Action Groups.
    ActionGroups *[]ActionGroup `json:"actionGroups,omitempty"`
}

type ActivityLogAlertResource

ActivityLogAlertResource an Activity Log Alert rule resource.

type ActivityLogAlertResource struct {
    autorest.Response `json:"-"`
    // AlertRuleProperties - The Activity Log Alert rule properties of the resource.
    *AlertRuleProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Kind - READ-ONLY; Azure resource kind
    Kind *string `json:"kind,omitempty"`
    // Identity - READ-ONLY; Azure resource identity
    Identity *string `json:"identity,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (ActivityLogAlertResource) MarshalJSON

func (alar ActivityLogAlertResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ActivityLogAlertResource.

func (*ActivityLogAlertResource) UnmarshalJSON

func (alar *ActivityLogAlertResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ActivityLogAlertResource struct.

type ActivityLogAlertsClient

ActivityLogAlertsClient is the monitor Management Client

type ActivityLogAlertsClient struct {
    BaseClient
}

func NewActivityLogAlertsClient

func NewActivityLogAlertsClient(subscriptionID string) ActivityLogAlertsClient

NewActivityLogAlertsClient creates an instance of the ActivityLogAlertsClient client.

func NewActivityLogAlertsClientWithBaseURI

func NewActivityLogAlertsClientWithBaseURI(baseURI string, subscriptionID string) ActivityLogAlertsClient

NewActivityLogAlertsClientWithBaseURI creates an instance of the ActivityLogAlertsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ActivityLogAlertsClient) CreateOrUpdate

func (client ActivityLogAlertsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRule ActivityLogAlertResource) (result ActivityLogAlertResource, err error)

CreateOrUpdate create a new Activity Log Alert rule or update an existing one. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. activityLogAlertName - the name of the Activity Log Alert rule. activityLogAlertRule - the Activity Log Alert rule to create or use for the update.

func (ActivityLogAlertsClient) CreateOrUpdatePreparer

func (client ActivityLogAlertsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRule ActivityLogAlertResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ActivityLogAlertsClient) CreateOrUpdateResponder

func (client ActivityLogAlertsClient) CreateOrUpdateResponder(resp *http.Response) (result ActivityLogAlertResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ActivityLogAlertsClient) CreateOrUpdateSender

func (client ActivityLogAlertsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ActivityLogAlertsClient) Delete

func (client ActivityLogAlertsClient) Delete(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result autorest.Response, err error)

Delete delete an Activity Log Alert rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. activityLogAlertName - the name of the Activity Log Alert rule.

func (ActivityLogAlertsClient) DeletePreparer

func (client ActivityLogAlertsClient) DeletePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ActivityLogAlertsClient) DeleteResponder

func (client ActivityLogAlertsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ActivityLogAlertsClient) DeleteSender

func (client ActivityLogAlertsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ActivityLogAlertsClient) Get

func (client ActivityLogAlertsClient) Get(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result ActivityLogAlertResource, err error)

Get get an Activity Log Alert rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. activityLogAlertName - the name of the Activity Log Alert rule.

func (ActivityLogAlertsClient) GetPreparer

func (client ActivityLogAlertsClient) GetPreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ActivityLogAlertsClient) GetResponder

func (client ActivityLogAlertsClient) GetResponder(resp *http.Response) (result ActivityLogAlertResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ActivityLogAlertsClient) GetSender

func (client ActivityLogAlertsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ActivityLogAlertsClient) ListByResourceGroup

func (client ActivityLogAlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AlertRuleListPage, err error)

ListByResourceGroup get a list of all Activity Log Alert rules in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ActivityLogAlertsClient) ListByResourceGroupComplete

func (client ActivityLogAlertsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AlertRuleListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ActivityLogAlertsClient) ListByResourceGroupPreparer

func (client ActivityLogAlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ActivityLogAlertsClient) ListByResourceGroupResponder

func (client ActivityLogAlertsClient) ListByResourceGroupResponder(resp *http.Response) (result AlertRuleList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ActivityLogAlertsClient) ListByResourceGroupSender

func (client ActivityLogAlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ActivityLogAlertsClient) ListBySubscriptionID

func (client ActivityLogAlertsClient) ListBySubscriptionID(ctx context.Context) (result AlertRuleListPage, err error)

ListBySubscriptionID get a list of all Activity Log Alert rules in a subscription.

func (ActivityLogAlertsClient) ListBySubscriptionIDComplete

func (client ActivityLogAlertsClient) ListBySubscriptionIDComplete(ctx context.Context) (result AlertRuleListIterator, err error)

ListBySubscriptionIDComplete enumerates all values, automatically crossing page boundaries as required.

func (ActivityLogAlertsClient) ListBySubscriptionIDPreparer

func (client ActivityLogAlertsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionIDPreparer prepares the ListBySubscriptionID request.

func (ActivityLogAlertsClient) ListBySubscriptionIDResponder

func (client ActivityLogAlertsClient) ListBySubscriptionIDResponder(resp *http.Response) (result AlertRuleList, err error)

ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always closes the http.Response Body.

func (ActivityLogAlertsClient) ListBySubscriptionIDSender

func (client ActivityLogAlertsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error)

ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the http.Response Body if it receives an error.

func (ActivityLogAlertsClient) Update

func (client ActivityLogAlertsClient) Update(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRulePatch AlertRulePatchObject) (result ActivityLogAlertResource, err error)

Update updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. activityLogAlertName - the name of the Activity Log Alert rule. activityLogAlertRulePatch - parameters supplied to the operation.

func (ActivityLogAlertsClient) UpdatePreparer

func (client ActivityLogAlertsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRulePatch AlertRulePatchObject) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ActivityLogAlertsClient) UpdateResponder

func (client ActivityLogAlertsClient) UpdateResponder(resp *http.Response) (result ActivityLogAlertResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ActivityLogAlertsClient) UpdateSender

func (client ActivityLogAlertsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ActivityLogsClient

ActivityLogsClient is the monitor Management Client

type ActivityLogsClient struct {
    BaseClient
}

func NewActivityLogsClient

func NewActivityLogsClient(subscriptionID string) ActivityLogsClient

NewActivityLogsClient creates an instance of the ActivityLogsClient client.

func NewActivityLogsClientWithBaseURI

func NewActivityLogsClientWithBaseURI(baseURI string, subscriptionID string) ActivityLogsClient

NewActivityLogsClientWithBaseURI creates an instance of the ActivityLogsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ActivityLogsClient) List

func (client ActivityLogsClient) List(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionPage, err error)

List provides the list of records from the activity logs. Parameters: filter - reduces the set of data collected.<br>This argument is required and it also requires at least the start date/time.<br>The **$filter** argument is very restricted and allows only the following patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other syntax is allowed. selectParameter - used to fetch events with only the given properties.<br>The **$select** argument is a comma separated list of property names to be returned. Possible values are: *authorization*, *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, *subscriptionId*

func (ActivityLogsClient) ListComplete

func (client ActivityLogsClient) ListComplete(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ActivityLogsClient) ListPreparer

func (client ActivityLogsClient) ListPreparer(ctx context.Context, filter string, selectParameter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ActivityLogsClient) ListResponder

func (client ActivityLogsClient) ListResponder(resp *http.Response) (result EventDataCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ActivityLogsClient) ListSender

func (client ActivityLogsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AggregationType

AggregationType enumerates the values for aggregation type.

type AggregationType string
const (
    // AggregationTypeAverage ...
    AggregationTypeAverage AggregationType = "Average"
    // AggregationTypeCount ...
    AggregationTypeCount AggregationType = "Count"
    // AggregationTypeMaximum ...
    AggregationTypeMaximum AggregationType = "Maximum"
    // AggregationTypeMinimum ...
    AggregationTypeMinimum AggregationType = "Minimum"
    // AggregationTypeNone ...
    AggregationTypeNone AggregationType = "None"
    // AggregationTypeTotal ...
    AggregationTypeTotal AggregationType = "Total"
)

func PossibleAggregationTypeValues

func PossibleAggregationTypeValues() []AggregationType

PossibleAggregationTypeValues returns an array of possible values for the AggregationType const type.

type AggregationTypeEnum

AggregationTypeEnum enumerates the values for aggregation type enum.

type AggregationTypeEnum string
const (
    // AggregationTypeEnumAverage ...
    AggregationTypeEnumAverage AggregationTypeEnum = "Average"
    // AggregationTypeEnumCount ...
    AggregationTypeEnumCount AggregationTypeEnum = "Count"
    // AggregationTypeEnumMaximum ...
    AggregationTypeEnumMaximum AggregationTypeEnum = "Maximum"
    // AggregationTypeEnumMinimum ...
    AggregationTypeEnumMinimum AggregationTypeEnum = "Minimum"
    // AggregationTypeEnumTotal ...
    AggregationTypeEnumTotal AggregationTypeEnum = "Total"
)

func PossibleAggregationTypeEnumValues

func PossibleAggregationTypeEnumValues() []AggregationTypeEnum

PossibleAggregationTypeEnumValues returns an array of possible values for the AggregationTypeEnum const type.

type AlertRule

AlertRule an alert rule.

type AlertRule struct {
    // Name - the name of the alert rule.
    Name *string `json:"name,omitempty"`
    // Description - the description of the alert rule that will be included in the alert email.
    Description *string `json:"description,omitempty"`
    // ProvisioningState - the provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // IsEnabled - the flag that indicates whether the alert rule is enabled.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // Condition - the condition that results in the alert rule being activated.
    Condition BasicRuleCondition `json:"condition,omitempty"`
    // Action - action that is performed when the alert rule becomes active, and when an alert condition is resolved.
    Action BasicRuleAction `json:"action,omitempty"`
    // Actions - the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
    Actions *[]BasicRuleAction `json:"actions,omitempty"`
    // LastUpdatedTime - READ-ONLY; Last time the rule was updated in ISO8601 format.
    LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
}

func (AlertRule) MarshalJSON

func (ar AlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertRule.

func (*AlertRule) UnmarshalJSON

func (ar *AlertRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertRule struct.

type AlertRuleAllOfCondition

AlertRuleAllOfCondition an Activity Log Alert rule condition that is met when all its member conditions are met.

type AlertRuleAllOfCondition struct {
    // AllOf - The list of Activity Log Alert rule conditions.
    AllOf *[]AlertRuleAnyOfOrLeafCondition `json:"allOf,omitempty"`
}

type AlertRuleAnyOfOrLeafCondition

AlertRuleAnyOfOrLeafCondition an Activity Log Alert rule condition that is met when all its member conditions are met. Each condition can be of one of the following types: __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition. * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'. _Please note, 'anyOf' should __not__ be set in a Leaf Condition._ * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions). _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._

type AlertRuleAnyOfOrLeafCondition struct {
    // AnyOf - An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met.
    AnyOf *[]AlertRuleLeafCondition `json:"anyOf,omitempty"`
    // Field - The name of the Activity Log event's field that this condition will examine.
    // The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
    Field *string `json:"field,omitempty"`
    // Equals - The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
    Equals *string `json:"equals,omitempty"`
    // ContainsAny - The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
    ContainsAny *[]string `json:"containsAny,omitempty"`
}

type AlertRuleIncidentsClient

AlertRuleIncidentsClient is the monitor Management Client

type AlertRuleIncidentsClient struct {
    BaseClient
}

func NewAlertRuleIncidentsClient

func NewAlertRuleIncidentsClient(subscriptionID string) AlertRuleIncidentsClient

NewAlertRuleIncidentsClient creates an instance of the AlertRuleIncidentsClient client.

func NewAlertRuleIncidentsClientWithBaseURI

func NewAlertRuleIncidentsClientWithBaseURI(baseURI string, subscriptionID string) AlertRuleIncidentsClient

NewAlertRuleIncidentsClientWithBaseURI creates an instance of the AlertRuleIncidentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AlertRuleIncidentsClient) Get

func (client AlertRuleIncidentsClient) Get(ctx context.Context, resourceGroupName string, ruleName string, incidentName string) (result Incident, err error)

Get gets an incident associated to an alert rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. incidentName - the name of the incident to retrieve.

func (AlertRuleIncidentsClient) GetPreparer

func (client AlertRuleIncidentsClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string, incidentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AlertRuleIncidentsClient) GetResponder

func (client AlertRuleIncidentsClient) GetResponder(resp *http.Response) (result Incident, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AlertRuleIncidentsClient) GetSender

func (client AlertRuleIncidentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AlertRuleIncidentsClient) ListByAlertRule

func (client AlertRuleIncidentsClient) ListByAlertRule(ctx context.Context, resourceGroupName string, ruleName string) (result IncidentListResult, err error)

ListByAlertRule gets a list of incidents associated to an alert rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (AlertRuleIncidentsClient) ListByAlertRulePreparer

func (client AlertRuleIncidentsClient) ListByAlertRulePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

ListByAlertRulePreparer prepares the ListByAlertRule request.

func (AlertRuleIncidentsClient) ListByAlertRuleResponder

func (client AlertRuleIncidentsClient) ListByAlertRuleResponder(resp *http.Response) (result IncidentListResult, err error)

ListByAlertRuleResponder handles the response to the ListByAlertRule request. The method always closes the http.Response Body.

func (AlertRuleIncidentsClient) ListByAlertRuleSender

func (client AlertRuleIncidentsClient) ListByAlertRuleSender(req *http.Request) (*http.Response, error)

ListByAlertRuleSender sends the ListByAlertRule request. The method will close the http.Response Body if it receives an error.

type AlertRuleLeafCondition

AlertRuleLeafCondition an Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event. This condition must contain 'field' and either 'equals' or 'containsAny'.

type AlertRuleLeafCondition struct {
    // Field - The name of the Activity Log event's field that this condition will examine.
    // The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
    Field *string `json:"field,omitempty"`
    // Equals - The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
    Equals *string `json:"equals,omitempty"`
    // ContainsAny - The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
    ContainsAny *[]string `json:"containsAny,omitempty"`
}

type AlertRuleList

AlertRuleList a list of Activity Log Alert rules.

type AlertRuleList struct {
    autorest.Response `json:"-"`
    // Value - The list of Activity Log Alert rules.
    Value *[]ActivityLogAlertResource `json:"value,omitempty"`
    // NextLink - Provides the link to retrieve the next set of elements.
    NextLink *string `json:"nextLink,omitempty"`
}

func (AlertRuleList) IsEmpty

func (arl AlertRuleList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AlertRuleListIterator

AlertRuleListIterator provides access to a complete listing of ActivityLogAlertResource values.

type AlertRuleListIterator struct {
    // contains filtered or unexported fields
}

func NewAlertRuleListIterator

func NewAlertRuleListIterator(page AlertRuleListPage) AlertRuleListIterator

Creates a new instance of the AlertRuleListIterator type.

func (*AlertRuleListIterator) Next

func (iter *AlertRuleListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertRuleListIterator) NextWithContext

func (iter *AlertRuleListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AlertRuleListIterator) NotDone

func (iter AlertRuleListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AlertRuleListIterator) Response

func (iter AlertRuleListIterator) Response() AlertRuleList

Response returns the raw server response from the last page request.

func (AlertRuleListIterator) Value

func (iter AlertRuleListIterator) Value() ActivityLogAlertResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AlertRuleListPage

AlertRuleListPage contains a page of ActivityLogAlertResource values.

type AlertRuleListPage struct {
    // contains filtered or unexported fields
}

func NewAlertRuleListPage

func NewAlertRuleListPage(cur AlertRuleList, getNextPage func(context.Context, AlertRuleList) (AlertRuleList, error)) AlertRuleListPage

Creates a new instance of the AlertRuleListPage type.

func (*AlertRuleListPage) Next

func (page *AlertRuleListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertRuleListPage) NextWithContext

func (page *AlertRuleListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AlertRuleListPage) NotDone

func (page AlertRuleListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AlertRuleListPage) Response

func (page AlertRuleListPage) Response() AlertRuleList

Response returns the raw server response from the last page request.

func (AlertRuleListPage) Values

func (page AlertRuleListPage) Values() []ActivityLogAlertResource

Values returns the slice of values for the current page or nil if there are no values.

type AlertRulePatchObject

AlertRulePatchObject an Activity Log Alert rule object for the body of patch operations.

type AlertRulePatchObject struct {
    // Tags - The resource tags
    Tags map[string]*string `json:"tags"`
    // AlertRulePatchProperties - The activity log alert settings for an update operation.
    *AlertRulePatchProperties `json:"properties,omitempty"`
}

func (AlertRulePatchObject) MarshalJSON

func (arpo AlertRulePatchObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertRulePatchObject.

func (*AlertRulePatchObject) UnmarshalJSON

func (arpo *AlertRulePatchObject) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertRulePatchObject struct.

type AlertRulePatchProperties

AlertRulePatchProperties an Activity Log Alert rule properties for patch operations.

type AlertRulePatchProperties struct {
    // Enabled - Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.
    Enabled *bool `json:"enabled,omitempty"`
}

type AlertRuleProperties

AlertRuleProperties an Azure Activity Log Alert rule.

type AlertRuleProperties struct {
    // Scopes - A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.
    Scopes *[]string `json:"scopes,omitempty"`
    // Condition - The condition that will cause this alert to activate.
    Condition *AlertRuleAllOfCondition `json:"condition,omitempty"`
    // Actions - The actions that will activate when the condition is met.
    Actions *ActionList `json:"actions,omitempty"`
    // Enabled - Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.
    Enabled *bool `json:"enabled,omitempty"`
    // Description - A description of this Activity Log Alert rule.
    Description *string `json:"description,omitempty"`
}

type AlertRuleResource

AlertRuleResource the alert rule resource.

type AlertRuleResource struct {
    autorest.Response `json:"-"`
    // AlertRule - The alert rule properties of the resource.
    *AlertRule `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Kind - READ-ONLY; Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
    Kind *string `json:"kind,omitempty"`
    // Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Etag *string `json:"etag,omitempty"`
}

func (AlertRuleResource) MarshalJSON

func (arr AlertRuleResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertRuleResource.

func (*AlertRuleResource) UnmarshalJSON

func (arr *AlertRuleResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertRuleResource struct.

type AlertRuleResourceCollection

AlertRuleResourceCollection represents a collection of alert rule resources.

type AlertRuleResourceCollection struct {
    autorest.Response `json:"-"`
    // Value - the values for the alert rule resources.
    Value *[]AlertRuleResource `json:"value,omitempty"`
}

type AlertRuleResourcePatch

AlertRuleResourcePatch the alert rule object for patch operations.

type AlertRuleResourcePatch struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // AlertRule - The properties of an alert rule.
    *AlertRule `json:"properties,omitempty"`
}

func (AlertRuleResourcePatch) MarshalJSON

func (arrp AlertRuleResourcePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertRuleResourcePatch.

func (*AlertRuleResourcePatch) UnmarshalJSON

func (arrp *AlertRuleResourcePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertRuleResourcePatch struct.

type AlertRulesClient

AlertRulesClient is the monitor Management Client

type AlertRulesClient struct {
    BaseClient
}

func NewAlertRulesClient

func NewAlertRulesClient(subscriptionID string) AlertRulesClient

NewAlertRulesClient creates an instance of the AlertRulesClient client.

func NewAlertRulesClientWithBaseURI

func NewAlertRulesClientWithBaseURI(baseURI string, subscriptionID string) AlertRulesClient

NewAlertRulesClientWithBaseURI creates an instance of the AlertRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AlertRulesClient) CreateOrUpdate

func (client AlertRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters AlertRuleResource) (result AlertRuleResource, err error)

CreateOrUpdate creates or updates a classic metric alert rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. parameters - the parameters of the rule to create or update.

func (AlertRulesClient) CreateOrUpdatePreparer

func (client AlertRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters AlertRuleResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AlertRulesClient) CreateOrUpdateResponder

func (client AlertRulesClient) CreateOrUpdateResponder(resp *http.Response) (result AlertRuleResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AlertRulesClient) CreateOrUpdateSender

func (client AlertRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AlertRulesClient) Delete

func (client AlertRulesClient) Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)

Delete deletes a classic metric alert rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (AlertRulesClient) DeletePreparer

func (client AlertRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AlertRulesClient) DeleteResponder

func (client AlertRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AlertRulesClient) DeleteSender

func (client AlertRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AlertRulesClient) Get

func (client AlertRulesClient) Get(ctx context.Context, resourceGroupName string, ruleName string) (result AlertRuleResource, err error)

Get gets a classic metric alert rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (AlertRulesClient) GetPreparer

func (client AlertRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AlertRulesClient) GetResponder

func (client AlertRulesClient) GetResponder(resp *http.Response) (result AlertRuleResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AlertRulesClient) GetSender

func (client AlertRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AlertRulesClient) ListByResourceGroup

func (client AlertRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AlertRuleResourceCollection, err error)

ListByResourceGroup list the classic metric alert rules within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (AlertRulesClient) ListByResourceGroupPreparer

func (client AlertRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AlertRulesClient) ListByResourceGroupResponder

func (client AlertRulesClient) ListByResourceGroupResponder(resp *http.Response) (result AlertRuleResourceCollection, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AlertRulesClient) ListByResourceGroupSender

func (client AlertRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AlertRulesClient) ListBySubscription

func (client AlertRulesClient) ListBySubscription(ctx context.Context) (result AlertRuleResourceCollection, err error)

ListBySubscription list the classic metric alert rules within a subscription.

func (AlertRulesClient) ListBySubscriptionPreparer

func (client AlertRulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AlertRulesClient) ListBySubscriptionResponder

func (client AlertRulesClient) ListBySubscriptionResponder(resp *http.Response) (result AlertRuleResourceCollection, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (AlertRulesClient) ListBySubscriptionSender

func (client AlertRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (AlertRulesClient) Update

func (client AlertRulesClient) Update(ctx context.Context, resourceGroupName string, ruleName string, alertRulesResource AlertRuleResourcePatch) (result AlertRuleResource, err error)

Update updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. alertRulesResource - parameters supplied to the operation.

func (AlertRulesClient) UpdatePreparer

func (client AlertRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, alertRulesResource AlertRuleResourcePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AlertRulesClient) UpdateResponder

func (client AlertRulesClient) UpdateResponder(resp *http.Response) (result AlertRuleResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AlertRulesClient) UpdateSender

func (client AlertRulesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AlertSeverity

AlertSeverity enumerates the values for alert severity.

type AlertSeverity string
const (
    // AlertSeverityFour ...
    AlertSeverityFour AlertSeverity = "4"
    // AlertSeverityOne ...
    AlertSeverityOne AlertSeverity = "1"
    // AlertSeverityThree ...
    AlertSeverityThree AlertSeverity = "3"
    // AlertSeverityTwo ...
    AlertSeverityTwo AlertSeverity = "2"
    // AlertSeverityZero ...
    AlertSeverityZero AlertSeverity = "0"
)

func PossibleAlertSeverityValues

func PossibleAlertSeverityValues() []AlertSeverity

PossibleAlertSeverityValues returns an array of possible values for the AlertSeverity const type.

type AlertingAction

AlertingAction specify action need to be taken when rule type is Alert

type AlertingAction struct {
    // Severity - Severity of the alert. Possible values include: 'AlertSeverityZero', 'AlertSeverityOne', 'AlertSeverityTwo', 'AlertSeverityThree', 'AlertSeverityFour'
    Severity AlertSeverity `json:"severity,omitempty"`
    // AznsAction - Azure action group reference.
    AznsAction *AzNsActionGroup `json:"aznsAction,omitempty"`
    // ThrottlingInMin - time (in minutes) for which Alerts should be throttled or suppressed.
    ThrottlingInMin *int32 `json:"throttlingInMin,omitempty"`
    // Trigger - The trigger condition that results in the alert rule being.
    Trigger *TriggerCondition `json:"trigger,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicActionOdataTypeAction', 'OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesAlertingAction', 'OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesLogToMetricAction'
    OdataType OdataTypeBasicAction `json:"odata.type,omitempty"`
}

func (AlertingAction) AsAction

func (aa AlertingAction) AsAction() (*Action, bool)

AsAction is the BasicAction implementation for AlertingAction.

func (AlertingAction) AsAlertingAction

func (aa AlertingAction) AsAlertingAction() (*AlertingAction, bool)

AsAlertingAction is the BasicAction implementation for AlertingAction.

func (AlertingAction) AsBasicAction

func (aa AlertingAction) AsBasicAction() (BasicAction, bool)

AsBasicAction is the BasicAction implementation for AlertingAction.

func (AlertingAction) AsLogToMetricAction

func (aa AlertingAction) AsLogToMetricAction() (*LogToMetricAction, bool)

AsLogToMetricAction is the BasicAction implementation for AlertingAction.

func (AlertingAction) MarshalJSON

func (aa AlertingAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertingAction.

type ArmRoleReceiver

ArmRoleReceiver an arm role receiver.

type ArmRoleReceiver struct {
    // Name - The name of the arm role receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // RoleID - The arm role id.
    RoleID *string `json:"roleId,omitempty"`
    // UseCommonAlertSchema - Indicates whether to use common alert schema.
    UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"`
}

type AutomationRunbookReceiver

AutomationRunbookReceiver the Azure Automation Runbook notification receiver.

type AutomationRunbookReceiver struct {
    // AutomationAccountID - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
    AutomationAccountID *string `json:"automationAccountId,omitempty"`
    // RunbookName - The name for this runbook.
    RunbookName *string `json:"runbookName,omitempty"`
    // WebhookResourceID - The resource id for webhook linked to this runbook.
    WebhookResourceID *string `json:"webhookResourceId,omitempty"`
    // IsGlobalRunbook - Indicates whether this instance is global runbook.
    IsGlobalRunbook *bool `json:"isGlobalRunbook,omitempty"`
    // Name - Indicates name of the webhook.
    Name *string `json:"name,omitempty"`
    // ServiceURI - The URI where webhooks should be sent.
    ServiceURI *string `json:"serviceUri,omitempty"`
    // UseCommonAlertSchema - Indicates whether to use common alert schema.
    UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"`
}

type AutoscaleNotification

AutoscaleNotification autoscale notification.

type AutoscaleNotification struct {
    // Operation - the operation associated with the notification and its value must be "scale"
    Operation *string `json:"operation,omitempty"`
    // Email - the email notification.
    Email *EmailNotification `json:"email,omitempty"`
    // Webhooks - the collection of webhook notifications.
    Webhooks *[]WebhookNotification `json:"webhooks,omitempty"`
}

type AutoscaleProfile

AutoscaleProfile autoscale profile.

type AutoscaleProfile struct {
    // Name - the name of the profile.
    Name *string `json:"name,omitempty"`
    // Capacity - the number of instances that can be used during this profile.
    Capacity *ScaleCapacity `json:"capacity,omitempty"`
    // Rules - the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.
    Rules *[]ScaleRule `json:"rules,omitempty"`
    // FixedDate - the specific date-time for the profile. This element is not used if the Recurrence element is used.
    FixedDate *TimeWindow `json:"fixedDate,omitempty"`
    // Recurrence - the repeating times at which this profile begins. This element is not used if the FixedDate element is used.
    Recurrence *Recurrence `json:"recurrence,omitempty"`
}

type AutoscaleSetting

AutoscaleSetting a setting that contains all of the configuration for the automatic scaling of a resource.

type AutoscaleSetting struct {
    // Profiles - the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified.
    Profiles *[]AutoscaleProfile `json:"profiles,omitempty"`
    // Notifications - the collection of notifications.
    Notifications *[]AutoscaleNotification `json:"notifications,omitempty"`
    // Enabled - the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.
    Enabled *bool `json:"enabled,omitempty"`
    // Name - the name of the autoscale setting.
    Name *string `json:"name,omitempty"`
    // TargetResourceURI - the resource identifier of the resource that the autoscale setting should be added to.
    TargetResourceURI *string `json:"targetResourceUri,omitempty"`
    // TargetResourceLocation - the location of the resource that the autoscale setting should be added to.
    TargetResourceLocation *string `json:"targetResourceLocation,omitempty"`
}

type AutoscaleSettingResource

AutoscaleSettingResource the autoscale setting resource.

type AutoscaleSettingResource struct {
    autorest.Response `json:"-"`
    // AutoscaleSetting - The autoscale setting of the resource.
    *AutoscaleSetting `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Kind - READ-ONLY; Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
    Kind *string `json:"kind,omitempty"`
    // Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Etag *string `json:"etag,omitempty"`
}

func (AutoscaleSettingResource) MarshalJSON

func (asr AutoscaleSettingResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoscaleSettingResource.

func (*AutoscaleSettingResource) UnmarshalJSON

func (asr *AutoscaleSettingResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutoscaleSettingResource struct.

type AutoscaleSettingResourceCollection

AutoscaleSettingResourceCollection represents a collection of autoscale setting resources.

type AutoscaleSettingResourceCollection struct {
    autorest.Response `json:"-"`
    // Value - the values for the autoscale setting resources.
    Value *[]AutoscaleSettingResource `json:"value,omitempty"`
    // NextLink - URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (AutoscaleSettingResourceCollection) IsEmpty

func (asrc AutoscaleSettingResourceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AutoscaleSettingResourceCollectionIterator

AutoscaleSettingResourceCollectionIterator provides access to a complete listing of AutoscaleSettingResource values.

type AutoscaleSettingResourceCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewAutoscaleSettingResourceCollectionIterator

func NewAutoscaleSettingResourceCollectionIterator(page AutoscaleSettingResourceCollectionPage) AutoscaleSettingResourceCollectionIterator

Creates a new instance of the AutoscaleSettingResourceCollectionIterator type.

func (*AutoscaleSettingResourceCollectionIterator) Next

func (iter *AutoscaleSettingResourceCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoscaleSettingResourceCollectionIterator) NextWithContext

func (iter *AutoscaleSettingResourceCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AutoscaleSettingResourceCollectionIterator) NotDone

func (iter AutoscaleSettingResourceCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AutoscaleSettingResourceCollectionIterator) Response

func (iter AutoscaleSettingResourceCollectionIterator) Response() AutoscaleSettingResourceCollection

Response returns the raw server response from the last page request.

func (AutoscaleSettingResourceCollectionIterator) Value

func (iter AutoscaleSettingResourceCollectionIterator) Value() AutoscaleSettingResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AutoscaleSettingResourceCollectionPage

AutoscaleSettingResourceCollectionPage contains a page of AutoscaleSettingResource values.

type AutoscaleSettingResourceCollectionPage struct {
    // contains filtered or unexported fields
}

func NewAutoscaleSettingResourceCollectionPage

func NewAutoscaleSettingResourceCollectionPage(cur AutoscaleSettingResourceCollection, getNextPage func(context.Context, AutoscaleSettingResourceCollection) (AutoscaleSettingResourceCollection, error)) AutoscaleSettingResourceCollectionPage

Creates a new instance of the AutoscaleSettingResourceCollectionPage type.

func (*AutoscaleSettingResourceCollectionPage) Next

func (page *AutoscaleSettingResourceCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoscaleSettingResourceCollectionPage) NextWithContext

func (page *AutoscaleSettingResourceCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AutoscaleSettingResourceCollectionPage) NotDone

func (page AutoscaleSettingResourceCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AutoscaleSettingResourceCollectionPage) Response

func (page AutoscaleSettingResourceCollectionPage) Response() AutoscaleSettingResourceCollection

Response returns the raw server response from the last page request.

func (AutoscaleSettingResourceCollectionPage) Values

func (page AutoscaleSettingResourceCollectionPage) Values() []AutoscaleSettingResource

Values returns the slice of values for the current page or nil if there are no values.

type AutoscaleSettingResourcePatch

AutoscaleSettingResourcePatch the autoscale setting object for patch operations.

type AutoscaleSettingResourcePatch struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // AutoscaleSetting - The autoscale setting properties of the update operation.
    *AutoscaleSetting `json:"properties,omitempty"`
}

func (AutoscaleSettingResourcePatch) MarshalJSON

func (asrp AutoscaleSettingResourcePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoscaleSettingResourcePatch.

func (*AutoscaleSettingResourcePatch) UnmarshalJSON

func (asrp *AutoscaleSettingResourcePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutoscaleSettingResourcePatch struct.

type AutoscaleSettingsClient

AutoscaleSettingsClient is the monitor Management Client

type AutoscaleSettingsClient struct {
    BaseClient
}

func NewAutoscaleSettingsClient

func NewAutoscaleSettingsClient(subscriptionID string) AutoscaleSettingsClient

NewAutoscaleSettingsClient creates an instance of the AutoscaleSettingsClient client.

func NewAutoscaleSettingsClientWithBaseURI

func NewAutoscaleSettingsClientWithBaseURI(baseURI string, subscriptionID string) AutoscaleSettingsClient

NewAutoscaleSettingsClientWithBaseURI creates an instance of the AutoscaleSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AutoscaleSettingsClient) CreateOrUpdate

func (client AutoscaleSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, autoscaleSettingName string, parameters AutoscaleSettingResource) (result AutoscaleSettingResource, err error)

CreateOrUpdate creates or updates an autoscale setting. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. autoscaleSettingName - the autoscale setting name. parameters - parameters supplied to the operation.

func (AutoscaleSettingsClient) CreateOrUpdatePreparer

func (client AutoscaleSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string, parameters AutoscaleSettingResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AutoscaleSettingsClient) CreateOrUpdateResponder

func (client AutoscaleSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result AutoscaleSettingResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AutoscaleSettingsClient) CreateOrUpdateSender

func (client AutoscaleSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AutoscaleSettingsClient) Delete

func (client AutoscaleSettingsClient) Delete(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (result autorest.Response, err error)

Delete deletes and autoscale setting Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. autoscaleSettingName - the autoscale setting name.

func (AutoscaleSettingsClient) DeletePreparer

func (client AutoscaleSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AutoscaleSettingsClient) DeleteResponder

func (client AutoscaleSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AutoscaleSettingsClient) DeleteSender

func (client AutoscaleSettingsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AutoscaleSettingsClient) Get

func (client AutoscaleSettingsClient) Get(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (result AutoscaleSettingResource, err error)

Get gets an autoscale setting Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. autoscaleSettingName - the autoscale setting name.

func (AutoscaleSettingsClient) GetPreparer

func (client AutoscaleSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AutoscaleSettingsClient) GetResponder

func (client AutoscaleSettingsClient) GetResponder(resp *http.Response) (result AutoscaleSettingResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AutoscaleSettingsClient) GetSender

func (client AutoscaleSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AutoscaleSettingsClient) ListByResourceGroup

func (client AutoscaleSettingsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AutoscaleSettingResourceCollectionPage, err error)

ListByResourceGroup lists the autoscale settings for a resource group Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (AutoscaleSettingsClient) ListByResourceGroupComplete

func (client AutoscaleSettingsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AutoscaleSettingResourceCollectionIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AutoscaleSettingsClient) ListByResourceGroupPreparer

func (client AutoscaleSettingsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AutoscaleSettingsClient) ListByResourceGroupResponder

func (client AutoscaleSettingsClient) ListByResourceGroupResponder(resp *http.Response) (result AutoscaleSettingResourceCollection, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AutoscaleSettingsClient) ListByResourceGroupSender

func (client AutoscaleSettingsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AutoscaleSettingsClient) ListBySubscription

func (client AutoscaleSettingsClient) ListBySubscription(ctx context.Context) (result AutoscaleSettingResourceCollectionPage, err error)

ListBySubscription lists the autoscale settings for a subscription

func (AutoscaleSettingsClient) ListBySubscriptionComplete

func (client AutoscaleSettingsClient) ListBySubscriptionComplete(ctx context.Context) (result AutoscaleSettingResourceCollectionIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (AutoscaleSettingsClient) ListBySubscriptionPreparer

func (client AutoscaleSettingsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AutoscaleSettingsClient) ListBySubscriptionResponder

func (client AutoscaleSettingsClient) ListBySubscriptionResponder(resp *http.Response) (result AutoscaleSettingResourceCollection, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (AutoscaleSettingsClient) ListBySubscriptionSender

func (client AutoscaleSettingsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (AutoscaleSettingsClient) Update

func (client AutoscaleSettingsClient) Update(ctx context.Context, resourceGroupName string, autoscaleSettingName string, autoscaleSettingResource AutoscaleSettingResourcePatch) (result AutoscaleSettingResource, err error)

Update updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. autoscaleSettingName - the autoscale setting name. autoscaleSettingResource - parameters supplied to the operation.

func (AutoscaleSettingsClient) UpdatePreparer

func (client AutoscaleSettingsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string, autoscaleSettingResource AutoscaleSettingResourcePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AutoscaleSettingsClient) UpdateResponder

func (client AutoscaleSettingsClient) UpdateResponder(resp *http.Response) (result AutoscaleSettingResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AutoscaleSettingsClient) UpdateSender

func (client AutoscaleSettingsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AzNsActionGroup

AzNsActionGroup azure action group

type AzNsActionGroup struct {
    // ActionGroup - Azure Action Group reference.
    ActionGroup *[]string `json:"actionGroup,omitempty"`
    // EmailSubject - Custom subject override for all email ids in Azure action group
    EmailSubject *string `json:"emailSubject,omitempty"`
    // CustomWebhookPayload - Custom payload to be sent for all webhook URI in Azure action group
    CustomWebhookPayload *string `json:"customWebhookPayload,omitempty"`
}

type AzureAppPushReceiver

AzureAppPushReceiver the Azure mobile App push notification receiver.

type AzureAppPushReceiver struct {
    // Name - The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // EmailAddress - The email address registered for the Azure mobile app.
    EmailAddress *string `json:"emailAddress,omitempty"`
}

type AzureFunctionReceiver

AzureFunctionReceiver an azure function receiver.

type AzureFunctionReceiver struct {
    // Name - The name of the azure function receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // FunctionAppResourceID - The azure resource id of the function app.
    FunctionAppResourceID *string `json:"functionAppResourceId,omitempty"`
    // FunctionName - The function name in the function app.
    FunctionName *string `json:"functionName,omitempty"`
    // HTTPTriggerURL - The http trigger url where http request sent to.
    HTTPTriggerURL *string `json:"httpTriggerUrl,omitempty"`
    // UseCommonAlertSchema - Indicates whether to use common alert schema.
    UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"`
}

type AzureMonitorMetricsDestination

AzureMonitorMetricsDestination azure Monitor Metrics destination.

type AzureMonitorMetricsDestination struct {
    // Name - A friendly name for the destination.
    // This name should be unique across all destinations (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type AzureMonitorPrivateLinkScope

AzureMonitorPrivateLinkScope an Azure Monitor PrivateLinkScope definition.

type AzureMonitorPrivateLinkScope struct {
    autorest.Response `json:"-"`
    // AzureMonitorPrivateLinkScopeProperties - Properties that define a Azure Monitor PrivateLinkScope resource.
    *AzureMonitorPrivateLinkScopeProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (AzureMonitorPrivateLinkScope) MarshalJSON

func (ampls AzureMonitorPrivateLinkScope) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureMonitorPrivateLinkScope.

func (*AzureMonitorPrivateLinkScope) UnmarshalJSON

func (ampls *AzureMonitorPrivateLinkScope) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureMonitorPrivateLinkScope struct.

type AzureMonitorPrivateLinkScopeListResult

AzureMonitorPrivateLinkScopeListResult describes the list of Azure Monitor PrivateLinkScope resources.

type AzureMonitorPrivateLinkScopeListResult struct {
    autorest.Response `json:"-"`
    // Value - List of Azure Monitor PrivateLinkScope definitions.
    Value *[]AzureMonitorPrivateLinkScope `json:"value,omitempty"`
    // NextLink - The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set.
    NextLink *string `json:"nextLink,omitempty"`
}

func (AzureMonitorPrivateLinkScopeListResult) IsEmpty

func (amplslr AzureMonitorPrivateLinkScopeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AzureMonitorPrivateLinkScopeListResultIterator

AzureMonitorPrivateLinkScopeListResultIterator provides access to a complete listing of AzureMonitorPrivateLinkScope values.

type AzureMonitorPrivateLinkScopeListResultIterator struct {
    // contains filtered or unexported fields
}

func NewAzureMonitorPrivateLinkScopeListResultIterator

func NewAzureMonitorPrivateLinkScopeListResultIterator(page AzureMonitorPrivateLinkScopeListResultPage) AzureMonitorPrivateLinkScopeListResultIterator

Creates a new instance of the AzureMonitorPrivateLinkScopeListResultIterator type.

func (*AzureMonitorPrivateLinkScopeListResultIterator) Next

func (iter *AzureMonitorPrivateLinkScopeListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureMonitorPrivateLinkScopeListResultIterator) NextWithContext

func (iter *AzureMonitorPrivateLinkScopeListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AzureMonitorPrivateLinkScopeListResultIterator) NotDone

func (iter AzureMonitorPrivateLinkScopeListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AzureMonitorPrivateLinkScopeListResultIterator) Response

func (iter AzureMonitorPrivateLinkScopeListResultIterator) Response() AzureMonitorPrivateLinkScopeListResult

Response returns the raw server response from the last page request.

func (AzureMonitorPrivateLinkScopeListResultIterator) Value

func (iter AzureMonitorPrivateLinkScopeListResultIterator) Value() AzureMonitorPrivateLinkScope

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AzureMonitorPrivateLinkScopeListResultPage

AzureMonitorPrivateLinkScopeListResultPage contains a page of AzureMonitorPrivateLinkScope values.

type AzureMonitorPrivateLinkScopeListResultPage struct {
    // contains filtered or unexported fields
}

func NewAzureMonitorPrivateLinkScopeListResultPage

func NewAzureMonitorPrivateLinkScopeListResultPage(cur AzureMonitorPrivateLinkScopeListResult, getNextPage func(context.Context, AzureMonitorPrivateLinkScopeListResult) (AzureMonitorPrivateLinkScopeListResult, error)) AzureMonitorPrivateLinkScopeListResultPage

Creates a new instance of the AzureMonitorPrivateLinkScopeListResultPage type.

func (*AzureMonitorPrivateLinkScopeListResultPage) Next

func (page *AzureMonitorPrivateLinkScopeListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureMonitorPrivateLinkScopeListResultPage) NextWithContext

func (page *AzureMonitorPrivateLinkScopeListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AzureMonitorPrivateLinkScopeListResultPage) NotDone

func (page AzureMonitorPrivateLinkScopeListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AzureMonitorPrivateLinkScopeListResultPage) Response

func (page AzureMonitorPrivateLinkScopeListResultPage) Response() AzureMonitorPrivateLinkScopeListResult

Response returns the raw server response from the last page request.

func (AzureMonitorPrivateLinkScopeListResultPage) Values

func (page AzureMonitorPrivateLinkScopeListResultPage) Values() []AzureMonitorPrivateLinkScope

Values returns the slice of values for the current page or nil if there are no values.

type AzureMonitorPrivateLinkScopeProperties

AzureMonitorPrivateLinkScopeProperties properties that define a Azure Monitor PrivateLinkScope resource.

type AzureMonitorPrivateLinkScopeProperties struct {
    // ProvisioningState - READ-ONLY; Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // PrivateEndpointConnections - READ-ONLY; List of private endpoint connections.
    PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
}

func (AzureMonitorPrivateLinkScopeProperties) MarshalJSON

func (amplsp AzureMonitorPrivateLinkScopeProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureMonitorPrivateLinkScopeProperties.

type AzureResource

AzureResource an azure resource object

type AzureResource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Kind - READ-ONLY; Azure resource kind
    Kind *string `json:"kind,omitempty"`
    // Identity - READ-ONLY; Azure resource identity
    Identity *string `json:"identity,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (AzureResource) MarshalJSON

func (ar AzureResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureResource.

type BaseClient

BaseClient is the base client for Insights.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BaselineMetadata

BaselineMetadata represents a baseline metadata value.

type BaselineMetadata struct {
    // Name - Name of the baseline metadata.
    Name *string `json:"name,omitempty"`
    // Value - Value of the baseline metadata.
    Value *string `json:"value,omitempty"`
}

type BaselineSensitivity

BaselineSensitivity enumerates the values for baseline sensitivity.

type BaselineSensitivity string
const (
    // BaselineSensitivityHigh ...
    BaselineSensitivityHigh BaselineSensitivity = "High"
    // BaselineSensitivityLow ...
    BaselineSensitivityLow BaselineSensitivity = "Low"
    // BaselineSensitivityMedium ...
    BaselineSensitivityMedium BaselineSensitivity = "Medium"
)

func PossibleBaselineSensitivityValues

func PossibleBaselineSensitivityValues() []BaselineSensitivity

PossibleBaselineSensitivityValues returns an array of possible values for the BaselineSensitivity const type.

type BaselinesClient

BaselinesClient is the monitor Management Client

type BaselinesClient struct {
    BaseClient
}

func NewBaselinesClient

func NewBaselinesClient(subscriptionID string) BaselinesClient

NewBaselinesClient creates an instance of the BaselinesClient client.

func NewBaselinesClientWithBaseURI

func NewBaselinesClientWithBaseURI(baseURI string, subscriptionID string) BaselinesClient

NewBaselinesClientWithBaseURI creates an instance of the BaselinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaselinesClient) List

func (client BaselinesClient) List(ctx context.Context, resourceURI string, metricnames string, metricnamespace string, timespan string, interval *string, aggregation string, sensitivities string, filter string, resultType ResultType) (result MetricBaselinesResponse, err error)

List **Lists the metric baseline values for a resource**. Parameters: resourceURI - the identifier of the resource. metricnames - the names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** metricnamespace - metric namespace to query metric definitions for. timespan - the timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. interval - the interval (i.e. timegrain) of the query. aggregation - the list of aggregation types (comma separated) to retrieve. sensitivities - the list of sensitivities (comma separated) to retrieve. filter - the **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** resultType - allows retrieving only metadata of the baseline. On data request all information is retrieved.

func (BaselinesClient) ListPreparer

func (client BaselinesClient) ListPreparer(ctx context.Context, resourceURI string, metricnames string, metricnamespace string, timespan string, interval *string, aggregation string, sensitivities string, filter string, resultType ResultType) (*http.Request, error)

ListPreparer prepares the List request.

func (BaselinesClient) ListResponder

func (client BaselinesClient) ListResponder(resp *http.Response) (result MetricBaselinesResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BaselinesClient) ListSender

func (client BaselinesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BasicAction

BasicAction action descriptor.

type BasicAction interface {
    AsAlertingAction() (*AlertingAction, bool)
    AsLogToMetricAction() (*LogToMetricAction, bool)
    AsAction() (*Action, bool)
}

type BasicMetricAlertCriteria

BasicMetricAlertCriteria the rule criteria that defines the conditions of the alert rule.

type BasicMetricAlertCriteria interface {
    AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)
    AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)
    AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)
    AsMetricAlertCriteria() (*MetricAlertCriteria, bool)
}

type BasicMultiMetricCriteria

BasicMultiMetricCriteria the types of conditions for a multi resource alert.

type BasicMultiMetricCriteria interface {
    AsMetricCriteria() (*MetricCriteria, bool)
    AsDynamicMetricCriteria() (*DynamicMetricCriteria, bool)
    AsMultiMetricCriteria() (*MultiMetricCriteria, bool)
}

type BasicRuleAction

BasicRuleAction the action that is performed when the alert rule becomes active, and when an alert condition is resolved.

type BasicRuleAction interface {
    AsRuleEmailAction() (*RuleEmailAction, bool)
    AsRuleWebhookAction() (*RuleWebhookAction, bool)
    AsRuleAction() (*RuleAction, bool)
}

type BasicRuleCondition

BasicRuleCondition the condition that results in the alert rule being activated.

type BasicRuleCondition interface {
    AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)
    AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)
    AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)
    AsRuleCondition() (*RuleCondition, bool)
}

type BasicRuleDataSource

BasicRuleDataSource the resource from which the rule collects its data.

type BasicRuleDataSource interface {
    AsRuleMetricDataSource() (*RuleMetricDataSource, bool)
    AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool)
    AsRuleDataSource() (*RuleDataSource, bool)
}

type CategoryType

CategoryType enumerates the values for category type.

type CategoryType string
const (
    // CategoryTypeLogs ...
    CategoryTypeLogs CategoryType = "Logs"
    // CategoryTypeMetrics ...
    CategoryTypeMetrics CategoryType = "Metrics"
)

func PossibleCategoryTypeValues

func PossibleCategoryTypeValues() []CategoryType

PossibleCategoryTypeValues returns an array of possible values for the CategoryType const type.

type ComparisonOperationType

ComparisonOperationType enumerates the values for comparison operation type.

type ComparisonOperationType string
const (
    // ComparisonOperationTypeEquals ...
    ComparisonOperationTypeEquals ComparisonOperationType = "Equals"
    // ComparisonOperationTypeGreaterThan ...
    ComparisonOperationTypeGreaterThan ComparisonOperationType = "GreaterThan"
    // ComparisonOperationTypeGreaterThanOrEqual ...
    ComparisonOperationTypeGreaterThanOrEqual ComparisonOperationType = "GreaterThanOrEqual"
    // ComparisonOperationTypeLessThan ...
    ComparisonOperationTypeLessThan ComparisonOperationType = "LessThan"
    // ComparisonOperationTypeLessThanOrEqual ...
    ComparisonOperationTypeLessThanOrEqual ComparisonOperationType = "LessThanOrEqual"
    // ComparisonOperationTypeNotEquals ...
    ComparisonOperationTypeNotEquals ComparisonOperationType = "NotEquals"
)

func PossibleComparisonOperationTypeValues

func PossibleComparisonOperationTypeValues() []ComparisonOperationType

PossibleComparisonOperationTypeValues returns an array of possible values for the ComparisonOperationType const type.

type ConditionOperator

ConditionOperator enumerates the values for condition operator.

type ConditionOperator string
const (
    // ConditionOperatorGreaterThan ...
    ConditionOperatorGreaterThan ConditionOperator = "GreaterThan"
    // ConditionOperatorGreaterThanOrEqual ...
    ConditionOperatorGreaterThanOrEqual ConditionOperator = "GreaterThanOrEqual"
    // ConditionOperatorLessThan ...
    ConditionOperatorLessThan ConditionOperator = "LessThan"
    // ConditionOperatorLessThanOrEqual ...
    ConditionOperatorLessThanOrEqual ConditionOperator = "LessThanOrEqual"
)

func PossibleConditionOperatorValues

func PossibleConditionOperatorValues() []ConditionOperator

PossibleConditionOperatorValues returns an array of possible values for the ConditionOperator const type.

type ConditionalOperator

ConditionalOperator enumerates the values for conditional operator.

type ConditionalOperator string
const (
    // ConditionalOperatorEqual ...
    ConditionalOperatorEqual ConditionalOperator = "Equal"
    // ConditionalOperatorGreaterThan ...
    ConditionalOperatorGreaterThan ConditionalOperator = "GreaterThan"
    // ConditionalOperatorGreaterThanOrEqual ...
    ConditionalOperatorGreaterThanOrEqual ConditionalOperator = "GreaterThanOrEqual"
    // ConditionalOperatorLessThan ...
    ConditionalOperatorLessThan ConditionalOperator = "LessThan"
    // ConditionalOperatorLessThanOrEqual ...
    ConditionalOperatorLessThanOrEqual ConditionalOperator = "LessThanOrEqual"
)

func PossibleConditionalOperatorValues

func PossibleConditionalOperatorValues() []ConditionalOperator

PossibleConditionalOperatorValues returns an array of possible values for the ConditionalOperator const type.

type ConfigurationAccessEndpointSpec

ConfigurationAccessEndpointSpec definition of the endpoint used for accessing configuration.

type ConfigurationAccessEndpointSpec struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (ConfigurationAccessEndpointSpec) MarshalJSON

func (caes ConfigurationAccessEndpointSpec) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationAccessEndpointSpec.

type Context

Context the context info

type Context struct {
    // NotificationSource - The source of the notification request
    NotificationSource *string `json:"NotificationSource,omitempty"`
    // ContextType - The context id type
    ContextType *string `json:"ContextType,omitempty"`
}

type CreatedByType

CreatedByType enumerates the values for created by type.

type CreatedByType string
const (
    // CreatedByTypeApplication ...
    CreatedByTypeApplication CreatedByType = "Application"
    // CreatedByTypeKey ...
    CreatedByTypeKey CreatedByType = "Key"
    // CreatedByTypeManagedIdentity ...
    CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    // CreatedByTypeUser ...
    CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type Criteria

Criteria specifies the criteria for converting log to metric.

type Criteria struct {
    // MetricName - Name of the metric
    MetricName *string `json:"metricName,omitempty"`
    // Dimensions - List of Dimensions for creating metric
    Dimensions *[]Dimension `json:"dimensions,omitempty"`
}

type CriterionType

CriterionType enumerates the values for criterion type.

type CriterionType string
const (
    // CriterionTypeDynamicThresholdCriterion ...
    CriterionTypeDynamicThresholdCriterion CriterionType = "DynamicThresholdCriterion"
    // CriterionTypeMultiMetricCriteria ...
    CriterionTypeMultiMetricCriteria CriterionType = "MultiMetricCriteria"
    // CriterionTypeStaticThresholdCriterion ...
    CriterionTypeStaticThresholdCriterion CriterionType = "StaticThresholdCriterion"
)

func PossibleCriterionTypeValues

func PossibleCriterionTypeValues() []CriterionType

PossibleCriterionTypeValues returns an array of possible values for the CriterionType const type.

type DataCollectionEndpoint

DataCollectionEndpoint definition of data collection endpoint.

type DataCollectionEndpoint struct {
    // Description - Description of the data collection endpoint.
    Description *string `json:"description,omitempty"`
    // ImmutableID - The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // ConfigurationAccess - The endpoint used by agents to access their configuration.
    ConfigurationAccess *DataCollectionEndpointConfigurationAccess `json:"configurationAccess,omitempty"`
    // LogsIngestion - The endpoint used by clients to ingest logs.
    LogsIngestion *DataCollectionEndpointLogsIngestion `json:"logsIngestion,omitempty"`
    // NetworkAcls - Network access control rules for the endpoints.
    NetworkAcls *DataCollectionEndpointNetworkAcls `json:"networkAcls,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. This property is READ-ONLY. Possible values include: 'KnownDataCollectionEndpointProvisioningStateCreating', 'KnownDataCollectionEndpointProvisioningStateUpdating', 'KnownDataCollectionEndpointProvisioningStateDeleting', 'KnownDataCollectionEndpointProvisioningStateSucceeded', 'KnownDataCollectionEndpointProvisioningStateFailed'
    ProvisioningState KnownDataCollectionEndpointProvisioningState `json:"provisioningState,omitempty"`
}

func (DataCollectionEndpoint) MarshalJSON

func (dce DataCollectionEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionEndpoint.

type DataCollectionEndpointConfigurationAccess

DataCollectionEndpointConfigurationAccess the endpoint used by agents to access their configuration.

type DataCollectionEndpointConfigurationAccess struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (DataCollectionEndpointConfigurationAccess) MarshalJSON

func (dceA DataCollectionEndpointConfigurationAccess) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionEndpointConfigurationAccess.

type DataCollectionEndpointLogsIngestion

DataCollectionEndpointLogsIngestion the endpoint used by clients to ingest logs.

type DataCollectionEndpointLogsIngestion struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (DataCollectionEndpointLogsIngestion) MarshalJSON

func (dceI DataCollectionEndpointLogsIngestion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionEndpointLogsIngestion.

type DataCollectionEndpointNetworkAcls

DataCollectionEndpointNetworkAcls network access control rules for the endpoints.

type DataCollectionEndpointNetworkAcls struct {
    // PublicNetworkAccess - The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: 'KnownPublicNetworkAccessOptionsEnabled', 'KnownPublicNetworkAccessOptionsDisabled'
    PublicNetworkAccess KnownPublicNetworkAccessOptions `json:"publicNetworkAccess,omitempty"`
}

type DataCollectionEndpointResource

DataCollectionEndpointResource definition of ARM tracked top level resource.

type DataCollectionEndpointResource struct {
    autorest.Response `json:"-"`
    // DataCollectionEndpointResourceProperties - Resource properties.
    *DataCollectionEndpointResourceProperties `json:"properties,omitempty"`
    // Location - The geo-location where the resource lives.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Kind - The kind of the resource. Possible values include: 'KnownDataCollectionEndpointResourceKindLinux', 'KnownDataCollectionEndpointResourceKindWindows'
    Kind KnownDataCollectionEndpointResourceKind `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified ID of the resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Etag - READ-ONLY; Resource entity tag (ETag).
    Etag *string `json:"etag,omitempty"`
    // SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
    SystemData *DataCollectionEndpointResourceSystemData `json:"systemData,omitempty"`
}

func (DataCollectionEndpointResource) MarshalJSON

func (dcer DataCollectionEndpointResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionEndpointResource.

func (*DataCollectionEndpointResource) UnmarshalJSON

func (dcer *DataCollectionEndpointResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataCollectionEndpointResource struct.

type DataCollectionEndpointResourceListResult

DataCollectionEndpointResourceListResult a pageable list of resources.

type DataCollectionEndpointResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - A list of resources.
    Value *[]DataCollectionEndpointResource `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DataCollectionEndpointResourceListResult) IsEmpty

func (dcerlr DataCollectionEndpointResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataCollectionEndpointResourceListResultIterator

DataCollectionEndpointResourceListResultIterator provides access to a complete listing of DataCollectionEndpointResource values.

type DataCollectionEndpointResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewDataCollectionEndpointResourceListResultIterator

func NewDataCollectionEndpointResourceListResultIterator(page DataCollectionEndpointResourceListResultPage) DataCollectionEndpointResourceListResultIterator

Creates a new instance of the DataCollectionEndpointResourceListResultIterator type.

func (*DataCollectionEndpointResourceListResultIterator) Next

func (iter *DataCollectionEndpointResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataCollectionEndpointResourceListResultIterator) NextWithContext

func (iter *DataCollectionEndpointResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataCollectionEndpointResourceListResultIterator) NotDone

func (iter DataCollectionEndpointResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataCollectionEndpointResourceListResultIterator) Response

func (iter DataCollectionEndpointResourceListResultIterator) Response() DataCollectionEndpointResourceListResult

Response returns the raw server response from the last page request.

func (DataCollectionEndpointResourceListResultIterator) Value

func (iter DataCollectionEndpointResourceListResultIterator) Value() DataCollectionEndpointResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataCollectionEndpointResourceListResultPage

DataCollectionEndpointResourceListResultPage contains a page of DataCollectionEndpointResource values.

type DataCollectionEndpointResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewDataCollectionEndpointResourceListResultPage

func NewDataCollectionEndpointResourceListResultPage(cur DataCollectionEndpointResourceListResult, getNextPage func(context.Context, DataCollectionEndpointResourceListResult) (DataCollectionEndpointResourceListResult, error)) DataCollectionEndpointResourceListResultPage

Creates a new instance of the DataCollectionEndpointResourceListResultPage type.

func (*DataCollectionEndpointResourceListResultPage) Next

func (page *DataCollectionEndpointResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataCollectionEndpointResourceListResultPage) NextWithContext

func (page *DataCollectionEndpointResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataCollectionEndpointResourceListResultPage) NotDone

func (page DataCollectionEndpointResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataCollectionEndpointResourceListResultPage) Response

func (page DataCollectionEndpointResourceListResultPage) Response() DataCollectionEndpointResourceListResult

Response returns the raw server response from the last page request.

func (DataCollectionEndpointResourceListResultPage) Values

func (page DataCollectionEndpointResourceListResultPage) Values() []DataCollectionEndpointResource

Values returns the slice of values for the current page or nil if there are no values.

type DataCollectionEndpointResourceProperties

DataCollectionEndpointResourceProperties resource properties.

type DataCollectionEndpointResourceProperties struct {
    // Description - Description of the data collection endpoint.
    Description *string `json:"description,omitempty"`
    // ImmutableID - The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // ConfigurationAccess - The endpoint used by agents to access their configuration.
    ConfigurationAccess *DataCollectionEndpointConfigurationAccess `json:"configurationAccess,omitempty"`
    // LogsIngestion - The endpoint used by clients to ingest logs.
    LogsIngestion *DataCollectionEndpointLogsIngestion `json:"logsIngestion,omitempty"`
    // NetworkAcls - Network access control rules for the endpoints.
    NetworkAcls *DataCollectionEndpointNetworkAcls `json:"networkAcls,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. This property is READ-ONLY. Possible values include: 'KnownDataCollectionEndpointProvisioningStateCreating', 'KnownDataCollectionEndpointProvisioningStateUpdating', 'KnownDataCollectionEndpointProvisioningStateDeleting', 'KnownDataCollectionEndpointProvisioningStateSucceeded', 'KnownDataCollectionEndpointProvisioningStateFailed'
    ProvisioningState KnownDataCollectionEndpointProvisioningState `json:"provisioningState,omitempty"`
}

func (DataCollectionEndpointResourceProperties) MarshalJSON

func (dcer DataCollectionEndpointResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionEndpointResourceProperties.

type DataCollectionEndpointResourceSystemData

DataCollectionEndpointResourceSystemData metadata pertaining to creation and last modification of the resource.

type DataCollectionEndpointResourceSystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type DataCollectionEndpointsClient

DataCollectionEndpointsClient is the monitor Management Client

type DataCollectionEndpointsClient struct {
    BaseClient
}

func NewDataCollectionEndpointsClient

func NewDataCollectionEndpointsClient(subscriptionID string) DataCollectionEndpointsClient

NewDataCollectionEndpointsClient creates an instance of the DataCollectionEndpointsClient client.

func NewDataCollectionEndpointsClientWithBaseURI

func NewDataCollectionEndpointsClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionEndpointsClient

NewDataCollectionEndpointsClientWithBaseURI creates an instance of the DataCollectionEndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DataCollectionEndpointsClient) Create

func (client DataCollectionEndpointsClient) Create(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *DataCollectionEndpointResource) (result DataCollectionEndpointResource, err error)

Create sends the create request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive. body - the payload

func (DataCollectionEndpointsClient) CreatePreparer

func (client DataCollectionEndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *DataCollectionEndpointResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (DataCollectionEndpointsClient) CreateResponder

func (client DataCollectionEndpointsClient) CreateResponder(resp *http.Response) (result DataCollectionEndpointResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (DataCollectionEndpointsClient) CreateSender

func (client DataCollectionEndpointsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (DataCollectionEndpointsClient) Delete

func (client DataCollectionEndpointsClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive.

func (DataCollectionEndpointsClient) DeletePreparer

func (client DataCollectionEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataCollectionEndpointsClient) DeleteResponder

func (client DataCollectionEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DataCollectionEndpointsClient) DeleteSender

func (client DataCollectionEndpointsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DataCollectionEndpointsClient) Get

func (client DataCollectionEndpointsClient) Get(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result DataCollectionEndpointResource, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive.

func (DataCollectionEndpointsClient) GetPreparer

func (client DataCollectionEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataCollectionEndpointsClient) GetResponder

func (client DataCollectionEndpointsClient) GetResponder(resp *http.Response) (result DataCollectionEndpointResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DataCollectionEndpointsClient) GetSender

func (client DataCollectionEndpointsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DataCollectionEndpointsClient) ListByResourceGroup

func (client DataCollectionEndpointsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DataCollectionEndpointResourceListResultPage, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (DataCollectionEndpointsClient) ListByResourceGroupComplete

func (client DataCollectionEndpointsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DataCollectionEndpointResourceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DataCollectionEndpointsClient) ListByResourceGroupPreparer

func (client DataCollectionEndpointsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DataCollectionEndpointsClient) ListByResourceGroupResponder

func (client DataCollectionEndpointsClient) ListByResourceGroupResponder(resp *http.Response) (result DataCollectionEndpointResourceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DataCollectionEndpointsClient) ListByResourceGroupSender

func (client DataCollectionEndpointsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DataCollectionEndpointsClient) ListBySubscription

func (client DataCollectionEndpointsClient) ListBySubscription(ctx context.Context) (result DataCollectionEndpointResourceListResultPage, err error)

ListBySubscription sends the list by subscription request.

func (DataCollectionEndpointsClient) ListBySubscriptionComplete

func (client DataCollectionEndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result DataCollectionEndpointResourceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DataCollectionEndpointsClient) ListBySubscriptionPreparer

func (client DataCollectionEndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DataCollectionEndpointsClient) ListBySubscriptionResponder

func (client DataCollectionEndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result DataCollectionEndpointResourceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DataCollectionEndpointsClient) ListBySubscriptionSender

func (client DataCollectionEndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (DataCollectionEndpointsClient) Update

func (client DataCollectionEndpointsClient) Update(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (result DataCollectionEndpointResource, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionEndpointName - the name of the data collection endpoint. The name is case insensitive. body - the payload

func (DataCollectionEndpointsClient) UpdatePreparer

func (client DataCollectionEndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *ResourceForUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DataCollectionEndpointsClient) UpdateResponder

func (client DataCollectionEndpointsClient) UpdateResponder(resp *http.Response) (result DataCollectionEndpointResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DataCollectionEndpointsClient) UpdateSender

func (client DataCollectionEndpointsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DataCollectionRule

DataCollectionRule definition of what monitoring data to collect and where that data should be sent.

type DataCollectionRule struct {
    // Description - Description of the data collection rule.
    Description *string `json:"description,omitempty"`
    // ImmutableID - READ-ONLY; The immutable ID of this data collection rule. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // DataSources - The specification of data sources.
    // This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
    DataSources *DataCollectionRuleDataSources `json:"dataSources,omitempty"`
    // Destinations - The specification of destinations.
    Destinations *DataCollectionRuleDestinations `json:"destinations,omitempty"`
    // DataFlows - The specification of data flows.
    DataFlows *[]DataFlow `json:"dataFlows,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleProvisioningStateCreating', 'KnownDataCollectionRuleProvisioningStateUpdating', 'KnownDataCollectionRuleProvisioningStateDeleting', 'KnownDataCollectionRuleProvisioningStateSucceeded', 'KnownDataCollectionRuleProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleProvisioningState `json:"provisioningState,omitempty"`
}

func (DataCollectionRule) MarshalJSON

func (dcr DataCollectionRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionRule.

type DataCollectionRuleAssociation

DataCollectionRuleAssociation definition of association of a data collection rule with a monitored Azure resource.

type DataCollectionRuleAssociation struct {
    // Description - Description of the association.
    Description *string `json:"description,omitempty"`
    // DataCollectionRuleID - The resource ID of the data collection rule that is to be associated.
    DataCollectionRuleID *string `json:"dataCollectionRuleId,omitempty"`
    // DataCollectionEndpointID - The resource ID of the data collection endpoint that is to be associated.
    DataCollectionEndpointID *string `json:"dataCollectionEndpointId,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleAssociationProvisioningStateCreating', 'KnownDataCollectionRuleAssociationProvisioningStateUpdating', 'KnownDataCollectionRuleAssociationProvisioningStateDeleting', 'KnownDataCollectionRuleAssociationProvisioningStateSucceeded', 'KnownDataCollectionRuleAssociationProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleAssociationProvisioningState `json:"provisioningState,omitempty"`
}

func (DataCollectionRuleAssociation) MarshalJSON

func (dcra DataCollectionRuleAssociation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionRuleAssociation.

type DataCollectionRuleAssociationProxyOnlyResource

DataCollectionRuleAssociationProxyOnlyResource definition of generic ARM proxy resource.

type DataCollectionRuleAssociationProxyOnlyResource struct {
    autorest.Response `json:"-"`
    // DataCollectionRuleAssociationProxyOnlyResourceProperties - Resource properties.
    *DataCollectionRuleAssociationProxyOnlyResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified ID of the resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Etag - READ-ONLY; Resource entity tag (ETag).
    Etag *string `json:"etag,omitempty"`
    // SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
    SystemData *DataCollectionRuleAssociationProxyOnlyResourceSystemData `json:"systemData,omitempty"`
}

func (DataCollectionRuleAssociationProxyOnlyResource) MarshalJSON

func (dcrapor DataCollectionRuleAssociationProxyOnlyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionRuleAssociationProxyOnlyResource.

func (*DataCollectionRuleAssociationProxyOnlyResource) UnmarshalJSON

func (dcrapor *DataCollectionRuleAssociationProxyOnlyResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataCollectionRuleAssociationProxyOnlyResource struct.

type DataCollectionRuleAssociationProxyOnlyResourceListResult

DataCollectionRuleAssociationProxyOnlyResourceListResult a pageable list of resources.

type DataCollectionRuleAssociationProxyOnlyResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - A list of resources.
    Value *[]DataCollectionRuleAssociationProxyOnlyResource `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DataCollectionRuleAssociationProxyOnlyResourceListResult) IsEmpty

func (dcraporlr DataCollectionRuleAssociationProxyOnlyResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataCollectionRuleAssociationProxyOnlyResourceListResultIterator

DataCollectionRuleAssociationProxyOnlyResourceListResultIterator provides access to a complete listing of DataCollectionRuleAssociationProxyOnlyResource values.

type DataCollectionRuleAssociationProxyOnlyResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewDataCollectionRuleAssociationProxyOnlyResourceListResultIterator

func NewDataCollectionRuleAssociationProxyOnlyResourceListResultIterator(page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) DataCollectionRuleAssociationProxyOnlyResourceListResultIterator

Creates a new instance of the DataCollectionRuleAssociationProxyOnlyResourceListResultIterator type.

func (*DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Next

func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NextWithContext

func (iter *DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NotDone

func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Response

func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult

Response returns the raw server response from the last page request.

func (DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Value

func (iter DataCollectionRuleAssociationProxyOnlyResourceListResultIterator) Value() DataCollectionRuleAssociationProxyOnlyResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataCollectionRuleAssociationProxyOnlyResourceListResultPage

DataCollectionRuleAssociationProxyOnlyResourceListResultPage contains a page of DataCollectionRuleAssociationProxyOnlyResource values.

type DataCollectionRuleAssociationProxyOnlyResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewDataCollectionRuleAssociationProxyOnlyResourceListResultPage

func NewDataCollectionRuleAssociationProxyOnlyResourceListResultPage(cur DataCollectionRuleAssociationProxyOnlyResourceListResult, getNextPage func(context.Context, DataCollectionRuleAssociationProxyOnlyResourceListResult) (DataCollectionRuleAssociationProxyOnlyResourceListResult, error)) DataCollectionRuleAssociationProxyOnlyResourceListResultPage

Creates a new instance of the DataCollectionRuleAssociationProxyOnlyResourceListResultPage type.

func (*DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Next

func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NextWithContext

func (page *DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NotDone

func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Response

func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Response() DataCollectionRuleAssociationProxyOnlyResourceListResult

Response returns the raw server response from the last page request.

func (DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Values

func (page DataCollectionRuleAssociationProxyOnlyResourceListResultPage) Values() []DataCollectionRuleAssociationProxyOnlyResource

Values returns the slice of values for the current page or nil if there are no values.

type DataCollectionRuleAssociationProxyOnlyResourceProperties

DataCollectionRuleAssociationProxyOnlyResourceProperties resource properties.

type DataCollectionRuleAssociationProxyOnlyResourceProperties struct {
    // Description - Description of the association.
    Description *string `json:"description,omitempty"`
    // DataCollectionRuleID - The resource ID of the data collection rule that is to be associated.
    DataCollectionRuleID *string `json:"dataCollectionRuleId,omitempty"`
    // DataCollectionEndpointID - The resource ID of the data collection endpoint that is to be associated.
    DataCollectionEndpointID *string `json:"dataCollectionEndpointId,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleAssociationProvisioningStateCreating', 'KnownDataCollectionRuleAssociationProvisioningStateUpdating', 'KnownDataCollectionRuleAssociationProvisioningStateDeleting', 'KnownDataCollectionRuleAssociationProvisioningStateSucceeded', 'KnownDataCollectionRuleAssociationProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleAssociationProvisioningState `json:"provisioningState,omitempty"`
}

func (DataCollectionRuleAssociationProxyOnlyResourceProperties) MarshalJSON

func (dcrapor DataCollectionRuleAssociationProxyOnlyResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionRuleAssociationProxyOnlyResourceProperties.

type DataCollectionRuleAssociationProxyOnlyResourceSystemData

DataCollectionRuleAssociationProxyOnlyResourceSystemData metadata pertaining to creation and last modification of the resource.

type DataCollectionRuleAssociationProxyOnlyResourceSystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type DataCollectionRuleAssociationsClient

DataCollectionRuleAssociationsClient is the monitor Management Client

type DataCollectionRuleAssociationsClient struct {
    BaseClient
}

func NewDataCollectionRuleAssociationsClient

func NewDataCollectionRuleAssociationsClient(subscriptionID string) DataCollectionRuleAssociationsClient

NewDataCollectionRuleAssociationsClient creates an instance of the DataCollectionRuleAssociationsClient client.

func NewDataCollectionRuleAssociationsClientWithBaseURI

func NewDataCollectionRuleAssociationsClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionRuleAssociationsClient

NewDataCollectionRuleAssociationsClientWithBaseURI creates an instance of the DataCollectionRuleAssociationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DataCollectionRuleAssociationsClient) Create

func (client DataCollectionRuleAssociationsClient) Create(ctx context.Context, resourceURI string, associationName string, body *DataCollectionRuleAssociationProxyOnlyResource) (result DataCollectionRuleAssociationProxyOnlyResource, err error)

Create sends the create request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association. The name is case insensitive. body - the payload

func (DataCollectionRuleAssociationsClient) CreatePreparer

func (client DataCollectionRuleAssociationsClient) CreatePreparer(ctx context.Context, resourceURI string, associationName string, body *DataCollectionRuleAssociationProxyOnlyResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (DataCollectionRuleAssociationsClient) CreateResponder

func (client DataCollectionRuleAssociationsClient) CreateResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (DataCollectionRuleAssociationsClient) CreateSender

func (client DataCollectionRuleAssociationsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRuleAssociationsClient) Delete

func (client DataCollectionRuleAssociationsClient) Delete(ctx context.Context, resourceURI string, associationName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association. The name is case insensitive.

func (DataCollectionRuleAssociationsClient) DeletePreparer

func (client DataCollectionRuleAssociationsClient) DeletePreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataCollectionRuleAssociationsClient) DeleteResponder

func (client DataCollectionRuleAssociationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DataCollectionRuleAssociationsClient) DeleteSender

func (client DataCollectionRuleAssociationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRuleAssociationsClient) Get

func (client DataCollectionRuleAssociationsClient) Get(ctx context.Context, resourceURI string, associationName string) (result DataCollectionRuleAssociationProxyOnlyResource, err error)

Get sends the get request. Parameters: resourceURI - the identifier of the resource. associationName - the name of the association. The name is case insensitive.

func (DataCollectionRuleAssociationsClient) GetPreparer

func (client DataCollectionRuleAssociationsClient) GetPreparer(ctx context.Context, resourceURI string, associationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataCollectionRuleAssociationsClient) GetResponder

func (client DataCollectionRuleAssociationsClient) GetResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DataCollectionRuleAssociationsClient) GetSender

func (client DataCollectionRuleAssociationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRuleAssociationsClient) ListByResource

func (client DataCollectionRuleAssociationsClient) ListByResource(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)

ListByResource sends the list by resource request. Parameters: resourceURI - the identifier of the resource.

func (DataCollectionRuleAssociationsClient) ListByResourceComplete

func (client DataCollectionRuleAssociationsClient) ListByResourceComplete(ctx context.Context, resourceURI string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)

ListByResourceComplete enumerates all values, automatically crossing page boundaries as required.

func (DataCollectionRuleAssociationsClient) ListByResourcePreparer

func (client DataCollectionRuleAssociationsClient) ListByResourcePreparer(ctx context.Context, resourceURI string) (*http.Request, error)

ListByResourcePreparer prepares the ListByResource request.

func (DataCollectionRuleAssociationsClient) ListByResourceResponder

func (client DataCollectionRuleAssociationsClient) ListByResourceResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)

ListByResourceResponder handles the response to the ListByResource request. The method always closes the http.Response Body.

func (DataCollectionRuleAssociationsClient) ListByResourceSender

func (client DataCollectionRuleAssociationsClient) ListByResourceSender(req *http.Request) (*http.Response, error)

ListByResourceSender sends the ListByResource request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRuleAssociationsClient) ListByRule

func (client DataCollectionRuleAssociationsClient) ListByRule(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)

ListByRule sends the list by rule request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive.

func (DataCollectionRuleAssociationsClient) ListByRuleComplete

func (client DataCollectionRuleAssociationsClient) ListByRuleComplete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)

ListByRuleComplete enumerates all values, automatically crossing page boundaries as required.

func (DataCollectionRuleAssociationsClient) ListByRulePreparer

func (client DataCollectionRuleAssociationsClient) ListByRulePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)

ListByRulePreparer prepares the ListByRule request.

func (DataCollectionRuleAssociationsClient) ListByRuleResponder

func (client DataCollectionRuleAssociationsClient) ListByRuleResponder(resp *http.Response) (result DataCollectionRuleAssociationProxyOnlyResourceListResult, err error)

ListByRuleResponder handles the response to the ListByRule request. The method always closes the http.Response Body.

func (DataCollectionRuleAssociationsClient) ListByRuleSender

func (client DataCollectionRuleAssociationsClient) ListByRuleSender(req *http.Request) (*http.Response, error)

ListByRuleSender sends the ListByRule request. The method will close the http.Response Body if it receives an error.

type DataCollectionRuleDataSources

DataCollectionRuleDataSources the specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.

type DataCollectionRuleDataSources struct {
    // PerformanceCounters - The list of performance counter data source configurations.
    PerformanceCounters *[]PerfCounterDataSource `json:"performanceCounters,omitempty"`
    // WindowsEventLogs - The list of Windows Event Log data source configurations.
    WindowsEventLogs *[]WindowsEventLogDataSource `json:"windowsEventLogs,omitempty"`
    // Syslog - The list of Syslog data source configurations.
    Syslog *[]SyslogDataSource `json:"syslog,omitempty"`
    // Extensions - The list of Azure VM extension data source configurations.
    Extensions *[]ExtensionDataSource `json:"extensions,omitempty"`
}

type DataCollectionRuleDestinations

DataCollectionRuleDestinations the specification of destinations.

type DataCollectionRuleDestinations struct {
    // LogAnalytics - List of Log Analytics destinations.
    LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"`
    // AzureMonitorMetrics - Azure Monitor Metrics destination.
    AzureMonitorMetrics *DestinationsSpecAzureMonitorMetrics `json:"azureMonitorMetrics,omitempty"`
}

type DataCollectionRuleResource

DataCollectionRuleResource definition of ARM tracked top level resource.

type DataCollectionRuleResource struct {
    autorest.Response `json:"-"`
    // DataCollectionRuleResourceProperties - Resource properties.
    *DataCollectionRuleResourceProperties `json:"properties,omitempty"`
    // Location - The geo-location where the resource lives.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Kind - The kind of the resource. Possible values include: 'KnownDataCollectionRuleResourceKindLinux', 'KnownDataCollectionRuleResourceKindWindows'
    Kind KnownDataCollectionRuleResourceKind `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified ID of the resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Etag - READ-ONLY; Resource entity tag (ETag).
    Etag *string `json:"etag,omitempty"`
    // SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
    SystemData *DataCollectionRuleResourceSystemData `json:"systemData,omitempty"`
}

func (DataCollectionRuleResource) MarshalJSON

func (dcrr DataCollectionRuleResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionRuleResource.

func (*DataCollectionRuleResource) UnmarshalJSON

func (dcrr *DataCollectionRuleResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataCollectionRuleResource struct.

type DataCollectionRuleResourceListResult

DataCollectionRuleResourceListResult a pageable list of resources.

type DataCollectionRuleResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - A list of resources.
    Value *[]DataCollectionRuleResource `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DataCollectionRuleResourceListResult) IsEmpty

func (dcrrlr DataCollectionRuleResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataCollectionRuleResourceListResultIterator

DataCollectionRuleResourceListResultIterator provides access to a complete listing of DataCollectionRuleResource values.

type DataCollectionRuleResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewDataCollectionRuleResourceListResultIterator

func NewDataCollectionRuleResourceListResultIterator(page DataCollectionRuleResourceListResultPage) DataCollectionRuleResourceListResultIterator

Creates a new instance of the DataCollectionRuleResourceListResultIterator type.

func (*DataCollectionRuleResourceListResultIterator) Next

func (iter *DataCollectionRuleResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataCollectionRuleResourceListResultIterator) NextWithContext

func (iter *DataCollectionRuleResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataCollectionRuleResourceListResultIterator) NotDone

func (iter DataCollectionRuleResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataCollectionRuleResourceListResultIterator) Response

func (iter DataCollectionRuleResourceListResultIterator) Response() DataCollectionRuleResourceListResult

Response returns the raw server response from the last page request.

func (DataCollectionRuleResourceListResultIterator) Value

func (iter DataCollectionRuleResourceListResultIterator) Value() DataCollectionRuleResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataCollectionRuleResourceListResultPage

DataCollectionRuleResourceListResultPage contains a page of DataCollectionRuleResource values.

type DataCollectionRuleResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewDataCollectionRuleResourceListResultPage

func NewDataCollectionRuleResourceListResultPage(cur DataCollectionRuleResourceListResult, getNextPage func(context.Context, DataCollectionRuleResourceListResult) (DataCollectionRuleResourceListResult, error)) DataCollectionRuleResourceListResultPage

Creates a new instance of the DataCollectionRuleResourceListResultPage type.

func (*DataCollectionRuleResourceListResultPage) Next

func (page *DataCollectionRuleResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataCollectionRuleResourceListResultPage) NextWithContext

func (page *DataCollectionRuleResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataCollectionRuleResourceListResultPage) NotDone

func (page DataCollectionRuleResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataCollectionRuleResourceListResultPage) Response

func (page DataCollectionRuleResourceListResultPage) Response() DataCollectionRuleResourceListResult

Response returns the raw server response from the last page request.

func (DataCollectionRuleResourceListResultPage) Values

func (page DataCollectionRuleResourceListResultPage) Values() []DataCollectionRuleResource

Values returns the slice of values for the current page or nil if there are no values.

type DataCollectionRuleResourceProperties

DataCollectionRuleResourceProperties resource properties.

type DataCollectionRuleResourceProperties struct {
    // Description - Description of the data collection rule.
    Description *string `json:"description,omitempty"`
    // ImmutableID - READ-ONLY; The immutable ID of this data collection rule. This property is READ-ONLY.
    ImmutableID *string `json:"immutableId,omitempty"`
    // DataSources - The specification of data sources.
    // This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
    DataSources *DataCollectionRuleDataSources `json:"dataSources,omitempty"`
    // Destinations - The specification of destinations.
    Destinations *DataCollectionRuleDestinations `json:"destinations,omitempty"`
    // DataFlows - The specification of data flows.
    DataFlows *[]DataFlow `json:"dataFlows,omitempty"`
    // ProvisioningState - READ-ONLY; The resource provisioning state. Possible values include: 'KnownDataCollectionRuleProvisioningStateCreating', 'KnownDataCollectionRuleProvisioningStateUpdating', 'KnownDataCollectionRuleProvisioningStateDeleting', 'KnownDataCollectionRuleProvisioningStateSucceeded', 'KnownDataCollectionRuleProvisioningStateFailed'
    ProvisioningState KnownDataCollectionRuleProvisioningState `json:"provisioningState,omitempty"`
}

func (DataCollectionRuleResourceProperties) MarshalJSON

func (dcrr DataCollectionRuleResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataCollectionRuleResourceProperties.

type DataCollectionRuleResourceSystemData

DataCollectionRuleResourceSystemData metadata pertaining to creation and last modification of the resource.

type DataCollectionRuleResourceSystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type DataCollectionRulesClient

DataCollectionRulesClient is the monitor Management Client

type DataCollectionRulesClient struct {
    BaseClient
}

func NewDataCollectionRulesClient

func NewDataCollectionRulesClient(subscriptionID string) DataCollectionRulesClient

NewDataCollectionRulesClient creates an instance of the DataCollectionRulesClient client.

func NewDataCollectionRulesClientWithBaseURI

func NewDataCollectionRulesClientWithBaseURI(baseURI string, subscriptionID string) DataCollectionRulesClient

NewDataCollectionRulesClientWithBaseURI creates an instance of the DataCollectionRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DataCollectionRulesClient) Create

func (client DataCollectionRulesClient) Create(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *DataCollectionRuleResource) (result DataCollectionRuleResource, err error)

Create sends the create request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive. body - the payload

func (DataCollectionRulesClient) CreatePreparer

func (client DataCollectionRulesClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *DataCollectionRuleResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (DataCollectionRulesClient) CreateResponder

func (client DataCollectionRulesClient) CreateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (DataCollectionRulesClient) CreateSender

func (client DataCollectionRulesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRulesClient) Delete

func (client DataCollectionRulesClient) Delete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive.

func (DataCollectionRulesClient) DeletePreparer

func (client DataCollectionRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataCollectionRulesClient) DeleteResponder

func (client DataCollectionRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DataCollectionRulesClient) DeleteSender

func (client DataCollectionRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRulesClient) Get

func (client DataCollectionRulesClient) Get(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result DataCollectionRuleResource, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive.

func (DataCollectionRulesClient) GetPreparer

func (client DataCollectionRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataCollectionRulesClient) GetResponder

func (client DataCollectionRulesClient) GetResponder(resp *http.Response) (result DataCollectionRuleResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DataCollectionRulesClient) GetSender

func (client DataCollectionRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRulesClient) ListByResourceGroup

func (client DataCollectionRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultPage, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (DataCollectionRulesClient) ListByResourceGroupComplete

func (client DataCollectionRulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DataCollectionRuleResourceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DataCollectionRulesClient) ListByResourceGroupPreparer

func (client DataCollectionRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DataCollectionRulesClient) ListByResourceGroupResponder

func (client DataCollectionRulesClient) ListByResourceGroupResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DataCollectionRulesClient) ListByResourceGroupSender

func (client DataCollectionRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRulesClient) ListBySubscription

func (client DataCollectionRulesClient) ListBySubscription(ctx context.Context) (result DataCollectionRuleResourceListResultPage, err error)

ListBySubscription sends the list by subscription request.

func (DataCollectionRulesClient) ListBySubscriptionComplete

func (client DataCollectionRulesClient) ListBySubscriptionComplete(ctx context.Context) (result DataCollectionRuleResourceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DataCollectionRulesClient) ListBySubscriptionPreparer

func (client DataCollectionRulesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DataCollectionRulesClient) ListBySubscriptionResponder

func (client DataCollectionRulesClient) ListBySubscriptionResponder(resp *http.Response) (result DataCollectionRuleResourceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DataCollectionRulesClient) ListBySubscriptionSender

func (client DataCollectionRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (DataCollectionRulesClient) Update

func (client DataCollectionRulesClient) Update(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (result DataCollectionRuleResource, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dataCollectionRuleName - the name of the data collection rule. The name is case insensitive. body - the payload

func (DataCollectionRulesClient) UpdatePreparer

func (client DataCollectionRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *ResourceForUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DataCollectionRulesClient) UpdateResponder

func (client DataCollectionRulesClient) UpdateResponder(resp *http.Response) (result DataCollectionRuleResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DataCollectionRulesClient) UpdateSender

func (client DataCollectionRulesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DataContainer

DataContainer information about a container with data for a given resource.

type DataContainer struct {
    // Workspace - Log Analytics workspace information.
    Workspace *WorkspaceInfo `json:"workspace,omitempty"`
}

type DataFlow

DataFlow definition of which streams are sent to which destinations.

type DataFlow struct {
    // Streams - List of streams for this data flow.
    Streams *[]KnownDataFlowStreams `json:"streams,omitempty"`
    // Destinations - List of destinations for this data flow.
    Destinations *[]string `json:"destinations,omitempty"`
}

type DataSourcesSpec

DataSourcesSpec specification of data sources that will be collected.

type DataSourcesSpec struct {
    // PerformanceCounters - The list of performance counter data source configurations.
    PerformanceCounters *[]PerfCounterDataSource `json:"performanceCounters,omitempty"`
    // WindowsEventLogs - The list of Windows Event Log data source configurations.
    WindowsEventLogs *[]WindowsEventLogDataSource `json:"windowsEventLogs,omitempty"`
    // Syslog - The list of Syslog data source configurations.
    Syslog *[]SyslogDataSource `json:"syslog,omitempty"`
    // Extensions - The list of Azure VM extension data source configurations.
    Extensions *[]ExtensionDataSource `json:"extensions,omitempty"`
}

type DataStatus

DataStatus enumerates the values for data status.

type DataStatus string
const (
    // DataStatusNotPresent ...
    DataStatusNotPresent DataStatus = "notPresent"
    // DataStatusPresent ...
    DataStatusPresent DataStatus = "present"
)

func PossibleDataStatusValues

func PossibleDataStatusValues() []DataStatus

PossibleDataStatusValues returns an array of possible values for the DataStatus const type.

type DestinationsSpec

DestinationsSpec specification of destinations that can be used in data flows.

type DestinationsSpec struct {
    // LogAnalytics - List of Log Analytics destinations.
    LogAnalytics *[]LogAnalyticsDestination `json:"logAnalytics,omitempty"`
    // AzureMonitorMetrics - Azure Monitor Metrics destination.
    AzureMonitorMetrics *DestinationsSpecAzureMonitorMetrics `json:"azureMonitorMetrics,omitempty"`
}

type DestinationsSpecAzureMonitorMetrics

DestinationsSpecAzureMonitorMetrics azure Monitor Metrics destination.

type DestinationsSpecAzureMonitorMetrics struct {
    // Name - A friendly name for the destination.
    // This name should be unique across all destinations (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type DiagnosticSettings

DiagnosticSettings the diagnostic settings.

type DiagnosticSettings struct {
    // StorageAccountID - The resource ID of the storage account to which you would like to send Diagnostic Logs.
    StorageAccountID *string `json:"storageAccountId,omitempty"`
    // ServiceBusRuleID - The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
    ServiceBusRuleID *string `json:"serviceBusRuleId,omitempty"`
    // EventHubAuthorizationRuleID - The resource Id for the event hub authorization rule.
    EventHubAuthorizationRuleID *string `json:"eventHubAuthorizationRuleId,omitempty"`
    // EventHubName - The name of the event hub. If none is specified, the default event hub will be selected.
    EventHubName *string `json:"eventHubName,omitempty"`
    // Metrics - The list of metric settings.
    Metrics *[]MetricSettings `json:"metrics,omitempty"`
    // Logs - The list of logs settings.
    Logs *[]LogSettings `json:"logs,omitempty"`
    // WorkspaceID - The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
    WorkspaceID *string `json:"workspaceId,omitempty"`
    // LogAnalyticsDestinationType - A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.)
    LogAnalyticsDestinationType *string `json:"logAnalyticsDestinationType,omitempty"`
}

type DiagnosticSettingsCategory

DiagnosticSettingsCategory the diagnostic settings Category.

type DiagnosticSettingsCategory struct {
    // CategoryType - The type of the diagnostic settings category. Possible values include: 'CategoryTypeMetrics', 'CategoryTypeLogs'
    CategoryType CategoryType `json:"categoryType,omitempty"`
}

type DiagnosticSettingsCategoryClient

DiagnosticSettingsCategoryClient is the monitor Management Client

type DiagnosticSettingsCategoryClient struct {
    BaseClient
}

func NewDiagnosticSettingsCategoryClient

func NewDiagnosticSettingsCategoryClient(subscriptionID string) DiagnosticSettingsCategoryClient

NewDiagnosticSettingsCategoryClient creates an instance of the DiagnosticSettingsCategoryClient client.

func NewDiagnosticSettingsCategoryClientWithBaseURI

func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsCategoryClient

NewDiagnosticSettingsCategoryClientWithBaseURI creates an instance of the DiagnosticSettingsCategoryClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DiagnosticSettingsCategoryClient) Get

func (client DiagnosticSettingsCategoryClient) Get(ctx context.Context, resourceURI string, name string) (result DiagnosticSettingsCategoryResource, err error)

Get gets the diagnostic settings category for the specified resource. Parameters: resourceURI - the identifier of the resource. name - the name of the diagnostic setting.

func (DiagnosticSettingsCategoryClient) GetPreparer

func (client DiagnosticSettingsCategoryClient) GetPreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DiagnosticSettingsCategoryClient) GetResponder

func (client DiagnosticSettingsCategoryClient) GetResponder(resp *http.Response) (result DiagnosticSettingsCategoryResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DiagnosticSettingsCategoryClient) GetSender

func (client DiagnosticSettingsCategoryClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DiagnosticSettingsCategoryClient) List

func (client DiagnosticSettingsCategoryClient) List(ctx context.Context, resourceURI string) (result DiagnosticSettingsCategoryResourceCollection, err error)

List lists the diagnostic settings categories for the specified resource. Parameters: resourceURI - the identifier of the resource.

func (DiagnosticSettingsCategoryClient) ListPreparer

func (client DiagnosticSettingsCategoryClient) ListPreparer(ctx context.Context, resourceURI string) (*http.Request, error)

ListPreparer prepares the List request.

func (DiagnosticSettingsCategoryClient) ListResponder

func (client DiagnosticSettingsCategoryClient) ListResponder(resp *http.Response) (result DiagnosticSettingsCategoryResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DiagnosticSettingsCategoryClient) ListSender

func (client DiagnosticSettingsCategoryClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DiagnosticSettingsCategoryResource

DiagnosticSettingsCategoryResource the diagnostic settings category resource.

type DiagnosticSettingsCategoryResource struct {
    autorest.Response `json:"-"`
    // DiagnosticSettingsCategory - The properties of a Diagnostic Settings Category.
    *DiagnosticSettingsCategory `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (DiagnosticSettingsCategoryResource) MarshalJSON

func (dscr DiagnosticSettingsCategoryResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiagnosticSettingsCategoryResource.

func (*DiagnosticSettingsCategoryResource) UnmarshalJSON

func (dscr *DiagnosticSettingsCategoryResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiagnosticSettingsCategoryResource struct.

type DiagnosticSettingsCategoryResourceCollection

DiagnosticSettingsCategoryResourceCollection represents a collection of diagnostic setting category resources.

type DiagnosticSettingsCategoryResourceCollection struct {
    autorest.Response `json:"-"`
    // Value - The collection of diagnostic settings category resources.
    Value *[]DiagnosticSettingsCategoryResource `json:"value,omitempty"`
}

type DiagnosticSettingsClient

DiagnosticSettingsClient is the monitor Management Client

type DiagnosticSettingsClient struct {
    BaseClient
}

func NewDiagnosticSettingsClient

func NewDiagnosticSettingsClient(subscriptionID string) DiagnosticSettingsClient

NewDiagnosticSettingsClient creates an instance of the DiagnosticSettingsClient client.

func NewDiagnosticSettingsClientWithBaseURI

func NewDiagnosticSettingsClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsClient

NewDiagnosticSettingsClientWithBaseURI creates an instance of the DiagnosticSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DiagnosticSettingsClient) CreateOrUpdate

func (client DiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, resourceURI string, parameters DiagnosticSettingsResource, name string) (result DiagnosticSettingsResource, err error)

CreateOrUpdate creates or updates diagnostic settings for the specified resource. Parameters: resourceURI - the identifier of the resource. parameters - parameters supplied to the operation. name - the name of the diagnostic setting.

func (DiagnosticSettingsClient) CreateOrUpdatePreparer

func (client DiagnosticSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceURI string, parameters DiagnosticSettingsResource, name string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DiagnosticSettingsClient) CreateOrUpdateResponder

func (client DiagnosticSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result DiagnosticSettingsResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DiagnosticSettingsClient) CreateOrUpdateSender

func (client DiagnosticSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DiagnosticSettingsClient) Delete

func (client DiagnosticSettingsClient) Delete(ctx context.Context, resourceURI string, name string) (result autorest.Response, err error)

Delete deletes existing diagnostic settings for the specified resource. Parameters: resourceURI - the identifier of the resource. name - the name of the diagnostic setting.

func (DiagnosticSettingsClient) DeletePreparer

func (client DiagnosticSettingsClient) DeletePreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DiagnosticSettingsClient) DeleteResponder

func (client DiagnosticSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DiagnosticSettingsClient) DeleteSender

func (client DiagnosticSettingsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DiagnosticSettingsClient) Get

func (client DiagnosticSettingsClient) Get(ctx context.Context, resourceURI string, name string) (result DiagnosticSettingsResource, err error)

Get gets the active diagnostic settings for the specified resource. Parameters: resourceURI - the identifier of the resource. name - the name of the diagnostic setting.

func (DiagnosticSettingsClient) GetPreparer

func (client DiagnosticSettingsClient) GetPreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DiagnosticSettingsClient) GetResponder

func (client DiagnosticSettingsClient) GetResponder(resp *http.Response) (result DiagnosticSettingsResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DiagnosticSettingsClient) GetSender

func (client DiagnosticSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DiagnosticSettingsClient) List

func (client DiagnosticSettingsClient) List(ctx context.Context, resourceURI string) (result DiagnosticSettingsResourceCollection, err error)

List gets the active diagnostic settings list for the specified resource. Parameters: resourceURI - the identifier of the resource.

func (DiagnosticSettingsClient) ListPreparer

func (client DiagnosticSettingsClient) ListPreparer(ctx context.Context, resourceURI string) (*http.Request, error)

ListPreparer prepares the List request.

func (DiagnosticSettingsClient) ListResponder

func (client DiagnosticSettingsClient) ListResponder(resp *http.Response) (result DiagnosticSettingsResourceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DiagnosticSettingsClient) ListSender

func (client DiagnosticSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DiagnosticSettingsResource

DiagnosticSettingsResource the diagnostic setting resource.

type DiagnosticSettingsResource struct {
    autorest.Response `json:"-"`
    // DiagnosticSettings - Properties of a Diagnostic Settings Resource.
    *DiagnosticSettings `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (DiagnosticSettingsResource) MarshalJSON

func (dsr DiagnosticSettingsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiagnosticSettingsResource.

func (*DiagnosticSettingsResource) UnmarshalJSON

func (dsr *DiagnosticSettingsResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiagnosticSettingsResource struct.

type DiagnosticSettingsResourceCollection

DiagnosticSettingsResourceCollection represents a collection of alert rule resources.

type DiagnosticSettingsResourceCollection struct {
    autorest.Response `json:"-"`
    // Value - The collection of diagnostic settings resources;.
    Value *[]DiagnosticSettingsResource `json:"value,omitempty"`
}

type Dimension

Dimension specifies the criteria for converting log to metric.

type Dimension struct {
    // Name - Name of the dimension
    Name *string `json:"name,omitempty"`
    // Operator - Operator for dimension values
    Operator *string `json:"operator,omitempty"`
    // Values - List of dimension values
    Values *[]string `json:"values,omitempty"`
}

type DynamicMetricCriteria

DynamicMetricCriteria criterion for dynamic threshold.

type DynamicMetricCriteria struct {
    // Operator - The operator used to compare the metric value against the threshold. Possible values include: 'DynamicThresholdOperatorGreaterThan', 'DynamicThresholdOperatorLessThan', 'DynamicThresholdOperatorGreaterOrLessThan'
    Operator DynamicThresholdOperator `json:"operator,omitempty"`
    // AlertSensitivity - The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern. Possible values include: 'DynamicThresholdSensitivityLow', 'DynamicThresholdSensitivityMedium', 'DynamicThresholdSensitivityHigh'
    AlertSensitivity DynamicThresholdSensitivity `json:"alertSensitivity,omitempty"`
    // FailingPeriods - The minimum number of violations required within the selected lookback time window required to raise an alert.
    FailingPeriods *DynamicThresholdFailingPeriods `json:"failingPeriods,omitempty"`
    // IgnoreDataBefore - Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
    IgnoreDataBefore *date.Time `json:"ignoreDataBefore,omitempty"`
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // Name - Name of the criteria.
    Name *string `json:"name,omitempty"`
    // MetricName - Name of the metric.
    MetricName *string `json:"metricName,omitempty"`
    // MetricNamespace - Namespace of the metric.
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    // TimeAggregation - the criteria time aggregation types. Possible values include: 'AggregationTypeEnumAverage', 'AggregationTypeEnumCount', 'AggregationTypeEnumMinimum', 'AggregationTypeEnumMaximum', 'AggregationTypeEnumTotal'
    TimeAggregation AggregationTypeEnum `json:"timeAggregation,omitempty"`
    // Dimensions - List of dimension conditions.
    Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
    // SkipMetricValidation - Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
    SkipMetricValidation *bool `json:"skipMetricValidation,omitempty"`
    // CriterionType - Possible values include: 'CriterionTypeMultiMetricCriteria', 'CriterionTypeStaticThresholdCriterion', 'CriterionTypeDynamicThresholdCriterion'
    CriterionType CriterionType `json:"criterionType,omitempty"`
}

func (DynamicMetricCriteria) AsBasicMultiMetricCriteria

func (dmc DynamicMetricCriteria) AsBasicMultiMetricCriteria() (BasicMultiMetricCriteria, bool)

AsBasicMultiMetricCriteria is the BasicMultiMetricCriteria implementation for DynamicMetricCriteria.

func (DynamicMetricCriteria) AsDynamicMetricCriteria

func (dmc DynamicMetricCriteria) AsDynamicMetricCriteria() (*DynamicMetricCriteria, bool)

AsDynamicMetricCriteria is the BasicMultiMetricCriteria implementation for DynamicMetricCriteria.

func (DynamicMetricCriteria) AsMetricCriteria

func (dmc DynamicMetricCriteria) AsMetricCriteria() (*MetricCriteria, bool)

AsMetricCriteria is the BasicMultiMetricCriteria implementation for DynamicMetricCriteria.

func (DynamicMetricCriteria) AsMultiMetricCriteria

func (dmc DynamicMetricCriteria) AsMultiMetricCriteria() (*MultiMetricCriteria, bool)

AsMultiMetricCriteria is the BasicMultiMetricCriteria implementation for DynamicMetricCriteria.

func (DynamicMetricCriteria) MarshalJSON

func (dmc DynamicMetricCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DynamicMetricCriteria.

func (*DynamicMetricCriteria) UnmarshalJSON

func (dmc *DynamicMetricCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DynamicMetricCriteria struct.

type DynamicThresholdFailingPeriods

DynamicThresholdFailingPeriods the minimum number of violations required within the selected lookback time window required to raise an alert.

type DynamicThresholdFailingPeriods struct {
    // NumberOfEvaluationPeriods - The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.
    NumberOfEvaluationPeriods *float64 `json:"numberOfEvaluationPeriods,omitempty"`
    // MinFailingPeriodsToAlert - The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
    MinFailingPeriodsToAlert *float64 `json:"minFailingPeriodsToAlert,omitempty"`
}

type DynamicThresholdOperator

DynamicThresholdOperator enumerates the values for dynamic threshold operator.

type DynamicThresholdOperator string
const (
    // DynamicThresholdOperatorGreaterOrLessThan ...
    DynamicThresholdOperatorGreaterOrLessThan DynamicThresholdOperator = "GreaterOrLessThan"
    // DynamicThresholdOperatorGreaterThan ...
    DynamicThresholdOperatorGreaterThan DynamicThresholdOperator = "GreaterThan"
    // DynamicThresholdOperatorLessThan ...
    DynamicThresholdOperatorLessThan DynamicThresholdOperator = "LessThan"
)

func PossibleDynamicThresholdOperatorValues

func PossibleDynamicThresholdOperatorValues() []DynamicThresholdOperator

PossibleDynamicThresholdOperatorValues returns an array of possible values for the DynamicThresholdOperator const type.

type DynamicThresholdSensitivity

DynamicThresholdSensitivity enumerates the values for dynamic threshold sensitivity.

type DynamicThresholdSensitivity string
const (
    // DynamicThresholdSensitivityHigh ...
    DynamicThresholdSensitivityHigh DynamicThresholdSensitivity = "High"
    // DynamicThresholdSensitivityLow ...
    DynamicThresholdSensitivityLow DynamicThresholdSensitivity = "Low"
    // DynamicThresholdSensitivityMedium ...
    DynamicThresholdSensitivityMedium DynamicThresholdSensitivity = "Medium"
)

func PossibleDynamicThresholdSensitivityValues

func PossibleDynamicThresholdSensitivityValues() []DynamicThresholdSensitivity

PossibleDynamicThresholdSensitivityValues returns an array of possible values for the DynamicThresholdSensitivity const type.

type EmailNotification

EmailNotification email notification of an autoscale event.

type EmailNotification struct {
    // SendToSubscriptionAdministrator - a value indicating whether to send email to subscription administrator.
    SendToSubscriptionAdministrator *bool `json:"sendToSubscriptionAdministrator,omitempty"`
    // SendToSubscriptionCoAdministrators - a value indicating whether to send email to subscription co-administrators.
    SendToSubscriptionCoAdministrators *bool `json:"sendToSubscriptionCoAdministrators,omitempty"`
    // CustomEmails - the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
    CustomEmails *[]string `json:"customEmails,omitempty"`
}

type EmailReceiver

EmailReceiver an email receiver.

type EmailReceiver struct {
    // Name - The name of the email receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // EmailAddress - The email address of this receiver.
    EmailAddress *string `json:"emailAddress,omitempty"`
    // UseCommonAlertSchema - Indicates whether to use common alert schema.
    UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"`
    // Status - READ-ONLY; The receiver status of the e-mail. Possible values include: 'ReceiverStatusNotSpecified', 'ReceiverStatusEnabled', 'ReceiverStatusDisabled'
    Status ReceiverStatus `json:"status,omitempty"`
}

func (EmailReceiver) MarshalJSON

func (er EmailReceiver) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EmailReceiver.

type EnableRequest

EnableRequest describes a receiver that should be resubscribed.

type EnableRequest struct {
    // ReceiverName - The name of the receiver to resubscribe.
    ReceiverName *string `json:"receiverName,omitempty"`
}

type Enabled

Enabled enumerates the values for enabled.

type Enabled string
const (
    // EnabledFalse ...
    EnabledFalse Enabled = "false"
    // EnabledTrue ...
    EnabledTrue Enabled = "true"
)

func PossibleEnabledValues

func PossibleEnabledValues() []Enabled

PossibleEnabledValues returns an array of possible values for the Enabled const type.

type Error

Error error details.

type Error struct {
    // Code - Error code identifying the specific error.
    Code *string `json:"code,omitempty"`
    // Message - Error message in the caller's locale.
    Message *string `json:"message,omitempty"`
}

type ErrorAdditionalInfo

ErrorAdditionalInfo the resource management error additional info.

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorContract

ErrorContract describes the format of Error response.

type ErrorContract struct {
    // Error - The error details.
    Error *ErrorResponse `json:"error,omitempty"`
}

type ErrorDetail

ErrorDetail the error detail.

type ErrorDetail struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorDetail `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

func (ErrorDetail) MarshalJSON

func (ed ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponse

ErrorResponse describes the format of Error response.

type ErrorResponse struct {
    // Code - Error code
    Code *string `json:"code,omitempty"`
    // Message - Error message indicating why the operation failed.
    Message *string `json:"message,omitempty"`
}

type ErrorResponseCommon

ErrorResponseCommon the resource management error response.

type ErrorResponseCommon struct {
    // Details - READ-ONLY; The error details.
    Details *[]ErrorResponseCommon `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
    // Code - Error code
    Code *string `json:"code,omitempty"`
    // Message - Error message indicating why the operation failed.
    Message *string `json:"message,omitempty"`
}

func (ErrorResponseCommon) MarshalJSON

func (erc ErrorResponseCommon) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponseCommon.

type ErrorResponseCommonV2

ErrorResponseCommonV2 common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type ErrorResponseCommonV2 struct {
    // Error - The error object.
    Error *ErrorDetail `json:"error,omitempty"`
}

type EventCategoriesClient

EventCategoriesClient is the monitor Management Client

type EventCategoriesClient struct {
    BaseClient
}

func NewEventCategoriesClient

func NewEventCategoriesClient(subscriptionID string) EventCategoriesClient

NewEventCategoriesClient creates an instance of the EventCategoriesClient client.

func NewEventCategoriesClientWithBaseURI

func NewEventCategoriesClientWithBaseURI(baseURI string, subscriptionID string) EventCategoriesClient

NewEventCategoriesClientWithBaseURI creates an instance of the EventCategoriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EventCategoriesClient) List

func (client EventCategoriesClient) List(ctx context.Context) (result EventCategoryCollection, err error)

List get the list of available event categories supported in the Activity Logs Service.<br>The current list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.

func (EventCategoriesClient) ListPreparer

func (client EventCategoriesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (EventCategoriesClient) ListResponder

func (client EventCategoriesClient) ListResponder(resp *http.Response) (result EventCategoryCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (EventCategoriesClient) ListSender

func (client EventCategoriesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type EventCategoryCollection

EventCategoryCollection a collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.

type EventCategoryCollection struct {
    autorest.Response `json:"-"`
    // Value - the list that includes the Azure event categories.
    Value *[]LocalizableString `json:"value,omitempty"`
}

type EventData

EventData the Azure event log entries are of type EventData

type EventData struct {
    // Authorization - READ-ONLY; The sender authorization information.
    Authorization *SenderAuthorization `json:"authorization,omitempty"`
    // Claims - READ-ONLY; key value pairs to identify ARM permissions.
    Claims map[string]*string `json:"claims"`
    // Caller - READ-ONLY; the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.
    Caller *string `json:"caller,omitempty"`
    // Description - READ-ONLY; the description of the event.
    Description *string `json:"description,omitempty"`
    // ID - READ-ONLY; the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.
    ID *string `json:"id,omitempty"`
    // EventDataID - READ-ONLY; the event data Id. This is a unique identifier for an event.
    EventDataID *string `json:"eventDataId,omitempty"`
    // CorrelationID - READ-ONLY; the correlation Id, usually a GUID in the string format. The correlation Id is shared among the events that belong to the same uber operation.
    CorrelationID *string `json:"correlationId,omitempty"`
    // EventName - READ-ONLY; the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
    EventName *LocalizableString `json:"eventName,omitempty"`
    // Category - READ-ONLY; the event category.
    Category *LocalizableString `json:"category,omitempty"`
    // HTTPRequest - READ-ONLY; the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address of the user who initiated the event) and 'method' (HTTP method e.g. PUT).
    HTTPRequest *HTTPRequestInfo `json:"httpRequest,omitempty"`
    // Level - READ-ONLY; the event level. Possible values include: 'EventLevelCritical', 'EventLevelError', 'EventLevelWarning', 'EventLevelInformational', 'EventLevelVerbose'
    Level EventLevel `json:"level,omitempty"`
    // ResourceGroupName - READ-ONLY; the resource group name of the impacted resource.
    ResourceGroupName *string `json:"resourceGroupName,omitempty"`
    // ResourceProviderName - READ-ONLY; the resource provider name of the impacted resource.
    ResourceProviderName *LocalizableString `json:"resourceProviderName,omitempty"`
    // ResourceID - READ-ONLY; the resource uri that uniquely identifies the resource that caused this event.
    ResourceID *string `json:"resourceId,omitempty"`
    // ResourceType - READ-ONLY; the resource type
    ResourceType *LocalizableString `json:"resourceType,omitempty"`
    // OperationID - READ-ONLY; It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
    OperationID *string `json:"operationId,omitempty"`
    // OperationName - READ-ONLY; the operation name.
    OperationName *LocalizableString `json:"operationName,omitempty"`
    // Properties - READ-ONLY; the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
    Properties map[string]*string `json:"properties"`
    // Status - READ-ONLY; a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
    Status *LocalizableString `json:"status,omitempty"`
    // SubStatus - READ-ONLY; the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504)
    SubStatus *LocalizableString `json:"subStatus,omitempty"`
    // EventTimestamp - READ-ONLY; the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
    EventTimestamp *date.Time `json:"eventTimestamp,omitempty"`
    // SubmissionTimestamp - READ-ONLY; the timestamp of when the event became available for querying via this API. It is in ISO 8601 format. This value should not be confused eventTimestamp. As there might be a delay between the occurrence time of the event, and the time that the event is submitted to the Azure logging infrastructure.
    SubmissionTimestamp *date.Time `json:"submissionTimestamp,omitempty"`
    // SubscriptionID - READ-ONLY; the Azure subscription Id usually a GUID.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // TenantID - READ-ONLY; the Azure tenant Id
    TenantID *string `json:"tenantId,omitempty"`
}

func (EventData) MarshalJSON

func (ed EventData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventData.

type EventDataCollection

EventDataCollection represents collection of events.

type EventDataCollection struct {
    autorest.Response `json:"-"`
    // Value - this list that includes the Azure audit logs.
    Value *[]EventData `json:"value,omitempty"`
    // NextLink - Provides the link to retrieve the next set of events.
    NextLink *string `json:"nextLink,omitempty"`
}

func (EventDataCollection) IsEmpty

func (edc EventDataCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventDataCollectionIterator

EventDataCollectionIterator provides access to a complete listing of EventData values.

type EventDataCollectionIterator struct {
    // contains filtered or unexported fields
}

func NewEventDataCollectionIterator

func NewEventDataCollectionIterator(page EventDataCollectionPage) EventDataCollectionIterator

Creates a new instance of the EventDataCollectionIterator type.

func (*EventDataCollectionIterator) Next

func (iter *EventDataCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventDataCollectionIterator) NextWithContext

func (iter *EventDataCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EventDataCollectionIterator) NotDone

func (iter EventDataCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EventDataCollectionIterator) Response

func (iter EventDataCollectionIterator) Response() EventDataCollection

Response returns the raw server response from the last page request.

func (EventDataCollectionIterator) Value

func (iter EventDataCollectionIterator) Value() EventData

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EventDataCollectionPage

EventDataCollectionPage contains a page of EventData values.

type EventDataCollectionPage struct {
    // contains filtered or unexported fields
}

func NewEventDataCollectionPage

func NewEventDataCollectionPage(cur EventDataCollection, getNextPage func(context.Context, EventDataCollection) (EventDataCollection, error)) EventDataCollectionPage

Creates a new instance of the EventDataCollectionPage type.

func (*EventDataCollectionPage) Next

func (page *EventDataCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventDataCollectionPage) NextWithContext

func (page *EventDataCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EventDataCollectionPage) NotDone

func (page EventDataCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EventDataCollectionPage) Response

func (page EventDataCollectionPage) Response() EventDataCollection

Response returns the raw server response from the last page request.

func (EventDataCollectionPage) Values

func (page EventDataCollectionPage) Values() []EventData

Values returns the slice of values for the current page or nil if there are no values.

type EventHubReceiver

EventHubReceiver an Event hub receiver.

type EventHubReceiver struct {
    // Name - The name of the Event hub receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // EventHubNameSpace - The Event Hub namespace
    EventHubNameSpace *string `json:"eventHubNameSpace,omitempty"`
    // EventHubName - The name of the specific Event Hub queue
    EventHubName *string `json:"eventHubName,omitempty"`
    // UseCommonAlertSchema - Indicates whether to use common alert schema.
    UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"`
    // TenantID - The tenant Id for the subscription containing this event hub
    TenantID *string `json:"tenantId,omitempty"`
    // SubscriptionID - The Id for the subscription containing this event hub
    SubscriptionID *string `json:"subscriptionId,omitempty"`
}

type EventLevel

EventLevel enumerates the values for event level.

type EventLevel string
const (
    // EventLevelCritical ...
    EventLevelCritical EventLevel = "Critical"
    // EventLevelError ...
    EventLevelError EventLevel = "Error"
    // EventLevelInformational ...
    EventLevelInformational EventLevel = "Informational"
    // EventLevelVerbose ...
    EventLevelVerbose EventLevel = "Verbose"
    // EventLevelWarning ...
    EventLevelWarning EventLevel = "Warning"
)

func PossibleEventLevelValues

func PossibleEventLevelValues() []EventLevel

PossibleEventLevelValues returns an array of possible values for the EventLevel const type.

type ExtensionDataSource

ExtensionDataSource definition of which data will be collected from a separate VM extension that integrates with the Azure Monitor Agent. Collected from either Windows and Linux machines, depending on which extension is defined.

type ExtensionDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownExtensionDataSourceStreams `json:"streams,omitempty"`
    // ExtensionName - The name of the VM extension.
    ExtensionName *string `json:"extensionName,omitempty"`
    // ExtensionSettings - The extension settings. The format is specific for particular extension.
    ExtensionSettings interface{} `json:"extensionSettings,omitempty"`
    // InputDataSources - The list of data sources this extension needs data from.
    InputDataSources *[]string `json:"inputDataSources,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type HTTPRequestInfo

HTTPRequestInfo the Http request info.

type HTTPRequestInfo struct {
    // ClientRequestID - the client request id.
    ClientRequestID *string `json:"clientRequestId,omitempty"`
    // ClientIPAddress - the client Ip Address
    ClientIPAddress *string `json:"clientIpAddress,omitempty"`
    // Method - the Http request method.
    Method *string `json:"method,omitempty"`
    // URI - the Uri.
    URI *string `json:"uri,omitempty"`
}

type Incident

Incident an alert incident indicates the activation status of an alert rule.

type Incident struct {
    autorest.Response `json:"-"`
    // Name - READ-ONLY; Incident name.
    Name *string `json:"name,omitempty"`
    // RuleName - READ-ONLY; Rule name that is associated with the incident.
    RuleName *string `json:"ruleName,omitempty"`
    // IsActive - READ-ONLY; A boolean to indicate whether the incident is active or resolved.
    IsActive *bool `json:"isActive,omitempty"`
    // ActivatedTime - READ-ONLY; The time at which the incident was activated in ISO8601 format.
    ActivatedTime *date.Time `json:"activatedTime,omitempty"`
    // ResolvedTime - READ-ONLY; The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.
    ResolvedTime *date.Time `json:"resolvedTime,omitempty"`
}

func (Incident) MarshalJSON

func (i Incident) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Incident.

type IncidentListResult

IncidentListResult the List incidents operation response.

type IncidentListResult struct {
    autorest.Response `json:"-"`
    // Value - the incident collection.
    Value *[]Incident `json:"value,omitempty"`
}

type ItsmReceiver

ItsmReceiver an Itsm receiver.

type ItsmReceiver struct {
    // Name - The name of the Itsm receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // WorkspaceID - OMS LA instance identifier.
    WorkspaceID *string `json:"workspaceId,omitempty"`
    // ConnectionID - Unique identification of ITSM connection among multiple defined in above workspace.
    ConnectionID *string `json:"connectionId,omitempty"`
    // TicketConfiguration - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
    TicketConfiguration *string `json:"ticketConfiguration,omitempty"`
    // Region - Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
    Region *string `json:"region,omitempty"`
}

type KnownDataCollectionEndpointProvisioningState

KnownDataCollectionEndpointProvisioningState enumerates the values for known data collection endpoint provisioning state.

type KnownDataCollectionEndpointProvisioningState string
const (
    // KnownDataCollectionEndpointProvisioningStateCreating ...
    KnownDataCollectionEndpointProvisioningStateCreating KnownDataCollectionEndpointProvisioningState = "Creating"
    // KnownDataCollectionEndpointProvisioningStateDeleting ...
    KnownDataCollectionEndpointProvisioningStateDeleting KnownDataCollectionEndpointProvisioningState = "Deleting"
    // KnownDataCollectionEndpointProvisioningStateFailed ...
    KnownDataCollectionEndpointProvisioningStateFailed KnownDataCollectionEndpointProvisioningState = "Failed"
    // KnownDataCollectionEndpointProvisioningStateSucceeded ...
    KnownDataCollectionEndpointProvisioningStateSucceeded KnownDataCollectionEndpointProvisioningState = "Succeeded"
    // KnownDataCollectionEndpointProvisioningStateUpdating ...
    KnownDataCollectionEndpointProvisioningStateUpdating KnownDataCollectionEndpointProvisioningState = "Updating"
)

func PossibleKnownDataCollectionEndpointProvisioningStateValues

func PossibleKnownDataCollectionEndpointProvisioningStateValues() []KnownDataCollectionEndpointProvisioningState

PossibleKnownDataCollectionEndpointProvisioningStateValues returns an array of possible values for the KnownDataCollectionEndpointProvisioningState const type.

type KnownDataCollectionEndpointResourceKind

KnownDataCollectionEndpointResourceKind enumerates the values for known data collection endpoint resource kind.

type KnownDataCollectionEndpointResourceKind string
const (
    // KnownDataCollectionEndpointResourceKindLinux ...
    KnownDataCollectionEndpointResourceKindLinux KnownDataCollectionEndpointResourceKind = "Linux"
    // KnownDataCollectionEndpointResourceKindWindows ...
    KnownDataCollectionEndpointResourceKindWindows KnownDataCollectionEndpointResourceKind = "Windows"
)

func PossibleKnownDataCollectionEndpointResourceKindValues

func PossibleKnownDataCollectionEndpointResourceKindValues() []KnownDataCollectionEndpointResourceKind

PossibleKnownDataCollectionEndpointResourceKindValues returns an array of possible values for the KnownDataCollectionEndpointResourceKind const type.

type KnownDataCollectionRuleAssociationProvisioningState

KnownDataCollectionRuleAssociationProvisioningState enumerates the values for known data collection rule association provisioning state.

type KnownDataCollectionRuleAssociationProvisioningState string
const (
    // KnownDataCollectionRuleAssociationProvisioningStateCreating ...
    KnownDataCollectionRuleAssociationProvisioningStateCreating KnownDataCollectionRuleAssociationProvisioningState = "Creating"
    // KnownDataCollectionRuleAssociationProvisioningStateDeleting ...
    KnownDataCollectionRuleAssociationProvisioningStateDeleting KnownDataCollectionRuleAssociationProvisioningState = "Deleting"
    // KnownDataCollectionRuleAssociationProvisioningStateFailed ...
    KnownDataCollectionRuleAssociationProvisioningStateFailed KnownDataCollectionRuleAssociationProvisioningState = "Failed"
    // KnownDataCollectionRuleAssociationProvisioningStateSucceeded ...
    KnownDataCollectionRuleAssociationProvisioningStateSucceeded KnownDataCollectionRuleAssociationProvisioningState = "Succeeded"
    // KnownDataCollectionRuleAssociationProvisioningStateUpdating ...
    KnownDataCollectionRuleAssociationProvisioningStateUpdating KnownDataCollectionRuleAssociationProvisioningState = "Updating"
)

func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues

func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues() []KnownDataCollectionRuleAssociationProvisioningState

PossibleKnownDataCollectionRuleAssociationProvisioningStateValues returns an array of possible values for the KnownDataCollectionRuleAssociationProvisioningState const type.

type KnownDataCollectionRuleProvisioningState

KnownDataCollectionRuleProvisioningState enumerates the values for known data collection rule provisioning state.

type KnownDataCollectionRuleProvisioningState string
const (
    // KnownDataCollectionRuleProvisioningStateCreating ...
    KnownDataCollectionRuleProvisioningStateCreating KnownDataCollectionRuleProvisioningState = "Creating"
    // KnownDataCollectionRuleProvisioningStateDeleting ...
    KnownDataCollectionRuleProvisioningStateDeleting KnownDataCollectionRuleProvisioningState = "Deleting"
    // KnownDataCollectionRuleProvisioningStateFailed ...
    KnownDataCollectionRuleProvisioningStateFailed KnownDataCollectionRuleProvisioningState = "Failed"
    // KnownDataCollectionRuleProvisioningStateSucceeded ...
    KnownDataCollectionRuleProvisioningStateSucceeded KnownDataCollectionRuleProvisioningState = "Succeeded"
    // KnownDataCollectionRuleProvisioningStateUpdating ...
    KnownDataCollectionRuleProvisioningStateUpdating KnownDataCollectionRuleProvisioningState = "Updating"
)

func PossibleKnownDataCollectionRuleProvisioningStateValues

func PossibleKnownDataCollectionRuleProvisioningStateValues() []KnownDataCollectionRuleProvisioningState

PossibleKnownDataCollectionRuleProvisioningStateValues returns an array of possible values for the KnownDataCollectionRuleProvisioningState const type.

type KnownDataCollectionRuleResourceKind

KnownDataCollectionRuleResourceKind enumerates the values for known data collection rule resource kind.

type KnownDataCollectionRuleResourceKind string
const (
    // KnownDataCollectionRuleResourceKindLinux ...
    KnownDataCollectionRuleResourceKindLinux KnownDataCollectionRuleResourceKind = "Linux"
    // KnownDataCollectionRuleResourceKindWindows ...
    KnownDataCollectionRuleResourceKindWindows KnownDataCollectionRuleResourceKind = "Windows"
)

func PossibleKnownDataCollectionRuleResourceKindValues

func PossibleKnownDataCollectionRuleResourceKindValues() []KnownDataCollectionRuleResourceKind

PossibleKnownDataCollectionRuleResourceKindValues returns an array of possible values for the KnownDataCollectionRuleResourceKind const type.

type KnownDataFlowStreams

KnownDataFlowStreams enumerates the values for known data flow streams.

type KnownDataFlowStreams string
const (
    // KnownDataFlowStreamsMicrosoftEvent ...
    KnownDataFlowStreamsMicrosoftEvent KnownDataFlowStreams = "Microsoft-Event"
    // KnownDataFlowStreamsMicrosoftInsightsMetrics ...
    KnownDataFlowStreamsMicrosoftInsightsMetrics KnownDataFlowStreams = "Microsoft-InsightsMetrics"
    // KnownDataFlowStreamsMicrosoftPerf ...
    KnownDataFlowStreamsMicrosoftPerf KnownDataFlowStreams = "Microsoft-Perf"
    // KnownDataFlowStreamsMicrosoftSyslog ...
    KnownDataFlowStreamsMicrosoftSyslog KnownDataFlowStreams = "Microsoft-Syslog"
    // KnownDataFlowStreamsMicrosoftWindowsEvent ...
    KnownDataFlowStreamsMicrosoftWindowsEvent KnownDataFlowStreams = "Microsoft-WindowsEvent"
)

func PossibleKnownDataFlowStreamsValues

func PossibleKnownDataFlowStreamsValues() []KnownDataFlowStreams

PossibleKnownDataFlowStreamsValues returns an array of possible values for the KnownDataFlowStreams const type.

type KnownExtensionDataSourceStreams

KnownExtensionDataSourceStreams enumerates the values for known extension data source streams.

type KnownExtensionDataSourceStreams string
const (
    // KnownExtensionDataSourceStreamsMicrosoftEvent ...
    KnownExtensionDataSourceStreamsMicrosoftEvent KnownExtensionDataSourceStreams = "Microsoft-Event"
    // KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics ...
    KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics KnownExtensionDataSourceStreams = "Microsoft-InsightsMetrics"
    // KnownExtensionDataSourceStreamsMicrosoftPerf ...
    KnownExtensionDataSourceStreamsMicrosoftPerf KnownExtensionDataSourceStreams = "Microsoft-Perf"
    // KnownExtensionDataSourceStreamsMicrosoftSyslog ...
    KnownExtensionDataSourceStreamsMicrosoftSyslog KnownExtensionDataSourceStreams = "Microsoft-Syslog"
    // KnownExtensionDataSourceStreamsMicrosoftWindowsEvent ...
    KnownExtensionDataSourceStreamsMicrosoftWindowsEvent KnownExtensionDataSourceStreams = "Microsoft-WindowsEvent"
)

func PossibleKnownExtensionDataSourceStreamsValues

func PossibleKnownExtensionDataSourceStreamsValues() []KnownExtensionDataSourceStreams

PossibleKnownExtensionDataSourceStreamsValues returns an array of possible values for the KnownExtensionDataSourceStreams const type.

type KnownPerfCounterDataSourceStreams

KnownPerfCounterDataSourceStreams enumerates the values for known perf counter data source streams.

type KnownPerfCounterDataSourceStreams string
const (
    // KnownPerfCounterDataSourceStreamsMicrosoftInsightsMetrics ...
    KnownPerfCounterDataSourceStreamsMicrosoftInsightsMetrics KnownPerfCounterDataSourceStreams = "Microsoft-InsightsMetrics"
    // KnownPerfCounterDataSourceStreamsMicrosoftPerf ...
    KnownPerfCounterDataSourceStreamsMicrosoftPerf KnownPerfCounterDataSourceStreams = "Microsoft-Perf"
)

func PossibleKnownPerfCounterDataSourceStreamsValues

func PossibleKnownPerfCounterDataSourceStreamsValues() []KnownPerfCounterDataSourceStreams

PossibleKnownPerfCounterDataSourceStreamsValues returns an array of possible values for the KnownPerfCounterDataSourceStreams const type.

type KnownPublicNetworkAccessOptions

KnownPublicNetworkAccessOptions enumerates the values for known public network access options.

type KnownPublicNetworkAccessOptions string
const (
    // KnownPublicNetworkAccessOptionsDisabled ...
    KnownPublicNetworkAccessOptionsDisabled KnownPublicNetworkAccessOptions = "Disabled"
    // KnownPublicNetworkAccessOptionsEnabled ...
    KnownPublicNetworkAccessOptionsEnabled KnownPublicNetworkAccessOptions = "Enabled"
)

func PossibleKnownPublicNetworkAccessOptionsValues

func PossibleKnownPublicNetworkAccessOptionsValues() []KnownPublicNetworkAccessOptions

PossibleKnownPublicNetworkAccessOptionsValues returns an array of possible values for the KnownPublicNetworkAccessOptions const type.

type KnownSyslogDataSourceFacilityNames

KnownSyslogDataSourceFacilityNames enumerates the values for known syslog data source facility names.

type KnownSyslogDataSourceFacilityNames string
const (
    // KnownSyslogDataSourceFacilityNamesAsterisk ...
    KnownSyslogDataSourceFacilityNamesAsterisk KnownSyslogDataSourceFacilityNames = "*"
    // KnownSyslogDataSourceFacilityNamesAuth ...
    KnownSyslogDataSourceFacilityNamesAuth KnownSyslogDataSourceFacilityNames = "auth"
    // KnownSyslogDataSourceFacilityNamesAuthpriv ...
    KnownSyslogDataSourceFacilityNamesAuthpriv KnownSyslogDataSourceFacilityNames = "authpriv"
    // KnownSyslogDataSourceFacilityNamesCron ...
    KnownSyslogDataSourceFacilityNamesCron KnownSyslogDataSourceFacilityNames = "cron"
    // KnownSyslogDataSourceFacilityNamesDaemon ...
    KnownSyslogDataSourceFacilityNamesDaemon KnownSyslogDataSourceFacilityNames = "daemon"
    // KnownSyslogDataSourceFacilityNamesKern ...
    KnownSyslogDataSourceFacilityNamesKern KnownSyslogDataSourceFacilityNames = "kern"
    // KnownSyslogDataSourceFacilityNamesLocal0 ...
    KnownSyslogDataSourceFacilityNamesLocal0 KnownSyslogDataSourceFacilityNames = "local0"
    // KnownSyslogDataSourceFacilityNamesLocal1 ...
    KnownSyslogDataSourceFacilityNamesLocal1 KnownSyslogDataSourceFacilityNames = "local1"
    // KnownSyslogDataSourceFacilityNamesLocal2 ...
    KnownSyslogDataSourceFacilityNamesLocal2 KnownSyslogDataSourceFacilityNames = "local2"
    // KnownSyslogDataSourceFacilityNamesLocal3 ...
    KnownSyslogDataSourceFacilityNamesLocal3 KnownSyslogDataSourceFacilityNames = "local3"
    // KnownSyslogDataSourceFacilityNamesLocal4 ...
    KnownSyslogDataSourceFacilityNamesLocal4 KnownSyslogDataSourceFacilityNames = "local4"
    // KnownSyslogDataSourceFacilityNamesLocal5 ...
    KnownSyslogDataSourceFacilityNamesLocal5 KnownSyslogDataSourceFacilityNames = "local5"
    // KnownSyslogDataSourceFacilityNamesLocal6 ...
    KnownSyslogDataSourceFacilityNamesLocal6 KnownSyslogDataSourceFacilityNames = "local6"
    // KnownSyslogDataSourceFacilityNamesLocal7 ...
    KnownSyslogDataSourceFacilityNamesLocal7 KnownSyslogDataSourceFacilityNames = "local7"
    // KnownSyslogDataSourceFacilityNamesLpr ...
    KnownSyslogDataSourceFacilityNamesLpr KnownSyslogDataSourceFacilityNames = "lpr"
    // KnownSyslogDataSourceFacilityNamesMail ...
    KnownSyslogDataSourceFacilityNamesMail KnownSyslogDataSourceFacilityNames = "mail"
    // KnownSyslogDataSourceFacilityNamesMark ...
    KnownSyslogDataSourceFacilityNamesMark KnownSyslogDataSourceFacilityNames = "mark"
    // KnownSyslogDataSourceFacilityNamesNews ...
    KnownSyslogDataSourceFacilityNamesNews KnownSyslogDataSourceFacilityNames = "news"
    // KnownSyslogDataSourceFacilityNamesSyslog ...
    KnownSyslogDataSourceFacilityNamesSyslog KnownSyslogDataSourceFacilityNames = "syslog"
    // KnownSyslogDataSourceFacilityNamesUser ...
    KnownSyslogDataSourceFacilityNamesUser KnownSyslogDataSourceFacilityNames = "user"
    // KnownSyslogDataSourceFacilityNamesUucp ...
    KnownSyslogDataSourceFacilityNamesUucp KnownSyslogDataSourceFacilityNames = "uucp"
)

func PossibleKnownSyslogDataSourceFacilityNamesValues

func PossibleKnownSyslogDataSourceFacilityNamesValues() []KnownSyslogDataSourceFacilityNames

PossibleKnownSyslogDataSourceFacilityNamesValues returns an array of possible values for the KnownSyslogDataSourceFacilityNames const type.

type KnownSyslogDataSourceLogLevels

KnownSyslogDataSourceLogLevels enumerates the values for known syslog data source log levels.

type KnownSyslogDataSourceLogLevels string
const (
    // KnownSyslogDataSourceLogLevelsAlert ...
    KnownSyslogDataSourceLogLevelsAlert KnownSyslogDataSourceLogLevels = "Alert"
    // KnownSyslogDataSourceLogLevelsAsterisk ...
    KnownSyslogDataSourceLogLevelsAsterisk KnownSyslogDataSourceLogLevels = "*"
    // KnownSyslogDataSourceLogLevelsCritical ...
    KnownSyslogDataSourceLogLevelsCritical KnownSyslogDataSourceLogLevels = "Critical"
    // KnownSyslogDataSourceLogLevelsDebug ...
    KnownSyslogDataSourceLogLevelsDebug KnownSyslogDataSourceLogLevels = "Debug"
    // KnownSyslogDataSourceLogLevelsEmergency ...
    KnownSyslogDataSourceLogLevelsEmergency KnownSyslogDataSourceLogLevels = "Emergency"
    // KnownSyslogDataSourceLogLevelsError ...
    KnownSyslogDataSourceLogLevelsError KnownSyslogDataSourceLogLevels = "Error"
    // KnownSyslogDataSourceLogLevelsInfo ...
    KnownSyslogDataSourceLogLevelsInfo KnownSyslogDataSourceLogLevels = "Info"
    // KnownSyslogDataSourceLogLevelsNotice ...
    KnownSyslogDataSourceLogLevelsNotice KnownSyslogDataSourceLogLevels = "Notice"
    // KnownSyslogDataSourceLogLevelsWarning ...
    KnownSyslogDataSourceLogLevelsWarning KnownSyslogDataSourceLogLevels = "Warning"
)

func PossibleKnownSyslogDataSourceLogLevelsValues

func PossibleKnownSyslogDataSourceLogLevelsValues() []KnownSyslogDataSourceLogLevels

PossibleKnownSyslogDataSourceLogLevelsValues returns an array of possible values for the KnownSyslogDataSourceLogLevels const type.

type KnownSyslogDataSourceStreams

KnownSyslogDataSourceStreams enumerates the values for known syslog data source streams.

type KnownSyslogDataSourceStreams string
const (
    // KnownSyslogDataSourceStreamsMicrosoftSyslog ...
    KnownSyslogDataSourceStreamsMicrosoftSyslog KnownSyslogDataSourceStreams = "Microsoft-Syslog"
)

func PossibleKnownSyslogDataSourceStreamsValues

func PossibleKnownSyslogDataSourceStreamsValues() []KnownSyslogDataSourceStreams

PossibleKnownSyslogDataSourceStreamsValues returns an array of possible values for the KnownSyslogDataSourceStreams const type.

type KnownWindowsEventLogDataSourceStreams

KnownWindowsEventLogDataSourceStreams enumerates the values for known windows event log data source streams.

type KnownWindowsEventLogDataSourceStreams string
const (
    // KnownWindowsEventLogDataSourceStreamsMicrosoftEvent ...
    KnownWindowsEventLogDataSourceStreamsMicrosoftEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-Event"
    // KnownWindowsEventLogDataSourceStreamsMicrosoftWindowsEvent ...
    KnownWindowsEventLogDataSourceStreamsMicrosoftWindowsEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-WindowsEvent"
)

func PossibleKnownWindowsEventLogDataSourceStreamsValues

func PossibleKnownWindowsEventLogDataSourceStreamsValues() []KnownWindowsEventLogDataSourceStreams

PossibleKnownWindowsEventLogDataSourceStreamsValues returns an array of possible values for the KnownWindowsEventLogDataSourceStreams const type.

type LocalizableString

LocalizableString the localizable string class.

type LocalizableString struct {
    // Value - the invariant value.
    Value *string `json:"value,omitempty"`
    // LocalizedValue - the locale specific value.
    LocalizedValue *string `json:"localizedValue,omitempty"`
}

type LocationThresholdRuleCondition

LocationThresholdRuleCondition a rule condition based on a certain number of locations failing.

type LocationThresholdRuleCondition struct {
    // WindowSize - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
    WindowSize *string `json:"windowSize,omitempty"`
    // FailedLocationCount - the number of locations that must fail to activate the alert.
    FailedLocationCount *int32 `json:"failedLocationCount,omitempty"`
    // DataSource - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
    DataSource BasicRuleDataSource `json:"dataSource,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicRuleConditionOdataTypeRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition'
    OdataType OdataTypeBasicRuleCondition `json:"odata.type,omitempty"`
}

func (LocationThresholdRuleCondition) AsBasicRuleCondition

func (ltrc LocationThresholdRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)

AsBasicRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition.

func (LocationThresholdRuleCondition) AsLocationThresholdRuleCondition

func (ltrc LocationThresholdRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)

AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition.

func (LocationThresholdRuleCondition) AsManagementEventRuleCondition

func (ltrc LocationThresholdRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)

AsManagementEventRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition.

func (LocationThresholdRuleCondition) AsRuleCondition

func (ltrc LocationThresholdRuleCondition) AsRuleCondition() (*RuleCondition, bool)

AsRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition.

func (LocationThresholdRuleCondition) AsThresholdRuleCondition

func (ltrc LocationThresholdRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)

AsThresholdRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition.

func (LocationThresholdRuleCondition) MarshalJSON

func (ltrc LocationThresholdRuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocationThresholdRuleCondition.

func (*LocationThresholdRuleCondition) UnmarshalJSON

func (ltrc *LocationThresholdRuleCondition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LocationThresholdRuleCondition struct.

type LogAnalyticsDestination

LogAnalyticsDestination log Analytics destination.

type LogAnalyticsDestination struct {
    // WorkspaceResourceID - The resource ID of the Log Analytics workspace.
    WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
    // WorkspaceID - READ-ONLY; The Customer ID of the Log Analytics workspace.
    WorkspaceID *string `json:"workspaceId,omitempty"`
    // Name - A friendly name for the destination.
    // This name should be unique across all destinations (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

func (LogAnalyticsDestination) MarshalJSON

func (lad LogAnalyticsDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogAnalyticsDestination.

type LogMetricTrigger

LogMetricTrigger a log metrics trigger descriptor.

type LogMetricTrigger struct {
    // ThresholdOperator - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: 'ConditionalOperatorGreaterThanOrEqual', 'ConditionalOperatorLessThanOrEqual', 'ConditionalOperatorGreaterThan', 'ConditionalOperatorLessThan', 'ConditionalOperatorEqual'
    ThresholdOperator ConditionalOperator `json:"thresholdOperator,omitempty"`
    // Threshold - The threshold of the metric trigger.
    Threshold *float64 `json:"threshold,omitempty"`
    // MetricTriggerType - Metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'MetricTriggerTypeConsecutive', 'MetricTriggerTypeTotal'
    MetricTriggerType MetricTriggerType `json:"metricTriggerType,omitempty"`
    // MetricColumn - Evaluation of metric on a particular column
    MetricColumn *string `json:"metricColumn,omitempty"`
}

type LogProfileCollection

LogProfileCollection represents a collection of log profiles.

type LogProfileCollection struct {
    autorest.Response `json:"-"`
    // Value - the values of the log profiles.
    Value *[]LogProfileResource `json:"value,omitempty"`
}

type LogProfileProperties

LogProfileProperties the log profile properties.

type LogProfileProperties struct {
    // StorageAccountID - the resource id of the storage account to which you would like to send the Activity Log.
    StorageAccountID *string `json:"storageAccountId,omitempty"`
    // ServiceBusRuleID - The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
    ServiceBusRuleID *string `json:"serviceBusRuleId,omitempty"`
    // Locations - List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
    Locations *[]string `json:"locations,omitempty"`
    // Categories - the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
    Categories *[]string `json:"categories,omitempty"`
    // RetentionPolicy - the retention policy for the events in the log.
    RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`
}

type LogProfileResource

LogProfileResource the log profile resource.

type LogProfileResource struct {
    autorest.Response `json:"-"`
    // LogProfileProperties - The log profile properties of the resource.
    *LogProfileProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Kind - READ-ONLY; Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
    Kind *string `json:"kind,omitempty"`
    // Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Etag *string `json:"etag,omitempty"`
}

func (LogProfileResource) MarshalJSON

func (lpr LogProfileResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogProfileResource.

func (*LogProfileResource) UnmarshalJSON

func (lpr *LogProfileResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogProfileResource struct.

type LogProfileResourcePatch

LogProfileResourcePatch the log profile resource for patch operations.

type LogProfileResourcePatch struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // LogProfileProperties - The log profile properties for an update operation.
    *LogProfileProperties `json:"properties,omitempty"`
}

func (LogProfileResourcePatch) MarshalJSON

func (lprp LogProfileResourcePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogProfileResourcePatch.

func (*LogProfileResourcePatch) UnmarshalJSON

func (lprp *LogProfileResourcePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogProfileResourcePatch struct.

type LogProfilesClient

LogProfilesClient is the monitor Management Client

type LogProfilesClient struct {
    BaseClient
}

func NewLogProfilesClient

func NewLogProfilesClient(subscriptionID string) LogProfilesClient

NewLogProfilesClient creates an instance of the LogProfilesClient client.

func NewLogProfilesClientWithBaseURI

func NewLogProfilesClientWithBaseURI(baseURI string, subscriptionID string) LogProfilesClient

NewLogProfilesClientWithBaseURI creates an instance of the LogProfilesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LogProfilesClient) CreateOrUpdate

func (client LogProfilesClient) CreateOrUpdate(ctx context.Context, logProfileName string, parameters LogProfileResource) (result LogProfileResource, err error)

CreateOrUpdate create or update a log profile in Azure Monitoring REST API. Parameters: logProfileName - the name of the log profile. parameters - parameters supplied to the operation.

func (LogProfilesClient) CreateOrUpdatePreparer

func (client LogProfilesClient) CreateOrUpdatePreparer(ctx context.Context, logProfileName string, parameters LogProfileResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LogProfilesClient) CreateOrUpdateResponder

func (client LogProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result LogProfileResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (LogProfilesClient) CreateOrUpdateSender

func (client LogProfilesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (LogProfilesClient) Delete

func (client LogProfilesClient) Delete(ctx context.Context, logProfileName string) (result autorest.Response, err error)

Delete deletes the log profile. Parameters: logProfileName - the name of the log profile.

func (LogProfilesClient) DeletePreparer

func (client LogProfilesClient) DeletePreparer(ctx context.Context, logProfileName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LogProfilesClient) DeleteResponder

func (client LogProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LogProfilesClient) DeleteSender

func (client LogProfilesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LogProfilesClient) Get

func (client LogProfilesClient) Get(ctx context.Context, logProfileName string) (result LogProfileResource, err error)

Get gets the log profile. Parameters: logProfileName - the name of the log profile.

func (LogProfilesClient) GetPreparer

func (client LogProfilesClient) GetPreparer(ctx context.Context, logProfileName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LogProfilesClient) GetResponder

func (client LogProfilesClient) GetResponder(resp *http.Response) (result LogProfileResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LogProfilesClient) GetSender

func (client LogProfilesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LogProfilesClient) List

func (client LogProfilesClient) List(ctx context.Context) (result LogProfileCollection, err error)

List list the log profiles.

func (LogProfilesClient) ListPreparer

func (client LogProfilesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (LogProfilesClient) ListResponder

func (client LogProfilesClient) ListResponder(resp *http.Response) (result LogProfileCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LogProfilesClient) ListSender

func (client LogProfilesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (LogProfilesClient) Update

func (client LogProfilesClient) Update(ctx context.Context, logProfileName string, logProfilesResource LogProfileResourcePatch) (result LogProfileResource, err error)

Update updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method. Parameters: logProfileName - the name of the log profile. logProfilesResource - parameters supplied to the operation.

func (LogProfilesClient) UpdatePreparer

func (client LogProfilesClient) UpdatePreparer(ctx context.Context, logProfileName string, logProfilesResource LogProfileResourcePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (LogProfilesClient) UpdateResponder

func (client LogProfilesClient) UpdateResponder(resp *http.Response) (result LogProfileResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (LogProfilesClient) UpdateSender

func (client LogProfilesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type LogSearchRule

LogSearchRule log Search Rule Definition

type LogSearchRule struct {
    // CreatedWithAPIVersion - READ-ONLY; The api-version used when creating this alert rule
    CreatedWithAPIVersion *string `json:"createdWithApiVersion,omitempty"`
    // IsLegacyLogAnalyticsRule - READ-ONLY; True if alert rule is legacy Log Analytic rule
    IsLegacyLogAnalyticsRule *bool `json:"isLegacyLogAnalyticsRule,omitempty"`
    // Description - The description of the Log Search rule.
    Description *string `json:"description,omitempty"`
    // DisplayName - The display name of the alert rule
    DisplayName *string `json:"displayName,omitempty"`
    // AutoMitigate - The flag that indicates whether the alert should be automatically resolved or not. The default is false.
    AutoMitigate *bool `json:"autoMitigate,omitempty"`
    // Enabled - The flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'EnabledTrue', 'EnabledFalse'
    Enabled Enabled `json:"enabled,omitempty"`
    // LastUpdatedTime - READ-ONLY; Last time the rule was updated in IS08601 format.
    LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning state of the scheduled query rule. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateDeploying', 'ProvisioningStateCanceled', 'ProvisioningStateFailed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Source - Data Source against which rule will Query Data
    Source *Source `json:"source,omitempty"`
    // Schedule - Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
    Schedule *Schedule `json:"schedule,omitempty"`
    // Action - Action needs to be taken on rule execution.
    Action BasicAction `json:"action,omitempty"`
}

func (LogSearchRule) MarshalJSON

func (lsr LogSearchRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogSearchRule.

func (*LogSearchRule) UnmarshalJSON

func (lsr *LogSearchRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogSearchRule struct.

type LogSearchRulePatch

LogSearchRulePatch log Search Rule Definition for Patching

type LogSearchRulePatch struct {
    // Enabled - The flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'EnabledTrue', 'EnabledFalse'
    Enabled Enabled `json:"enabled,omitempty"`
}

type LogSearchRuleResource

LogSearchRuleResource the Log Search Rule resource.

type LogSearchRuleResource struct {
    autorest.Response `json:"-"`
    // LogSearchRule - The rule properties of the resource.
    *LogSearchRule `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Kind - READ-ONLY; Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
    Kind *string `json:"kind,omitempty"`
    // Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Etag *string `json:"etag,omitempty"`
}

func (LogSearchRuleResource) MarshalJSON

func (lsrr LogSearchRuleResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogSearchRuleResource.

func (*LogSearchRuleResource) UnmarshalJSON

func (lsrr *LogSearchRuleResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogSearchRuleResource struct.

type LogSearchRuleResourceCollection

LogSearchRuleResourceCollection represents a collection of Log Search rule resources.

type LogSearchRuleResourceCollection struct {
    autorest.Response `json:"-"`
    // Value - The values for the Log Search Rule resources.
    Value *[]LogSearchRuleResource `json:"value,omitempty"`
}

type LogSearchRuleResourcePatch

LogSearchRuleResourcePatch the log search rule resource for patch operations.

type LogSearchRuleResourcePatch struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // LogSearchRulePatch - The log search rule properties of the resource.
    *LogSearchRulePatch `json:"properties,omitempty"`
}

func (LogSearchRuleResourcePatch) MarshalJSON

func (lsrrp LogSearchRuleResourcePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogSearchRuleResourcePatch.

func (*LogSearchRuleResourcePatch) UnmarshalJSON

func (lsrrp *LogSearchRuleResourcePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogSearchRuleResourcePatch struct.

type LogSettings

LogSettings part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

type LogSettings struct {
    // Category - Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.
    Category *string `json:"category,omitempty"`
    // Enabled - a value indicating whether this log is enabled.
    Enabled *bool `json:"enabled,omitempty"`
    // RetentionPolicy - the retention policy for this log.
    RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`
}

type LogToMetricAction

LogToMetricAction specify action need to be taken when rule type is converting log to metric

type LogToMetricAction struct {
    // Criteria - Criteria of Metric
    Criteria *[]Criteria `json:"criteria,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicActionOdataTypeAction', 'OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesAlertingAction', 'OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesLogToMetricAction'
    OdataType OdataTypeBasicAction `json:"odata.type,omitempty"`
}

func (LogToMetricAction) AsAction

func (ltma LogToMetricAction) AsAction() (*Action, bool)

AsAction is the BasicAction implementation for LogToMetricAction.

func (LogToMetricAction) AsAlertingAction

func (ltma LogToMetricAction) AsAlertingAction() (*AlertingAction, bool)

AsAlertingAction is the BasicAction implementation for LogToMetricAction.

func (LogToMetricAction) AsBasicAction

func (ltma LogToMetricAction) AsBasicAction() (BasicAction, bool)

AsBasicAction is the BasicAction implementation for LogToMetricAction.

func (LogToMetricAction) AsLogToMetricAction

func (ltma LogToMetricAction) AsLogToMetricAction() (*LogToMetricAction, bool)

AsLogToMetricAction is the BasicAction implementation for LogToMetricAction.

func (LogToMetricAction) MarshalJSON

func (ltma LogToMetricAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogToMetricAction.

type LogicAppReceiver

LogicAppReceiver a logic app receiver.

type LogicAppReceiver struct {
    // Name - The name of the logic app receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // ResourceID - The azure resource id of the logic app receiver.
    ResourceID *string `json:"resourceId,omitempty"`
    // CallbackURL - The callback url where http request sent to.
    CallbackURL *string `json:"callbackUrl,omitempty"`
    // UseCommonAlertSchema - Indicates whether to use common alert schema.
    UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"`
}

type LogsIngestionEndpointSpec

LogsIngestionEndpointSpec definition of the endpoint used for ingesting logs.

type LogsIngestionEndpointSpec struct {
    // Endpoint - READ-ONLY; The endpoint. This property is READ-ONLY.
    Endpoint *string `json:"endpoint,omitempty"`
}

func (LogsIngestionEndpointSpec) MarshalJSON

func (lies LogsIngestionEndpointSpec) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogsIngestionEndpointSpec.

type ManagementEventAggregationCondition

ManagementEventAggregationCondition how the data that is collected should be combined over time.

type ManagementEventAggregationCondition struct {
    // Operator - the condition operator. Possible values include: 'ConditionOperatorGreaterThan', 'ConditionOperatorGreaterThanOrEqual', 'ConditionOperatorLessThan', 'ConditionOperatorLessThanOrEqual'
    Operator ConditionOperator `json:"operator,omitempty"`
    // Threshold - The threshold value that activates the alert.
    Threshold *float64 `json:"threshold,omitempty"`
    // WindowSize - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
    WindowSize *string `json:"windowSize,omitempty"`
}

type ManagementEventRuleCondition

ManagementEventRuleCondition a management event rule condition.

type ManagementEventRuleCondition struct {
    // Aggregation - How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.
    Aggregation *ManagementEventAggregationCondition `json:"aggregation,omitempty"`
    // DataSource - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
    DataSource BasicRuleDataSource `json:"dataSource,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicRuleConditionOdataTypeRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition'
    OdataType OdataTypeBasicRuleCondition `json:"odata.type,omitempty"`
}

func (ManagementEventRuleCondition) AsBasicRuleCondition

func (merc ManagementEventRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)

AsBasicRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition.

func (ManagementEventRuleCondition) AsLocationThresholdRuleCondition

func (merc ManagementEventRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)

AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition.

func (ManagementEventRuleCondition) AsManagementEventRuleCondition

func (merc ManagementEventRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)

AsManagementEventRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition.

func (ManagementEventRuleCondition) AsRuleCondition

func (merc ManagementEventRuleCondition) AsRuleCondition() (*RuleCondition, bool)

AsRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition.

func (ManagementEventRuleCondition) AsThresholdRuleCondition

func (merc ManagementEventRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)

AsThresholdRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition.

func (ManagementEventRuleCondition) MarshalJSON

func (merc ManagementEventRuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagementEventRuleCondition.

func (*ManagementEventRuleCondition) UnmarshalJSON

func (merc *ManagementEventRuleCondition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ManagementEventRuleCondition struct.

type MetadataValue

MetadataValue represents a metric metadata value.

type MetadataValue struct {
    // Name - the name of the metadata.
    Name *LocalizableString `json:"name,omitempty"`
    // Value - the value of the metadata.
    Value *string `json:"value,omitempty"`
}

type Metric

Metric the result data of a query.

type Metric struct {
    // ID - the metric Id.
    ID *string `json:"id,omitempty"`
    // Type - the resource type of the metric resource.
    Type *string `json:"type,omitempty"`
    // Name - the name and the display name of the metric, i.e. it is localizable string.
    Name *LocalizableString `json:"name,omitempty"`
    // DisplayDescription - Detailed description of this metric.
    DisplayDescription *string `json:"displayDescription,omitempty"`
    // ErrorCode - 'Success' or the error details on query failures for this metric.
    ErrorCode *string `json:"errorCode,omitempty"`
    // ErrorMessage - Error message encountered querying this specific metric.
    ErrorMessage *string `json:"errorMessage,omitempty"`
    // Unit - The unit of the metric. Possible values include: 'MetricUnitCount', 'MetricUnitBytes', 'MetricUnitSeconds', 'MetricUnitCountPerSecond', 'MetricUnitBytesPerSecond', 'MetricUnitPercent', 'MetricUnitMilliSeconds', 'MetricUnitByteSeconds', 'MetricUnitUnspecified', 'MetricUnitCores', 'MetricUnitMilliCores', 'MetricUnitNanoCores', 'MetricUnitBitsPerSecond'
    Unit MetricUnit `json:"unit,omitempty"`
    // Timeseries - the time series returned when a data query is performed.
    Timeseries *[]TimeSeriesElement `json:"timeseries,omitempty"`
}

type MetricAlertAction

MetricAlertAction an alert action.

type MetricAlertAction struct {
    // ActionGroupID - the id of the action group to use.
    ActionGroupID *string `json:"actionGroupId,omitempty"`
    // WebHookProperties - This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.
    WebHookProperties map[string]*string `json:"webHookProperties"`
}

func (MetricAlertAction) MarshalJSON

func (maa MetricAlertAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertAction.

type MetricAlertCriteria

MetricAlertCriteria the rule criteria that defines the conditions of the alert rule.

type MetricAlertCriteria struct {
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // OdataType - Possible values include: 'OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria'
    OdataType OdataTypeBasicMetricAlertCriteria `json:"odata.type,omitempty"`
}

func (MetricAlertCriteria) AsBasicMetricAlertCriteria

func (mac MetricAlertCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)

AsBasicMetricAlertCriteria is the BasicMetricAlertCriteria implementation for MetricAlertCriteria.

func (MetricAlertCriteria) AsMetricAlertCriteria

func (mac MetricAlertCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)

AsMetricAlertCriteria is the BasicMetricAlertCriteria implementation for MetricAlertCriteria.

func (MetricAlertCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria

func (mac MetricAlertCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)

AsMetricAlertMultipleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for MetricAlertCriteria.

func (MetricAlertCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria

func (mac MetricAlertCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)

AsMetricAlertSingleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for MetricAlertCriteria.

func (MetricAlertCriteria) AsWebtestLocationAvailabilityCriteria

func (mac MetricAlertCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)

AsWebtestLocationAvailabilityCriteria is the BasicMetricAlertCriteria implementation for MetricAlertCriteria.

func (MetricAlertCriteria) MarshalJSON

func (mac MetricAlertCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertCriteria.

func (*MetricAlertCriteria) UnmarshalJSON

func (mac *MetricAlertCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricAlertCriteria struct.

type MetricAlertMultipleResourceMultipleMetricCriteria

MetricAlertMultipleResourceMultipleMetricCriteria specifies the metric alert criteria for multiple resource that has multiple metric criteria.

type MetricAlertMultipleResourceMultipleMetricCriteria struct {
    // AllOf - the list of multiple metric criteria for this 'all of' operation.
    AllOf *[]BasicMultiMetricCriteria `json:"allOf,omitempty"`
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // OdataType - Possible values include: 'OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria'
    OdataType OdataTypeBasicMetricAlertCriteria `json:"odata.type,omitempty"`
}

func (MetricAlertMultipleResourceMultipleMetricCriteria) AsBasicMetricAlertCriteria

func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)

AsBasicMetricAlertCriteria is the BasicMetricAlertCriteria implementation for MetricAlertMultipleResourceMultipleMetricCriteria.

func (MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertCriteria

func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)

AsMetricAlertCriteria is the BasicMetricAlertCriteria implementation for MetricAlertMultipleResourceMultipleMetricCriteria.

func (MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria

func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)

AsMetricAlertMultipleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for MetricAlertMultipleResourceMultipleMetricCriteria.

func (MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria

func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)

AsMetricAlertSingleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for MetricAlertMultipleResourceMultipleMetricCriteria.

func (MetricAlertMultipleResourceMultipleMetricCriteria) AsWebtestLocationAvailabilityCriteria

func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)

AsWebtestLocationAvailabilityCriteria is the BasicMetricAlertCriteria implementation for MetricAlertMultipleResourceMultipleMetricCriteria.

func (MetricAlertMultipleResourceMultipleMetricCriteria) MarshalJSON

func (mamrmmc MetricAlertMultipleResourceMultipleMetricCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertMultipleResourceMultipleMetricCriteria.

func (*MetricAlertMultipleResourceMultipleMetricCriteria) UnmarshalJSON

func (mamrmmc *MetricAlertMultipleResourceMultipleMetricCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricAlertMultipleResourceMultipleMetricCriteria struct.

type MetricAlertProperties

MetricAlertProperties an alert rule.

type MetricAlertProperties struct {
    // Description - the description of the metric alert that will be included in the alert email.
    Description *string `json:"description,omitempty"`
    // Severity - Alert severity {0, 1, 2, 3, 4}
    Severity *int32 `json:"severity,omitempty"`
    // Enabled - the flag that indicates whether the metric alert is enabled.
    Enabled *bool `json:"enabled,omitempty"`
    // Scopes - the list of resource id's that this metric alert is scoped to.
    Scopes *[]string `json:"scopes,omitempty"`
    // EvaluationFrequency - how often the metric alert is evaluated represented in ISO 8601 duration format.
    EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`
    // WindowSize - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
    WindowSize *string `json:"windowSize,omitempty"`
    // TargetResourceType - the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
    TargetResourceType *string `json:"targetResourceType,omitempty"`
    // TargetResourceRegion - the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
    TargetResourceRegion *string `json:"targetResourceRegion,omitempty"`
    // Criteria - defines the specific alert criteria information.
    Criteria BasicMetricAlertCriteria `json:"criteria,omitempty"`
    // AutoMitigate - the flag that indicates whether the alert should be auto resolved or not. The default is true.
    AutoMitigate *bool `json:"autoMitigate,omitempty"`
    // Actions - the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
    Actions *[]MetricAlertAction `json:"actions,omitempty"`
    // LastUpdatedTime - READ-ONLY; Last time the rule was updated in ISO8601 format.
    LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
    // IsMigrated - READ-ONLY; the value indicating whether this alert rule is migrated.
    IsMigrated *bool `json:"isMigrated,omitempty"`
}

func (MetricAlertProperties) MarshalJSON

func (mapVar MetricAlertProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertProperties.

func (*MetricAlertProperties) UnmarshalJSON

func (mapVar *MetricAlertProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricAlertProperties struct.

type MetricAlertPropertiesPatch

MetricAlertPropertiesPatch an alert rule properties for patch.

type MetricAlertPropertiesPatch struct {
    // Description - the description of the metric alert that will be included in the alert email.
    Description *string `json:"description,omitempty"`
    // Severity - Alert severity {0, 1, 2, 3, 4}
    Severity *int32 `json:"severity,omitempty"`
    // Enabled - the flag that indicates whether the metric alert is enabled.
    Enabled *bool `json:"enabled,omitempty"`
    // Scopes - the list of resource id's that this metric alert is scoped to.
    Scopes *[]string `json:"scopes,omitempty"`
    // EvaluationFrequency - how often the metric alert is evaluated represented in ISO 8601 duration format.
    EvaluationFrequency *string `json:"evaluationFrequency,omitempty"`
    // WindowSize - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
    WindowSize *string `json:"windowSize,omitempty"`
    // TargetResourceType - the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria.
    TargetResourceType *string `json:"targetResourceType,omitempty"`
    // TargetResourceRegion - the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria.
    TargetResourceRegion *string `json:"targetResourceRegion,omitempty"`
    // Criteria - defines the specific alert criteria information.
    Criteria BasicMetricAlertCriteria `json:"criteria,omitempty"`
    // AutoMitigate - the flag that indicates whether the alert should be auto resolved or not. The default is true.
    AutoMitigate *bool `json:"autoMitigate,omitempty"`
    // Actions - the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
    Actions *[]MetricAlertAction `json:"actions,omitempty"`
    // LastUpdatedTime - READ-ONLY; Last time the rule was updated in ISO8601 format.
    LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
    // IsMigrated - READ-ONLY; the value indicating whether this alert rule is migrated.
    IsMigrated *bool `json:"isMigrated,omitempty"`
}

func (MetricAlertPropertiesPatch) MarshalJSON

func (mapp MetricAlertPropertiesPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertPropertiesPatch.

func (*MetricAlertPropertiesPatch) UnmarshalJSON

func (mapp *MetricAlertPropertiesPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricAlertPropertiesPatch struct.

type MetricAlertResource

MetricAlertResource the metric alert resource.

type MetricAlertResource struct {
    autorest.Response `json:"-"`
    // MetricAlertProperties - The alert rule properties of the resource.
    *MetricAlertProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Kind - READ-ONLY; Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
    Kind *string `json:"kind,omitempty"`
    // Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Etag *string `json:"etag,omitempty"`
}

func (MetricAlertResource) MarshalJSON

func (mar MetricAlertResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertResource.

func (*MetricAlertResource) UnmarshalJSON

func (mar *MetricAlertResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricAlertResource struct.

type MetricAlertResourceCollection

MetricAlertResourceCollection represents a collection of alert rule resources.

type MetricAlertResourceCollection struct {
    autorest.Response `json:"-"`
    // Value - the values for the alert rule resources.
    Value *[]MetricAlertResource `json:"value,omitempty"`
}

type MetricAlertResourcePatch

MetricAlertResourcePatch the metric alert resource for patch operations.

type MetricAlertResourcePatch struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // MetricAlertPropertiesPatch - The alert rule properties of the resource.
    *MetricAlertPropertiesPatch `json:"properties,omitempty"`
}

func (MetricAlertResourcePatch) MarshalJSON

func (marp MetricAlertResourcePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertResourcePatch.

func (*MetricAlertResourcePatch) UnmarshalJSON

func (marp *MetricAlertResourcePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricAlertResourcePatch struct.

type MetricAlertSingleResourceMultipleMetricCriteria

MetricAlertSingleResourceMultipleMetricCriteria specifies the metric alert criteria for a single resource that has multiple metric criteria.

type MetricAlertSingleResourceMultipleMetricCriteria struct {
    // AllOf - The list of metric criteria for this 'all of' operation.
    AllOf *[]MetricCriteria `json:"allOf,omitempty"`
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // OdataType - Possible values include: 'OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria'
    OdataType OdataTypeBasicMetricAlertCriteria `json:"odata.type,omitempty"`
}

func (MetricAlertSingleResourceMultipleMetricCriteria) AsBasicMetricAlertCriteria

func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)

AsBasicMetricAlertCriteria is the BasicMetricAlertCriteria implementation for MetricAlertSingleResourceMultipleMetricCriteria.

func (MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertCriteria

func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)

AsMetricAlertCriteria is the BasicMetricAlertCriteria implementation for MetricAlertSingleResourceMultipleMetricCriteria.

func (MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria

func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)

AsMetricAlertMultipleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for MetricAlertSingleResourceMultipleMetricCriteria.

func (MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria

func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)

AsMetricAlertSingleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for MetricAlertSingleResourceMultipleMetricCriteria.

func (MetricAlertSingleResourceMultipleMetricCriteria) AsWebtestLocationAvailabilityCriteria

func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)

AsWebtestLocationAvailabilityCriteria is the BasicMetricAlertCriteria implementation for MetricAlertSingleResourceMultipleMetricCriteria.

func (MetricAlertSingleResourceMultipleMetricCriteria) MarshalJSON

func (masrmmc MetricAlertSingleResourceMultipleMetricCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertSingleResourceMultipleMetricCriteria.

func (*MetricAlertSingleResourceMultipleMetricCriteria) UnmarshalJSON

func (masrmmc *MetricAlertSingleResourceMultipleMetricCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricAlertSingleResourceMultipleMetricCriteria struct.

type MetricAlertStatus

MetricAlertStatus an alert status.

type MetricAlertStatus struct {
    // Name - The status name.
    Name *string `json:"name,omitempty"`
    // ID - The alert rule arm id.
    ID *string `json:"id,omitempty"`
    // Type - The extended resource type name.
    Type *string `json:"type,omitempty"`
    // Properties - The alert status properties of the metric alert status.
    Properties *MetricAlertStatusProperties `json:"properties,omitempty"`
}

type MetricAlertStatusCollection

MetricAlertStatusCollection represents a collection of alert rule resources.

type MetricAlertStatusCollection struct {
    autorest.Response `json:"-"`
    // Value - the values for the alert rule resources.
    Value *[]MetricAlertStatus `json:"value,omitempty"`
}

type MetricAlertStatusProperties

MetricAlertStatusProperties an alert status properties.

type MetricAlertStatusProperties struct {
    // Dimensions - An object describing the type of the dimensions.
    Dimensions map[string]*string `json:"dimensions"`
    // Status - status value
    Status *string `json:"status,omitempty"`
    // Timestamp - UTC time when the status was checked.
    Timestamp *date.Time `json:"timestamp,omitempty"`
}

func (MetricAlertStatusProperties) MarshalJSON

func (masp MetricAlertStatusProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricAlertStatusProperties.

type MetricAlertsClient

MetricAlertsClient is the monitor Management Client

type MetricAlertsClient struct {
    BaseClient
}

func NewMetricAlertsClient

func NewMetricAlertsClient(subscriptionID string) MetricAlertsClient

NewMetricAlertsClient creates an instance of the MetricAlertsClient client.

func NewMetricAlertsClientWithBaseURI

func NewMetricAlertsClientWithBaseURI(baseURI string, subscriptionID string) MetricAlertsClient

NewMetricAlertsClientWithBaseURI creates an instance of the MetricAlertsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MetricAlertsClient) CreateOrUpdate

func (client MetricAlertsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResource) (result MetricAlertResource, err error)

CreateOrUpdate create or update an metric alert definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. parameters - the parameters of the rule to create or update.

func (MetricAlertsClient) CreateOrUpdatePreparer

func (client MetricAlertsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (MetricAlertsClient) CreateOrUpdateResponder

func (client MetricAlertsClient) CreateOrUpdateResponder(resp *http.Response) (result MetricAlertResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (MetricAlertsClient) CreateOrUpdateSender

func (client MetricAlertsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (MetricAlertsClient) Delete

func (client MetricAlertsClient) Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)

Delete delete an alert rule definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (MetricAlertsClient) DeletePreparer

func (client MetricAlertsClient) DeletePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MetricAlertsClient) DeleteResponder

func (client MetricAlertsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MetricAlertsClient) DeleteSender

func (client MetricAlertsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MetricAlertsClient) Get

func (client MetricAlertsClient) Get(ctx context.Context, resourceGroupName string, ruleName string) (result MetricAlertResource, err error)

Get retrieve an alert rule definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (MetricAlertsClient) GetPreparer

func (client MetricAlertsClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MetricAlertsClient) GetResponder

func (client MetricAlertsClient) GetResponder(resp *http.Response) (result MetricAlertResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MetricAlertsClient) GetSender

func (client MetricAlertsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MetricAlertsClient) ListByResourceGroup

func (client MetricAlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MetricAlertResourceCollection, err error)

ListByResourceGroup retrieve alert rule definitions in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (MetricAlertsClient) ListByResourceGroupPreparer

func (client MetricAlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (MetricAlertsClient) ListByResourceGroupResponder

func (client MetricAlertsClient) ListByResourceGroupResponder(resp *http.Response) (result MetricAlertResourceCollection, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (MetricAlertsClient) ListByResourceGroupSender

func (client MetricAlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (MetricAlertsClient) ListBySubscription

func (client MetricAlertsClient) ListBySubscription(ctx context.Context) (result MetricAlertResourceCollection, err error)

ListBySubscription retrieve alert rule definitions in a subscription.

func (MetricAlertsClient) ListBySubscriptionPreparer

func (client MetricAlertsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (MetricAlertsClient) ListBySubscriptionResponder

func (client MetricAlertsClient) ListBySubscriptionResponder(resp *http.Response) (result MetricAlertResourceCollection, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (MetricAlertsClient) ListBySubscriptionSender

func (client MetricAlertsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (MetricAlertsClient) Update

func (client MetricAlertsClient) Update(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResourcePatch) (result MetricAlertResource, err error)

Update update an metric alert definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. parameters - the parameters of the rule to update.

func (MetricAlertsClient) UpdatePreparer

func (client MetricAlertsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters MetricAlertResourcePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MetricAlertsClient) UpdateResponder

func (client MetricAlertsClient) UpdateResponder(resp *http.Response) (result MetricAlertResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MetricAlertsClient) UpdateSender

func (client MetricAlertsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MetricAlertsStatusClient

MetricAlertsStatusClient is the monitor Management Client

type MetricAlertsStatusClient struct {
    BaseClient
}

func NewMetricAlertsStatusClient

func NewMetricAlertsStatusClient(subscriptionID string) MetricAlertsStatusClient

NewMetricAlertsStatusClient creates an instance of the MetricAlertsStatusClient client.

func NewMetricAlertsStatusClientWithBaseURI

func NewMetricAlertsStatusClientWithBaseURI(baseURI string, subscriptionID string) MetricAlertsStatusClient

NewMetricAlertsStatusClientWithBaseURI creates an instance of the MetricAlertsStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MetricAlertsStatusClient) List

func (client MetricAlertsStatusClient) List(ctx context.Context, resourceGroupName string, ruleName string) (result MetricAlertStatusCollection, err error)

List retrieve an alert rule status. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (MetricAlertsStatusClient) ListByName

func (client MetricAlertsStatusClient) ListByName(ctx context.Context, resourceGroupName string, ruleName string, statusName string) (result MetricAlertStatusCollection, err error)

ListByName retrieve an alert rule status. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. statusName - the name of the status.

func (MetricAlertsStatusClient) ListByNamePreparer

func (client MetricAlertsStatusClient) ListByNamePreparer(ctx context.Context, resourceGroupName string, ruleName string, statusName string) (*http.Request, error)

ListByNamePreparer prepares the ListByName request.

func (MetricAlertsStatusClient) ListByNameResponder

func (client MetricAlertsStatusClient) ListByNameResponder(resp *http.Response) (result MetricAlertStatusCollection, err error)

ListByNameResponder handles the response to the ListByName request. The method always closes the http.Response Body.

func (MetricAlertsStatusClient) ListByNameSender

func (client MetricAlertsStatusClient) ListByNameSender(req *http.Request) (*http.Response, error)

ListByNameSender sends the ListByName request. The method will close the http.Response Body if it receives an error.

func (MetricAlertsStatusClient) ListPreparer

func (client MetricAlertsStatusClient) ListPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

ListPreparer prepares the List request.

func (MetricAlertsStatusClient) ListResponder

func (client MetricAlertsStatusClient) ListResponder(resp *http.Response) (result MetricAlertStatusCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MetricAlertsStatusClient) ListSender

func (client MetricAlertsStatusClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MetricAvailability

MetricAvailability metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain.

type MetricAvailability struct {
    // TimeGrain - the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc.
    TimeGrain *string `json:"timeGrain,omitempty"`
    // Retention - the retention period for the metric at the specified timegrain.  Expressed as a duration 'PT1M', 'P1D', etc.
    Retention *string `json:"retention,omitempty"`
}

type MetricBaselinesProperties

MetricBaselinesProperties the response to a metric baselines query.

type MetricBaselinesProperties struct {
    // Timespan - The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'.  This may be adjusted in the future and returned back from what was originally requested.
    Timespan *string `json:"timespan,omitempty"`
    // Interval - The interval (window size) for which the metric data was returned in.  This may be adjusted in the future and returned back from what was originally requested.  This is not present if a metadata request was made.
    Interval *string `json:"interval,omitempty"`
    // Namespace - The namespace of the metrics been queried.
    Namespace *string `json:"namespace,omitempty"`
    // Baselines - The baseline for each time series that was queried.
    Baselines *[]TimeSeriesBaseline `json:"baselines,omitempty"`
}

type MetricBaselinesResponse

MetricBaselinesResponse a list of metric baselines.

type MetricBaselinesResponse struct {
    autorest.Response `json:"-"`
    // Value - The list of metric baselines.
    Value *[]SingleMetricBaseline `json:"value,omitempty"`
}

type MetricClass

MetricClass enumerates the values for metric class.

type MetricClass string
const (
    // MetricClassAvailability ...
    MetricClassAvailability MetricClass = "Availability"
    // MetricClassErrors ...
    MetricClassErrors MetricClass = "Errors"
    // MetricClassLatency ...
    MetricClassLatency MetricClass = "Latency"
    // MetricClassSaturation ...
    MetricClassSaturation MetricClass = "Saturation"
    // MetricClassTransactions ...
    MetricClassTransactions MetricClass = "Transactions"
)

func PossibleMetricClassValues

func PossibleMetricClassValues() []MetricClass

PossibleMetricClassValues returns an array of possible values for the MetricClass const type.

type MetricCriteria

MetricCriteria criterion to filter metrics.

type MetricCriteria struct {
    // Operator - the criteria operator. Possible values include: 'OperatorEquals', 'OperatorGreaterThan', 'OperatorGreaterThanOrEqual', 'OperatorLessThan', 'OperatorLessThanOrEqual'
    Operator Operator `json:"operator,omitempty"`
    // Threshold - the criteria threshold value that activates the alert.
    Threshold *float64 `json:"threshold,omitempty"`
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // Name - Name of the criteria.
    Name *string `json:"name,omitempty"`
    // MetricName - Name of the metric.
    MetricName *string `json:"metricName,omitempty"`
    // MetricNamespace - Namespace of the metric.
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    // TimeAggregation - the criteria time aggregation types. Possible values include: 'AggregationTypeEnumAverage', 'AggregationTypeEnumCount', 'AggregationTypeEnumMinimum', 'AggregationTypeEnumMaximum', 'AggregationTypeEnumTotal'
    TimeAggregation AggregationTypeEnum `json:"timeAggregation,omitempty"`
    // Dimensions - List of dimension conditions.
    Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
    // SkipMetricValidation - Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
    SkipMetricValidation *bool `json:"skipMetricValidation,omitempty"`
    // CriterionType - Possible values include: 'CriterionTypeMultiMetricCriteria', 'CriterionTypeStaticThresholdCriterion', 'CriterionTypeDynamicThresholdCriterion'
    CriterionType CriterionType `json:"criterionType,omitempty"`
}

func (MetricCriteria) AsBasicMultiMetricCriteria

func (mc MetricCriteria) AsBasicMultiMetricCriteria() (BasicMultiMetricCriteria, bool)

AsBasicMultiMetricCriteria is the BasicMultiMetricCriteria implementation for MetricCriteria.

func (MetricCriteria) AsDynamicMetricCriteria

func (mc MetricCriteria) AsDynamicMetricCriteria() (*DynamicMetricCriteria, bool)

AsDynamicMetricCriteria is the BasicMultiMetricCriteria implementation for MetricCriteria.

func (MetricCriteria) AsMetricCriteria

func (mc MetricCriteria) AsMetricCriteria() (*MetricCriteria, bool)

AsMetricCriteria is the BasicMultiMetricCriteria implementation for MetricCriteria.

func (MetricCriteria) AsMultiMetricCriteria

func (mc MetricCriteria) AsMultiMetricCriteria() (*MultiMetricCriteria, bool)

AsMultiMetricCriteria is the BasicMultiMetricCriteria implementation for MetricCriteria.

func (MetricCriteria) MarshalJSON

func (mc MetricCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricCriteria.

func (*MetricCriteria) UnmarshalJSON

func (mc *MetricCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricCriteria struct.

type MetricDefinition

MetricDefinition metric definition class specifies the metadata for a metric.

type MetricDefinition struct {
    // IsDimensionRequired - Flag to indicate whether the dimension is required.
    IsDimensionRequired *bool `json:"isDimensionRequired,omitempty"`
    // ResourceID - the resource identifier of the resource that emitted the metric.
    ResourceID *string `json:"resourceId,omitempty"`
    // Namespace - the namespace the metric belongs to.
    Namespace *string `json:"namespace,omitempty"`
    // Name - the name and the display name of the metric, i.e. it is a localizable string.
    Name *LocalizableString `json:"name,omitempty"`
    // DisplayDescription - Detailed description of this metric.
    DisplayDescription *string `json:"displayDescription,omitempty"`
    // Category - Custom category name for this metric.
    Category *string `json:"category,omitempty"`
    // MetricClass - The class of the metric. Possible values include: 'MetricClassAvailability', 'MetricClassTransactions', 'MetricClassErrors', 'MetricClassLatency', 'MetricClassSaturation'
    MetricClass MetricClass `json:"metricClass,omitempty"`
    // Unit - The unit of the metric. Possible values include: 'MetricUnitCount', 'MetricUnitBytes', 'MetricUnitSeconds', 'MetricUnitCountPerSecond', 'MetricUnitBytesPerSecond', 'MetricUnitPercent', 'MetricUnitMilliSeconds', 'MetricUnitByteSeconds', 'MetricUnitUnspecified', 'MetricUnitCores', 'MetricUnitMilliCores', 'MetricUnitNanoCores', 'MetricUnitBitsPerSecond'
    Unit MetricUnit `json:"unit,omitempty"`
    // PrimaryAggregationType - the primary aggregation type value defining how to use the values for display. Possible values include: 'AggregationTypeNone', 'AggregationTypeAverage', 'AggregationTypeCount', 'AggregationTypeMinimum', 'AggregationTypeMaximum', 'AggregationTypeTotal'
    PrimaryAggregationType AggregationType `json:"primaryAggregationType,omitempty"`
    // SupportedAggregationTypes - the collection of what aggregation types are supported.
    SupportedAggregationTypes *[]AggregationType `json:"supportedAggregationTypes,omitempty"`
    // MetricAvailabilities - the collection of what aggregation intervals are available to be queried.
    MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"`
    // ID - the resource identifier of the metric definition.
    ID *string `json:"id,omitempty"`
    // Dimensions - the name and the display name of the dimension, i.e. it is a localizable string.
    Dimensions *[]LocalizableString `json:"dimensions,omitempty"`
}

type MetricDefinitionCollection

MetricDefinitionCollection represents collection of metric definitions.

type MetricDefinitionCollection struct {
    autorest.Response `json:"-"`
    // Value - the values for the metric definitions.
    Value *[]MetricDefinition `json:"value,omitempty"`
}

type MetricDefinitionsClient

MetricDefinitionsClient is the monitor Management Client

type MetricDefinitionsClient struct {
    BaseClient
}

func NewMetricDefinitionsClient

func NewMetricDefinitionsClient(subscriptionID string) MetricDefinitionsClient

NewMetricDefinitionsClient creates an instance of the MetricDefinitionsClient client.

func NewMetricDefinitionsClientWithBaseURI

func NewMetricDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) MetricDefinitionsClient

NewMetricDefinitionsClientWithBaseURI creates an instance of the MetricDefinitionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MetricDefinitionsClient) List

func (client MetricDefinitionsClient) List(ctx context.Context, resourceURI string, metricnamespace string) (result MetricDefinitionCollection, err error)

List lists the metric definitions for the resource. Parameters: resourceURI - the identifier of the resource. metricnamespace - metric namespace to query metric definitions for.

func (MetricDefinitionsClient) ListPreparer

func (client MetricDefinitionsClient) ListPreparer(ctx context.Context, resourceURI string, metricnamespace string) (*http.Request, error)

ListPreparer prepares the List request.

func (MetricDefinitionsClient) ListResponder

func (client MetricDefinitionsClient) ListResponder(resp *http.Response) (result MetricDefinitionCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MetricDefinitionsClient) ListSender

func (client MetricDefinitionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MetricDimension

MetricDimension specifies a metric dimension.

type MetricDimension struct {
    // Name - Name of the dimension.
    Name *string `json:"name,omitempty"`
    // Operator - the dimension operator. Only 'Include' and 'Exclude' are supported
    Operator *string `json:"operator,omitempty"`
    // Values - list of dimension values.
    Values *[]string `json:"values,omitempty"`
}

type MetricNamespace

MetricNamespace metric namespace class specifies the metadata for a metric namespace.

type MetricNamespace struct {
    // ID - The ID of the metric namespace.
    ID *string `json:"id,omitempty"`
    // Type - The type of the namespace.
    Type *string `json:"type,omitempty"`
    // Name - The escaped name of the namespace.
    Name *string `json:"name,omitempty"`
    // Classification - Kind of namespace. Possible values include: 'NamespaceClassificationPlatform', 'NamespaceClassificationCustom', 'NamespaceClassificationQos'
    Classification NamespaceClassification `json:"classification,omitempty"`
    // Properties - Properties which include the fully qualified namespace name.
    Properties *MetricNamespaceName `json:"properties,omitempty"`
}

type MetricNamespaceCollection

MetricNamespaceCollection represents collection of metric namespaces.

type MetricNamespaceCollection struct {
    autorest.Response `json:"-"`
    // Value - The values for the metric namespaces.
    Value *[]MetricNamespace `json:"value,omitempty"`
}

type MetricNamespaceName

MetricNamespaceName the fully qualified metric namespace name.

type MetricNamespaceName struct {
    // MetricNamespaceName - The metric namespace name.
    MetricNamespaceName *string `json:"metricNamespaceName,omitempty"`
}

type MetricNamespacesClient

MetricNamespacesClient is the monitor Management Client

type MetricNamespacesClient struct {
    BaseClient
}

func NewMetricNamespacesClient

func NewMetricNamespacesClient(subscriptionID string) MetricNamespacesClient

NewMetricNamespacesClient creates an instance of the MetricNamespacesClient client.

func NewMetricNamespacesClientWithBaseURI

func NewMetricNamespacesClientWithBaseURI(baseURI string, subscriptionID string) MetricNamespacesClient

NewMetricNamespacesClientWithBaseURI creates an instance of the MetricNamespacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MetricNamespacesClient) List

func (client MetricNamespacesClient) List(ctx context.Context, resourceURI string, startTime string) (result MetricNamespaceCollection, err error)

List lists the metric namespaces for the resource. Parameters: resourceURI - the identifier of the resource. startTime - the ISO 8601 conform Date start time from which to query for metric namespaces.

func (MetricNamespacesClient) ListPreparer

func (client MetricNamespacesClient) ListPreparer(ctx context.Context, resourceURI string, startTime string) (*http.Request, error)

ListPreparer prepares the List request.

func (MetricNamespacesClient) ListResponder

func (client MetricNamespacesClient) ListResponder(resp *http.Response) (result MetricNamespaceCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MetricNamespacesClient) ListSender

func (client MetricNamespacesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MetricSettings

MetricSettings part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric.

type MetricSettings struct {
    // TimeGrain - the timegrain of the metric in ISO8601 format.
    TimeGrain *string `json:"timeGrain,omitempty"`
    // Category - Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.
    Category *string `json:"category,omitempty"`
    // Enabled - a value indicating whether this category is enabled.
    Enabled *bool `json:"enabled,omitempty"`
    // RetentionPolicy - the retention policy for this category.
    RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`
}

type MetricSingleDimension

MetricSingleDimension the metric dimension name and value.

type MetricSingleDimension struct {
    // Name - Name of the dimension.
    Name *string `json:"name,omitempty"`
    // Value - Value of the dimension.
    Value *string `json:"value,omitempty"`
}

type MetricStatisticType

MetricStatisticType enumerates the values for metric statistic type.

type MetricStatisticType string
const (
    // MetricStatisticTypeAverage ...
    MetricStatisticTypeAverage MetricStatisticType = "Average"
    // MetricStatisticTypeCount ...
    MetricStatisticTypeCount MetricStatisticType = "Count"
    // MetricStatisticTypeMax ...
    MetricStatisticTypeMax MetricStatisticType = "Max"
    // MetricStatisticTypeMin ...
    MetricStatisticTypeMin MetricStatisticType = "Min"
    // MetricStatisticTypeSum ...
    MetricStatisticTypeSum MetricStatisticType = "Sum"
)

func PossibleMetricStatisticTypeValues

func PossibleMetricStatisticTypeValues() []MetricStatisticType

PossibleMetricStatisticTypeValues returns an array of possible values for the MetricStatisticType const type.

type MetricTrigger

MetricTrigger the trigger that results in a scaling action.

type MetricTrigger struct {
    // MetricName - the name of the metric that defines what the rule monitors.
    MetricName *string `json:"metricName,omitempty"`
    // MetricNamespace - the namespace of the metric that defines what the rule monitors.
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    // MetricResourceURI - the resource identifier of the resource the rule monitors.
    MetricResourceURI *string `json:"metricResourceUri,omitempty"`
    // MetricResourceLocation - the location of the resource the rule monitors.
    MetricResourceLocation *string `json:"metricResourceLocation,omitempty"`
    // TimeGrain - the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute.
    TimeGrain *string `json:"timeGrain,omitempty"`
    // Statistic - the metric statistic type. How the metrics from multiple instances are combined. Possible values include: 'MetricStatisticTypeAverage', 'MetricStatisticTypeMin', 'MetricStatisticTypeMax', 'MetricStatisticTypeSum', 'MetricStatisticTypeCount'
    Statistic MetricStatisticType `json:"statistic,omitempty"`
    // TimeWindow - the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.
    TimeWindow *string `json:"timeWindow,omitempty"`
    // TimeAggregation - time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'TimeAggregationTypeAverage', 'TimeAggregationTypeMinimum', 'TimeAggregationTypeMaximum', 'TimeAggregationTypeTotal', 'TimeAggregationTypeCount', 'TimeAggregationTypeLast'
    TimeAggregation TimeAggregationType `json:"timeAggregation,omitempty"`
    // Operator - the operator that is used to compare the metric data and the threshold. Possible values include: 'ComparisonOperationTypeEquals', 'ComparisonOperationTypeNotEquals', 'ComparisonOperationTypeGreaterThan', 'ComparisonOperationTypeGreaterThanOrEqual', 'ComparisonOperationTypeLessThan', 'ComparisonOperationTypeLessThanOrEqual'
    Operator ComparisonOperationType `json:"operator,omitempty"`
    // Threshold - the threshold of the metric that triggers the scale action.
    Threshold *float64 `json:"threshold,omitempty"`
    // Dimensions - List of dimension conditions. For example: [{"DimensionName":"AppName","Operator":"Equals","Values":["App1"]},{"DimensionName":"Deployment","Operator":"Equals","Values":["default"]}].
    Dimensions *[]ScaleRuleMetricDimension `json:"dimensions,omitempty"`
    // DividePerInstance - a value indicating whether metric should divide per instance.
    DividePerInstance *bool `json:"dividePerInstance,omitempty"`
}

type MetricTriggerType

MetricTriggerType enumerates the values for metric trigger type.

type MetricTriggerType string
const (
    // MetricTriggerTypeConsecutive ...
    MetricTriggerTypeConsecutive MetricTriggerType = "Consecutive"
    // MetricTriggerTypeTotal ...
    MetricTriggerTypeTotal MetricTriggerType = "Total"
)

func PossibleMetricTriggerTypeValues

func PossibleMetricTriggerTypeValues() []MetricTriggerType

PossibleMetricTriggerTypeValues returns an array of possible values for the MetricTriggerType const type.

type MetricUnit

MetricUnit enumerates the values for metric unit.

type MetricUnit string
const (
    // MetricUnitBitsPerSecond ...
    MetricUnitBitsPerSecond MetricUnit = "BitsPerSecond"
    // MetricUnitBytes ...
    MetricUnitBytes MetricUnit = "Bytes"
    // MetricUnitByteSeconds ...
    MetricUnitByteSeconds MetricUnit = "ByteSeconds"
    // MetricUnitBytesPerSecond ...
    MetricUnitBytesPerSecond MetricUnit = "BytesPerSecond"
    // MetricUnitCores ...
    MetricUnitCores MetricUnit = "Cores"
    // MetricUnitCount ...
    MetricUnitCount MetricUnit = "Count"
    // MetricUnitCountPerSecond ...
    MetricUnitCountPerSecond MetricUnit = "CountPerSecond"
    // MetricUnitMilliCores ...
    MetricUnitMilliCores MetricUnit = "MilliCores"
    // MetricUnitMilliSeconds ...
    MetricUnitMilliSeconds MetricUnit = "MilliSeconds"
    // MetricUnitNanoCores ...
    MetricUnitNanoCores MetricUnit = "NanoCores"
    // MetricUnitPercent ...
    MetricUnitPercent MetricUnit = "Percent"
    // MetricUnitSeconds ...
    MetricUnitSeconds MetricUnit = "Seconds"
    // MetricUnitUnspecified ...
    MetricUnitUnspecified MetricUnit = "Unspecified"
)

func PossibleMetricUnitValues

func PossibleMetricUnitValues() []MetricUnit

PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.

type MetricValue

MetricValue represents a metric value.

type MetricValue struct {
    // TimeStamp - the timestamp for the metric value in ISO 8601 format.
    TimeStamp *date.Time `json:"timeStamp,omitempty"`
    // Average - the average value in the time range.
    Average *float64 `json:"average,omitempty"`
    // Minimum - the least value in the time range.
    Minimum *float64 `json:"minimum,omitempty"`
    // Maximum - the greatest value in the time range.
    Maximum *float64 `json:"maximum,omitempty"`
    // Total - the sum of all of the values in the time range.
    Total *float64 `json:"total,omitempty"`
    // Count - the number of samples in the time range. Can be used to determine the number of values that contributed to the average value.
    Count *float64 `json:"count,omitempty"`
}

type MetricsClient

MetricsClient is the monitor Management Client

type MetricsClient struct {
    BaseClient
}

func NewMetricsClient

func NewMetricsClient(subscriptionID string) MetricsClient

NewMetricsClient creates an instance of the MetricsClient client.

func NewMetricsClientWithBaseURI

func NewMetricsClientWithBaseURI(baseURI string, subscriptionID string) MetricsClient

NewMetricsClientWithBaseURI creates an instance of the MetricsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MetricsClient) List

func (client MetricsClient) List(ctx context.Context, resourceURI string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType ResultType, metricnamespace string) (result Response, err error)

List **Lists the metric values for a resource**. Parameters: resourceURI - the identifier of the resource. timespan - the timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. interval - the interval (i.e. timegrain) of the query. metricnames - the names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** aggregation - the list of aggregation types (comma separated) to retrieve. top - the maximum number of records to retrieve. Valid only if $filter is specified. Defaults to 10. orderby - the aggregation to use for sorting results and the direction of the sort. Only one order can be specified. Examples: sum asc. filter - the **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** resultType - reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. metricnamespace - metric namespace to query metric definitions for.

func (MetricsClient) ListPreparer

func (client MetricsClient) ListPreparer(ctx context.Context, resourceURI string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType ResultType, metricnamespace string) (*http.Request, error)

ListPreparer prepares the List request.

func (MetricsClient) ListResponder

func (client MetricsClient) ListResponder(resp *http.Response) (result Response, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MetricsClient) ListSender

func (client MetricsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MultiMetricCriteria

MultiMetricCriteria the types of conditions for a multi resource alert.

type MultiMetricCriteria struct {
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // Name - Name of the criteria.
    Name *string `json:"name,omitempty"`
    // MetricName - Name of the metric.
    MetricName *string `json:"metricName,omitempty"`
    // MetricNamespace - Namespace of the metric.
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    // TimeAggregation - the criteria time aggregation types. Possible values include: 'AggregationTypeEnumAverage', 'AggregationTypeEnumCount', 'AggregationTypeEnumMinimum', 'AggregationTypeEnumMaximum', 'AggregationTypeEnumTotal'
    TimeAggregation AggregationTypeEnum `json:"timeAggregation,omitempty"`
    // Dimensions - List of dimension conditions.
    Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
    // SkipMetricValidation - Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
    SkipMetricValidation *bool `json:"skipMetricValidation,omitempty"`
    // CriterionType - Possible values include: 'CriterionTypeMultiMetricCriteria', 'CriterionTypeStaticThresholdCriterion', 'CriterionTypeDynamicThresholdCriterion'
    CriterionType CriterionType `json:"criterionType,omitempty"`
}

func (MultiMetricCriteria) AsBasicMultiMetricCriteria

func (mmc MultiMetricCriteria) AsBasicMultiMetricCriteria() (BasicMultiMetricCriteria, bool)

AsBasicMultiMetricCriteria is the BasicMultiMetricCriteria implementation for MultiMetricCriteria.

func (MultiMetricCriteria) AsDynamicMetricCriteria

func (mmc MultiMetricCriteria) AsDynamicMetricCriteria() (*DynamicMetricCriteria, bool)

AsDynamicMetricCriteria is the BasicMultiMetricCriteria implementation for MultiMetricCriteria.

func (MultiMetricCriteria) AsMetricCriteria

func (mmc MultiMetricCriteria) AsMetricCriteria() (*MetricCriteria, bool)

AsMetricCriteria is the BasicMultiMetricCriteria implementation for MultiMetricCriteria.

func (MultiMetricCriteria) AsMultiMetricCriteria

func (mmc MultiMetricCriteria) AsMultiMetricCriteria() (*MultiMetricCriteria, bool)

AsMultiMetricCriteria is the BasicMultiMetricCriteria implementation for MultiMetricCriteria.

func (MultiMetricCriteria) MarshalJSON

func (mmc MultiMetricCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MultiMetricCriteria.

func (*MultiMetricCriteria) UnmarshalJSON

func (mmc *MultiMetricCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MultiMetricCriteria struct.

type NamespaceClassification

NamespaceClassification enumerates the values for namespace classification.

type NamespaceClassification string
const (
    // NamespaceClassificationCustom ...
    NamespaceClassificationCustom NamespaceClassification = "Custom"
    // NamespaceClassificationPlatform ...
    NamespaceClassificationPlatform NamespaceClassification = "Platform"
    // NamespaceClassificationQos ...
    NamespaceClassificationQos NamespaceClassification = "Qos"
)

func PossibleNamespaceClassificationValues

func PossibleNamespaceClassificationValues() []NamespaceClassification

PossibleNamespaceClassificationValues returns an array of possible values for the NamespaceClassification const type.

type NetworkRuleSet

NetworkRuleSet definition of the network rules.

type NetworkRuleSet struct {
    // PublicNetworkAccess - The configuration to set whether network access from public internet to the endpoints are allowed. Possible values include: 'KnownPublicNetworkAccessOptionsEnabled', 'KnownPublicNetworkAccessOptionsDisabled'
    PublicNetworkAccess KnownPublicNetworkAccessOptions `json:"publicNetworkAccess,omitempty"`
}

type NotificationRequestBody

NotificationRequestBody the request body which contain contact detail metadata

type NotificationRequestBody struct {
    // AlertType - The name of the supported alert type.
    AlertType *string `json:"alertType,omitempty"`
    // EmailReceivers - The list of email receivers that are part of this action group.
    EmailReceivers *[]EmailReceiver `json:"emailReceivers,omitempty"`
    // SmsReceivers - The list of SMS receivers that are part of this action group.
    SmsReceivers *[]SmsReceiver `json:"smsReceivers,omitempty"`
    // WebhookReceivers - The list of webhook receivers that are part of this action group.
    WebhookReceivers *[]WebhookReceiver `json:"webhookReceivers,omitempty"`
    // ItsmReceivers - The list of ITSM receivers that are part of this action group.
    ItsmReceivers *[]ItsmReceiver `json:"itsmReceivers,omitempty"`
    // AzureAppPushReceivers - The list of AzureAppPush receivers that are part of this action group.
    AzureAppPushReceivers *[]AzureAppPushReceiver `json:"azureAppPushReceivers,omitempty"`
    // AutomationRunbookReceivers - The list of AutomationRunbook receivers that are part of this action group.
    AutomationRunbookReceivers *[]AutomationRunbookReceiver `json:"automationRunbookReceivers,omitempty"`
    // VoiceReceivers - The list of voice receivers that are part of this action group.
    VoiceReceivers *[]VoiceReceiver `json:"voiceReceivers,omitempty"`
    // LogicAppReceivers - The list of logic app receivers that are part of this action group.
    LogicAppReceivers *[]LogicAppReceiver `json:"logicAppReceivers,omitempty"`
    // AzureFunctionReceivers - The list of azure function receivers that are part of this action group.
    AzureFunctionReceivers *[]AzureFunctionReceiver `json:"azureFunctionReceivers,omitempty"`
    // ArmRoleReceivers - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
    ArmRoleReceivers *[]ArmRoleReceiver `json:"armRoleReceivers,omitempty"`
    // EventHubReceivers - The list of event hub receivers that are part of this action group.
    EventHubReceivers *[]EventHubReceiver `json:"eventHubReceivers,omitempty"`
}

type OdataType

OdataType enumerates the values for odata type.

type OdataType string
const (
    // OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource ...
    OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"
    // OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource ...
    OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
    // OdataTypeRuleDataSource ...
    OdataTypeRuleDataSource OdataType = "RuleDataSource"
)

func PossibleOdataTypeValues

func PossibleOdataTypeValues() []OdataType

PossibleOdataTypeValues returns an array of possible values for the OdataType const type.

type OdataTypeBasicAction

OdataTypeBasicAction enumerates the values for odata type basic action.

type OdataTypeBasicAction string
const (
    // OdataTypeBasicActionOdataTypeAction ...
    OdataTypeBasicActionOdataTypeAction OdataTypeBasicAction = "Action"
    // OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesAlertingAction ...
    OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesAlertingAction OdataTypeBasicAction = "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction"
    // OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesLogToMetricAction ...
    OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesLogToMetricAction OdataTypeBasicAction = "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction"
)

func PossibleOdataTypeBasicActionValues

func PossibleOdataTypeBasicActionValues() []OdataTypeBasicAction

PossibleOdataTypeBasicActionValues returns an array of possible values for the OdataTypeBasicAction const type.

type OdataTypeBasicMetricAlertCriteria

OdataTypeBasicMetricAlertCriteria enumerates the values for odata type basic metric alert criteria.

type OdataTypeBasicMetricAlertCriteria string
const (
    // OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria ...
    OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria OdataTypeBasicMetricAlertCriteria = "MetricAlertCriteria"
    // OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria ...
    OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria OdataTypeBasicMetricAlertCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria"
    // OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria ...
    OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria OdataTypeBasicMetricAlertCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria"
    // OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria ...
    OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria OdataTypeBasicMetricAlertCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
)

func PossibleOdataTypeBasicMetricAlertCriteriaValues

func PossibleOdataTypeBasicMetricAlertCriteriaValues() []OdataTypeBasicMetricAlertCriteria

PossibleOdataTypeBasicMetricAlertCriteriaValues returns an array of possible values for the OdataTypeBasicMetricAlertCriteria const type.

type OdataTypeBasicRuleAction

OdataTypeBasicRuleAction enumerates the values for odata type basic rule action.

type OdataTypeBasicRuleAction string
const (
    // OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction ...
    OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleEmailAction"
    // OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction ...
    OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"
    // OdataTypeBasicRuleActionOdataTypeRuleAction ...
    OdataTypeBasicRuleActionOdataTypeRuleAction OdataTypeBasicRuleAction = "RuleAction"
)

func PossibleOdataTypeBasicRuleActionValues

func PossibleOdataTypeBasicRuleActionValues() []OdataTypeBasicRuleAction

PossibleOdataTypeBasicRuleActionValues returns an array of possible values for the OdataTypeBasicRuleAction const type.

type OdataTypeBasicRuleCondition

OdataTypeBasicRuleCondition enumerates the values for odata type basic rule condition.

type OdataTypeBasicRuleCondition string
const (
    // OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition ...
    OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"
    // OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition ...
    OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"
    // OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition ...
    OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
    // OdataTypeBasicRuleConditionOdataTypeRuleCondition ...
    OdataTypeBasicRuleConditionOdataTypeRuleCondition OdataTypeBasicRuleCondition = "RuleCondition"
)

func PossibleOdataTypeBasicRuleConditionValues

func PossibleOdataTypeBasicRuleConditionValues() []OdataTypeBasicRuleCondition

PossibleOdataTypeBasicRuleConditionValues returns an array of possible values for the OdataTypeBasicRuleCondition const type.

type OnboardingStatus

OnboardingStatus enumerates the values for onboarding status.

type OnboardingStatus string
const (
    // OnboardingStatusNotOnboarded ...
    OnboardingStatusNotOnboarded OnboardingStatus = "notOnboarded"
    // OnboardingStatusOnboarded ...
    OnboardingStatusOnboarded OnboardingStatus = "onboarded"
    // OnboardingStatusUnknown ...
    OnboardingStatusUnknown OnboardingStatus = "unknown"
)

func PossibleOnboardingStatusValues

func PossibleOnboardingStatusValues() []OnboardingStatus

PossibleOnboardingStatusValues returns an array of possible values for the OnboardingStatus const type.

type Operation

Operation microsoft Insights API operation definition.

type Operation struct {
    // Name - Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - Display metadata associated with the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

type OperationDisplay

OperationDisplay display metadata associated with the operation.

type OperationDisplay struct {
    // Provider - Service provider: Microsoft.Insights
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed: AlertRules, Autoscale, etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation type: Read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
}

type OperationListResult

OperationListResult result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results.

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of operations supported by the Microsoft.Insights provider.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

type OperationStatus

OperationStatus the status of operation.

type OperationStatus struct {
    autorest.Response `json:"-"`
    // ID - The operation Id.
    ID *string `json:"id,omitempty"`
    // Name - The operation name.
    Name *string `json:"name,omitempty"`
    // StartTime - Start time of the job in standard ISO8601 format.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - End time of the job in standard ISO8601 format.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Status - The status of the operation.
    Status *string `json:"status,omitempty"`
    // Error - The error detail of the operation if any.
    Error *ErrorResponseCommon `json:"error,omitempty"`
}

type OperationsClient

OperationsClient is the monitor Management Client

type OperationsClient struct {
    BaseClient
}

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists all of the available operations from Microsoft.Insights provider.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Operator

Operator enumerates the values for operator.

type Operator string
const (
    // OperatorEquals ...
    OperatorEquals Operator = "Equals"
    // OperatorGreaterThan ...
    OperatorGreaterThan Operator = "GreaterThan"
    // OperatorGreaterThanOrEqual ...
    OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual"
    // OperatorLessThan ...
    OperatorLessThan Operator = "LessThan"
    // OperatorLessThanOrEqual ...
    OperatorLessThanOrEqual Operator = "LessThanOrEqual"
)

func PossibleOperatorValues

func PossibleOperatorValues() []Operator

PossibleOperatorValues returns an array of possible values for the Operator const type.

type PerfCounterDataSource

PerfCounterDataSource definition of which performance counters will be collected and how they will be collected by this data collection rule. Collected from both Windows and Linux machines where the counter is present.

type PerfCounterDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownPerfCounterDataSourceStreams `json:"streams,omitempty"`
    // SamplingFrequencyInSeconds - The number of seconds between consecutive counter measurements (samples).
    SamplingFrequencyInSeconds *int32 `json:"samplingFrequencyInSeconds,omitempty"`
    // CounterSpecifiers - A list of specifier names of the performance counters you want to collect.
    // Use a wildcard (*) to collect a counter for all instances.
    // To get a list of performance counters on Windows, run the command 'typeperf'.
    CounterSpecifiers *[]string `json:"counterSpecifiers,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type PrivateEndpointConnection

PrivateEndpointConnection a private endpoint connection

type PrivateEndpointConnection struct {
    autorest.Response `json:"-"`
    // PrivateEndpointConnectionProperties - Resource properties.
    *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

PrivateEndpointConnectionListResult a list of private endpoint connections.

type PrivateEndpointConnectionListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]PrivateEndpointConnection `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (PrivateEndpointConnectionListResult) IsEmpty

func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (PrivateEndpointConnectionListResult) MarshalJSON

func (peclr PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionListResult.

type PrivateEndpointConnectionListResultIterator

PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.

type PrivateEndpointConnectionListResultIterator struct {
    // contains filtered or unexported fields
}

func NewPrivateEndpointConnectionListResultIterator

func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator

Creates a new instance of the PrivateEndpointConnectionListResultIterator type.

func (*PrivateEndpointConnectionListResultIterator) Next

func (iter *PrivateEndpointConnectionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultIterator) NextWithContext

func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateEndpointConnectionListResultIterator) NotDone

func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultIterator) Response

func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultIterator) Value

func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateEndpointConnectionListResultPage

PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.

type PrivateEndpointConnectionListResultPage struct {
    // contains filtered or unexported fields
}

func NewPrivateEndpointConnectionListResultPage

func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage

Creates a new instance of the PrivateEndpointConnectionListResultPage type.

func (*PrivateEndpointConnectionListResultPage) Next

func (page *PrivateEndpointConnectionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultPage) NextWithContext

func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateEndpointConnectionListResultPage) NotDone

func (page PrivateEndpointConnectionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultPage) Response

func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultPage) Values

func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection

Values returns the slice of values for the current page or nil if there are no values.

type PrivateEndpointConnectionProperties

PrivateEndpointConnectionProperties properties of a private endpoint connection.

type PrivateEndpointConnectionProperties struct {
    // PrivateEndpoint - Private endpoint which the connection belongs to.
    PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"`
    // PrivateLinkServiceConnectionState - Connection state of the private endpoint connection.
    PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"`
    // ProvisioningState - READ-ONLY; State of the private endpoint connection.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

func (PrivateEndpointConnectionProperties) MarshalJSON

func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.

type PrivateEndpointConnectionsClient

PrivateEndpointConnectionsClient is the monitor Management Client

type PrivateEndpointConnectionsClient struct {
    BaseClient
}

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) CreateOrUpdate

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate approve or reject a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender

func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)

Delete deletes a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) DeletePreparer

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender

func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

Get gets a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) GetPreparer

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) ListByPrivateLinkScope

func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateEndpointConnectionListResultPage, err error)

ListByPrivateLinkScope gets all private endpoint connections on a private link scope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource.

func (PrivateEndpointConnectionsClient) ListByPrivateLinkScopeComplete

func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateEndpointConnectionListResultIterator, err error)

ListByPrivateLinkScopeComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointConnectionsClient) ListByPrivateLinkScopePreparer

func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)

ListByPrivateLinkScopePreparer prepares the ListByPrivateLinkScope request.

func (PrivateEndpointConnectionsClient) ListByPrivateLinkScopeResponder

func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

ListByPrivateLinkScopeResponder handles the response to the ListByPrivateLinkScope request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByPrivateLinkScopeSender

func (client PrivateEndpointConnectionsClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)

ListByPrivateLinkScopeSender sends the ListByPrivateLinkScope request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointConnectionsCreateOrUpdateFuture

PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PrivateEndpointConnectionsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error)
}

func (*PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointConnectionsDeleteFuture

PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PrivateEndpointConnectionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PrivateEndpointConnectionsClient) (autorest.Response, error)
}

func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointProperty

PrivateEndpointProperty private endpoint which the connection belongs to.

type PrivateEndpointProperty struct {
    // ID - Resource id of the private endpoint.
    ID *string `json:"id,omitempty"`
}

type PrivateLinkResource

PrivateLinkResource a private link resource

type PrivateLinkResource struct {
    autorest.Response `json:"-"`
    // PrivateLinkResourceProperties - Resource properties.
    *PrivateLinkResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult

PrivateLinkResourceListResult a list of private link resources

type PrivateLinkResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]PrivateLinkResource `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (PrivateLinkResourceListResult) IsEmpty

func (plrlr PrivateLinkResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (PrivateLinkResourceListResult) MarshalJSON

func (plrlr PrivateLinkResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceListResult.

type PrivateLinkResourceListResultIterator

PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource values.

type PrivateLinkResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewPrivateLinkResourceListResultIterator

func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator

Creates a new instance of the PrivateLinkResourceListResultIterator type.

func (*PrivateLinkResourceListResultIterator) Next

func (iter *PrivateLinkResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultIterator) NextWithContext

func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateLinkResourceListResultIterator) NotDone

func (iter PrivateLinkResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultIterator) Response

func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultIterator) Value

func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateLinkResourceListResultPage

PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.

type PrivateLinkResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewPrivateLinkResourceListResultPage

func NewPrivateLinkResourceListResultPage(cur PrivateLinkResourceListResult, getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage

Creates a new instance of the PrivateLinkResourceListResultPage type.

func (*PrivateLinkResourceListResultPage) Next

func (page *PrivateLinkResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultPage) NextWithContext

func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateLinkResourceListResultPage) NotDone

func (page PrivateLinkResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultPage) Response

func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultPage) Values

func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource

Values returns the slice of values for the current page or nil if there are no values.

type PrivateLinkResourceProperties

PrivateLinkResourceProperties properties of a private link resource.

type PrivateLinkResourceProperties struct {
    // GroupID - READ-ONLY; The private link resource group id.
    GroupID *string `json:"groupId,omitempty"`
    // RequiredMembers - READ-ONLY; The private link resource required member names.
    RequiredMembers *[]string `json:"requiredMembers,omitempty"`
}

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

PrivateLinkResourcesClient is the monitor Management Client

type PrivateLinkResourcesClient struct {
    BaseClient
}

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, scopeName string, groupName string) (result PrivateLinkResource, err error)

Get gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. groupName - the name of the private link resource.

func (PrivateLinkResourcesClient) GetPreparer

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, groupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) ListByPrivateLinkScope

func (client PrivateLinkResourcesClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkResourceListResultPage, err error)

ListByPrivateLinkScope gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource.

func (PrivateLinkResourcesClient) ListByPrivateLinkScopeComplete

func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkResourceListResultIterator, err error)

ListByPrivateLinkScopeComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkResourcesClient) ListByPrivateLinkScopePreparer

func (client PrivateLinkResourcesClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)

ListByPrivateLinkScopePreparer prepares the ListByPrivateLinkScope request.

func (PrivateLinkResourcesClient) ListByPrivateLinkScopeResponder

func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListByPrivateLinkScopeResponder handles the response to the ListByPrivateLinkScope request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByPrivateLinkScopeSender

func (client PrivateLinkResourcesClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)

ListByPrivateLinkScopeSender sends the ListByPrivateLinkScope request. The method will close the http.Response Body if it receives an error.

type PrivateLinkScopeOperationStatusClient

PrivateLinkScopeOperationStatusClient is the monitor Management Client

type PrivateLinkScopeOperationStatusClient struct {
    BaseClient
}

func NewPrivateLinkScopeOperationStatusClient

func NewPrivateLinkScopeOperationStatusClient(subscriptionID string) PrivateLinkScopeOperationStatusClient

NewPrivateLinkScopeOperationStatusClient creates an instance of the PrivateLinkScopeOperationStatusClient client.

func NewPrivateLinkScopeOperationStatusClientWithBaseURI

func NewPrivateLinkScopeOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkScopeOperationStatusClient

NewPrivateLinkScopeOperationStatusClientWithBaseURI creates an instance of the PrivateLinkScopeOperationStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkScopeOperationStatusClient) Get

func (client PrivateLinkScopeOperationStatusClient) Get(ctx context.Context, asyncOperationID string, resourceGroupName string) (result OperationStatus, err error)

Get get the status of an azure asynchronous operation associated with a private link scope operation. Parameters: asyncOperationID - the operation Id. resourceGroupName - the name of the resource group. The name is case insensitive.

func (PrivateLinkScopeOperationStatusClient) GetPreparer

func (client PrivateLinkScopeOperationStatusClient) GetPreparer(ctx context.Context, asyncOperationID string, resourceGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkScopeOperationStatusClient) GetResponder

func (client PrivateLinkScopeOperationStatusClient) GetResponder(resp *http.Response) (result OperationStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkScopeOperationStatusClient) GetSender

func (client PrivateLinkScopeOperationStatusClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type PrivateLinkScopedResourcesClient

PrivateLinkScopedResourcesClient is the monitor Management Client

type PrivateLinkScopedResourcesClient struct {
    BaseClient
}

func NewPrivateLinkScopedResourcesClient

func NewPrivateLinkScopedResourcesClient(subscriptionID string) PrivateLinkScopedResourcesClient

NewPrivateLinkScopedResourcesClient creates an instance of the PrivateLinkScopedResourcesClient client.

func NewPrivateLinkScopedResourcesClientWithBaseURI

func NewPrivateLinkScopedResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkScopedResourcesClient

NewPrivateLinkScopedResourcesClientWithBaseURI creates an instance of the PrivateLinkScopedResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkScopedResourcesClient) CreateOrUpdate

func (client PrivateLinkScopedResourcesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, name string, parameters ScopedResource) (result PrivateLinkScopedResourcesCreateOrUpdateFuture, err error)

CreateOrUpdate approve or reject a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. name - the name of the scoped resource object.

func (PrivateLinkScopedResourcesClient) CreateOrUpdatePreparer

func (client PrivateLinkScopedResourcesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, name string, parameters ScopedResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateLinkScopedResourcesClient) CreateOrUpdateResponder

func (client PrivateLinkScopedResourcesClient) CreateOrUpdateResponder(resp *http.Response) (result ScopedResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateLinkScopedResourcesClient) CreateOrUpdateSender

func (client PrivateLinkScopedResourcesClient) CreateOrUpdateSender(req *http.Request) (future PrivateLinkScopedResourcesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopedResourcesClient) Delete

func (client PrivateLinkScopedResourcesClient) Delete(ctx context.Context, resourceGroupName string, scopeName string, name string) (result PrivateLinkScopedResourcesDeleteFuture, err error)

Delete deletes a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. name - the name of the scoped resource object.

func (PrivateLinkScopedResourcesClient) DeletePreparer

func (client PrivateLinkScopedResourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string, name string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateLinkScopedResourcesClient) DeleteResponder

func (client PrivateLinkScopedResourcesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateLinkScopedResourcesClient) DeleteSender

func (client PrivateLinkScopedResourcesClient) DeleteSender(req *http.Request) (future PrivateLinkScopedResourcesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopedResourcesClient) Get

func (client PrivateLinkScopedResourcesClient) Get(ctx context.Context, resourceGroupName string, scopeName string, name string) (result ScopedResource, err error)

Get gets a scoped resource in a private link scope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. name - the name of the scoped resource object.

func (PrivateLinkScopedResourcesClient) GetPreparer

func (client PrivateLinkScopedResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkScopedResourcesClient) GetResponder

func (client PrivateLinkScopedResourcesClient) GetResponder(resp *http.Response) (result ScopedResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkScopedResourcesClient) GetSender

func (client PrivateLinkScopedResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopedResourcesClient) ListByPrivateLinkScope

func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result ScopedResourceListResultPage, err error)

ListByPrivateLinkScope gets all private endpoint connections on a private link scope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource.

func (PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeComplete

func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result ScopedResourceListResultIterator, err error)

ListByPrivateLinkScopeComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkScopedResourcesClient) ListByPrivateLinkScopePreparer

func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)

ListByPrivateLinkScopePreparer prepares the ListByPrivateLinkScope request.

func (PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeResponder

func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeResponder(resp *http.Response) (result ScopedResourceListResult, err error)

ListByPrivateLinkScopeResponder handles the response to the ListByPrivateLinkScope request. The method always closes the http.Response Body.

func (PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeSender

func (client PrivateLinkScopedResourcesClient) ListByPrivateLinkScopeSender(req *http.Request) (*http.Response, error)

ListByPrivateLinkScopeSender sends the ListByPrivateLinkScope request. The method will close the http.Response Body if it receives an error.

type PrivateLinkScopedResourcesCreateOrUpdateFuture

PrivateLinkScopedResourcesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PrivateLinkScopedResourcesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PrivateLinkScopedResourcesClient) (ScopedResource, error)
}

func (*PrivateLinkScopedResourcesCreateOrUpdateFuture) UnmarshalJSON

func (future *PrivateLinkScopedResourcesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateLinkScopedResourcesDeleteFuture

PrivateLinkScopedResourcesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PrivateLinkScopedResourcesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PrivateLinkScopedResourcesClient) (autorest.Response, error)
}

func (*PrivateLinkScopedResourcesDeleteFuture) UnmarshalJSON

func (future *PrivateLinkScopedResourcesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateLinkScopesClient

PrivateLinkScopesClient is the monitor Management Client

type PrivateLinkScopesClient struct {
    BaseClient
}

func NewPrivateLinkScopesClient

func NewPrivateLinkScopesClient(subscriptionID string) PrivateLinkScopesClient

NewPrivateLinkScopesClient creates an instance of the PrivateLinkScopesClient client.

func NewPrivateLinkScopesClientWithBaseURI

func NewPrivateLinkScopesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkScopesClient

NewPrivateLinkScopesClientWithBaseURI creates an instance of the PrivateLinkScopesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkScopesClient) CreateOrUpdate

func (client PrivateLinkScopesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, azureMonitorPrivateLinkScopePayload AzureMonitorPrivateLinkScope) (result AzureMonitorPrivateLinkScope, err error)

CreateOrUpdate creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. azureMonitorPrivateLinkScopePayload - properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.

func (PrivateLinkScopesClient) CreateOrUpdatePreparer

func (client PrivateLinkScopesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, scopeName string, azureMonitorPrivateLinkScopePayload AzureMonitorPrivateLinkScope) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateLinkScopesClient) CreateOrUpdateResponder

func (client PrivateLinkScopesClient) CreateOrUpdateResponder(resp *http.Response) (result AzureMonitorPrivateLinkScope, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateLinkScopesClient) CreateOrUpdateSender

func (client PrivateLinkScopesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopesClient) Delete

func (client PrivateLinkScopesClient) Delete(ctx context.Context, resourceGroupName string, scopeName string) (result PrivateLinkScopesDeleteFuture, err error)

Delete deletes a Azure Monitor PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource.

func (PrivateLinkScopesClient) DeletePreparer

func (client PrivateLinkScopesClient) DeletePreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateLinkScopesClient) DeleteResponder

func (client PrivateLinkScopesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateLinkScopesClient) DeleteSender

func (client PrivateLinkScopesClient) DeleteSender(req *http.Request) (future PrivateLinkScopesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopesClient) Get

func (client PrivateLinkScopesClient) Get(ctx context.Context, resourceGroupName string, scopeName string) (result AzureMonitorPrivateLinkScope, err error)

Get returns a Azure Monitor PrivateLinkScope. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource.

func (PrivateLinkScopesClient) GetPreparer

func (client PrivateLinkScopesClient) GetPreparer(ctx context.Context, resourceGroupName string, scopeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkScopesClient) GetResponder

func (client PrivateLinkScopesClient) GetResponder(resp *http.Response) (result AzureMonitorPrivateLinkScope, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkScopesClient) GetSender

func (client PrivateLinkScopesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopesClient) List

func (client PrivateLinkScopesClient) List(ctx context.Context) (result AzureMonitorPrivateLinkScopeListResultPage, err error)

List gets a list of all Azure Monitor PrivateLinkScopes within a subscription.

func (PrivateLinkScopesClient) ListByResourceGroup

func (client PrivateLinkScopesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AzureMonitorPrivateLinkScopeListResultPage, err error)

ListByResourceGroup gets a list of Azure Monitor PrivateLinkScopes within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (PrivateLinkScopesClient) ListByResourceGroupComplete

func (client PrivateLinkScopesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AzureMonitorPrivateLinkScopeListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkScopesClient) ListByResourceGroupPreparer

func (client PrivateLinkScopesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PrivateLinkScopesClient) ListByResourceGroupResponder

func (client PrivateLinkScopesClient) ListByResourceGroupResponder(resp *http.Response) (result AzureMonitorPrivateLinkScopeListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PrivateLinkScopesClient) ListByResourceGroupSender

func (client PrivateLinkScopesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopesClient) ListComplete

func (client PrivateLinkScopesClient) ListComplete(ctx context.Context) (result AzureMonitorPrivateLinkScopeListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkScopesClient) ListPreparer

func (client PrivateLinkScopesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateLinkScopesClient) ListResponder

func (client PrivateLinkScopesClient) ListResponder(resp *http.Response) (result AzureMonitorPrivateLinkScopeListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateLinkScopesClient) ListSender

func (client PrivateLinkScopesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkScopesClient) UpdateTags

func (client PrivateLinkScopesClient) UpdateTags(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags TagsResource) (result AzureMonitorPrivateLinkScope, err error)

UpdateTags updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. scopeName - the name of the Azure Monitor PrivateLinkScope resource. privateLinkScopeTags - updated tag information to set into the PrivateLinkScope instance.

func (PrivateLinkScopesClient) UpdateTagsPreparer

func (client PrivateLinkScopesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags TagsResource) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (PrivateLinkScopesClient) UpdateTagsResponder

func (client PrivateLinkScopesClient) UpdateTagsResponder(resp *http.Response) (result AzureMonitorPrivateLinkScope, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (PrivateLinkScopesClient) UpdateTagsSender

func (client PrivateLinkScopesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type PrivateLinkScopesDeleteFuture

PrivateLinkScopesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PrivateLinkScopesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PrivateLinkScopesClient) (autorest.Response, error)
}

func (*PrivateLinkScopesDeleteFuture) UnmarshalJSON

func (future *PrivateLinkScopesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateLinkScopesResource

PrivateLinkScopesResource an azure resource object

type PrivateLinkScopesResource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (PrivateLinkScopesResource) MarshalJSON

func (plsr PrivateLinkScopesResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkScopesResource.

type PrivateLinkServiceConnectionStateProperty

PrivateLinkServiceConnectionStateProperty state of the private endpoint connection.

type PrivateLinkServiceConnectionStateProperty struct {
    // Status - The private link service connection status.
    Status *string `json:"status,omitempty"`
    // Description - The private link service connection description.
    Description *string `json:"description,omitempty"`
    // ActionsRequired - READ-ONLY; The actions required for private link service connection.
    ActionsRequired *string `json:"actionsRequired,omitempty"`
}

func (PrivateLinkServiceConnectionStateProperty) MarshalJSON

func (plscsp PrivateLinkServiceConnectionStateProperty) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkServiceConnectionStateProperty.

type ProvisioningState

ProvisioningState enumerates the values for provisioning state.

type ProvisioningState string
const (
    // ProvisioningStateCanceled ...
    ProvisioningStateCanceled ProvisioningState = "Canceled"
    // ProvisioningStateDeploying ...
    ProvisioningStateDeploying ProvisioningState = "Deploying"
    // ProvisioningStateFailed ...
    ProvisioningStateFailed ProvisioningState = "Failed"
    // ProvisioningStateSucceeded ...
    ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyOnlyResource

ProxyOnlyResource a proxy only azure resource object

type ProxyOnlyResource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (ProxyOnlyResource) MarshalJSON

func (por ProxyOnlyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyOnlyResource.

type ProxyResource

ProxyResource an azure resource object

type ProxyResource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type QueryType

QueryType enumerates the values for query type.

type QueryType string
const (
    // QueryTypeResultCount ...
    QueryTypeResultCount QueryType = "ResultCount"
)

func PossibleQueryTypeValues

func PossibleQueryTypeValues() []QueryType

PossibleQueryTypeValues returns an array of possible values for the QueryType const type.

type ReceiverStatus

ReceiverStatus enumerates the values for receiver status.

type ReceiverStatus string
const (
    // ReceiverStatusDisabled ...
    ReceiverStatusDisabled ReceiverStatus = "Disabled"
    // ReceiverStatusEnabled ...
    ReceiverStatusEnabled ReceiverStatus = "Enabled"
    // ReceiverStatusNotSpecified ...
    ReceiverStatusNotSpecified ReceiverStatus = "NotSpecified"
)

func PossibleReceiverStatusValues

func PossibleReceiverStatusValues() []ReceiverStatus

PossibleReceiverStatusValues returns an array of possible values for the ReceiverStatus const type.

type Recurrence

Recurrence the repeating times at which this profile begins. This element is not used if the FixedDate element is used.

type Recurrence struct {
    // Frequency - the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly. Possible values include: 'RecurrenceFrequencyNone', 'RecurrenceFrequencySecond', 'RecurrenceFrequencyMinute', 'RecurrenceFrequencyHour', 'RecurrenceFrequencyDay', 'RecurrenceFrequencyWeek', 'RecurrenceFrequencyMonth', 'RecurrenceFrequencyYear'
    Frequency RecurrenceFrequency `json:"frequency,omitempty"`
    // Schedule - the scheduling constraints for when the profile begins.
    Schedule *RecurrentSchedule `json:"schedule,omitempty"`
}

type RecurrenceFrequency

RecurrenceFrequency enumerates the values for recurrence frequency.

type RecurrenceFrequency string
const (
    // RecurrenceFrequencyDay ...
    RecurrenceFrequencyDay RecurrenceFrequency = "Day"
    // RecurrenceFrequencyHour ...
    RecurrenceFrequencyHour RecurrenceFrequency = "Hour"
    // RecurrenceFrequencyMinute ...
    RecurrenceFrequencyMinute RecurrenceFrequency = "Minute"
    // RecurrenceFrequencyMonth ...
    RecurrenceFrequencyMonth RecurrenceFrequency = "Month"
    // RecurrenceFrequencyNone ...
    RecurrenceFrequencyNone RecurrenceFrequency = "None"
    // RecurrenceFrequencySecond ...
    RecurrenceFrequencySecond RecurrenceFrequency = "Second"
    // RecurrenceFrequencyWeek ...
    RecurrenceFrequencyWeek RecurrenceFrequency = "Week"
    // RecurrenceFrequencyYear ...
    RecurrenceFrequencyYear RecurrenceFrequency = "Year"
)

func PossibleRecurrenceFrequencyValues

func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency

PossibleRecurrenceFrequencyValues returns an array of possible values for the RecurrenceFrequency const type.

type RecurrentSchedule

RecurrentSchedule the scheduling constraints for when the profile begins.

type RecurrentSchedule struct {
    // TimeZone - the timezone for the hours of the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
    TimeZone *string `json:"timeZone,omitempty"`
    // Days - the collection of days that the profile takes effect on. Possible values are Sunday through Saturday.
    Days *[]string `json:"days,omitempty"`
    // Hours - A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported).
    Hours *[]int32 `json:"hours,omitempty"`
    // Minutes - A collection of minutes at which the profile takes effect at.
    Minutes *[]int32 `json:"minutes,omitempty"`
}

type Resource

Resource an azure resource object

type Resource struct {
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Kind - READ-ONLY; Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
    Kind *string `json:"kind,omitempty"`
    // Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Etag *string `json:"etag,omitempty"`
}

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceForUpdate

ResourceForUpdate definition of ARM tracked top level resource properties for update operation.

type ResourceForUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (ResourceForUpdate) MarshalJSON

func (rfu ResourceForUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceForUpdate.

type Response

Response the response to a metrics query.

type Response struct {
    autorest.Response `json:"-"`
    // Cost - The integer value representing the relative cost of the query.
    Cost *float64 `json:"cost,omitempty"`
    // Timespan - The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'.  This may be adjusted in the future and returned back from what was originally requested.
    Timespan *string `json:"timespan,omitempty"`
    // Interval - The interval (window size) for which the metric data was returned in.  This may be adjusted in the future and returned back from what was originally requested.  This is not present if a metadata request was made.
    Interval *string `json:"interval,omitempty"`
    // Namespace - The namespace of the metrics being queried
    Namespace *string `json:"namespace,omitempty"`
    // Resourceregion - The region of the resource being queried for metrics.
    Resourceregion *string `json:"resourceregion,omitempty"`
    // Value - the value of the collection.
    Value *[]Metric `json:"value,omitempty"`
}

type ResponseWithError

ResponseWithError an error response from the API.

type ResponseWithError struct {
    // Error - Error information.
    Error *Error `json:"error,omitempty"`
}

type ResultType

ResultType enumerates the values for result type.

type ResultType string
const (
    // ResultTypeData ...
    ResultTypeData ResultType = "Data"
    // ResultTypeMetadata ...
    ResultTypeMetadata ResultType = "Metadata"
)

func PossibleResultTypeValues

func PossibleResultTypeValues() []ResultType

PossibleResultTypeValues returns an array of possible values for the ResultType const type.

type RetentionPolicy

RetentionPolicy specifies the retention policy for the log.

type RetentionPolicy struct {
    // Enabled - a value indicating whether the retention policy is enabled.
    Enabled *bool `json:"enabled,omitempty"`
    // Days - the number of days for the retention in days. A value of 0 will retain the events indefinitely.
    Days *int32 `json:"days,omitempty"`
}

type RuleAction

RuleAction the action that is performed when the alert rule becomes active, and when an alert condition is resolved.

type RuleAction struct {
    // OdataType - Possible values include: 'OdataTypeBasicRuleActionOdataTypeRuleAction', 'OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction', 'OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction'
    OdataType OdataTypeBasicRuleAction `json:"odata.type,omitempty"`
}

func (RuleAction) AsBasicRuleAction

func (ra RuleAction) AsBasicRuleAction() (BasicRuleAction, bool)

AsBasicRuleAction is the BasicRuleAction implementation for RuleAction.

func (RuleAction) AsRuleAction

func (ra RuleAction) AsRuleAction() (*RuleAction, bool)

AsRuleAction is the BasicRuleAction implementation for RuleAction.

func (RuleAction) AsRuleEmailAction

func (ra RuleAction) AsRuleEmailAction() (*RuleEmailAction, bool)

AsRuleEmailAction is the BasicRuleAction implementation for RuleAction.

func (RuleAction) AsRuleWebhookAction

func (ra RuleAction) AsRuleWebhookAction() (*RuleWebhookAction, bool)

AsRuleWebhookAction is the BasicRuleAction implementation for RuleAction.

func (RuleAction) MarshalJSON

func (ra RuleAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleAction.

type RuleCondition

RuleCondition the condition that results in the alert rule being activated.

type RuleCondition struct {
    // DataSource - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
    DataSource BasicRuleDataSource `json:"dataSource,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicRuleConditionOdataTypeRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition'
    OdataType OdataTypeBasicRuleCondition `json:"odata.type,omitempty"`
}

func (RuleCondition) AsBasicRuleCondition

func (rc RuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)

AsBasicRuleCondition is the BasicRuleCondition implementation for RuleCondition.

func (RuleCondition) AsLocationThresholdRuleCondition

func (rc RuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)

AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for RuleCondition.

func (RuleCondition) AsManagementEventRuleCondition

func (rc RuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)

AsManagementEventRuleCondition is the BasicRuleCondition implementation for RuleCondition.

func (RuleCondition) AsRuleCondition

func (rc RuleCondition) AsRuleCondition() (*RuleCondition, bool)

AsRuleCondition is the BasicRuleCondition implementation for RuleCondition.

func (RuleCondition) AsThresholdRuleCondition

func (rc RuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)

AsThresholdRuleCondition is the BasicRuleCondition implementation for RuleCondition.

func (RuleCondition) MarshalJSON

func (rc RuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleCondition.

func (*RuleCondition) UnmarshalJSON

func (rc *RuleCondition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RuleCondition struct.

type RuleDataSource

RuleDataSource the resource from which the rule collects its data.

type RuleDataSource struct {
    // ResourceURI - the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // LegacyResourceID - the legacy resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.
    LegacyResourceID *string `json:"legacyResourceId,omitempty"`
    // ResourceLocation - the location of the resource.
    ResourceLocation *string `json:"resourceLocation,omitempty"`
    // MetricNamespace - the namespace of the metric.
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    // OdataType - Possible values include: 'OdataTypeRuleDataSource', 'OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource', 'OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource'
    OdataType OdataType `json:"odata.type,omitempty"`
}

func (RuleDataSource) AsBasicRuleDataSource

func (rds RuleDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool)

AsBasicRuleDataSource is the BasicRuleDataSource implementation for RuleDataSource.

func (RuleDataSource) AsRuleDataSource

func (rds RuleDataSource) AsRuleDataSource() (*RuleDataSource, bool)

AsRuleDataSource is the BasicRuleDataSource implementation for RuleDataSource.

func (RuleDataSource) AsRuleManagementEventDataSource

func (rds RuleDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool)

AsRuleManagementEventDataSource is the BasicRuleDataSource implementation for RuleDataSource.

func (RuleDataSource) AsRuleMetricDataSource

func (rds RuleDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool)

AsRuleMetricDataSource is the BasicRuleDataSource implementation for RuleDataSource.

func (RuleDataSource) MarshalJSON

func (rds RuleDataSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleDataSource.

type RuleEmailAction

RuleEmailAction specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case.

type RuleEmailAction struct {
    // SendToServiceOwners - Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
    SendToServiceOwners *bool `json:"sendToServiceOwners,omitempty"`
    // CustomEmails - the list of administrator's custom email addresses to notify of the activation of the alert.
    CustomEmails *[]string `json:"customEmails,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicRuleActionOdataTypeRuleAction', 'OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction', 'OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction'
    OdataType OdataTypeBasicRuleAction `json:"odata.type,omitempty"`
}

func (RuleEmailAction) AsBasicRuleAction

func (rea RuleEmailAction) AsBasicRuleAction() (BasicRuleAction, bool)

AsBasicRuleAction is the BasicRuleAction implementation for RuleEmailAction.

func (RuleEmailAction) AsRuleAction

func (rea RuleEmailAction) AsRuleAction() (*RuleAction, bool)

AsRuleAction is the BasicRuleAction implementation for RuleEmailAction.

func (RuleEmailAction) AsRuleEmailAction

func (rea RuleEmailAction) AsRuleEmailAction() (*RuleEmailAction, bool)

AsRuleEmailAction is the BasicRuleAction implementation for RuleEmailAction.

func (RuleEmailAction) AsRuleWebhookAction

func (rea RuleEmailAction) AsRuleWebhookAction() (*RuleWebhookAction, bool)

AsRuleWebhookAction is the BasicRuleAction implementation for RuleEmailAction.

func (RuleEmailAction) MarshalJSON

func (rea RuleEmailAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleEmailAction.

type RuleManagementEventClaimsDataSource

RuleManagementEventClaimsDataSource the claims for a rule management event data source.

type RuleManagementEventClaimsDataSource struct {
    // EmailAddress - the email address.
    EmailAddress *string `json:"emailAddress,omitempty"`
}

type RuleManagementEventDataSource

RuleManagementEventDataSource a rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case.

type RuleManagementEventDataSource struct {
    // EventName - the event name.
    EventName *string `json:"eventName,omitempty"`
    // EventSource - the event source.
    EventSource *string `json:"eventSource,omitempty"`
    // Level - the level.
    Level *string `json:"level,omitempty"`
    // OperationName - The name of the operation that should be checked for. If no name is provided, any operation will match.
    OperationName *string `json:"operationName,omitempty"`
    // ResourceGroupName - the resource group name.
    ResourceGroupName *string `json:"resourceGroupName,omitempty"`
    // ResourceProviderName - the resource provider name.
    ResourceProviderName *string `json:"resourceProviderName,omitempty"`
    // Status - The status of the operation that should be checked for. If no status is provided, any status will match.
    Status *string `json:"status,omitempty"`
    // SubStatus - the substatus.
    SubStatus *string `json:"subStatus,omitempty"`
    // Claims - the claims.
    Claims *RuleManagementEventClaimsDataSource `json:"claims,omitempty"`
    // ResourceURI - the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // LegacyResourceID - the legacy resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.
    LegacyResourceID *string `json:"legacyResourceId,omitempty"`
    // ResourceLocation - the location of the resource.
    ResourceLocation *string `json:"resourceLocation,omitempty"`
    // MetricNamespace - the namespace of the metric.
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    // OdataType - Possible values include: 'OdataTypeRuleDataSource', 'OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource', 'OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource'
    OdataType OdataType `json:"odata.type,omitempty"`
}

func (RuleManagementEventDataSource) AsBasicRuleDataSource

func (rmeds RuleManagementEventDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool)

AsBasicRuleDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource.

func (RuleManagementEventDataSource) AsRuleDataSource

func (rmeds RuleManagementEventDataSource) AsRuleDataSource() (*RuleDataSource, bool)

AsRuleDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource.

func (RuleManagementEventDataSource) AsRuleManagementEventDataSource

func (rmeds RuleManagementEventDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool)

AsRuleManagementEventDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource.

func (RuleManagementEventDataSource) AsRuleMetricDataSource

func (rmeds RuleManagementEventDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool)

AsRuleMetricDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource.

func (RuleManagementEventDataSource) MarshalJSON

func (rmeds RuleManagementEventDataSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleManagementEventDataSource.

type RuleMetricDataSource

RuleMetricDataSource a rule metric data source. The discriminator value is always RuleMetricDataSource in this case.

type RuleMetricDataSource struct {
    // MetricName - the name of the metric that defines what the rule monitors.
    MetricName *string `json:"metricName,omitempty"`
    // ResourceURI - the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // LegacyResourceID - the legacy resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.
    LegacyResourceID *string `json:"legacyResourceId,omitempty"`
    // ResourceLocation - the location of the resource.
    ResourceLocation *string `json:"resourceLocation,omitempty"`
    // MetricNamespace - the namespace of the metric.
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    // OdataType - Possible values include: 'OdataTypeRuleDataSource', 'OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource', 'OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource'
    OdataType OdataType `json:"odata.type,omitempty"`
}

func (RuleMetricDataSource) AsBasicRuleDataSource

func (rmds RuleMetricDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool)

AsBasicRuleDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource.

func (RuleMetricDataSource) AsRuleDataSource

func (rmds RuleMetricDataSource) AsRuleDataSource() (*RuleDataSource, bool)

AsRuleDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource.

func (RuleMetricDataSource) AsRuleManagementEventDataSource

func (rmds RuleMetricDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool)

AsRuleManagementEventDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource.

func (RuleMetricDataSource) AsRuleMetricDataSource

func (rmds RuleMetricDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool)

AsRuleMetricDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource.

func (RuleMetricDataSource) MarshalJSON

func (rmds RuleMetricDataSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleMetricDataSource.

type RuleWebhookAction

RuleWebhookAction specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.

type RuleWebhookAction struct {
    // ServiceURI - the service uri to Post the notification when the alert activates or resolves.
    ServiceURI *string `json:"serviceUri,omitempty"`
    // Properties - the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
    Properties map[string]*string `json:"properties"`
    // OdataType - Possible values include: 'OdataTypeBasicRuleActionOdataTypeRuleAction', 'OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction', 'OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction'
    OdataType OdataTypeBasicRuleAction `json:"odata.type,omitempty"`
}

func (RuleWebhookAction) AsBasicRuleAction

func (rwa RuleWebhookAction) AsBasicRuleAction() (BasicRuleAction, bool)

AsBasicRuleAction is the BasicRuleAction implementation for RuleWebhookAction.

func (RuleWebhookAction) AsRuleAction

func (rwa RuleWebhookAction) AsRuleAction() (*RuleAction, bool)

AsRuleAction is the BasicRuleAction implementation for RuleWebhookAction.

func (RuleWebhookAction) AsRuleEmailAction

func (rwa RuleWebhookAction) AsRuleEmailAction() (*RuleEmailAction, bool)

AsRuleEmailAction is the BasicRuleAction implementation for RuleWebhookAction.

func (RuleWebhookAction) AsRuleWebhookAction

func (rwa RuleWebhookAction) AsRuleWebhookAction() (*RuleWebhookAction, bool)

AsRuleWebhookAction is the BasicRuleAction implementation for RuleWebhookAction.

func (RuleWebhookAction) MarshalJSON

func (rwa RuleWebhookAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleWebhookAction.

type ScaleAction

ScaleAction the parameters for the scaling action.

type ScaleAction struct {
    // Direction - the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'ScaleDirectionNone', 'ScaleDirectionIncrease', 'ScaleDirectionDecrease'
    Direction ScaleDirection `json:"direction,omitempty"`
    // Type - the type of action that should occur when the scale rule fires. Possible values include: 'ScaleTypeChangeCount', 'ScaleTypePercentChangeCount', 'ScaleTypeExactCount', 'ScaleTypeServiceAllowedNextValue'
    Type ScaleType `json:"type,omitempty"`
    // Value - the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.
    Value *string `json:"value,omitempty"`
    // Cooldown - the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format.
    Cooldown *string `json:"cooldown,omitempty"`
}

type ScaleCapacity

ScaleCapacity the number of instances that can be used during this profile.

type ScaleCapacity struct {
    // Minimum - the minimum number of instances for the resource.
    Minimum *string `json:"minimum,omitempty"`
    // Maximum - the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.
    Maximum *string `json:"maximum,omitempty"`
    // Default - the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.
    Default *string `json:"default,omitempty"`
}

type ScaleDirection

ScaleDirection enumerates the values for scale direction.

type ScaleDirection string
const (
    // ScaleDirectionDecrease ...
    ScaleDirectionDecrease ScaleDirection = "Decrease"
    // ScaleDirectionIncrease ...
    ScaleDirectionIncrease ScaleDirection = "Increase"
    // ScaleDirectionNone ...
    ScaleDirectionNone ScaleDirection = "None"
)

func PossibleScaleDirectionValues

func PossibleScaleDirectionValues() []ScaleDirection

PossibleScaleDirectionValues returns an array of possible values for the ScaleDirection const type.

type ScaleRule

ScaleRule a rule that provide the triggers and parameters for the scaling action.

type ScaleRule struct {
    // MetricTrigger - the trigger that results in a scaling action.
    MetricTrigger *MetricTrigger `json:"metricTrigger,omitempty"`
    // ScaleAction - the parameters for the scaling action.
    ScaleAction *ScaleAction `json:"scaleAction,omitempty"`
}

type ScaleRuleMetricDimension

ScaleRuleMetricDimension specifies an auto scale rule metric dimension.

type ScaleRuleMetricDimension struct {
    // DimensionName - Name of the dimension.
    DimensionName *string `json:"DimensionName,omitempty"`
    // Operator - the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the values. 'NotEquals' being not equal to all of the values. Possible values include: 'ScaleRuleMetricDimensionOperationTypeEquals', 'ScaleRuleMetricDimensionOperationTypeNotEquals'
    Operator ScaleRuleMetricDimensionOperationType `json:"Operator,omitempty"`
    // Values - list of dimension values. For example: ["App1","App2"].
    Values *[]string `json:"Values,omitempty"`
}

type ScaleRuleMetricDimensionOperationType

ScaleRuleMetricDimensionOperationType enumerates the values for scale rule metric dimension operation type.

type ScaleRuleMetricDimensionOperationType string
const (
    // ScaleRuleMetricDimensionOperationTypeEquals ...
    ScaleRuleMetricDimensionOperationTypeEquals ScaleRuleMetricDimensionOperationType = "Equals"
    // ScaleRuleMetricDimensionOperationTypeNotEquals ...
    ScaleRuleMetricDimensionOperationTypeNotEquals ScaleRuleMetricDimensionOperationType = "NotEquals"
)

func PossibleScaleRuleMetricDimensionOperationTypeValues

func PossibleScaleRuleMetricDimensionOperationTypeValues() []ScaleRuleMetricDimensionOperationType

PossibleScaleRuleMetricDimensionOperationTypeValues returns an array of possible values for the ScaleRuleMetricDimensionOperationType const type.

type ScaleType

ScaleType enumerates the values for scale type.

type ScaleType string
const (
    // ScaleTypeChangeCount ...
    ScaleTypeChangeCount ScaleType = "ChangeCount"
    // ScaleTypeExactCount ...
    ScaleTypeExactCount ScaleType = "ExactCount"
    // ScaleTypePercentChangeCount ...
    ScaleTypePercentChangeCount ScaleType = "PercentChangeCount"
    // ScaleTypeServiceAllowedNextValue ...
    ScaleTypeServiceAllowedNextValue ScaleType = "ServiceAllowedNextValue"
)

func PossibleScaleTypeValues

func PossibleScaleTypeValues() []ScaleType

PossibleScaleTypeValues returns an array of possible values for the ScaleType const type.

type Schedule

Schedule defines how often to run the search and the time interval.

type Schedule struct {
    // FrequencyInMinutes - frequency (in minutes) at which rule condition should be evaluated.
    FrequencyInMinutes *int32 `json:"frequencyInMinutes,omitempty"`
    // TimeWindowInMinutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
    TimeWindowInMinutes *int32 `json:"timeWindowInMinutes,omitempty"`
}

type ScheduledQueryRulesClient

ScheduledQueryRulesClient is the monitor Management Client

type ScheduledQueryRulesClient struct {
    BaseClient
}

func NewScheduledQueryRulesClient

func NewScheduledQueryRulesClient(subscriptionID string) ScheduledQueryRulesClient

NewScheduledQueryRulesClient creates an instance of the ScheduledQueryRulesClient client.

func NewScheduledQueryRulesClientWithBaseURI

func NewScheduledQueryRulesClientWithBaseURI(baseURI string, subscriptionID string) ScheduledQueryRulesClient

NewScheduledQueryRulesClientWithBaseURI creates an instance of the ScheduledQueryRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ScheduledQueryRulesClient) CreateOrUpdate

func (client ScheduledQueryRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResource) (result LogSearchRuleResource, err error)

CreateOrUpdate creates or updates an log search rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. parameters - the parameters of the rule to create or update.

func (ScheduledQueryRulesClient) CreateOrUpdatePreparer

func (client ScheduledQueryRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ScheduledQueryRulesClient) CreateOrUpdateResponder

func (client ScheduledQueryRulesClient) CreateOrUpdateResponder(resp *http.Response) (result LogSearchRuleResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ScheduledQueryRulesClient) CreateOrUpdateSender

func (client ScheduledQueryRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ScheduledQueryRulesClient) Delete

func (client ScheduledQueryRulesClient) Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)

Delete deletes a Log Search rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (ScheduledQueryRulesClient) DeletePreparer

func (client ScheduledQueryRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ScheduledQueryRulesClient) DeleteResponder

func (client ScheduledQueryRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ScheduledQueryRulesClient) DeleteSender

func (client ScheduledQueryRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ScheduledQueryRulesClient) Get

func (client ScheduledQueryRulesClient) Get(ctx context.Context, resourceGroupName string, ruleName string) (result LogSearchRuleResource, err error)

Get gets an Log Search rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule.

func (ScheduledQueryRulesClient) GetPreparer

func (client ScheduledQueryRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScheduledQueryRulesClient) GetResponder

func (client ScheduledQueryRulesClient) GetResponder(resp *http.Response) (result LogSearchRuleResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ScheduledQueryRulesClient) GetSender

func (client ScheduledQueryRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ScheduledQueryRulesClient) ListByResourceGroup

func (client ScheduledQueryRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result LogSearchRuleResourceCollection, err error)

ListByResourceGroup list the Log Search rules within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. filter - the filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx

func (ScheduledQueryRulesClient) ListByResourceGroupPreparer

func (client ScheduledQueryRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ScheduledQueryRulesClient) ListByResourceGroupResponder

func (client ScheduledQueryRulesClient) ListByResourceGroupResponder(resp *http.Response) (result LogSearchRuleResourceCollection, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ScheduledQueryRulesClient) ListByResourceGroupSender

func (client ScheduledQueryRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ScheduledQueryRulesClient) ListBySubscription

func (client ScheduledQueryRulesClient) ListBySubscription(ctx context.Context, filter string) (result LogSearchRuleResourceCollection, err error)

ListBySubscription list the Log Search rules within a subscription group. Parameters: filter - the filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx

func (ScheduledQueryRulesClient) ListBySubscriptionPreparer

func (client ScheduledQueryRulesClient) ListBySubscriptionPreparer(ctx context.Context, filter string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ScheduledQueryRulesClient) ListBySubscriptionResponder

func (client ScheduledQueryRulesClient) ListBySubscriptionResponder(resp *http.Response) (result LogSearchRuleResourceCollection, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ScheduledQueryRulesClient) ListBySubscriptionSender

func (client ScheduledQueryRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ScheduledQueryRulesClient) Update

func (client ScheduledQueryRulesClient) Update(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResourcePatch) (result LogSearchRuleResource, err error)

Update update log search Rule. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. ruleName - the name of the rule. parameters - the parameters of the rule to update.

func (ScheduledQueryRulesClient) UpdatePreparer

func (client ScheduledQueryRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters LogSearchRuleResourcePatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ScheduledQueryRulesClient) UpdateResponder

func (client ScheduledQueryRulesClient) UpdateResponder(resp *http.Response) (result LogSearchRuleResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ScheduledQueryRulesClient) UpdateSender

func (client ScheduledQueryRulesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ScopedResource

ScopedResource a private link scoped resource

type ScopedResource struct {
    autorest.Response `json:"-"`
    // ScopedResourceProperties - Resource properties.
    *ScopedResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (ScopedResource) MarshalJSON

func (sr ScopedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScopedResource.

func (*ScopedResource) UnmarshalJSON

func (sr *ScopedResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScopedResource struct.

type ScopedResourceListResult

ScopedResourceListResult a list of scoped resources in a private link scope.

type ScopedResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]ScopedResource `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ScopedResourceListResult) IsEmpty

func (srlr ScopedResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ScopedResourceListResult) MarshalJSON

func (srlr ScopedResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScopedResourceListResult.

type ScopedResourceListResultIterator

ScopedResourceListResultIterator provides access to a complete listing of ScopedResource values.

type ScopedResourceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewScopedResourceListResultIterator

func NewScopedResourceListResultIterator(page ScopedResourceListResultPage) ScopedResourceListResultIterator

Creates a new instance of the ScopedResourceListResultIterator type.

func (*ScopedResourceListResultIterator) Next

func (iter *ScopedResourceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ScopedResourceListResultIterator) NextWithContext

func (iter *ScopedResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ScopedResourceListResultIterator) NotDone

func (iter ScopedResourceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ScopedResourceListResultIterator) Response

func (iter ScopedResourceListResultIterator) Response() ScopedResourceListResult

Response returns the raw server response from the last page request.

func (ScopedResourceListResultIterator) Value

func (iter ScopedResourceListResultIterator) Value() ScopedResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ScopedResourceListResultPage

ScopedResourceListResultPage contains a page of ScopedResource values.

type ScopedResourceListResultPage struct {
    // contains filtered or unexported fields
}

func NewScopedResourceListResultPage

func NewScopedResourceListResultPage(cur ScopedResourceListResult, getNextPage func(context.Context, ScopedResourceListResult) (ScopedResourceListResult, error)) ScopedResourceListResultPage

Creates a new instance of the ScopedResourceListResultPage type.

func (*ScopedResourceListResultPage) Next

func (page *ScopedResourceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ScopedResourceListResultPage) NextWithContext

func (page *ScopedResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ScopedResourceListResultPage) NotDone

func (page ScopedResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ScopedResourceListResultPage) Response

func (page ScopedResourceListResultPage) Response() ScopedResourceListResult

Response returns the raw server response from the last page request.

func (ScopedResourceListResultPage) Values

func (page ScopedResourceListResultPage) Values() []ScopedResource

Values returns the slice of values for the current page or nil if there are no values.

type ScopedResourceProperties

ScopedResourceProperties properties of a private link scoped resource.

type ScopedResourceProperties struct {
    // LinkedResourceID - The resource id of the scoped Azure monitor resource.
    LinkedResourceID *string `json:"linkedResourceId,omitempty"`
    // ProvisioningState - READ-ONLY; State of the private endpoint connection.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

func (ScopedResourceProperties) MarshalJSON

func (srp ScopedResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScopedResourceProperties.

type SenderAuthorization

SenderAuthorization the authorization used by the user who has performed the operation that led to this event. This captures the RBAC properties of the event. These usually include the 'action', 'role' and the 'scope'

type SenderAuthorization struct {
    // Action - the permissible actions. For instance: microsoft.support/supporttickets/write
    Action *string `json:"action,omitempty"`
    // Role - the role of the user. For instance: Subscription Admin
    Role *string `json:"role,omitempty"`
    // Scope - the scope.
    Scope *string `json:"scope,omitempty"`
}

type SingleBaseline

SingleBaseline the baseline values for a single sensitivity value.

type SingleBaseline struct {
    // Sensitivity - the sensitivity of the baseline. Possible values include: 'BaselineSensitivityLow', 'BaselineSensitivityMedium', 'BaselineSensitivityHigh'
    Sensitivity BaselineSensitivity `json:"sensitivity,omitempty"`
    // LowThresholds - The low thresholds of the baseline.
    LowThresholds *[]float64 `json:"lowThresholds,omitempty"`
    // HighThresholds - The high thresholds of the baseline.
    HighThresholds *[]float64 `json:"highThresholds,omitempty"`
}

type SingleMetricBaseline

SingleMetricBaseline the baseline results of a single metric.

type SingleMetricBaseline struct {
    // ID - The metric baseline Id.
    ID *string `json:"id,omitempty"`
    // Type - The resource type of the metric baseline resource.
    Type *string `json:"type,omitempty"`
    // Name - The name of the metric for which the baselines were retrieved.
    Name *string `json:"name,omitempty"`
    // MetricBaselinesProperties - The metric baseline properties of the metric.
    *MetricBaselinesProperties `json:"properties,omitempty"`
}

func (SingleMetricBaseline) MarshalJSON

func (smb SingleMetricBaseline) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SingleMetricBaseline.

func (*SingleMetricBaseline) UnmarshalJSON

func (smb *SingleMetricBaseline) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SingleMetricBaseline struct.

type SmsReceiver

SmsReceiver an SMS receiver.

type SmsReceiver struct {
    // Name - The name of the SMS receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // CountryCode - The country code of the SMS receiver.
    CountryCode *string `json:"countryCode,omitempty"`
    // PhoneNumber - The phone number of the SMS receiver.
    PhoneNumber *string `json:"phoneNumber,omitempty"`
    // Status - READ-ONLY; The status of the receiver. Possible values include: 'ReceiverStatusNotSpecified', 'ReceiverStatusEnabled', 'ReceiverStatusDisabled'
    Status ReceiverStatus `json:"status,omitempty"`
}

func (SmsReceiver) MarshalJSON

func (sr SmsReceiver) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SmsReceiver.

type Source

Source specifies the log search query.

type Source struct {
    // Query - Log search query. Required for action type - AlertingAction
    Query *string `json:"query,omitempty"`
    // AuthorizedResources - List of  Resource referred into query
    AuthorizedResources *[]string `json:"authorizedResources,omitempty"`
    // DataSourceID - The resource uri over which log search query is to be run.
    DataSourceID *string `json:"dataSourceId,omitempty"`
    // QueryType - Set value to 'ResultCount'. Possible values include: 'QueryTypeResultCount'
    QueryType QueryType `json:"queryType,omitempty"`
}

type SyslogDataSource

SyslogDataSource definition of which syslog data will be collected and how it will be collected. Only collected from Linux machines.

type SyslogDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownSyslogDataSourceStreams `json:"streams,omitempty"`
    // FacilityNames - The list of facility names.
    FacilityNames *[]KnownSyslogDataSourceFacilityNames `json:"facilityNames,omitempty"`
    // LogLevels - The log levels to collect.
    LogLevels *[]KnownSyslogDataSourceLogLevels `json:"logLevels,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type SystemData

SystemData metadata pertaining to creation and last modification of the resource.

type SystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type TagsResource

TagsResource a container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance.

type TagsResource struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (TagsResource) MarshalJSON

func (tr TagsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsResource.

type TenantActivityLogsClient

TenantActivityLogsClient is the monitor Management Client

type TenantActivityLogsClient struct {
    BaseClient
}

func NewTenantActivityLogsClient

func NewTenantActivityLogsClient(subscriptionID string) TenantActivityLogsClient

NewTenantActivityLogsClient creates an instance of the TenantActivityLogsClient client.

func NewTenantActivityLogsClientWithBaseURI

func NewTenantActivityLogsClientWithBaseURI(baseURI string, subscriptionID string) TenantActivityLogsClient

NewTenantActivityLogsClientWithBaseURI creates an instance of the TenantActivityLogsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TenantActivityLogsClient) List

func (client TenantActivityLogsClient) List(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionPage, err error)

List gets the Activity Logs for the Tenant.<br>Everything that is applicable to the API to get the Activity Logs for the subscription is applicable to this API (the parameters, $filter, etc.).<br>One thing to point out here is that this API does *not* retrieve the logs at the individual subscription of the tenant but only surfaces the logs that were generated at the tenant level. Parameters: filter - reduces the set of data collected. <br>The **$filter** is very restricted and allows only the following patterns.<br>- List events for a resource group: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceGroupName eq '<ResourceGroupName>'.<br>- List events for resource: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceUri eq '<ResourceURI>'.<br>- List events for a subscription: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation'.<br>- List events for a resource provider: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceProvider eq '<ResourceProviderName>'.<br>- List events for a correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and correlationId eq '<CorrelationID>'.<br>**NOTE**: No other syntax is allowed. selectParameter - used to fetch events with only the given properties.<br>The **$select** argument is a comma separated list of property names to be returned. Possible values are: *authorization*, *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, *subscriptionId*

func (TenantActivityLogsClient) ListComplete

func (client TenantActivityLogsClient) ListComplete(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (TenantActivityLogsClient) ListPreparer

func (client TenantActivityLogsClient) ListPreparer(ctx context.Context, filter string, selectParameter string) (*http.Request, error)

ListPreparer prepares the List request.

func (TenantActivityLogsClient) ListResponder

func (client TenantActivityLogsClient) ListResponder(resp *http.Response) (result EventDataCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (TenantActivityLogsClient) ListSender

func (client TenantActivityLogsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type TestNotificationDetailsResponse

TestNotificationDetailsResponse the details of the test notification results.

type TestNotificationDetailsResponse struct {
    autorest.Response `json:"-"`
    Context           *Context `json:"Context,omitempty"`
    // State - The overall state
    State *string `json:"State,omitempty"`
    // CompletedTime - The completed time
    CompletedTime *string `json:"CompletedTime,omitempty"`
    // CreatedTime - The created time
    CreatedTime *string `json:"CreatedTime,omitempty"`
    // ActionDetails - The list of action detail
    ActionDetails *[]ActionDetail `json:"ActionDetails,omitempty"`
}

type TestNotificationResponse

TestNotificationResponse the response when test notification succeeded

type TestNotificationResponse struct {
    autorest.Response `json:"-"`
    // NotificationID - The notification id
    NotificationID *string `json:"notificationId,omitempty"`
    // CorrelationID - The correlation id
    CorrelationID *string `json:"correlationId,omitempty"`
    // CreatedTime - The created time
    CreatedTime *string `json:"createdTime,omitempty"`
}

type ThresholdRuleCondition

ThresholdRuleCondition a rule condition based on a metric crossing a threshold.

type ThresholdRuleCondition struct {
    // Operator - the operator used to compare the data and the threshold. Possible values include: 'ConditionOperatorGreaterThan', 'ConditionOperatorGreaterThanOrEqual', 'ConditionOperatorLessThan', 'ConditionOperatorLessThanOrEqual'
    Operator ConditionOperator `json:"operator,omitempty"`
    // Threshold - the threshold value that activates the alert.
    Threshold *float64 `json:"threshold,omitempty"`
    // WindowSize - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
    WindowSize *string `json:"windowSize,omitempty"`
    // TimeAggregation - the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. Possible values include: 'TimeAggregationOperatorAverage', 'TimeAggregationOperatorMinimum', 'TimeAggregationOperatorMaximum', 'TimeAggregationOperatorTotal', 'TimeAggregationOperatorLast'
    TimeAggregation TimeAggregationOperator `json:"timeAggregation,omitempty"`
    // DataSource - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
    DataSource BasicRuleDataSource `json:"dataSource,omitempty"`
    // OdataType - Possible values include: 'OdataTypeBasicRuleConditionOdataTypeRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition', 'OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition'
    OdataType OdataTypeBasicRuleCondition `json:"odata.type,omitempty"`
}

func (ThresholdRuleCondition) AsBasicRuleCondition

func (trc ThresholdRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool)

AsBasicRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition.

func (ThresholdRuleCondition) AsLocationThresholdRuleCondition

func (trc ThresholdRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool)

AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition.

func (ThresholdRuleCondition) AsManagementEventRuleCondition

func (trc ThresholdRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool)

AsManagementEventRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition.

func (ThresholdRuleCondition) AsRuleCondition

func (trc ThresholdRuleCondition) AsRuleCondition() (*RuleCondition, bool)

AsRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition.

func (ThresholdRuleCondition) AsThresholdRuleCondition

func (trc ThresholdRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool)

AsThresholdRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition.

func (ThresholdRuleCondition) MarshalJSON

func (trc ThresholdRuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ThresholdRuleCondition.

func (*ThresholdRuleCondition) UnmarshalJSON

func (trc *ThresholdRuleCondition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ThresholdRuleCondition struct.

type TimeAggregationOperator

TimeAggregationOperator enumerates the values for time aggregation operator.

type TimeAggregationOperator string
const (
    // TimeAggregationOperatorAverage ...
    TimeAggregationOperatorAverage TimeAggregationOperator = "Average"
    // TimeAggregationOperatorLast ...
    TimeAggregationOperatorLast TimeAggregationOperator = "Last"
    // TimeAggregationOperatorMaximum ...
    TimeAggregationOperatorMaximum TimeAggregationOperator = "Maximum"
    // TimeAggregationOperatorMinimum ...
    TimeAggregationOperatorMinimum TimeAggregationOperator = "Minimum"
    // TimeAggregationOperatorTotal ...
    TimeAggregationOperatorTotal TimeAggregationOperator = "Total"
)

func PossibleTimeAggregationOperatorValues

func PossibleTimeAggregationOperatorValues() []TimeAggregationOperator

PossibleTimeAggregationOperatorValues returns an array of possible values for the TimeAggregationOperator const type.

type TimeAggregationType

TimeAggregationType enumerates the values for time aggregation type.

type TimeAggregationType string
const (
    // TimeAggregationTypeAverage ...
    TimeAggregationTypeAverage TimeAggregationType = "Average"
    // TimeAggregationTypeCount ...
    TimeAggregationTypeCount TimeAggregationType = "Count"
    // TimeAggregationTypeLast ...
    TimeAggregationTypeLast TimeAggregationType = "Last"
    // TimeAggregationTypeMaximum ...
    TimeAggregationTypeMaximum TimeAggregationType = "Maximum"
    // TimeAggregationTypeMinimum ...
    TimeAggregationTypeMinimum TimeAggregationType = "Minimum"
    // TimeAggregationTypeTotal ...
    TimeAggregationTypeTotal TimeAggregationType = "Total"
)

func PossibleTimeAggregationTypeValues

func PossibleTimeAggregationTypeValues() []TimeAggregationType

PossibleTimeAggregationTypeValues returns an array of possible values for the TimeAggregationType const type.

type TimeSeriesBaseline

TimeSeriesBaseline the baseline values for a single time series.

type TimeSeriesBaseline struct {
    // Aggregation - The aggregation type of the metric.
    Aggregation *string `json:"aggregation,omitempty"`
    // Dimensions - The dimensions of this time series.
    Dimensions *[]MetricSingleDimension `json:"dimensions,omitempty"`
    // Timestamps - The list of timestamps of the baselines.
    Timestamps *[]date.Time `json:"timestamps,omitempty"`
    // Data - The baseline values for each sensitivity.
    Data *[]SingleBaseline `json:"data,omitempty"`
    // MetadataValues - The baseline metadata values.
    MetadataValues *[]BaselineMetadata `json:"metadataValues,omitempty"`
}

type TimeSeriesElement

TimeSeriesElement a time series result type. The discriminator value is always TimeSeries in this case.

type TimeSeriesElement struct {
    // Metadatavalues - the metadata values returned if $filter was specified in the call.
    Metadatavalues *[]MetadataValue `json:"metadatavalues,omitempty"`
    // Data - An array of data points representing the metric values.  This is only returned if a result type of data is specified.
    Data *[]MetricValue `json:"data,omitempty"`
}

type TimeWindow

TimeWindow a specific date-time for the profile.

type TimeWindow struct {
    // TimeZone - the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time
    TimeZone *string `json:"timeZone,omitempty"`
    // Start - the start time for the profile in ISO 8601 format.
    Start *date.Time `json:"start,omitempty"`
    // End - the end time for the profile in ISO 8601 format.
    End *date.Time `json:"end,omitempty"`
}

type TriggerCondition

TriggerCondition the condition that results in the Log Search rule.

type TriggerCondition struct {
    // ThresholdOperator - Evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: 'ConditionalOperatorGreaterThanOrEqual', 'ConditionalOperatorLessThanOrEqual', 'ConditionalOperatorGreaterThan', 'ConditionalOperatorLessThan', 'ConditionalOperatorEqual'
    ThresholdOperator ConditionalOperator `json:"thresholdOperator,omitempty"`
    // Threshold - Result or count threshold based on which rule should be triggered.
    Threshold *float64 `json:"threshold,omitempty"`
    // MetricTrigger - Trigger condition for metric query rule
    MetricTrigger *LogMetricTrigger `json:"metricTrigger,omitempty"`
}

type VMInsightsClient

VMInsightsClient is the monitor Management Client

type VMInsightsClient struct {
    BaseClient
}

func NewVMInsightsClient

func NewVMInsightsClient(subscriptionID string) VMInsightsClient

NewVMInsightsClient creates an instance of the VMInsightsClient client.

func NewVMInsightsClientWithBaseURI

func NewVMInsightsClientWithBaseURI(baseURI string, subscriptionID string) VMInsightsClient

NewVMInsightsClientWithBaseURI creates an instance of the VMInsightsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VMInsightsClient) GetOnboardingStatus

func (client VMInsightsClient) GetOnboardingStatus(ctx context.Context, resourceURI string) (result VMInsightsOnboardingStatus, err error)

GetOnboardingStatus retrieves the VM Insights onboarding status for the specified resource or resource scope. Parameters: resourceURI - the fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.

func (VMInsightsClient) GetOnboardingStatusPreparer

func (client VMInsightsClient) GetOnboardingStatusPreparer(ctx context.Context, resourceURI string) (*http.Request, error)

GetOnboardingStatusPreparer prepares the GetOnboardingStatus request.

func (VMInsightsClient) GetOnboardingStatusResponder

func (client VMInsightsClient) GetOnboardingStatusResponder(resp *http.Response) (result VMInsightsOnboardingStatus, err error)

GetOnboardingStatusResponder handles the response to the GetOnboardingStatus request. The method always closes the http.Response Body.

func (VMInsightsClient) GetOnboardingStatusSender

func (client VMInsightsClient) GetOnboardingStatusSender(req *http.Request) (*http.Response, error)

GetOnboardingStatusSender sends the GetOnboardingStatus request. The method will close the http.Response Body if it receives an error.

type VMInsightsOnboardingStatus

VMInsightsOnboardingStatus VM Insights onboarding status for a resource.

type VMInsightsOnboardingStatus struct {
    autorest.Response `json:"-"`
    // VMInsightsOnboardingStatusProperties - Resource properties.
    *VMInsightsOnboardingStatusProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Azure resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Azure resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Azure resource type
    Type *string `json:"type,omitempty"`
}

func (VMInsightsOnboardingStatus) MarshalJSON

func (vios VMInsightsOnboardingStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMInsightsOnboardingStatus.

func (*VMInsightsOnboardingStatus) UnmarshalJSON

func (vios *VMInsightsOnboardingStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VMInsightsOnboardingStatus struct.

type VMInsightsOnboardingStatusProperties

VMInsightsOnboardingStatusProperties resource properties.

type VMInsightsOnboardingStatusProperties struct {
    // ResourceID - Azure Resource Manager identifier of the resource whose onboarding status is being represented.
    ResourceID *string `json:"resourceId,omitempty"`
    // OnboardingStatus - The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded. Possible values include: 'OnboardingStatusOnboarded', 'OnboardingStatusNotOnboarded', 'OnboardingStatusUnknown'
    OnboardingStatus OnboardingStatus `json:"onboardingStatus,omitempty"`
    // DataStatus - The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed. Possible values include: 'DataStatusPresent', 'DataStatusNotPresent'
    DataStatus DataStatus `json:"dataStatus,omitempty"`
    // Data - Containers that currently store VM Insights data for the specified resource.
    Data *[]DataContainer `json:"data,omitempty"`
}

type VoiceReceiver

VoiceReceiver a voice receiver.

type VoiceReceiver struct {
    // Name - The name of the voice receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // CountryCode - The country code of the voice receiver.
    CountryCode *string `json:"countryCode,omitempty"`
    // PhoneNumber - The phone number of the voice receiver.
    PhoneNumber *string `json:"phoneNumber,omitempty"`
}

type WebhookNotification

WebhookNotification webhook notification of an autoscale event.

type WebhookNotification struct {
    // ServiceURI - the service address to receive the notification.
    ServiceURI *string `json:"serviceUri,omitempty"`
    // Properties - a property bag of settings. This value can be empty.
    Properties map[string]*string `json:"properties"`
}

func (WebhookNotification) MarshalJSON

func (wn WebhookNotification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebhookNotification.

type WebhookReceiver

WebhookReceiver a webhook receiver.

type WebhookReceiver struct {
    // Name - The name of the webhook receiver. Names must be unique across all receivers within an action group.
    Name *string `json:"name,omitempty"`
    // ServiceURI - The URI where webhooks should be sent.
    ServiceURI *string `json:"serviceUri,omitempty"`
    // UseCommonAlertSchema - Indicates whether to use common alert schema.
    UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty"`
    // UseAadAuth - Indicates whether or not use AAD authentication.
    UseAadAuth *bool `json:"useAadAuth,omitempty"`
    // ObjectID - Indicates the webhook app object Id for aad auth.
    ObjectID *string `json:"objectId,omitempty"`
    // IdentifierURI - Indicates the identifier uri for aad auth.
    IdentifierURI *string `json:"identifierUri,omitempty"`
    // TenantID - Indicates the tenant id for aad auth.
    TenantID *string `json:"tenantId,omitempty"`
}

type WebtestLocationAvailabilityCriteria

WebtestLocationAvailabilityCriteria specifies the metric alert rule criteria for a web test resource.

type WebtestLocationAvailabilityCriteria struct {
    // WebTestID - The Application Insights web test Id.
    WebTestID *string `json:"webTestId,omitempty"`
    // ComponentID - The Application Insights resource Id.
    ComponentID *string `json:"componentId,omitempty"`
    // FailedLocationCount - The number of failed locations.
    FailedLocationCount *float64 `json:"failedLocationCount,omitempty"`
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // OdataType - Possible values include: 'OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria', 'OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria'
    OdataType OdataTypeBasicMetricAlertCriteria `json:"odata.type,omitempty"`
}

func (WebtestLocationAvailabilityCriteria) AsBasicMetricAlertCriteria

func (wlac WebtestLocationAvailabilityCriteria) AsBasicMetricAlertCriteria() (BasicMetricAlertCriteria, bool)

AsBasicMetricAlertCriteria is the BasicMetricAlertCriteria implementation for WebtestLocationAvailabilityCriteria.

func (WebtestLocationAvailabilityCriteria) AsMetricAlertCriteria

func (wlac WebtestLocationAvailabilityCriteria) AsMetricAlertCriteria() (*MetricAlertCriteria, bool)

AsMetricAlertCriteria is the BasicMetricAlertCriteria implementation for WebtestLocationAvailabilityCriteria.

func (WebtestLocationAvailabilityCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria

func (wlac WebtestLocationAvailabilityCriteria) AsMetricAlertMultipleResourceMultipleMetricCriteria() (*MetricAlertMultipleResourceMultipleMetricCriteria, bool)

AsMetricAlertMultipleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for WebtestLocationAvailabilityCriteria.

func (WebtestLocationAvailabilityCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria

func (wlac WebtestLocationAvailabilityCriteria) AsMetricAlertSingleResourceMultipleMetricCriteria() (*MetricAlertSingleResourceMultipleMetricCriteria, bool)

AsMetricAlertSingleResourceMultipleMetricCriteria is the BasicMetricAlertCriteria implementation for WebtestLocationAvailabilityCriteria.

func (WebtestLocationAvailabilityCriteria) AsWebtestLocationAvailabilityCriteria

func (wlac WebtestLocationAvailabilityCriteria) AsWebtestLocationAvailabilityCriteria() (*WebtestLocationAvailabilityCriteria, bool)

AsWebtestLocationAvailabilityCriteria is the BasicMetricAlertCriteria implementation for WebtestLocationAvailabilityCriteria.

func (WebtestLocationAvailabilityCriteria) MarshalJSON

func (wlac WebtestLocationAvailabilityCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebtestLocationAvailabilityCriteria.

func (*WebtestLocationAvailabilityCriteria) UnmarshalJSON

func (wlac *WebtestLocationAvailabilityCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebtestLocationAvailabilityCriteria struct.

type WindowsEventLogDataSource

WindowsEventLogDataSource definition of which Windows Event Log events will be collected and how they will be collected. Only collected from Windows machines.

type WindowsEventLogDataSource struct {
    // Streams - List of streams that this data source will be sent to.
    // A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Streams *[]KnownWindowsEventLogDataSourceStreams `json:"streams,omitempty"`
    // XPathQueries - A list of Windows Event Log queries in XPATH format.
    XPathQueries *[]string `json:"xPathQueries,omitempty"`
    // Name - A friendly name for the data source.
    // This name should be unique across all data sources (regardless of type) within the data collection rule.
    Name *string `json:"name,omitempty"`
}

type WorkspaceInfo

WorkspaceInfo information about a Log Analytics Workspace.

type WorkspaceInfo struct {
    // ID - Azure Resource Manager identifier of the Log Analytics Workspace.
    ID *string `json:"id,omitempty"`
    // Location - Location of the Log Analytics workspace.
    Location *string `json:"location,omitempty"`
    // WorkspaceInfoProperties - Resource properties.
    *WorkspaceInfoProperties `json:"properties,omitempty"`
}

func (WorkspaceInfo) MarshalJSON

func (wi WorkspaceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceInfo.

func (*WorkspaceInfo) UnmarshalJSON

func (wi *WorkspaceInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkspaceInfo struct.

type WorkspaceInfoProperties

WorkspaceInfoProperties resource properties.

type WorkspaceInfoProperties struct {
    // CustomerID - Log Analytics workspace identifier.
    CustomerID *string `json:"customerId,omitempty"`
}

Subdirectories

Name Synopsis
..
insightsapi Deprecated: Please note, this package has been deprecated.