1package resourcemover 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// DependencyType enumerates the values for dependency type. 21type DependencyType string 22 23const ( 24 // RequiredForMove ... 25 RequiredForMove DependencyType = "RequiredForMove" 26 // RequiredForPrepare ... 27 RequiredForPrepare DependencyType = "RequiredForPrepare" 28) 29 30// PossibleDependencyTypeValues returns an array of possible values for the DependencyType const type. 31func PossibleDependencyTypeValues() []DependencyType { 32 return []DependencyType{RequiredForMove, RequiredForPrepare} 33} 34 35// JobName enumerates the values for job name. 36type JobName string 37 38const ( 39 // InitialSync ... 40 InitialSync JobName = "InitialSync" 41) 42 43// PossibleJobNameValues returns an array of possible values for the JobName const type. 44func PossibleJobNameValues() []JobName { 45 return []JobName{InitialSync} 46} 47 48// MoveResourceInputType enumerates the values for move resource input type. 49type MoveResourceInputType string 50 51const ( 52 // MoveResourceID ... 53 MoveResourceID MoveResourceInputType = "MoveResourceId" 54 // MoveResourceSourceID ... 55 MoveResourceSourceID MoveResourceInputType = "MoveResourceSourceId" 56) 57 58// PossibleMoveResourceInputTypeValues returns an array of possible values for the MoveResourceInputType const type. 59func PossibleMoveResourceInputTypeValues() []MoveResourceInputType { 60 return []MoveResourceInputType{MoveResourceID, MoveResourceSourceID} 61} 62 63// MoveState enumerates the values for move state. 64type MoveState string 65 66const ( 67 // AssignmentPending ... 68 AssignmentPending MoveState = "AssignmentPending" 69 // CommitFailed ... 70 CommitFailed MoveState = "CommitFailed" 71 // CommitInProgress ... 72 CommitInProgress MoveState = "CommitInProgress" 73 // CommitPending ... 74 CommitPending MoveState = "CommitPending" 75 // Committed ... 76 Committed MoveState = "Committed" 77 // DiscardFailed ... 78 DiscardFailed MoveState = "DiscardFailed" 79 // DiscardInProgress ... 80 DiscardInProgress MoveState = "DiscardInProgress" 81 // MoveFailed ... 82 MoveFailed MoveState = "MoveFailed" 83 // MoveInProgress ... 84 MoveInProgress MoveState = "MoveInProgress" 85 // MovePending ... 86 MovePending MoveState = "MovePending" 87 // PrepareFailed ... 88 PrepareFailed MoveState = "PrepareFailed" 89 // PrepareInProgress ... 90 PrepareInProgress MoveState = "PrepareInProgress" 91 // PreparePending ... 92 PreparePending MoveState = "PreparePending" 93) 94 95// PossibleMoveStateValues returns an array of possible values for the MoveState const type. 96func PossibleMoveStateValues() []MoveState { 97 return []MoveState{AssignmentPending, CommitFailed, CommitInProgress, CommitPending, Committed, DiscardFailed, DiscardInProgress, MoveFailed, MoveInProgress, MovePending, PrepareFailed, PrepareInProgress, PreparePending} 98} 99 100// ProvisioningState enumerates the values for provisioning state. 101type ProvisioningState string 102 103const ( 104 // Creating ... 105 Creating ProvisioningState = "Creating" 106 // Failed ... 107 Failed ProvisioningState = "Failed" 108 // Succeeded ... 109 Succeeded ProvisioningState = "Succeeded" 110 // Updating ... 111 Updating ProvisioningState = "Updating" 112) 113 114// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 115func PossibleProvisioningStateValues() []ProvisioningState { 116 return []ProvisioningState{Creating, Failed, Succeeded, Updating} 117} 118 119// ResolutionType enumerates the values for resolution type. 120type ResolutionType string 121 122const ( 123 // Automatic ... 124 Automatic ResolutionType = "Automatic" 125 // Manual ... 126 Manual ResolutionType = "Manual" 127) 128 129// PossibleResolutionTypeValues returns an array of possible values for the ResolutionType const type. 130func PossibleResolutionTypeValues() []ResolutionType { 131 return []ResolutionType{Automatic, Manual} 132} 133 134// ResourceIdentityType enumerates the values for resource identity type. 135type ResourceIdentityType string 136 137const ( 138 // None ... 139 None ResourceIdentityType = "None" 140 // SystemAssigned ... 141 SystemAssigned ResourceIdentityType = "SystemAssigned" 142 // UserAssigned ... 143 UserAssigned ResourceIdentityType = "UserAssigned" 144) 145 146// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 147func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 148 return []ResourceIdentityType{None, SystemAssigned, UserAssigned} 149} 150 151// ResourceType enumerates the values for resource type. 152type ResourceType string 153 154const ( 155 // ResourceTypeMicrosoftComputeavailabilitySets ... 156 ResourceTypeMicrosoftComputeavailabilitySets ResourceType = "Microsoft.Compute/availabilitySets" 157 // ResourceTypeMicrosoftComputevirtualMachines ... 158 ResourceTypeMicrosoftComputevirtualMachines ResourceType = "Microsoft.Compute/virtualMachines" 159 // ResourceTypeMicrosoftNetworkloadBalancers ... 160 ResourceTypeMicrosoftNetworkloadBalancers ResourceType = "Microsoft.Network/loadBalancers" 161 // ResourceTypeMicrosoftNetworknetworkInterfaces ... 162 ResourceTypeMicrosoftNetworknetworkInterfaces ResourceType = "Microsoft.Network/networkInterfaces" 163 // ResourceTypeMicrosoftNetworknetworkSecurityGroups ... 164 ResourceTypeMicrosoftNetworknetworkSecurityGroups ResourceType = "Microsoft.Network/networkSecurityGroups" 165 // ResourceTypeMicrosoftNetworkpublicIPAddresses ... 166 ResourceTypeMicrosoftNetworkpublicIPAddresses ResourceType = "Microsoft.Network/publicIPAddresses" 167 // ResourceTypeMicrosoftNetworkvirtualNetworks ... 168 ResourceTypeMicrosoftNetworkvirtualNetworks ResourceType = "Microsoft.Network/virtualNetworks" 169 // ResourceTypeMicrosoftSqlservers ... 170 ResourceTypeMicrosoftSqlservers ResourceType = "Microsoft.Sql/servers" 171 // ResourceTypeMicrosoftSqlserversdatabases ... 172 ResourceTypeMicrosoftSqlserversdatabases ResourceType = "Microsoft.Sql/servers/databases" 173 // ResourceTypeMicrosoftSqlserverselasticPools ... 174 ResourceTypeMicrosoftSqlserverselasticPools ResourceType = "Microsoft.Sql/servers/elasticPools" 175 // ResourceTypeResourceGroups ... 176 ResourceTypeResourceGroups ResourceType = "resourceGroups" 177 // ResourceTypeResourceSettings ... 178 ResourceTypeResourceSettings ResourceType = "ResourceSettings" 179) 180 181// PossibleResourceTypeValues returns an array of possible values for the ResourceType const type. 182func PossibleResourceTypeValues() []ResourceType { 183 return []ResourceType{ResourceTypeMicrosoftComputeavailabilitySets, ResourceTypeMicrosoftComputevirtualMachines, ResourceTypeMicrosoftNetworkloadBalancers, ResourceTypeMicrosoftNetworknetworkInterfaces, ResourceTypeMicrosoftNetworknetworkSecurityGroups, ResourceTypeMicrosoftNetworkpublicIPAddresses, ResourceTypeMicrosoftNetworkvirtualNetworks, ResourceTypeMicrosoftSqlservers, ResourceTypeMicrosoftSqlserversdatabases, ResourceTypeMicrosoftSqlserverselasticPools, ResourceTypeResourceGroups, ResourceTypeResourceSettings} 184} 185 186// TargetAvailabilityZone enumerates the values for target availability zone. 187type TargetAvailabilityZone string 188 189const ( 190 // NA ... 191 NA TargetAvailabilityZone = "NA" 192 // One ... 193 One TargetAvailabilityZone = "1" 194 // Three ... 195 Three TargetAvailabilityZone = "3" 196 // Two ... 197 Two TargetAvailabilityZone = "2" 198) 199 200// PossibleTargetAvailabilityZoneValues returns an array of possible values for the TargetAvailabilityZone const type. 201func PossibleTargetAvailabilityZoneValues() []TargetAvailabilityZone { 202 return []TargetAvailabilityZone{NA, One, Three, Two} 203} 204 205// ZoneRedundant enumerates the values for zone redundant. 206type ZoneRedundant string 207 208const ( 209 // Disable ... 210 Disable ZoneRedundant = "Disable" 211 // Enable ... 212 Enable ZoneRedundant = "Enable" 213) 214 215// PossibleZoneRedundantValues returns an array of possible values for the ZoneRedundant const type. 216func PossibleZoneRedundantValues() []ZoneRedundant { 217 return []ZoneRedundant{Disable, Enable} 218} 219