text: // This file has been autogenerated.
  
  var profile = require('../../../lib/util/profile');
  
  exports.getMockedProfile = function () {
    var newProfile = new profile.Profile();
  
    newProfile.addSubscription(new profile.Subscription({
      id: 'bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948',
      name: 'CollaberaInteropTest',
      user: {
        name: 'user@domain.example',
        type: 'user'
      },
      tenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47',
      registeredProviders: [],
      isDefault: true
    }, newProfile.environments['AzureCloud']));
  
    return newProfile;
  };
  
  exports.setEnvironment = function() {
    process.env['AZURE_VM_TEST_LOCATION'] = 'westus';
  };
  
  exports.scopes = [[function (nock) { 
  var result = 
  nock('http://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourcegroups/xplatTestGCreateNsg8479?api-version=2014-04-01-preview')
    .reply(404, "{\"error\":{\"code\":\"ResourceGroupNotFound\",\"message\":\"Resource group 'xplatTestGCreateNsg8479' could not be found.\"}}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-failure-cause': 'gateway',
    'x-ms-ratelimit-remaining-subscription-reads': '31955',
    'x-ms-request-id': '035efc0d-f654-4f77-8540-986b7c3fb55d',
    'x-ms-correlation-request-id': '035efc0d-f654-4f77-8540-986b7c3fb55d',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090603Z:035efc0d-f654-4f77-8540-986b7c3fb55d',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    date: 'Mon, 27 Apr 2015 09:06:03 GMT',
    connection: 'close',
    'content-length': '115' });
   return result; },
  function (nock) { 
  var result = 
  nock('https://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourcegroups/xplatTestGCreateNsg8479?api-version=2014-04-01-preview')
    .reply(404, "{\"error\":{\"code\":\"ResourceGroupNotFound\",\"message\":\"Resource group 'xplatTestGCreateNsg8479' could not be found.\"}}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-failure-cause': 'gateway',
    'x-ms-ratelimit-remaining-subscription-reads': '31955',
    'x-ms-request-id': '035efc0d-f654-4f77-8540-986b7c3fb55d',
    'x-ms-correlation-request-id': '035efc0d-f654-4f77-8540-986b7c3fb55d',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090603Z:035efc0d-f654-4f77-8540-986b7c3fb55d',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    date: 'Mon, 27 Apr 2015 09:06:03 GMT',
    connection: 'close',
    'content-length': '115' });
   return result; },
  function (nock) { 
  var result = 
  nock('http://management.azure.com:443')
    .filteringRequestBody(function (path) { return '*';})
  .put('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourcegroups/xplatTestGCreateNsg8479?api-version=2014-04-01-preview', '*')
    .reply(201, "{\"id\":\"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479\",\"name\":\"xplatTestGCreateNsg8479\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '209',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-ratelimit-remaining-subscription-writes': '1187',
    'x-ms-request-id': '34c453db-99cd-4422-af25-9cd2b0fb833c',
    'x-ms-correlation-request-id': '34c453db-99cd-4422-af25-9cd2b0fb833c',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090606Z:34c453db-99cd-4422-af25-9cd2b0fb833c',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    date: 'Mon, 27 Apr 2015 09:06:05 GMT',
    connection: 'close' });
   return result; },
  function (nock) { 
  var result = 
  nock('https://management.azure.com:443')
    .filteringRequestBody(function (path) { return '*';})
  .put('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourcegroups/xplatTestGCreateNsg8479?api-version=2014-04-01-preview', '*')
    .reply(201, "{\"id\":\"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479\",\"name\":\"xplatTestGCreateNsg8479\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '209',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-ratelimit-remaining-subscription-writes': '1187',
    'x-ms-request-id': '34c453db-99cd-4422-af25-9cd2b0fb833c',
    'x-ms-correlation-request-id': '34c453db-99cd-4422-af25-9cd2b0fb833c',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090606Z:34c453db-99cd-4422-af25-9cd2b0fb833c',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    date: 'Mon, 27 Apr 2015 09:06:05 GMT',
    connection: 'close' });
   return result; },
  function (nock) { 
  var result = 
  nock('http://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499?api-version=2015-05-01-preview')
    .reply(404, "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"Resource not found.\"}}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-failure-cause': 'gateway',
    'x-ms-request-id': 'f967a0c7-47be-44cb-b891-744ab6486a65',
    'x-ms-correlation-request-id': 'f967a0c7-47be-44cb-b891-744ab6486a65',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090607Z:f967a0c7-47be-44cb-b891-744ab6486a65',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    date: 'Mon, 27 Apr 2015 09:06:06 GMT',
    connection: 'close',
    'content-length': '69' });
   return result; },
  function (nock) { 
  var result = 
  nock('https://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499?api-version=2015-05-01-preview')
    .reply(404, "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"Resource not found.\"}}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-failure-cause': 'gateway',
    'x-ms-request-id': 'f967a0c7-47be-44cb-b891-744ab6486a65',
    'x-ms-correlation-request-id': 'f967a0c7-47be-44cb-b891-744ab6486a65',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090607Z:f967a0c7-47be-44cb-b891-744ab6486a65',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    date: 'Mon, 27 Apr 2015 09:06:06 GMT',
    connection: 'close',
    'content-length': '69' });
   return result; },
  function (nock) { 
  var result = 
  nock('http://management.azure.com:443')
    .filteringRequestBody(function (path) { return '*';})
  .put('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499?api-version=2015-05-01-preview', '*')
    .reply(201, "{\r\n  \"name\": \"xplatTestNsg499\",\r\n  \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499\",\r\n  \"etag\": \"W/\\\"731226ee-952a-46a7-9065-a952eb143df7\\\"\",\r\n  \"properties\": {\r\n    \"provisioningState\": \"Updating\",\r\n    \"defaultSecurityRules\": [\r\n      {\r\n        \"name\": \"AllowVnetInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowAzureLoadBalancerInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from azure load balancer\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"AzureLoadBalancer\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all inbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowVnetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowInternetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowInternetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"Internet\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all outbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      }\r\n    ]\r\n  },\r\n  \"location\": \"westus\",\r\n  \"tags\": {\r\n    \"tag1\": \"testValue1\"\r\n  }\r\n}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '4735',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'retry-after': '10',
    'x-ms-request-id': '471ed6c7-82ac-4220-a1c4-411ed56a8f0b',
    'azure-asyncoperation': 'https://management.azure.com/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/providers/Microsoft.Network/locations/westus/operations/471ed6c7-82ac-4220-a1c4-411ed56a8f0b?api-version=2015-05-01-preview',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    server: 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-writes': '1192',
    'x-ms-correlation-request-id': '421d3d3f-2d1b-49df-8641-ddd54103c3df',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090612Z:421d3d3f-2d1b-49df-8641-ddd54103c3df',
    date: 'Mon, 27 Apr 2015 09:06:12 GMT',
    connection: 'close' });
   return result; },
  function (nock) { 
  var result = 
  nock('https://management.azure.com:443')
    .filteringRequestBody(function (path) { return '*';})
  .put('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499?api-version=2015-05-01-preview', '*')
    .reply(201, "{\r\n  \"name\": \"xplatTestNsg499\",\r\n  \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499\",\r\n  \"etag\": \"W/\\\"731226ee-952a-46a7-9065-a952eb143df7\\\"\",\r\n  \"properties\": {\r\n    \"provisioningState\": \"Updating\",\r\n    \"defaultSecurityRules\": [\r\n      {\r\n        \"name\": \"AllowVnetInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowAzureLoadBalancerInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from azure load balancer\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"AzureLoadBalancer\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all inbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowVnetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowInternetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowInternetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"Internet\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all outbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      }\r\n    ]\r\n  },\r\n  \"location\": \"westus\",\r\n  \"tags\": {\r\n    \"tag1\": \"testValue1\"\r\n  }\r\n}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '4735',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'retry-after': '10',
    'x-ms-request-id': '471ed6c7-82ac-4220-a1c4-411ed56a8f0b',
    'azure-asyncoperation': 'https://management.azure.com/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/providers/Microsoft.Network/locations/westus/operations/471ed6c7-82ac-4220-a1c4-411ed56a8f0b?api-version=2015-05-01-preview',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    server: 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-writes': '1192',
    'x-ms-correlation-request-id': '421d3d3f-2d1b-49df-8641-ddd54103c3df',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090612Z:421d3d3f-2d1b-49df-8641-ddd54103c3df',
    date: 'Mon, 27 Apr 2015 09:06:12 GMT',
    connection: 'close' });
   return result; },
  function (nock) { 
  var result = 
  nock('http://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/providers/Microsoft.Network/locations/westus/operations/471ed6c7-82ac-4220-a1c4-411ed56a8f0b?api-version=2015-05-01-preview')
    .reply(200, "{\r\n  \"status\": \"Succeeded\"\r\n}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '29',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-request-id': 'bd7bc8e0-acbd-461d-8079-710da6798bd1',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    server: 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-reads': '31958',
    'x-ms-correlation-request-id': 'aa831993-1795-42a2-8565-c936df76dd89',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090624Z:aa831993-1795-42a2-8565-c936df76dd89',
    date: 'Mon, 27 Apr 2015 09:06:23 GMT',
    connection: 'close' });
   return result; },
  function (nock) { 
  var result = 
  nock('https://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/providers/Microsoft.Network/locations/westus/operations/471ed6c7-82ac-4220-a1c4-411ed56a8f0b?api-version=2015-05-01-preview')
    .reply(200, "{\r\n  \"status\": \"Succeeded\"\r\n}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '29',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    'x-ms-request-id': 'bd7bc8e0-acbd-461d-8079-710da6798bd1',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    server: 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-reads': '31958',
    'x-ms-correlation-request-id': 'aa831993-1795-42a2-8565-c936df76dd89',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090624Z:aa831993-1795-42a2-8565-c936df76dd89',
    date: 'Mon, 27 Apr 2015 09:06:23 GMT',
    connection: 'close' });
   return result; },
  function (nock) { 
  var result = 
  nock('http://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499?api-version=2015-05-01-preview')
    .reply(200, "{\r\n  \"name\": \"xplatTestNsg499\",\r\n  \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499\",\r\n  \"etag\": \"W/\\\"fff88d7a-a249-49bb-b8a4-ae018e5b806a\\\"\",\r\n  \"properties\": {\r\n    \"provisioningState\": \"Succeeded\",\r\n    \"defaultSecurityRules\": [\r\n      {\r\n        \"name\": \"AllowVnetInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowAzureLoadBalancerInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from azure load balancer\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"AzureLoadBalancer\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all inbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowVnetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowInternetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowInternetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"Internet\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all outbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      }\r\n    ]\r\n  },\r\n  \"location\": \"westus\",\r\n  \"tags\": {\r\n    \"tag1\": \"testValue1\"\r\n  }\r\n}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '4736',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    etag: 'W/"fff88d7a-a249-49bb-b8a4-ae018e5b806a"',
    'x-ms-request-id': '790211e0-35ac-466b-85ea-e660f3bc4be8',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    server: 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-reads': '31954',
    'x-ms-correlation-request-id': 'd825b59d-4c1b-4005-8396-3cdf24f15041',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090625Z:d825b59d-4c1b-4005-8396-3cdf24f15041',
    date: 'Mon, 27 Apr 2015 09:06:24 GMT',
    connection: 'close' });
   return result; },
  function (nock) { 
  var result = 
  nock('https://management.azure.com:443')
    .get('/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499?api-version=2015-05-01-preview')
    .reply(200, "{\r\n  \"name\": \"xplatTestNsg499\",\r\n  \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499\",\r\n  \"etag\": \"W/\\\"fff88d7a-a249-49bb-b8a4-ae018e5b806a\\\"\",\r\n  \"properties\": {\r\n    \"provisioningState\": \"Succeeded\",\r\n    \"defaultSecurityRules\": [\r\n      {\r\n        \"name\": \"AllowVnetInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowAzureLoadBalancerInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow inbound traffic from azure load balancer\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"AzureLoadBalancer\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllInBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllInBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all inbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Inbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowVnetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowVnetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n          \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65000,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"AllowInternetOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/AllowInternetOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"Internet\",\r\n          \"access\": \"Allow\",\r\n          \"priority\": 65001,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      },\r\n      {\r\n        \"name\": \"DenyAllOutBound\",\r\n        \"id\": \"/subscriptions/bfb5e0bf-124b-4d0c-9352-7c0a9f4d9948/resourceGroups/xplatTestGCreateNsg8479/providers/Microsoft.Network/networkSecurityGroups/xplatTestNsg499/defaultSecurityRules/DenyAllOutBound\",\r\n        \"properties\": {\r\n          \"provisioningState\": \"Succeeded\",\r\n          \"description\": \"Deny all outbound traffic\",\r\n          \"protocol\": \"*\",\r\n          \"sourcePortRange\": \"*\",\r\n          \"destinationPortRange\": \"*\",\r\n          \"sourceAddressPrefix\": \"*\",\r\n          \"destinationAddressPrefix\": \"*\",\r\n          \"access\": \"Deny\",\r\n          \"priority\": 65500,\r\n          \"direction\": \"Outbound\"\r\n        }\r\n      }\r\n    ]\r\n  },\r\n  \"location\": \"westus\",\r\n  \"tags\": {\r\n    \"tag1\": \"testValue1\"\r\n  }\r\n}", { 'cache-control': 'no-cache',
    pragma: 'no-cache',
    'content-length': '4736',
    'content-type': 'application/json; charset=utf-8',
    expires: '-1',
    etag: 'W/"fff88d7a-a249-49bb-b8a4-ae018e5b806a"',
    'x-ms-request-id': '790211e0-35ac-466b-85ea-e660f3bc4be8',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    server: 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0',
    'x-ms-ratelimit-remaining-subscription-reads': '31954',
    'x-ms-correlation-request-id': 'd825b59d-4c1b-4005-8396-3cdf24f15041',
    'x-ms-routing-request-id': 'EASTASIA:20150427T090625Z:d825b59d-4c1b-4005-8396-3cdf24f15041',
    date: 'Mon, 27 Apr 2015 09:06:24 GMT',
    connection: 'close' });
   return result; }]];