lib/fog/azurerm/constants.rb in fog-azure-rm-0.2.7 vs lib/fog/azurerm/constants.rb in fog-azure-rm-0.3.0
- old
+ new
@@ -15,20 +15,26 @@
RESOURCE_GROUP_NAME = 4
RESOURCE_PROVIDER_NAMESPACE = 6
RESOURCE_TYPE = 7
RESOURCE_NAME = 8
ENDPOINT_PREFIX = 'Microsoft.Network/trafficManagerProfiles'.freeze
+DISK_PREFIX = 'Microsoft.Compute/disks'
AZURE_ENDPOINTS = 'azureEndpoints'.freeze
EXTERNAL_ENDPOINTS = 'externalEndpoints'.freeze
NESTED_ENDPOINTS = 'nestedEndpoints'.freeze
GLOBAL = 'global'.freeze
UPLOAD_BLOB_WORKER_THREAD_COUNT = 8
VM_NAME_POSITION = 8
+PRIMARY_NIC_INDEX = 0
ENVIRONMENT_AZURE_CLOUD = 'AzureCloud'.freeze
ENVIRONMENT_AZURE_CHINA_CLOUD = 'AzureChinaCloud'.freeze
ENVIRONMENT_AZURE_US_GOVERNMENT = 'AzureUSGovernment'.freeze
ENVIRONMENT_AZURE_GERMAN_CLOUD = 'AzureGermanCloud'.freeze
+
+# MsRestAzure::AzureOperationError class Error Codes
+ERROR_CODE_RESOURCE_NOT_FOUND = 'ResourceNotFound'.freeze
+ERROR_CODE_NOT_FOUND = 'NotFound'.freeze
PLATFORM_LINUX = 'linux'.freeze
# State of the copy operation
COPY_STATUS =