1package communication 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// AggregationType enumerates the values for aggregation type. 10type AggregationType string 11 12const ( 13 // Average ... 14 Average AggregationType = "Average" 15 // Count ... 16 Count AggregationType = "Count" 17 // Maximum ... 18 Maximum AggregationType = "Maximum" 19 // Minimum ... 20 Minimum AggregationType = "Minimum" 21 // Total ... 22 Total AggregationType = "Total" 23) 24 25// PossibleAggregationTypeValues returns an array of possible values for the AggregationType const type. 26func PossibleAggregationTypeValues() []AggregationType { 27 return []AggregationType{Average, Count, Maximum, Minimum, Total} 28} 29 30// KeyType enumerates the values for key type. 31type KeyType string 32 33const ( 34 // Primary ... 35 Primary KeyType = "Primary" 36 // Secondary ... 37 Secondary KeyType = "Secondary" 38) 39 40// PossibleKeyTypeValues returns an array of possible values for the KeyType const type. 41func PossibleKeyTypeValues() []KeyType { 42 return []KeyType{Primary, Secondary} 43} 44 45// ProvisioningState enumerates the values for provisioning state. 46type ProvisioningState string 47 48const ( 49 // Canceled ... 50 Canceled ProvisioningState = "Canceled" 51 // Creating ... 52 Creating ProvisioningState = "Creating" 53 // Deleting ... 54 Deleting ProvisioningState = "Deleting" 55 // Failed ... 56 Failed ProvisioningState = "Failed" 57 // Moving ... 58 Moving ProvisioningState = "Moving" 59 // Running ... 60 Running ProvisioningState = "Running" 61 // Succeeded ... 62 Succeeded ProvisioningState = "Succeeded" 63 // Unknown ... 64 Unknown ProvisioningState = "Unknown" 65 // Updating ... 66 Updating ProvisioningState = "Updating" 67) 68 69// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 70func PossibleProvisioningStateValues() []ProvisioningState { 71 return []ProvisioningState{Canceled, Creating, Deleting, Failed, Moving, Running, Succeeded, Unknown, Updating} 72} 73 74// Status enumerates the values for status. 75type Status string 76 77const ( 78 // StatusCanceled ... 79 StatusCanceled Status = "Canceled" 80 // StatusCreating ... 81 StatusCreating Status = "Creating" 82 // StatusDeleting ... 83 StatusDeleting Status = "Deleting" 84 // StatusFailed ... 85 StatusFailed Status = "Failed" 86 // StatusMoving ... 87 StatusMoving Status = "Moving" 88 // StatusSucceeded ... 89 StatusSucceeded Status = "Succeeded" 90) 91 92// PossibleStatusValues returns an array of possible values for the Status const type. 93func PossibleStatusValues() []Status { 94 return []Status{StatusCanceled, StatusCreating, StatusDeleting, StatusFailed, StatusMoving, StatusSucceeded} 95} 96