########
# Copyright (c) 2015 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
#    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    * See the License for the specific language governing permissions and
#    * limitations under the License.

# Look at https://github.com/cloudify-cosmo/cloudify-aws-plugin/blob/1.2/ec2/constants.py

# instance module constants

credentials =''
COMMON_REQ_PROPERTIES=['subscription_id','location']

api_version='2015-05-01-preview'
api_version_resource_group='2015-01-01'
storage_account_type = 'Standard_LRS'

vnet_address_prefixes = ["10.1.0.0/16","10.2.0.0/16"]
subnet_name = 'Subnet-1'
address_prefix = "10.1.0.0/24"
ip_config_name = 'myip1'
image_reference_version = 'latest'
os_disk_name = 'osdisk'
vm_caching = 'ReadWrite'
vm_createOption = 'FromImage'
admin_username='azuretest'
vm_version="latest"
azure_url='https://management.azure.com'
login_url='https://login.microsoftonline.com'
sourcePortRange=65000
destinationPortRange=60000
priority=100
resource='https://management.core.windows.net/'

RESOURCE_GROUP_REQUIRED_PROPERTIES=['vm_name','location','subscription_id']
STORAGE_ACCOUNT_REQUIRED_PROPERTIES = ['vm_name','location','subscription_id']
VNET_REQUIRED_PROPERTIES = ['vm_name','location','subscription_id']
VM_REQUIRED_PROPERTIES = ['vm_name','image_reference_offer','image_reference_publisher','image_reference_sku','vm_size','subscription_id','key_data','location']
NIC_REQUIRED_PROPERTIES = ['vm_name','location','subscription_id']
PUBLIC_IP_REQUIRED_PROPERTIES = ['vm_name','location','subscription_id']

RESOURCE_GROUP_KEY = 'resource_group_key_name'
RESOURCE_GROUP_PREFIX = 'resource_group_'
STORAGE_ACCOUNT_KEY = 'storage_account_key_name'
STORAGE_ACCOUNT_PREFIX = 'storage_account_'
PUBLIC_IP_KEY = 'public_ip_key_name'
PUBLIC_IP_PREFIX = 'public_ip_'
VNET_KEY = 'vnet_key_name'
VNET_GROUP_PREFIX = 'vnet_'
NIC_KEY = 'nic_key_name'
NIC_PREFIX = 'nic_'
SECURITY_GROUP_KEY = 'security_group_key_name'
SECURITY_GROUP_PREFIX = 'security_group_'

@@ -2309,16 +2309,34 @@
  'nic_'%0A
+VM_PREFIX = 'vm_'%0A
 SECURITY

Update constants.py