> +            NetworkSecurityGroupProperties.create(ruleList, null,
> +                  null, null, null,
> +                  null),
> +            null);
> +      return nsg;
> +   }
> +
> +   public void createNetworkSecurityGroup() throws InterruptedException {
> +      NetworkSecurityGroup nsg = createGroup();
> +
> +      
> server.enqueue(jsonResponse("/networksecuritygroupcreate.json").setResponseCode(200));
> +      final NetworkSecurityGroupApi nsgApi = 
> api.getNetworkSecurityGroupApi(resourcegroup);
> +
> +      String path = 
> String.format("/subscriptions/%s/resourcegroups/%s/providers/Microsoft.Network/networkSecurityGroups/%s?%s",
>  subscriptionid, resourcegroup, DEFAULT_NSG_NAME, apiVersion);
> +      NetworkSecurityGroup result = nsgApi.createOrUpdate(DEFAULT_NSG_NAME, 
> "westus", null, nsg.properties());
> +      assertSent(server, "PUT", path);

Also verify the body being generated

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/280/files/7ae85f1027f814b7d751eae6d421a1bad4693417#r65959677

Reply via email to