ListNetworkSecurityGroups() public method

public ListNetworkSecurityGroups ( ) : IEnumerable
return IEnumerable
コード例 #1
0
 public void GetNetworkSecurityGroupTest()
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId);
     var groups = os.ListNetworkSecurityGroups();
     Assert.IsNotNull(groups);
     foreach (var g in groups)
     {
         var group = os.GetNetworkSecurityGroup(g.Id);
         Assert.IsNotNull(group);
     }
 }
コード例 #2
0
 public void ListNetworkSecurityGroupsTest()
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId);
     var groups = os.ListNetworkSecurityGroups();
     Assert.IsNotNull(groups);
 }