...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2016-03-01-preview/monitorlegacy/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2016-03-01-preview/monitorlegacy

     1  package monitorlegacy
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  // ConditionOperator enumerates the values for condition operator.
    10  type ConditionOperator string
    11  
    12  const (
    13  	// GreaterThan ...
    14  	GreaterThan ConditionOperator = "GreaterThan"
    15  	// GreaterThanOrEqual ...
    16  	GreaterThanOrEqual ConditionOperator = "GreaterThanOrEqual"
    17  	// LessThan ...
    18  	LessThan ConditionOperator = "LessThan"
    19  	// LessThanOrEqual ...
    20  	LessThanOrEqual ConditionOperator = "LessThanOrEqual"
    21  )
    22  
    23  // PossibleConditionOperatorValues returns an array of possible values for the ConditionOperator const type.
    24  func PossibleConditionOperatorValues() []ConditionOperator {
    25  	return []ConditionOperator{GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual}
    26  }
    27  
    28  // DataStatus enumerates the values for data status.
    29  type DataStatus string
    30  
    31  const (
    32  	// NotPresent ...
    33  	NotPresent DataStatus = "notPresent"
    34  	// Present ...
    35  	Present DataStatus = "present"
    36  )
    37  
    38  // PossibleDataStatusValues returns an array of possible values for the DataStatus const type.
    39  func PossibleDataStatusValues() []DataStatus {
    40  	return []DataStatus{NotPresent, Present}
    41  }
    42  
    43  // OdataType enumerates the values for odata type.
    44  type OdataType string
    45  
    46  const (
    47  	// OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource ...
    48  	OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"
    49  	// OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource ...
    50  	OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
    51  	// OdataTypeRuleDataSource ...
    52  	OdataTypeRuleDataSource OdataType = "RuleDataSource"
    53  )
    54  
    55  // PossibleOdataTypeValues returns an array of possible values for the OdataType const type.
    56  func PossibleOdataTypeValues() []OdataType {
    57  	return []OdataType{OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource, OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource, OdataTypeRuleDataSource}
    58  }
    59  
    60  // OdataTypeBasicRuleAction enumerates the values for odata type basic rule action.
    61  type OdataTypeBasicRuleAction string
    62  
    63  const (
    64  	// OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction ...
    65  	OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleEmailAction"
    66  	// OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction ...
    67  	OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"
    68  	// OdataTypeRuleAction ...
    69  	OdataTypeRuleAction OdataTypeBasicRuleAction = "RuleAction"
    70  )
    71  
    72  // PossibleOdataTypeBasicRuleActionValues returns an array of possible values for the OdataTypeBasicRuleAction const type.
    73  func PossibleOdataTypeBasicRuleActionValues() []OdataTypeBasicRuleAction {
    74  	return []OdataTypeBasicRuleAction{OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction, OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction, OdataTypeRuleAction}
    75  }
    76  
    77  // OdataTypeBasicRuleCondition enumerates the values for odata type basic rule condition.
    78  type OdataTypeBasicRuleCondition string
    79  
    80  const (
    81  	// OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition ...
    82  	OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"
    83  	// OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition ...
    84  	OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"
    85  	// OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition ...
    86  	OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
    87  	// OdataTypeRuleCondition ...
    88  	OdataTypeRuleCondition OdataTypeBasicRuleCondition = "RuleCondition"
    89  )
    90  
    91  // PossibleOdataTypeBasicRuleConditionValues returns an array of possible values for the OdataTypeBasicRuleCondition const type.
    92  func PossibleOdataTypeBasicRuleConditionValues() []OdataTypeBasicRuleCondition {
    93  	return []OdataTypeBasicRuleCondition{OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition, OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition, OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition, OdataTypeRuleCondition}
    94  }
    95  
    96  // OnboardingStatus enumerates the values for onboarding status.
    97  type OnboardingStatus string
    98  
    99  const (
   100  	// NotOnboarded ...
   101  	NotOnboarded OnboardingStatus = "notOnboarded"
   102  	// Onboarded ...
   103  	Onboarded OnboardingStatus = "onboarded"
   104  	// Unknown ...
   105  	Unknown OnboardingStatus = "unknown"
   106  )
   107  
   108  // PossibleOnboardingStatusValues returns an array of possible values for the OnboardingStatus const type.
   109  func PossibleOnboardingStatusValues() []OnboardingStatus {
   110  	return []OnboardingStatus{NotOnboarded, Onboarded, Unknown}
   111  }
   112  
   113  // TimeAggregationOperator enumerates the values for time aggregation operator.
   114  type TimeAggregationOperator string
   115  
   116  const (
   117  	// Average ...
   118  	Average TimeAggregationOperator = "Average"
   119  	// Last ...
   120  	Last TimeAggregationOperator = "Last"
   121  	// Maximum ...
   122  	Maximum TimeAggregationOperator = "Maximum"
   123  	// Minimum ...
   124  	Minimum TimeAggregationOperator = "Minimum"
   125  	// Total ...
   126  	Total TimeAggregationOperator = "Total"
   127  )
   128  
   129  // PossibleTimeAggregationOperatorValues returns an array of possible values for the TimeAggregationOperator const type.
   130  func PossibleTimeAggregationOperatorValues() []TimeAggregationOperator {
   131  	return []TimeAggregationOperator{Average, Last, Maximum, Minimum, Total}
   132  }
   133  

View as plain text