Tabnine Logo
org.jclouds.cloudstack.features
Code IndexAdd Tabnine to your IDE (free)

How to use org.jclouds.cloudstack.features

Best Java code snippets using org.jclouds.cloudstack.features (Showing top 20 results out of 315)

origin: jclouds/legacy-jclouds

@Override
public Zone load(String zoneId) throws Exception {
 checkNotNull(zoneId, "zoneId");
 return zoneClient.getZone(zoneId);
}
origin: jclouds/legacy-jclouds

Volume findVolumeWithId(final String id) {
 return findVolumeWithId(client, id);
}
origin: apache/jclouds

Volume findVolumeWithId(final String id) {
 return findVolumeWithId(client, id);
}
origin: jclouds/legacy-jclouds

public void testListSecurityGroup() throws Exception {
 skipIfSecurityGroupsNotSupported();
 for (SecurityGroup securityGroup : client.getSecurityGroupClient().listSecurityGroups())
   checkGroup(securityGroup);
}
origin: apache/jclouds

public void testListSecurityGroup() throws Exception {
 skipIfSecurityGroupsNotSupported();
 for (SecurityGroup securityGroup : client.getSecurityGroupApi().listSecurityGroups())
   checkGroup(securityGroup);
}
origin: jclouds/legacy-jclouds

@Override
public VirtualMachine getNode(String id) {
 String virtualMachineId = id;
 return client.getVirtualMachineClient().getVirtualMachine(virtualMachineId);
}
origin: jclouds/legacy-jclouds

@Test
public void testListDomains() {
 skipIfNotDomainAdmin();
 Set<Domain> domains = domainAdminClient.getDomainClient().listDomains();
 for (Domain candidate : domains) {
   checkDomain(candidate);
 }
}
origin: apache/jclouds

@Test
public void testListDomains() {
 skipIfNotDomainAdmin();
 Set<Domain> domains = domainAdminClient.getDomainClient().listDomains();
 for (Domain candidate : domains) {
   checkDomain(candidate);
 }
}
origin: jclouds/legacy-jclouds

@Test
public void testListAccounts() throws Exception {
 for (Account securityAccount : client.getAccountClient().listAccounts())
   checkAccount(securityAccount);
}
origin: jclouds/legacy-jclouds

@Test
public void testListUsers() {
 skipIfNotDomainAdmin();
 Set<User> users = domainAdminClient.getUserClient().listUsers();
 assert users.size() > 0;
 assert users.contains(user); // contains the current user
 for (User user : users) {
   checkUser(user);
 }
}
origin: apache/jclouds

@Test
public void testListAccounts() throws Exception {
 for (Account securityAccount : client.getAccountApi().listAccounts())
   checkAccount(securityAccount);
}
origin: apache/jclouds

@Test
public void testListSSHKeyPairs() {
 final Set<SshKeyPair> sshKeyPairs = client.getSSHKeyPairApi().listSSHKeyPairs();
 for (SshKeyPair sshKeyPair : sshKeyPairs) {
   checkSSHKeyPair(sshKeyPair);
 }
}
origin: apache/jclouds

@Test
public void testListAccounts() throws Exception {
 for (Project project : client.getProjectApi().listProjects())
   checkProject(project);
}
origin: jclouds/legacy-jclouds

public void testListOSCategories() throws Exception {
 Map<String, String> response = client.getGuestOSClient().listOSCategories();
 assert null != response;
 assertTrue(response.size() >= 0);
 for (Entry<String, String> category : response.entrySet()) {
   checkOSCategory(category);
 }
}
origin: jclouds/legacy-jclouds

@Override
public Map<String, String> get() {
 GuestOSClient guestOSClient = client.getGuestOSClient();
 return guestOSClient.listOSCategories();
}
@Override
origin: jclouds/legacy-jclouds

  /**
  * @throws org.jclouds.rest.ResourceNotFoundException
  *          when there is no ip forwarding rule available for the VM
  */
  @Override
  public Set<IPForwardingRule> load(String input) {
   return client.getNATClient().getIPForwardingRulesForVirtualMachine(input);
  }
}
origin: jclouds/legacy-jclouds

public void testListResourceLimits() {
 final Set<ResourceLimit> resourceLimits = client.getLimitClient().listResourceLimits();
 for (ResourceLimit resourceLimit : resourceLimits) {
   checkResourceLimit(resourceLimit);
 }
}
origin: apache/jclouds

public void testListResourceLimits() {
 final Set<ResourceLimit> resourceLimits = client.getLimitApi().listResourceLimits();
 for (ResourceLimit resourceLimit : resourceLimits) {
   checkResourceLimit(resourceLimit);
 }
}
origin: jclouds/legacy-jclouds

@Test
public void testListSSHKeyPairs() {
 final Set<SshKeyPair> sshKeyPairs = client.getSSHKeyPairClient().listSSHKeyPairs();
 for (SshKeyPair sshKeyPair : sshKeyPairs) {
   checkSSHKeyPair(sshKeyPair);
 }
}
origin: jclouds/legacy-jclouds

public void testListSnapshots() {
 Set<Snapshot> snapshots = client.getSnapshotClient().listSnapshots();
 assertNotNull(snapshots);
 assertFalse(snapshots.isEmpty());
 for (Snapshot snapshot : snapshots) {
   checkSnapshot(snapshot);
 }
}
org.jclouds.cloudstack.features

Most used classes

  • AddressApi
  • AsyncJobApi
  • FirewallApi
  • LoadBalancerApi
  • NATApi
  • NetworkClient,
  • OfferingClient,
  • TemplateClient,
  • VirtualMachineApi,
  • VirtualMachineClient,
  • ZoneClient,
  • AccountApi,
  • AccountClient,
  • AddressClient,
  • AsyncJobClient,
  • ConfigurationApi,
  • ConfigurationClient,
  • FirewallClient,
  • GlobalAccountApi
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now