1package resourcehealth 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20// AvailabilityStateValues enumerates the values for availability state values. 21type AvailabilityStateValues string 22 23const ( 24 // Available ... 25 Available AvailabilityStateValues = "Available" 26 // Unavailable ... 27 Unavailable AvailabilityStateValues = "Unavailable" 28 // Unknown ... 29 Unknown AvailabilityStateValues = "Unknown" 30) 31 32// PossibleAvailabilityStateValuesValues returns an array of possible values for the AvailabilityStateValues const type. 33func PossibleAvailabilityStateValuesValues() []AvailabilityStateValues { 34 return []AvailabilityStateValues{Available, Unavailable, Unknown} 35} 36 37// ReasonChronicityTypes enumerates the values for reason chronicity types. 38type ReasonChronicityTypes string 39 40const ( 41 // Persistent ... 42 Persistent ReasonChronicityTypes = "Persistent" 43 // Transient ... 44 Transient ReasonChronicityTypes = "Transient" 45) 46 47// PossibleReasonChronicityTypesValues returns an array of possible values for the ReasonChronicityTypes const type. 48func PossibleReasonChronicityTypesValues() []ReasonChronicityTypes { 49 return []ReasonChronicityTypes{Persistent, Transient} 50} 51