1package recoveryservices 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// AuthType enumerates the values for auth type. 21type AuthType string 22 23const ( 24 // AAD ... 25 AAD AuthType = "AAD" 26 // AccessControlService ... 27 AccessControlService AuthType = "AccessControlService" 28 // ACS ... 29 ACS AuthType = "ACS" 30 // AzureActiveDirectory ... 31 AzureActiveDirectory AuthType = "AzureActiveDirectory" 32 // Invalid ... 33 Invalid AuthType = "Invalid" 34) 35 36// PossibleAuthTypeValues returns an array of possible values for the AuthType const type. 37func PossibleAuthTypeValues() []AuthType { 38 return []AuthType{AAD, AccessControlService, ACS, AzureActiveDirectory, Invalid} 39} 40 41// AuthTypeBasicResourceCertificateDetails enumerates the values for auth type basic resource certificate 42// details. 43type AuthTypeBasicResourceCertificateDetails string 44 45const ( 46 // AuthTypeAccessControlService ... 47 AuthTypeAccessControlService AuthTypeBasicResourceCertificateDetails = "AccessControlService" 48 // AuthTypeAzureActiveDirectory ... 49 AuthTypeAzureActiveDirectory AuthTypeBasicResourceCertificateDetails = "AzureActiveDirectory" 50 // AuthTypeResourceCertificateDetails ... 51 AuthTypeResourceCertificateDetails AuthTypeBasicResourceCertificateDetails = "ResourceCertificateDetails" 52) 53 54// PossibleAuthTypeBasicResourceCertificateDetailsValues returns an array of possible values for the AuthTypeBasicResourceCertificateDetails const type. 55func PossibleAuthTypeBasicResourceCertificateDetailsValues() []AuthTypeBasicResourceCertificateDetails { 56 return []AuthTypeBasicResourceCertificateDetails{AuthTypeAccessControlService, AuthTypeAzureActiveDirectory, AuthTypeResourceCertificateDetails} 57} 58 59// PrivateEndpointConnectionStatus enumerates the values for private endpoint connection status. 60type PrivateEndpointConnectionStatus string 61 62const ( 63 // Approved ... 64 Approved PrivateEndpointConnectionStatus = "Approved" 65 // Disconnected ... 66 Disconnected PrivateEndpointConnectionStatus = "Disconnected" 67 // Pending ... 68 Pending PrivateEndpointConnectionStatus = "Pending" 69 // Rejected ... 70 Rejected PrivateEndpointConnectionStatus = "Rejected" 71) 72 73// PossiblePrivateEndpointConnectionStatusValues returns an array of possible values for the PrivateEndpointConnectionStatus const type. 74func PossiblePrivateEndpointConnectionStatusValues() []PrivateEndpointConnectionStatus { 75 return []PrivateEndpointConnectionStatus{Approved, Disconnected, Pending, Rejected} 76} 77 78// ProvisioningState enumerates the values for provisioning state. 79type ProvisioningState string 80 81const ( 82 // ProvisioningStateDeleting ... 83 ProvisioningStateDeleting ProvisioningState = "Deleting" 84 // ProvisioningStateFailed ... 85 ProvisioningStateFailed ProvisioningState = "Failed" 86 // ProvisioningStatePending ... 87 ProvisioningStatePending ProvisioningState = "Pending" 88 // ProvisioningStateSucceeded ... 89 ProvisioningStateSucceeded ProvisioningState = "Succeeded" 90) 91 92// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 93func PossibleProvisioningStateValues() []ProvisioningState { 94 return []ProvisioningState{ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStatePending, ProvisioningStateSucceeded} 95} 96 97// ResourceIdentityType enumerates the values for resource identity type. 98type ResourceIdentityType string 99 100const ( 101 // None ... 102 None ResourceIdentityType = "None" 103 // SystemAssigned ... 104 SystemAssigned ResourceIdentityType = "SystemAssigned" 105) 106 107// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 108func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 109 return []ResourceIdentityType{None, SystemAssigned} 110} 111 112// SkuName enumerates the values for sku name. 113type SkuName string 114 115const ( 116 // RS0 ... 117 RS0 SkuName = "RS0" 118 // Standard ... 119 Standard SkuName = "Standard" 120) 121 122// PossibleSkuNameValues returns an array of possible values for the SkuName const type. 123func PossibleSkuNameValues() []SkuName { 124 return []SkuName{RS0, Standard} 125} 126 127// TriggerType enumerates the values for trigger type. 128type TriggerType string 129 130const ( 131 // ForcedUpgrade ... 132 ForcedUpgrade TriggerType = "ForcedUpgrade" 133 // UserTriggered ... 134 UserTriggered TriggerType = "UserTriggered" 135) 136 137// PossibleTriggerTypeValues returns an array of possible values for the TriggerType const type. 138func PossibleTriggerTypeValues() []TriggerType { 139 return []TriggerType{ForcedUpgrade, UserTriggered} 140} 141 142// UsagesUnit enumerates the values for usages unit. 143type UsagesUnit string 144 145const ( 146 // Bytes ... 147 Bytes UsagesUnit = "Bytes" 148 // BytesPerSecond ... 149 BytesPerSecond UsagesUnit = "BytesPerSecond" 150 // Count ... 151 Count UsagesUnit = "Count" 152 // CountPerSecond ... 153 CountPerSecond UsagesUnit = "CountPerSecond" 154 // Percent ... 155 Percent UsagesUnit = "Percent" 156 // Seconds ... 157 Seconds UsagesUnit = "Seconds" 158) 159 160// PossibleUsagesUnitValues returns an array of possible values for the UsagesUnit const type. 161func PossibleUsagesUnitValues() []UsagesUnit { 162 return []UsagesUnit{Bytes, BytesPerSecond, Count, CountPerSecond, Percent, Seconds} 163} 164 165// VaultPrivateEndpointState enumerates the values for vault private endpoint state. 166type VaultPrivateEndpointState string 167 168const ( 169 // VaultPrivateEndpointStateEnabled ... 170 VaultPrivateEndpointStateEnabled VaultPrivateEndpointState = "Enabled" 171 // VaultPrivateEndpointStateNone ... 172 VaultPrivateEndpointStateNone VaultPrivateEndpointState = "None" 173) 174 175// PossibleVaultPrivateEndpointStateValues returns an array of possible values for the VaultPrivateEndpointState const type. 176func PossibleVaultPrivateEndpointStateValues() []VaultPrivateEndpointState { 177 return []VaultPrivateEndpointState{VaultPrivateEndpointStateEnabled, VaultPrivateEndpointStateNone} 178} 179 180// VaultUpgradeState enumerates the values for vault upgrade state. 181type VaultUpgradeState string 182 183const ( 184 // Failed ... 185 Failed VaultUpgradeState = "Failed" 186 // InProgress ... 187 InProgress VaultUpgradeState = "InProgress" 188 // Unknown ... 189 Unknown VaultUpgradeState = "Unknown" 190 // Upgraded ... 191 Upgraded VaultUpgradeState = "Upgraded" 192) 193 194// PossibleVaultUpgradeStateValues returns an array of possible values for the VaultUpgradeState const type. 195func PossibleVaultUpgradeStateValues() []VaultUpgradeState { 196 return []VaultUpgradeState{Failed, InProgress, Unknown, Upgraded} 197} 198