1package search 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// ProvisioningState enumerates the values for provisioning state. 21type ProvisioningState string 22 23const ( 24 // Failed ... 25 Failed ProvisioningState = "failed" 26 // Provisioning ... 27 Provisioning ProvisioningState = "provisioning" 28 // Succeeded ... 29 Succeeded ProvisioningState = "succeeded" 30) 31 32// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 33func PossibleProvisioningStateValues() []ProvisioningState { 34 return []ProvisioningState{Failed, Provisioning, Succeeded} 35} 36 37// ServiceStatus enumerates the values for service status. 38type ServiceStatus string 39 40const ( 41 // ServiceStatusDegraded ... 42 ServiceStatusDegraded ServiceStatus = "degraded" 43 // ServiceStatusDeleting ... 44 ServiceStatusDeleting ServiceStatus = "deleting" 45 // ServiceStatusDisabled ... 46 ServiceStatusDisabled ServiceStatus = "disabled" 47 // ServiceStatusError ... 48 ServiceStatusError ServiceStatus = "error" 49 // ServiceStatusProvisioning ... 50 ServiceStatusProvisioning ServiceStatus = "provisioning" 51 // ServiceStatusRunning ... 52 ServiceStatusRunning ServiceStatus = "running" 53) 54 55// PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type. 56func PossibleServiceStatusValues() []ServiceStatus { 57 return []ServiceStatus{ServiceStatusDegraded, ServiceStatusDeleting, ServiceStatusDisabled, ServiceStatusError, ServiceStatusProvisioning, ServiceStatusRunning} 58} 59 60// SkuType enumerates the values for sku type. 61type SkuType string 62 63const ( 64 // Free ... 65 Free SkuType = "free" 66 // Standard ... 67 Standard SkuType = "standard" 68 // Standard2 ... 69 Standard2 SkuType = "standard2" 70) 71 72// PossibleSkuTypeValues returns an array of possible values for the SkuType const type. 73func PossibleSkuTypeValues() []SkuType { 74 return []SkuType{Free, Standard, Standard2} 75} 76